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:id="@+id/gearElementsLayout"
|
|
|
|
|
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
|
2017-04-20 13:33:33 +00:00
|
|
|
android:id="@+id/rewardImageView"
|
2017-07-25 10:23:01 +00:00
|
|
|
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-07-25 10:23:01 +00:00
|
|
|
android:src="@drawable/custom_reward" />
|
2017-04-20 13:33:33 +00:00
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/textReward"
|
|
|
|
|
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">
|
|
|
|
|
|
|
|
|
|
<net.pherth.android.emoji_library.EmojiTextView
|
|
|
|
|
android:id="@+id/checkedTextView"
|
|
|
|
|
style="@style/Subheader3"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="#000"
|
|
|
|
|
tools:text="Title" />
|
|
|
|
|
|
|
|
|
|
<net.pherth.android.emoji_library.EmojiTextView
|
|
|
|
|
android:id="@+id/notesTextView"
|
|
|
|
|
style="@style/Caption2.Regular"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="Notes"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/approvalRequiredTextField"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Caption4"
|
|
|
|
|
android:text="@string/pending_approval"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
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"
|
|
|
|
|
android:paddingBottom="4dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@id/priceLabel"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/neutral_10"
|
|
|
|
|
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>
|