2015-09-23 20:39:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-10-17 14:28:23 +00:00
|
|
|
<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="wrap_content"
|
|
|
|
|
android:clickable="true"
|
2022-09-27 12:33:59 +00:00
|
|
|
android:background="@drawable/layout_rounded_bg_window"
|
2018-10-17 14:28:23 +00:00
|
|
|
android:padding="@dimen/spacing_large"
|
2019-06-11 12:24:38 +00:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
2022-09-27 12:33:59 +00:00
|
|
|
android:focusable="true"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_medium">
|
2022-05-17 13:16:19 +00:00
|
|
|
<com.habitrpg.common.habitica.views.AvatarView
|
2018-10-17 14:28:23 +00:00
|
|
|
android:id="@+id/avatarView"
|
2019-06-11 12:24:38 +00:00
|
|
|
android:layout_width="97dp"
|
|
|
|
|
android:layout_height="99dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
app:showBackground="true"
|
|
|
|
|
app:showMount="true"
|
|
|
|
|
app:showPet="true" />
|
2015-09-23 20:39:04 +00:00
|
|
|
|
|
|
|
|
<LinearLayout
|
2019-06-11 12:24:38 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-10-17 14:28:23 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
2019-08-16 13:14:05 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
2022-06-30 10:53:54 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.views.UsernameLabel
|
2019-06-11 12:24:38 +00:00
|
|
|
android:id="@+id/display_name_textview"
|
2018-10-17 14:28:23 +00:00
|
|
|
android:layout_height="wrap_content"
|
2021-09-14 11:41:33 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2019-06-11 12:24:38 +00:00
|
|
|
android:layout_marginBottom="@dimen/spacing_small" />
|
2022-07-27 15:05:22 +00:00
|
|
|
<Space
|
2019-08-16 13:14:05 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_height="wrap_content" />
|
2021-09-14 11:41:33 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/you_pill"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Pill"
|
|
|
|
|
android:text="@string/you"/>
|
2019-08-16 13:14:05 +00:00
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/more_button"
|
|
|
|
|
android:src="@drawable/ic_more_horiz_black_18dp"
|
|
|
|
|
android:background="@color/transparent"
|
2023-12-21 13:17:06 +00:00
|
|
|
app:tint="?textColorPrimary"
|
2019-08-16 13:14:05 +00:00
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="20dp"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_gravity="end"/>
|
2019-08-16 13:14:05 +00:00
|
|
|
</LinearLayout>
|
2019-06-11 12:24:38 +00:00
|
|
|
<TableLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
<TableRow>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_small">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/subline_textview"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
tools:text="level 12 Warrior"
|
|
|
|
|
android:textSize="12sp"/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/buff_icon_view"
|
|
|
|
|
android:layout_width="17dp"
|
|
|
|
|
android:layout_height="17dp"
|
|
|
|
|
android:contentDescription="@string/buffs"
|
|
|
|
|
android:layout_marginStart="@dimen/spacing_small"/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/class_icon_view"
|
|
|
|
|
android:layout_width="17dp"
|
|
|
|
|
android:layout_height="17dp"
|
|
|
|
|
android:layout_marginStart="@dimen/spacing_small"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<Space />
|
|
|
|
|
</TableRow>
|
|
|
|
|
<TableRow>
|
2022-05-17 13:39:22 +00:00
|
|
|
<com.habitrpg.common.habitica.views.HabiticaProgressBar
|
2019-06-11 12:24:38 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-10 09:23:01 +00:00
|
|
|
android:layout_height="@dimen/bar_size"
|
2019-06-11 12:24:38 +00:00
|
|
|
android:id="@+id/health_bar"
|
|
|
|
|
app:barForegroundColor="@color/hpColor"
|
2022-09-27 12:33:59 +00:00
|
|
|
app:barBackgroundColor="@color/offset_background"/>
|
2019-06-11 12:24:38 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/health_textview"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="19dp"
|
|
|
|
|
android:textSize="12sp"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:textColor="@color/text_ternary"
|
2019-06-11 12:24:38 +00:00
|
|
|
tools:text="50 / 50"
|
|
|
|
|
android:layout_marginStart="13dp"/>
|
|
|
|
|
</TableRow>
|
|
|
|
|
<TableRow
|
|
|
|
|
android:gravity="center_vertical">
|
2022-05-17 13:39:22 +00:00
|
|
|
<com.habitrpg.common.habitica.views.HabiticaProgressBar
|
2019-06-11 12:24:38 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-10 09:23:01 +00:00
|
|
|
android:layout_height="@dimen/bar_size"
|
2019-06-11 12:24:38 +00:00
|
|
|
android:id="@+id/experience_bar"
|
|
|
|
|
app:barForegroundColor="@color/xpColor"
|
2022-09-27 12:33:59 +00:00
|
|
|
app:barBackgroundColor="@color/offset_background"/>
|
2019-06-11 12:24:38 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/experience_textview"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="19dp"
|
|
|
|
|
android:textSize="12sp"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:textColor="@color/text_ternary"
|
2019-06-11 12:24:38 +00:00
|
|
|
tools:text="50 / 50"
|
|
|
|
|
android:layout_marginStart="13dp"/>
|
|
|
|
|
</TableRow>
|
|
|
|
|
<TableRow
|
|
|
|
|
android:gravity="center_vertical">
|
2022-05-17 13:39:22 +00:00
|
|
|
<com.habitrpg.common.habitica.views.HabiticaProgressBar
|
2019-06-11 12:24:38 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
2020-09-10 09:23:01 +00:00
|
|
|
android:layout_height="@dimen/bar_size"
|
2019-06-11 12:24:38 +00:00
|
|
|
android:id="@+id/mana_bar"
|
|
|
|
|
app:barForegroundColor="@color/mpColor"
|
2022-09-27 12:33:59 +00:00
|
|
|
app:barBackgroundColor="@color/offset_background"/>
|
2019-06-11 12:24:38 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/mana_textview"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="19dp"
|
|
|
|
|
android:textSize="12sp"
|
2020-09-04 16:17:34 +00:00
|
|
|
android:textColor="@color/text_ternary"
|
2019-06-11 12:24:38 +00:00
|
|
|
tools:text="50 / 5000"
|
|
|
|
|
android:layout_marginStart="13dp"/>
|
|
|
|
|
</TableRow>
|
|
|
|
|
</TableLayout>
|
2018-10-17 14:28:23 +00:00
|
|
|
|
2015-09-23 20:39:04 +00:00
|
|
|
</LinearLayout>
|
2023-12-21 13:17:06 +00:00
|
|
|
</LinearLayout>
|