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

140 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"
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"
android:layout_height="match_parent"
android:orientation="vertical">
2022-07-03 18:13:29 +05:30
<com.google.android.material.imageview.ShapeableImageView
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-07-03 18:36:17 +05:30
android:layout_marginTop="50dp"
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-06-07 19:29:02 +05:30
android:text="LibreTube"
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>
<com.google.android.material.card.MaterialCardView
2022-06-07 19:29:02 +05:30
android:id="@+id/donate"
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-07 19:22:10 +05:30
2022-07-03 18:36:17 +05:30
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_donate" />
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/donate" />
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>
<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-07-16 01:42:51 +05:30
<com.google.android.material.card.MaterialCardView
android:id="@+id/community"
style="@style/AboutCard">
<LinearLayout style="@style/AboutItem">
<ImageView
style="@style/AboutImageView"
android:src="@drawable/ic_community" />
<TextView
style="@style/AboutTextView"
android:text="@string/community" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
2022-06-07 19:22:10 +05:30
</LinearLayout>
</ScrollView>