2017-07-25 17:30:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:paddingStart="@dimen/shopitem_dialog_content_inset"
|
|
|
|
|
android:paddingEnd="@dimen/shopitem_dialog_content_inset"
|
2017-07-25 17:30:10 +00:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
tools:parentTag="LinearLayout"
|
|
|
|
|
tools:orientation="vertical">
|
|
|
|
|
|
2022-05-17 13:16:19 +00:00
|
|
|
<com.habitrpg.common.habitica.views.PixelArtView
|
2017-07-25 17:30:10 +00:00
|
|
|
android:id="@+id/imageView"
|
|
|
|
|
android:layout_width="@dimen/shopitem_image_size"
|
|
|
|
|
android:layout_height="@dimen/shopitem_image_size" />
|
|
|
|
|
<TextView
|
2017-10-07 16:55:13 +00:00
|
|
|
android:id="@+id/titleTextView"
|
2017-07-25 17:30:10 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Headline"
|
|
|
|
|
tools:text="This is the Title"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:layout_marginBottom="4dp"/>
|
|
|
|
|
<TextView
|
2017-10-07 16:55:13 +00:00
|
|
|
android:id="@+id/notesTextView"
|
2017-07-25 17:30:10 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Body2"
|
2020-09-17 11:23:27 +00:00
|
|
|
android:textColor="@color/text_ternary"
|
2017-07-25 17:30:10 +00:00
|
|
|
tools:text="These are the notes"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
|
|
|
|
|
<TableLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp">
|
|
|
|
|
<TableRow
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/str_label"
|
|
|
|
|
android:text="@string/str_abbrv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="12dp"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/str_value"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="+6"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="16dp"
|
2017-09-11 11:31:20 +00:00
|
|
|
android:textColor="@color/green_50"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/per_label"
|
|
|
|
|
android:text="@string/per_abbrv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="12dp"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/per_value"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="+6"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="16dp"
|
2017-09-11 11:31:20 +00:00
|
|
|
android:textColor="@color/green_50"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
</TableRow>
|
|
|
|
|
<TableRow
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/con_label"
|
|
|
|
|
android:text="@string/con_abbrv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="12dp"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/con_value"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="+6"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="16dp"
|
2017-09-11 11:31:20 +00:00
|
|
|
android:textColor="@color/green_50"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/int_label"
|
|
|
|
|
android:text="@string/int_abbrv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="12dp"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/int_value"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="+6"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:layout_marginEnd="16dp"
|
2017-09-11 11:31:20 +00:00
|
|
|
android:textColor="@color/green_50"/>
|
2017-07-25 17:30:10 +00:00
|
|
|
</TableRow>
|
|
|
|
|
</TableLayout>
|
2020-04-09 12:25:54 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/amount_error_label"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:text="@string/purchase_amount_error"
|
|
|
|
|
android:textSize="12sp"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:textColor="@color/text_ternary"
|
2020-04-09 12:25:54 +00:00
|
|
|
android:layout_marginTop="@dimen/spacing_medium"
|
|
|
|
|
android:gravity="center_horizontal"/>
|
2024-05-16 17:51:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/class_disclaimer_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingHorizontal="22dp"
|
|
|
|
|
android:paddingVertical="9dp"
|
|
|
|
|
android:textColor="@color/text_secondary"
|
|
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
style="@style/Caption2"/>
|
|
|
|
|
</merge>
|