habitica-android/Habitica/res/layout/purchase_subscription_view.xml

69 lines
2.6 KiB
XML
Raw Normal View History

2018-07-27 10:08:00 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-11-19 17:07:45 +00:00
android:id="@+id/wrapper"
2018-07-27 10:08:00 +00:00
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-19 17:07:45 +00:00
android:background="@drawable/subscription_box_bg"
2018-07-27 10:08:00 +00:00
android:gravity="center"
android:minHeight="80dp"
android:layout_marginBottom="8dp">
2017-01-10 17:05:03 +00:00
<FrameLayout
2018-07-27 10:08:00 +00:00
android:layout_width="50dp"
android:layout_height="match_parent"
android:id="@+id/subscriptionSelectedFrameView">
2017-01-10 17:05:03 +00:00
<View
2018-07-27 10:08:00 +00:00
android:id="@+id/subscriptionSelectedView"
android:layout_width="16dp"
android:layout_height="16dp"
android:background="@drawable/subscription_unselected"
android:layout_gravity="center"/>
</FrameLayout>
2017-01-10 17:05:03 +00:00
2017-01-12 10:42:36 +00:00
<LinearLayout
2018-07-27 10:08:00 +00:00
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/spacing_medium"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp">
2017-01-12 10:42:36 +00:00
<TextView
2018-07-27 10:08:00 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/priceLabel"
2019-11-19 17:07:45 +00:00
android:textColor="@color/gray_50"
2018-07-27 10:08:00 +00:00
android:textSize="24sp"
android:fontFamily="@string/font_family_medium"
tools:text="$ 21" />
2017-01-12 10:42:36 +00:00
<TextView
2018-07-27 10:08:00 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/descriptionTextView"
2019-11-19 17:07:45 +00:00
android:textColor="@color/gray_50"
2018-07-27 10:08:00 +00:00
tools:text="recurring every month"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
2017-01-12 10:42:36 +00:00
<TextView
2018-07-27 10:08:00 +00:00
android:id="@+id/gemCapTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="@string/subscribe1month.gemcap"
style="@style/Pill"
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"/>
2017-01-12 10:42:36 +00:00
<TextView
2018-07-27 10:08:00 +00:00
android:id="@+id/hourglassTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="+1 Mystic Hourglass"
style="@style/Pill"
android:layout_marginTop="4dp"/>
</LinearLayout>
2017-01-12 10:42:36 +00:00
</LinearLayout>
2017-01-10 17:05:03 +00:00
</LinearLayout>