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

93 lines
3.7 KiB
XML
Raw Normal View History

2017-07-20 12:19:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
2023-03-24 10:34:24 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2017-07-20 12:19:10 +00:00
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/black_20_alpha"
android:layout_marginTop="12dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginTop="12dp"
android:layout_marginBottom="12dp">
2017-07-20 12:19:10 +00:00
<TextView
android:id="@+id/label"
android:layout_width="0dp"
2017-07-20 12:19:10 +00:00
android:layout_height="wrap_content"
android:layout_weight="1"
2020-07-28 10:31:36 +00:00
style="@style/Overline"
2017-07-20 12:19:10 +00:00
tools:text="Section Header"
2020-09-17 11:47:02 +00:00
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp" />
<Spinner
android:id="@+id/classSelectionSpinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_gravity="bottom"
tools:visibility="visible"
/>
2017-07-20 12:19:10 +00:00
</LinearLayout>
2022-01-20 14:00:57 +00:00
<TextView
android:id="@+id/headerNotesView"
2023-03-24 10:34:24 +00:00
android:layout_width="match_parent"
2022-01-20 14:00:57 +00:00
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="12sp"
android:textColor="@color/text_quad"
tools:text="@string/class_gear_disclaimer"/>
2023-03-24 10:34:24 +00:00
<LinearLayout
android:id="@+id/change_class_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="@drawable/layout_rounded_bg_window"
android:layout_marginHorizontal="12dp"
android:layout_marginVertical="@dimen/spacing_medium"
android:visibility="gone"
android:clipToOutline="true">
<LinearLayout
android:layout_width="0dp"
android:layout_weight="1"
2022-01-20 14:00:57 +00:00
android:layout_height="wrap_content"
2023-03-24 10:34:24 +00:00
android:orientation="vertical"
android:layout_marginStart="13dp"
android:layout_marginVertical="8dp"
android:layout_gravity="center">
<TextView
android:id="@+id/change_class_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="Change class to Warrior"
android:textColor="?textColorPrimary"
style="@style/Body1"
android:layout_marginBottom="1dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/equipment_class_locked"
android:textColor="?textColorSecondary"
style="@style/Body2"/>
</LinearLayout>
<FrameLayout
android:layout_width="59dp"
android:layout_height="73dp"
2023-03-28 09:03:32 +00:00
android:background="@color/offset_background_30">
2023-03-24 10:34:24 +00:00
<com.habitrpg.android.habitica.ui.views.CurrencyView
android:id="@+id/change_class_currency_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2023-03-28 09:03:32 +00:00
style="@style/Body1"
2023-03-24 10:34:24 +00:00
app:currency="gems"/>
</FrameLayout>
2022-01-20 14:00:57 +00:00
</LinearLayout>
2023-03-24 10:34:24 +00:00
</LinearLayout>