2017-04-20 13:33:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@color/white">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
2017-07-25 10:23:01 +00:00
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="30dp"
|
2017-04-20 13:33:33 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_margin="12dp"
|
|
|
|
|
android:scaleType="center"
|
2017-09-22 10:49:55 +00:00
|
|
|
android:src="@drawable/icon_custom_reward" />
|
2017-04-20 13:33:33 +00:00
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingBottom="@dimen/task_top_bottom_padding"
|
|
|
|
|
android:paddingEnd="@dimen/reward_spacing"
|
|
|
|
|
android:paddingRight="@dimen/reward_spacing"
|
|
|
|
|
android:paddingTop="@dimen/task_top_bottom_padding">
|
|
|
|
|
|
2018-08-27 13:54:44 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.views.EllipsisTextView
|
2017-04-20 13:33:33 +00:00
|
|
|
android:id="@+id/checkedTextView"
|
|
|
|
|
style="@style/Subheader3"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="#000"
|
|
|
|
|
tools:text="Title" />
|
|
|
|
|
|
2018-08-27 13:54:44 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.views.EllipsisTextView
|
2017-04-20 13:33:33 +00:00
|
|
|
android:id="@+id/notesTextView"
|
|
|
|
|
style="@style/Caption2.Regular"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="Notes"/>
|
|
|
|
|
|
2018-08-27 13:54:44 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/expand_notes_button"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Borderless"
|
|
|
|
|
android:text="@string/expand_notes"
|
|
|
|
|
android:padding="0dp"
|
2019-08-07 08:29:58 +00:00
|
|
|
android:textColor="?colorAccent"/>
|
2017-04-20 13:33:33 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/approvalRequiredTextField"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Caption4"
|
|
|
|
|
android:text="@string/pending_approval"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2018-08-28 11:45:11 +00:00
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/syncing_view"
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="20dp"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_small"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_small"
|
|
|
|
|
style="@style/Widget.AppCompat.ProgressBar"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/error_icon"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:src="@drawable/ic_warning_black"
|
|
|
|
|
android:layout_marginLeft="@dimen/spacing_small"
|
|
|
|
|
android:layout_marginRight="@dimen/spacing_small"/>
|
2017-07-25 10:23:01 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/buyButton"
|
|
|
|
|
android:layout_width="48dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/reward_buy_button_bg"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<ImageView
|
2017-09-05 13:56:34 +00:00
|
|
|
android:id="@+id/gold_icon"
|
2017-07-25 10:23:01 +00:00
|
|
|
android:layout_width="22dp"
|
|
|
|
|
android:layout_height="22dp"
|
2017-09-20 10:45:48 +00:00
|
|
|
android:paddingBottom="8dp"/>
|
2017-07-25 10:23:01 +00:00
|
|
|
<TextView
|
2017-10-07 16:55:13 +00:00
|
|
|
android:id="@+id/priceLabel"
|
2017-07-25 10:23:01 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2017-09-11 11:31:20 +00:00
|
|
|
android:textColor="@color/yellow_10"
|
2017-07-25 10:23:01 +00:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
tools:text="150"
|
|
|
|
|
style="@style/Body1"/>
|
|
|
|
|
</LinearLayout>
|
2017-04-20 13:33:33 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
|
android:background="@color/task_border_gray" />
|
2017-01-11 22:46:26 +00:00
|
|
|
</FrameLayout>
|