104 lines
4.2 KiB
XML
104 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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:id="@+id/root"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appBarLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="0dp"
|
|
app:elevation="0dp">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:titleEnabled="false">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
style="@style/Toolbar"
|
|
app:layout_collapseMode="pin"
|
|
app:title=""
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
|
android:id="@+id/bannerTitle"
|
|
style="@style/BigTitleTextAppearanceToolbar"
|
|
android:text="@string/support_development" />
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?dividerColor" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/donation"
|
|
style="@style/TextAppearance.MaterialComponents.Subtitle2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:text="@string/donation_header"
|
|
android:textColor="?attr/colorAccent" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/progressContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end|center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="12dp">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
style="@style/TextAppearance.MaterialComponents.Caption"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="start"
|
|
android:paddingLeft="16dp"
|
|
android:text="@string/loading_products"
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="6dp"
|
|
android:paddingEnd="6dp"
|
|
android:scrollbarStyle="outsideOverlay" />
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<Button
|
|
android:id="@+id/google_pay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:text="Google Pay"
|
|
android:visibility="gone" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |