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"
|
|
|
|
|
android:padding="@dimen/spacing_large"
|
|
|
|
|
android:foreground="?android:attr/selectableItemBackground">
|
|
|
|
|
<com.habitrpg.android.habitica.ui.AvatarView
|
|
|
|
|
android:id="@+id/avatarView"
|
|
|
|
|
android:layout_width="103dp"
|
|
|
|
|
android:layout_height="90dp"
|
|
|
|
|
android:layout_marginRight="12dp"
|
|
|
|
|
app:showBackground="false"
|
|
|
|
|
app:showMount="false"
|
|
|
|
|
app:showPet="false" />
|
2015-09-23 20:39:04 +00:00
|
|
|
|
|
|
|
|
<LinearLayout
|
2018-10-17 14:28:23 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="6"
|
|
|
|
|
android:orientation="vertical">
|
2015-09-23 20:39:04 +00:00
|
|
|
<LinearLayout
|
2018-10-17 14:28:23 +00:00
|
|
|
android:layout_width="match_parent"
|
2015-09-23 20:39:04 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-10-17 14:28:23 +00:00
|
|
|
android:layout_marginBottom="@dimen/spacing_medium">
|
|
|
|
|
<com.habitrpg.android.habitica.ui.views.social.UsernameLabel
|
|
|
|
|
android:id="@+id/display_name_textview"
|
2015-09-23 20:39:04 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-10-17 14:28:23 +00:00
|
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/buff_icon_view"
|
|
|
|
|
android:layout_width="17dp"
|
|
|
|
|
android:layout_height="17dp"
|
|
|
|
|
android:contentDescription="@string/buffs"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_small"
|
|
|
|
|
android:layout_gravity="center_vertical"/>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/class_icon_view"
|
|
|
|
|
android:layout_width="17dp"
|
|
|
|
|
android:layout_height="17dp"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_small"
|
|
|
|
|
android:layout_gravity="center_vertical"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/leader_textview"
|
2017-04-27 17:39:07 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-10-17 14:28:23 +00:00
|
|
|
android:text="@string/leader"
|
|
|
|
|
style="@style/Pill"
|
|
|
|
|
android:textSize="12sp"/>
|
2015-09-23 20:39:04 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2018-10-17 14:28:23 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/subline_textview"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
tools:text="lvl"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
|
|
|
|
|
|
|
|
|
<com.habitrpg.android.habitica.ui.views.ValueBar
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/hpBar"
|
|
|
|
|
app:barForegroundColor="@color/hpColor"
|
|
|
|
|
app:description="@string/HP_default"
|
|
|
|
|
app:lightBackground="true"/>
|
2015-09-23 20:39:04 +00:00
|
|
|
</LinearLayout>
|
2018-10-17 14:28:23 +00:00
|
|
|
|
|
|
|
|
</LinearLayout>
|