92 lines
4 KiB
XML
92 lines
4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/card_on_app_bar_side_padding"
|
|
android:paddingLeft="@dimen/card_on_app_bar_side_padding"
|
|
android:paddingRight="@dimen/card_on_app_bar_side_padding"
|
|
android:paddingTop="8dp"
|
|
android:weightSum="1">
|
|
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
app:cardBackgroundColor="?cardBackgroundColor"
|
|
app:cardUseCompatPadding="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitStart"
|
|
android:src="@drawable/promo_banner"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="16dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="sans-serif"
|
|
android:gravity="center_vertical"
|
|
android:paddingBottom="16dp"
|
|
android:paddingTop="24dp"
|
|
android:text="Phonograph Pro"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="sans-serif"
|
|
android:text="Unlocks extra features, such as the folder view, all theme colors, a black theme and the sleep timer.\n\nThe source code of Phonograph is available on GitHub. You are welcome to compile the pro version yourself for free. However, if you want to support the development and receive updates through the Play Store, consider purchasing Phonograph Pro.\nThank you,\nKarim"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="8dp">
|
|
|
|
<Button
|
|
android:id="@+id/restore_button"
|
|
style="@style/Base.Widget.AppCompat.Button.Borderless"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/restore" />
|
|
|
|
<Button
|
|
android:id="@+id/purchase_button"
|
|
style="@style/Base.Widget.AppCompat.Button.Borderless.Colored"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginStart="8dp"
|
|
android:text="@string/purchase"
|
|
android:textColor="@color/md_green_600" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|