2017-10-03 13:19:19 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
2021-06-04 14:11:48 +00:00
|
|
|
tools:context="com.habitrpg.android.habitica.ui.activities.FixCharacterValuesActivity">
|
2018-11-06 15:11:02 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2017-10-03 13:19:19 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
2018-11-06 15:11:02 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
2017-10-03 13:19:19 +00:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
2020-09-22 14:10:15 +00:00
|
|
|
android:theme="@style/Toolbar.Modern"
|
2023-01-04 13:34:12 +00:00
|
|
|
style="@style/ToolbarTitleStyle"
|
2020-09-22 14:10:15 +00:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways"/>
|
2017-10-03 13:19:19 +00:00
|
|
|
|
2018-11-06 15:11:02 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2017-10-03 13:19:19 +00:00
|
|
|
<ScrollView android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2017-10-16 09:40:24 +00:00
|
|
|
android:padding="@dimen/outer_inset"
|
|
|
|
|
android:text="@string/fix_character_description"
|
2022-11-22 14:48:15 +00:00
|
|
|
android:background="?attr/colorWindowBackground"
|
2017-10-16 09:40:24 +00:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
|
/>
|
2020-04-22 12:52:36 +00:00
|
|
|
<FrameLayout
|
2017-10-03 13:19:19 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-10-16 09:40:24 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginBottom="12dp" >
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/healthIconBackgroundView"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:background="@color/red_500"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/editTextWrapper"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:hint="@string/health"
|
|
|
|
|
android:paddingStart="16dp">
|
2020-09-17 11:23:27 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2020-04-22 12:52:36 +00:00
|
|
|
android:id="@+id/healthEditText"
|
|
|
|
|
android:layout_width="match_parent"
|
2020-09-18 16:34:53 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/healthIconView"
|
|
|
|
|
android:layout_width="56dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:scaleType="center"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="2dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2022-11-22 14:48:15 +00:00
|
|
|
android:background="?attr/colorContentBackgroundOffset"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginEnd="56dp"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<FrameLayout
|
2017-10-16 09:40:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginBottom="12dp" >
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/experienceIconBackgroundView"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:background="@color/yellow_500"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:hint="@string/experience_points"
|
|
|
|
|
android:paddingStart="16dp">
|
2020-09-17 11:23:27 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2020-04-22 12:52:36 +00:00
|
|
|
android:id="@+id/experienceEditText"
|
|
|
|
|
android:layout_width="match_parent"
|
2020-09-18 16:34:53 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/experienceIconView"
|
|
|
|
|
android:layout_width="56dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:scaleType="center"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="2dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2022-11-22 14:48:15 +00:00
|
|
|
android:background="?attr/colorContentBackgroundOffset"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginEnd="56dp"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<FrameLayout
|
2017-10-16 09:40:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginBottom="12dp" >
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/manaIconBackgroundView"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:background="@color/blue_500"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:hint="@string/mana_points"
|
|
|
|
|
android:paddingStart="16dp">
|
2020-09-17 11:23:27 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2020-04-22 12:52:36 +00:00
|
|
|
android:id="@+id/manaEditText"
|
|
|
|
|
android:layout_width="match_parent"
|
2020-09-18 16:34:53 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/manaIconView"
|
|
|
|
|
android:layout_width="56dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:scaleType="center"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="2dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2022-11-22 14:48:15 +00:00
|
|
|
android:background="?attr/colorContentBackgroundOffset"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginEnd="56dp"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<FrameLayout
|
2017-10-16 09:40:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginBottom="12dp" >
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/goldIconBackgroundView"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:background="@color/yellow_500"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
2021-06-04 14:11:48 +00:00
|
|
|
android:hint="@string/gold_capitalized"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:paddingStart="16dp">
|
2020-09-17 11:23:27 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2020-04-22 12:52:36 +00:00
|
|
|
android:id="@+id/goldEditText"
|
|
|
|
|
android:layout_width="match_parent"
|
2020-09-18 16:34:53 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:inputType="numberDecimal"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/goldIconView"
|
|
|
|
|
android:layout_width="56dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:scaleType="center"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="2dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2022-11-22 14:48:15 +00:00
|
|
|
android:background="?attr/colorContentBackgroundOffset"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginEnd="56dp"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<FrameLayout
|
2017-10-16 09:40:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginBottom="12dp" >
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/levelIconBackgroundView"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:background="@color/red_500"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:hint="@string/character_level"
|
|
|
|
|
android:paddingStart="16dp">
|
2020-09-17 11:23:27 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2020-04-22 12:52:36 +00:00
|
|
|
android:id="@+id/levelEditText"
|
|
|
|
|
android:layout_width="match_parent"
|
2020-09-18 16:34:53 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:inputType="number"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/levelIconView"
|
|
|
|
|
android:layout_width="56dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:scaleType="center"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="2dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2022-11-22 14:48:15 +00:00
|
|
|
android:background="?attr/colorContentBackgroundOffset"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginEnd="56dp"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<FrameLayout
|
2017-10-16 09:40:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginBottom="12dp" >
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/streakIconBackgroundView"
|
|
|
|
|
android:layout_width="80dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="end"
|
|
|
|
|
android:background="@color/gray_400"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
|
android:id="@+id/streakEditTextWrapper"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-22 14:10:15 +00:00
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:hint="@string/streak_label"
|
|
|
|
|
android:paddingStart="16dp">
|
2020-09-17 11:23:27 +00:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2020-04-22 12:52:36 +00:00
|
|
|
android:id="@+id/streakEditText"
|
|
|
|
|
android:layout_width="match_parent"
|
2020-09-18 16:34:53 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:inputType="number"
|
|
|
|
|
android:background="@android:color/transparent"/>
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/streakIconView"
|
|
|
|
|
android:layout_width="56dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:scaleType="center"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="2dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2022-11-22 14:48:15 +00:00
|
|
|
android:background="?attr/colorContentBackgroundOffset"
|
2020-04-22 12:52:36 +00:00
|
|
|
android:layout_marginEnd="56dp"/>
|
|
|
|
|
</FrameLayout>
|
2017-10-03 13:19:19 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</LinearLayout>
|