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

90 lines
3.7 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 14:59:30 +05:30
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 18:37:33 +05:30
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"
android:layout_height="match_parent">
2018-08-30 14:59:30 +05:30
<com.google.android.material.appbar.AppBarLayout
2018-12-06 15:53:03 +05:30
android:id="@+id/appBarLayout"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-08-08 13:33:38 +05:30
android:layout_height="wrap_content"
android:elevation="0dp"
app:elevation="0dp">
2018-07-27 18:37:33 +05:30
2018-08-30 14:59:30 +05:30
<com.google.android.material.appbar.CollapsingToolbarLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-08-08 13:33:38 +05:30
android:layout_height="wrap_content"
app:titleEnabled="false">
2018-07-27 18:37:33 +05:30
2019-09-28 23:22:49 +05:30
<com.google.android.material.appbar.MaterialToolbar
2018-07-27 18:37:33 +05:30
android:id="@+id/toolbar"
2018-12-04 21:04:26 +05:30
style="@style/Toolbar"
2018-07-27 18:37:33 +05:30
app:layout_collapseMode="pin"
2019-05-21 01:08:43 +05:30
app:title="@string/support_development"
tools:ignore="UnusedAttribute" />
2018-08-08 13:33:38 +05:30
2018-08-30 14:59:30 +05:30
</com.google.android.material.appbar.CollapsingToolbarLayout>
2018-08-08 13:33:38 +05:30
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?dividerColor" />
2018-08-30 14:59:30 +05:30
</com.google.android.material.appbar.AppBarLayout>
2018-07-27 18:37:33 +05:30
2018-08-30 14:59:30 +05:30
<androidx.core.widget.NestedScrollView
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-04-20 10:05:22 +05:30
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
2018-07-27 18:37:33 +05:30
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2018-07-27 18:37:33 +05:30
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 23:22:49 +05:30
android:textAppearance="@style/TextViewSubtitle2"
2018-07-27 18:37:33 +05:30
android:textColor="?attr/colorAccent" />
<LinearLayout
2018-12-06 15:53:03 +05:30
android:id="@+id/progressContainer"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-29 14:31:28 +05:30
android:gravity="center"
android:orientation="vertical"
2018-11-05 19:23:07 +05:30
android:padding="12dp">
2018-07-27 18:37:33 +05:30
<ProgressBar
android:id="@+id/progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true" />
2019-09-28 23:22:49 +05:30
<com.google.android.material.textview.MaterialTextView
2019-09-29 14:31:28 +05:30
android:layout_width="wrap_content"
2018-07-27 18:37:33 +05:30
android:layout_height="wrap_content"
android:gravity="start"
android:paddingLeft="16dp"
android:text="@string/loading_products"
2019-09-28 23:22:49 +05:30
android:textAppearance="@style/TextViewCaption"
2018-07-27 18:37:33 +05:30
tools:ignore="RtlHardcoded,RtlSymmetry" />
</LinearLayout>
2018-08-30 14:59:30 +05:30
<androidx.recyclerview.widget.RecyclerView
2018-12-06 15:53:03 +05:30
android:id="@+id/recyclerView"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="6dp"
2018-08-08 13:33:38 +05:30
android:paddingEnd="6dp"
2018-07-27 18:37:33 +05:30
android:scrollbarStyle="outsideOverlay" />
</LinearLayout>
2018-08-30 14:59:30 +05:30
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>