mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
49 lines
No EOL
1.9 KiB
XML
49 lines
No EOL
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="12dp"
|
|
android:paddingRight="12dp"
|
|
android:background="@color/gray_700">
|
|
<Button
|
|
android:id="@+id/pin_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="52dp"
|
|
android:maxLines="1"
|
|
android:text="@string/pin"
|
|
android:background="@color/transparent"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="start|center_vertical"/>
|
|
<androidx.legacy.widget.Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
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"
|
|
app:hasLightBackground="true"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"
|
|
android:layout_gravity="center_vertical"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
android:id="@+id/limitedTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
style="@style/Body1"
|
|
android:textSize="12sp"
|
|
android:padding="7dp"
|
|
android:background="@color/brand_300"
|
|
android:textColor="@color/white"
|
|
tools:text="Available until May 6"/>
|
|
</LinearLayout> |