mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 11:46:32 +00:00
55 lines
No EOL
2 KiB
XML
55 lines
No EOL
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
style="@style/CardView.Default"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
style="@style/CardContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/skill_image"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/skill_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
<TextView
|
|
android:id="@+id/skill_notes"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/price_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@color/brand_100"
|
|
android:drawableLeft="@drawable/ic_header_magic"
|
|
android:drawableStart="@drawable/ic_header_magic"
|
|
android:paddingLeft="16dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingRight="24dp"
|
|
android:paddingEnd="24dp"
|
|
android:textColor="@android:color/white" />
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView> |