LibreTube/app/src/main/res/layout/activity_about.xml

119 lines
4.3 KiB
XML
Raw Normal View History

2022-06-07 19:22:10 +05:30
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2022-07-03 18:36:17 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2022-06-07 19:22:10 +05:30
android:layout_width="match_parent"
2022-07-03 18:36:17 +05:30
android:layout_height="match_parent">
2022-06-07 19:22:10 +05:30
<LinearLayout
android:layout_width="match_parent"
2022-08-24 21:36:43 +05:30
android:layout_height="wrap_content"
2022-06-07 19:22:10 +05:30
android:orientation="vertical">
2022-09-24 14:25:16 +05:30
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-09-24 14:34:01 +05:30
app:navigationIcon="?homeAsUpIndicator"
2022-09-24 14:25:16 +05:30
app:title="@string/about" />
<ImageView
android:id="@+id/app_icon"
android:layout_width="120dp"
android:layout_height="120dp"
2022-06-07 19:29:02 +05:30
android:layout_gravity="center"
2022-09-24 14:25:16 +05:30
android:layout_marginTop="30dp"
android:src="@drawable/ic_launcher_lockscreen"
app:tint="?attr/colorSecondary"
tools:ignore="ContentDescription" />
2022-06-07 19:29:02 +05:30
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="20dp"
2022-07-03 18:36:17 +05:30
android:layout_marginBottom="40dp"
2022-08-24 21:36:43 +05:30
android:text="@string/app_name"
2022-07-03 18:36:17 +05:30
android:textSize="24sp"
2022-06-07 19:29:02 +05:30
android:textStyle="bold" />
<com.google.android.material.card.MaterialCardView
android:id="@+id/donate"
style="@style/AboutCard">
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/donate"
app:drawableStartCompat="@drawable/ic_donate" />
</com.google.android.material.card.MaterialCardView>
2022-07-03 18:13:29 +05:30
<com.google.android.material.card.MaterialCardView
2022-06-07 19:29:02 +05:30
android:id="@+id/website"
2022-07-03 18:13:29 +05:30
style="@style/AboutCard">
2022-06-07 19:22:10 +05:30
2023-01-31 22:47:45 +05:30
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/website"
app:drawableStartCompat="@drawable/ic_region" />
2022-07-03 18:13:29 +05:30
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
2022-07-03 18:36:17 +05:30
android:id="@+id/github"
2022-07-03 18:13:29 +05:30
style="@style/AboutCard">
2023-01-31 22:47:45 +05:30
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/github"
app:drawableStartCompat="@drawable/ic_github" />
2022-06-07 19:29:02 +05:30
2022-07-03 18:13:29 +05:30
</com.google.android.material.card.MaterialCardView>
2022-06-07 19:29:02 +05:30
2022-07-03 18:13:29 +05:30
<com.google.android.material.card.MaterialCardView
2022-06-19 01:47:47 +05:30
android:id="@+id/piped"
2022-07-03 18:13:29 +05:30
style="@style/AboutCard">
2022-06-19 01:47:47 +05:30
2023-01-31 22:47:45 +05:30
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/piped"
app:drawableStartCompat="@drawable/ic_piped" />
2022-07-03 18:13:29 +05:30
</com.google.android.material.card.MaterialCardView>
2022-07-31 18:27:23 +05:30
<com.google.android.material.card.MaterialCardView
android:id="@+id/translate"
style="@style/AboutCard">
2023-01-31 22:47:45 +05:30
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/translate"
app:drawableStartCompat="@drawable/ic_weblate" />
2022-07-31 18:27:23 +05:30
</com.google.android.material.card.MaterialCardView>
2022-07-03 18:13:29 +05:30
<com.google.android.material.card.MaterialCardView
2022-06-07 19:29:02 +05:30
android:id="@+id/license"
2022-07-03 18:13:29 +05:30
style="@style/AboutCard">
2023-01-31 22:47:45 +05:30
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/license"
app:drawableStartCompat="@drawable/ic_license" />
2022-06-07 19:29:02 +05:30
2022-07-03 18:13:29 +05:30
</com.google.android.material.card.MaterialCardView>
2022-06-07 19:29:02 +05:30
2022-08-24 21:59:39 +05:30
<com.google.android.material.card.MaterialCardView
android:id="@+id/device"
style="@style/AboutCard">
2023-01-31 22:47:45 +05:30
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/device_info"
app:drawableStartCompat="@drawable/ic_device" />
2022-08-24 21:59:39 +05:30
</com.google.android.material.card.MaterialCardView>
2022-06-07 19:22:10 +05:30
</LinearLayout>
</ScrollView>