habitica-android/Habitica/res/layout/shop_header.xml
2023-12-21 14:17:06 +01:00

51 lines
2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/shop_header_background"
android:clipChildren="true"
android:clipToOutline="true"
android:clipToPadding="true"
android:layout_marginTop="8dp">
<com.habitrpg.android.habitica.ui.views.NPCBannerView
android:id="@+id/npcBannerView"
android:layout_width="match_parent"
android:layout_height="@dimen/shop_scene_height"
tools:background="@color/black" />
</FrameLayout>
<ImageView
android:layout_width="match_parent"
android:layout_height="18dp"
android:layout_marginTop="115dp"
android:src="@drawable/npc_gradient_banner"
android:importantForAccessibility="no"
android:scaleType="fitXY"/>
<TextView
android:id="@+id/namePlate"
android:layout_width="wrap_content"
android:layout_height="28dp"
tools:text="Justin"
android:background="@drawable/name_plate"
android:gravity="center_vertical"
android:textColor="@color/white"
android:layout_marginStart="45dp"
android:layout_marginTop="105dp"
android:textStyle="bold" />
<TextView
android:id="@+id/descriptionView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="144dp"
android:layout_marginBottom="4dp"
style="@style/Body1"
tools:text="Welcome to the Market! Stock up on new gear or buy rare eggs and potions. Check in periodically for new stock." />
</merge>