mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-27 00:30:00 +00:00
60 lines
No EOL
2.4 KiB
XML
60 lines
No EOL
2.4 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"
|
|
tools:parentTag="android.widget.LinearLayout">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_medium"
|
|
android:layout_marginBottom="@dimen/spacing_medium"
|
|
android:gravity="center_vertical">
|
|
<ImageView
|
|
android:id="@+id/icon_view"
|
|
android:layout_width="28dp"
|
|
android:layout_height="28dp"
|
|
android:layout_marginStart="@dimen/spacing_large"
|
|
android:layout_marginEnd="@dimen/spacing_large"
|
|
/>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/title_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Body1"
|
|
tools:text="Title"/>
|
|
<TextView
|
|
android:id="@+id/subtitle_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/text_ternary"
|
|
style="@style/Body2"
|
|
tools:text="Subtitle" />
|
|
</LinearLayout>
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ImageView
|
|
android:id="@+id/caret_view"
|
|
android:layout_width="14dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/spacing_large"
|
|
android:src="@drawable/ic_keyboard_arrow_down_black_24dp" />
|
|
</LinearLayout>
|
|
<TextView android:id="@+id/description_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/spacing_large"
|
|
android:layout_marginEnd="@dimen/spacing_large"
|
|
android:layout_marginTop="@dimen/spacing_medium"
|
|
android:layout_marginBottom="12dp"
|
|
android:visibility="gone"
|
|
/>
|
|
</merge> |