remove old layout

This commit is contained in:
Phillip Thelen 2022-12-20 13:37:05 +01:00
parent e50f2f42be
commit 6533a19854

View file

@ -1,95 +0,0 @@
<?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="wrap_content"
android:adjustViewBounds="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:layout_marginBottom="8dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.habitrpg.common.habitica.views.AvatarView
android:id="@+id/avatarView"
android:layout_width="@dimen/avatar_header_width"
android:layout_height="@dimen/avatar_header_height"
android:layout_gravity="center_vertical"
android:layout_marginEnd="20dp"
android:contentDescription="@string/sidebar_avatar"
app:showBackground="true"
app:showMount="true"
app:showPet="true"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.habitrpg.common.habitica.views.ValueBar
android:id="@+id/hpBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/header_bar_spacing"
app:barForegroundColor="@color/background_red"
app:barBackgroundColor="?attr/colorWindowBackground"
app:description="@string/HP_default"/>
<com.habitrpg.common.habitica.views.ValueBar
android:id="@+id/xpBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/header_bar_spacing"
app:barForegroundColor="@color/background_yellow"
app:barBackgroundColor="?attr/colorWindowBackground"
app:description="@string/XP_default"/>
<com.habitrpg.common.habitica.views.ValueBar
android:id="@+id/mpBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:barForegroundColor="@color/background_blue"
app:barBackgroundColor="?attr/colorWindowBackground"
app:description="@string/MP_default"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
<TextView
android:id="@+id/lvl_tv"
android:layout_width="wrap_content"
android:layout_height="36dp"
android:drawablePadding="6dp"
android:gravity="center"
android:textColor="@color/text_secondary"
android:textSize="12sp"
tools:text="Lvl 12 Warrior"/>
<ImageView
android:id="@+id/buffImageView"
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_gravity="center"
android:layout_marginStart="8dp"
tools:srcCompat="@tools:sample/avatars" />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1"/>
<com.habitrpg.android.habitica.ui.views.CurrencyViews
android:id="@+id/currencyView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout>