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

72 lines
2.7 KiB
XML
Raw Normal View History

2018-07-27 10:08:00 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/gem_view_background"
android:gravity="center"
android:minHeight="80dp"
android:layout_marginBottom="12dp">
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:background="@color/brand_700"
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_marginRight="@dimen/spacing_medium"
android:layout_marginStart="@dimen/spacing_large"
android:layout_marginLeft="@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"
android:textColor="@color/brand_100"
android:textSize="24sp"
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"
android:textColor="@color/brand_100"
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_marginRight="8dp"
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>