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"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/app_bar"
|
|
|
|
android:layout_width="match_parent"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:elevation="0dp"
|
|
|
|
app:elevation="0dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
2018-08-08 08:03:38 +00:00
|
|
|
android:id="@+id/collapsing_toolbar"
|
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:titleEnabled="false">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
style="@style/Toolbar48"
|
|
|
|
app:layout_collapseMode="pin"
|
2018-08-08 08:03:38 +00:00
|
|
|
app:title=""
|
|
|
|
tools:ignore="UnusedAttribute">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
2018-08-22 17:54:07 +00:00
|
|
|
style="@style/BigTitleTextAppearance"
|
|
|
|
android:text="@string/support_development" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
2018-08-08 08:03:38 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?dividerColor" />
|
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"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
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"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
|
|
android:textColor="?attr/colorAccent" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/progress_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="@dimen/md_dialog_frame_margin"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:paddingTop="@dimen/md_content_padding_top"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:paddingRight="@dimen/md_dialog_frame_margin"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:paddingBottom="@dimen/md_content_padding_top">
|
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" />
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
android:gravity="start"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/loading_products"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/list"
|
|
|
|
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" />
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:cardCornerRadius="12dp"
|
|
|
|
app:cardElevation="8dp"
|
|
|
|
app:cardPreventCornerOverlap="false"
|
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/gradient_5"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
fontPath="@string/circular_std_black"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="16dp"
|
|
|
|
android:text="@string/paypal"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Display1"
|
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
tools:ignore="MissingPrefix" />
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="16dp"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:paddingEnd="16dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:text="@string/paypal_summary"
|
|
|
|
android:textColor="@color/md_white_1000" />
|
|
|
|
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2018-07-27 13:07:33 +00:00
|
|
|
android:id="@+id/donate"
|
2018-08-30 09:29:30 +00:00
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:text="@string/donate"
|
|
|
|
android:textColor="@color/md_white_1000" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-08-30 09:29:30 +00:00
|
|
|
</androidx.cardview.widget.CardView>
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|
2018-08-30 09:29:30 +00:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|