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

55 lines
2.2 KiB
XML
Raw Permalink Normal View History

2020-04-02 11:55:16 +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"
xmlns:app="http://schemas.android.com/apk/res-auto"
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"
2020-04-02 11:55:16 +00:00
android:gravity="center_horizontal"
tools:parentTag="LinearLayout"
2020-09-04 16:17:34 +00:00
tools:background="?attr/colorContentBackground"
2020-04-02 11:55:16 +00:00
tools:orientation="vertical">
<com.habitrpg.common.habitica.views.PixelArtView
2020-04-02 11:55:16 +00:00
android:id="@+id/imageView"
android:layout_width="@dimen/shopitem_image_size"
2024-07-03 12:08:23 +00:00
android:layout_height="@dimen/shopitem_image_size"
android:layout_marginTop="@dimen/spacing_medium" />
2020-04-02 11:55:16 +00:00
<TextView
android:id="@+id/titleTextView"
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
android:id="@+id/notesTextView"
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"
2020-04-02 11:55:16 +00:00
tools:text="These are the notes"
android:gravity="center"/>
<com.habitrpg.android.habitica.ui.views.tasks.form.StepperValueFormView
android:id="@+id/stepper_view"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_marginTop="@dimen/spacing_large"
app:defaultValue="1"
app:minValue="1"
/>
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"/>
2020-04-02 11:55:16 +00:00
</merge>