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"
|
2017-11-06 11:49:28 +00:00
|
|
|
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"
|
2017-10-31 17:31:06 +00:00
|
|
|
android:layout_width="0dp"
|
2017-07-20 12:19:10 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-10-31 17:31:06 +00:00
|
|
|
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" />
|
2017-10-31 17:31:06 +00:00
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/classSelectionSpinner"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
android:layout_gravity="bottom"
|
2017-11-06 11:49:28 +00:00
|
|
|
tools:visibility="visible"
|
2017-10-31 17:31:06 +00:00
|
|
|
/>
|
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"
|
2023-12-21 13:17:06 +00:00
|
|
|
android:baselineAligned="false"
|
2023-03-24 10:34:24 +00:00
|
|
|
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
|
2023-03-29 10:11:28 +00:00
|
|
|
android:id="@+id/change_class_description"
|
2023-03-24 10:34:24 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2023-03-29 10:11:28 +00:00
|
|
|
tools:text="@string/unlock_gear_and_skills"
|
2023-03-24 10:34:24 +00:00
|
|
|
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>
|