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

148 lines
4.6 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"
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"
app:navigationIcon="@drawable/ic_arrow_back"
app:title="@string/about" />
2022-07-03 18:13:29 +05:30
<com.google.android.material.imageview.ShapeableImageView
2022-08-24 21:36:43 +05:30
android:id="@+id/appIcon"
2022-07-03 18:36:17 +05:30
android:layout_width="90dp"
android:layout_height="90dp"
2022-06-07 19:29:02 +05:30
android:layout_gravity="center"
2022-09-24 14:25:16 +05:30
android:layout_marginTop="30dp"
2022-07-03 18:36:17 +05:30
android:src="@mipmap/ic_launcher_round"
app:shapeAppearanceOverlay="@style/CircleImageView" />
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" />
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
2022-07-03 18:36:17 +05:30
<LinearLayout style="@style/AboutItem">
2022-06-07 19:29:02 +05:30
2022-07-03 18:36:17 +05:30
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_region" />
2022-06-07 19:29:02 +05:30
2022-07-03 18:13:29 +05:30
<TextView
2022-07-03 18:36:17 +05:30
style="@style/AboutTextView"
android:text="@string/website" />
2022-06-07 19:29:02 +05:30
2022-07-03 18:13:29 +05:30
</LinearLayout>
</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">
2022-07-03 18:36:17 +05:30
<LinearLayout style="@style/AboutItem">
2022-06-09 13:32:34 +05:30
2022-07-03 18:36:17 +05:30
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_github" />
2022-06-07 19:22:10 +05:30
2022-07-03 18:13:29 +05:30
<TextView
2022-07-03 18:36:17 +05:30
style="@style/AboutTextView"
android:text="@string/github" />
2022-06-09 13:32:34 +05:30
2022-07-03 18:13:29 +05:30
</LinearLayout>
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
2022-07-03 18:36:17 +05:30
<LinearLayout style="@style/AboutItem">
2022-06-19 01:47:47 +05:30
2022-07-03 18:36:17 +05:30
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_piped" />
2022-06-19 01:47:47 +05:30
2022-07-03 18:13:29 +05:30
<TextView
2022-07-03 18:36:17 +05:30
style="@style/AboutTextView"
android:text="@string/piped" />
2022-06-19 01:47:47 +05:30
2022-07-03 18:13:29 +05:30
</LinearLayout>
</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">
<LinearLayout style="@style/AboutItem">
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_weblate" />
<TextView
style="@style/AboutTextView"
android:text="@string/translate" />
</LinearLayout>
</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">
2022-07-03 18:36:17 +05:30
<LinearLayout style="@style/AboutItem">
2022-07-03 18:13:29 +05:30
2022-07-03 18:36:17 +05:30
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_license" />
2022-06-07 19:22:10 +05:30
2022-07-03 18:13:29 +05:30
<TextView
2022-07-03 18:36:17 +05:30
style="@style/AboutTextView"
android:text="@string/license" />
2022-06-07 19:29:02 +05:30
2022-07-03 18:13:29 +05:30
</LinearLayout>
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">
<LinearLayout style="@style/AboutItem">
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_device" />
<TextView
style="@style/AboutTextView"
android:text="@string/device_info" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
2022-06-07 19:22:10 +05:30
</LinearLayout>
</ScrollView>