PlayerAndroid/app/src/main/res/layout/activity_donation.xml

80 lines
3.4 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 09:29:30 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 13:07:33 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/root"
android:layout_width="match_parent"
2020-02-25 14:45:41 +00:00
android:layout_height="match_parent"
android:background="?attr/colorSurface">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.AppBarLayout
2018-12-06 10:23:03 +00:00
android:id="@+id/appBarLayout"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-08 08:03:38 +00:00
android:layout_height="wrap_content"
app:liftOnScroll="true">
2018-07-27 13:07:33 +00:00
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
style="@style/Toolbar"
app:layout_collapseMode="pin"
2020-07-19 21:00:30 +00:00
app:navigationIcon="@drawable/ic_keyboard_backspace_black"
2020-02-25 14:45:41 +00:00
app:title="@string/support_development"
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal"
tools:ignore="UnusedAttribute" />
2018-08-08 08:03:38 +00:00
2018-08-30 09:29:30 +00:00
</com.google.android.material.appbar.AppBarLayout>
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.core.widget.NestedScrollView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-04-20 04:35:22 +00:00
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
2018-07-27 13:07:33 +00:00
android:id="@+id/donation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/donation_header"
2019-09-28 17:52:49 +00:00
android:textAppearance="@style/TextViewSubtitle2"
2018-07-27 13:07:33 +00:00
android:textColor="?attr/colorAccent" />
<LinearLayout
2018-12-06 10:23:03 +00:00
android:id="@+id/progressContainer"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-29 09:01:28 +00:00
android:gravity="center"
android:orientation="vertical"
2018-11-05 13:53:07 +00:00
android:padding="12dp">
2018-07-27 13:07:33 +00:00
<ProgressBar
android:id="@+id/progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true" />
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
2019-09-29 09:01:28 +00:00
android:layout_width="wrap_content"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
android:gravity="start"
android:paddingLeft="16dp"
android:text="@string/loading_products"
2019-09-28 17:52:49 +00:00
android:textAppearance="@style/TextViewCaption"
2018-07-27 13:07:33 +00:00
tools:ignore="RtlHardcoded,RtlSymmetry" />
</LinearLayout>
2018-08-30 09:29:30 +00:00
<androidx.recyclerview.widget.RecyclerView
2018-12-06 10:23:03 +00:00
android:id="@+id/recyclerView"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="6dp"
2018-08-08 08:03:38 +00:00
android:paddingEnd="6dp"
2018-07-27 13:07:33 +00:00
android:scrollbarStyle="outsideOverlay" />
</LinearLayout>
2018-08-30 09:29:30 +00:00
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>