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

103 lines
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:navigationIcon="?homeAsUpIndicator"
app:title="@string/community" />
<com.google.android.material.imageview.ShapeableImageView
android:layout_width="90dp"
android:layout_height="90dp"
android:layout_gravity="center"
android:layout_marginTop="30dp"
android:layout_marginBottom="40dp"
android:src="@mipmap/ic_launcher_round"
app:shapeAppearance="@style/CircleImageView" />
<com.google.android.material.card.MaterialCardView
android:id="@+id/faq"
style="@style/AboutCard">
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="@string/faq"
app:drawableStartCompat="@drawable/ic_help" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/matrix"
style="@style/AboutCard">
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="Matrix"
app:drawableStartCompat="@drawable/ic_matrix"
tools:ignore="HardcodedText" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/mastodon"
style="@style/AboutCard">
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="Mastodon"
app:drawableStartCompat="@drawable/ic_mastodon"
tools:ignore="HardcodedText" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/telegram"
style="@style/AboutCard">
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="Telegram"
app:drawableStartCompat="@drawable/ic_telegram"
tools:ignore="HardcodedText" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/discord"
style="@style/AboutCard">
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="Discord"
app:drawableStartCompat="@drawable/ic_discord"
tools:ignore="HardcodedText" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/reddit"
style="@style/AboutCard">
<androidx.appcompat.widget.AppCompatTextView
style="@style/AboutItem"
android:text="Reddit"
app:drawableStartCompat="@drawable/ic_reddit"
tools:ignore="HardcodedText" />
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</ScrollView>