2019-09-25 19:36:54 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-10-04 14:36:51 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
2019-09-25 19:36:54 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical">
|
2019-10-04 14:36:51 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/purchase_wrapper"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-28 09:54:47 +00:00
|
|
|
android:background="@color/brand_400"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/Title1"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:gravity="center_horizontal"
|
2022-08-01 09:30:44 +00:00
|
|
|
android:letterSpacing="0.05"
|
2022-07-28 09:54:47 +00:00
|
|
|
android:text="@string/mor_gems_title"
|
|
|
|
|
android:layout_margin="26dp" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="26dp"
|
|
|
|
|
android:layout_marginBottom="26dp">
|
2019-10-04 14:36:51 +00:00
|
|
|
<ImageView
|
2022-07-28 09:54:47 +00:00
|
|
|
android:id="@+id/imageView"
|
2019-10-04 14:36:51 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:src="@drawable/gems_4" />
|
2022-07-28 09:54:47 +00:00
|
|
|
<LinearLayout
|
2019-10-04 14:36:51 +00:00
|
|
|
android:layout_width="wrap_content"
|
2022-07-28 09:54:47 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginStart="26dp">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
|
android:gravity="center">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/purchase_textview"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/SubHeader1"
|
|
|
|
|
tools:text="4"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
|
android:textAllCaps="true"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Subheader2"
|
|
|
|
|
android:text="@string/gems"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textAllCaps="true"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/loading_indicator"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:indeterminate="true"
|
|
|
|
|
android:indeterminateBehavior="cycle"
|
|
|
|
|
android:indeterminateTint="@color/white"
|
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/purchase_button"
|
|
|
|
|
android:layout_width="129dp"
|
2022-08-01 09:30:44 +00:00
|
|
|
android:layout_height="50dp"
|
2022-07-28 09:54:47 +00:00
|
|
|
style="@style/HabiticaButton.White.Small"
|
|
|
|
|
tools:text="$0.99"
|
2022-08-01 09:30:44 +00:00
|
|
|
android:textSize="16sp"
|
2022-07-28 09:54:47 +00:00
|
|
|
android:visibility="invisible"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:src="@drawable/not_enough_gems_wave"
|
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
|
android:layout_marginBottom="-1dp"
|
|
|
|
|
/>
|
2019-10-04 14:36:51 +00:00
|
|
|
</LinearLayout>
|
2022-07-28 09:54:47 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:textColor="@color/text_ternary"
|
|
|
|
|
android:lineSpacingExtra="6sp"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:text="@string/gems_support"
|
|
|
|
|
android:layout_marginHorizontal="40dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
/>
|
2019-09-25 19:36:54 +00:00
|
|
|
</LinearLayout>
|