2017-07-25 16:27:00 +00:00
|
|
|
<?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="match_parent"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:paddingStart="@dimen/shopitem_dialog_content_inset"
|
|
|
|
|
android:paddingEnd="@dimen/shopitem_dialog_content_inset"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
tools:parentTag="LinearLayout"
|
|
|
|
|
tools:orientation="vertical">
|
|
|
|
|
|
2021-06-07 14:09:57 +00:00
|
|
|
<ImageView
|
2017-07-25 16:27:00 +00:00
|
|
|
android:id="@+id/imageView"
|
|
|
|
|
android:layout_width="@dimen/shopitem_image_size"
|
|
|
|
|
android:layout_height="@dimen/shopitem_image_size" />
|
|
|
|
|
<TextView
|
2017-10-07 16:55:13 +00:00
|
|
|
android:id="@+id/titleTextView"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Headline"
|
|
|
|
|
tools:text="This is the Title"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
|
android:layout_marginBottom="4dp"/>
|
|
|
|
|
<TextView
|
2017-10-07 16:55:13 +00:00
|
|
|
android:id="@+id/notesTextView"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Body2"
|
2020-09-17 11:23:27 +00:00
|
|
|
android:textColor="@color/text_ternary"
|
2017-07-25 16:27:00 +00:00
|
|
|
tools:text="These are the notes"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/questTypeTextView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
|
style="@style/Body1"
|
|
|
|
|
/>
|
|
|
|
|
<TableLayout
|
|
|
|
|
android:id="@+id/questDetailView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible"
|
|
|
|
|
android:shrinkColumns="1"
|
|
|
|
|
android:stretchColumns="1">
|
|
|
|
|
<TableRow
|
|
|
|
|
android:id="@+id/boss_health_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/boss_health_bg"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:text="@string/health"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Body2"
|
|
|
|
|
android:textColor="@color/white"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/boss_health_text"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
tools:text="1000"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
style="@style/Body2"
|
|
|
|
|
/>
|
|
|
|
|
</TableRow>
|
|
|
|
|
<TableRow
|
|
|
|
|
android:id="@+id/quest_collect_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/quest_collection_bg"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:text="@string/collect"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Body2"
|
|
|
|
|
android:textColor="@color/white"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/quest_collect_text"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="List of items"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
style="@style/Body2"
|
|
|
|
|
/>
|
|
|
|
|
</TableRow>
|
|
|
|
|
<TableRow
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="@drawable/quest_difficulty_bg"
|
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:text="@string/difficulty"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Body2"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
|
android:layout_marginEnd="16dp"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
2017-07-25 17:05:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical">
|
2017-07-25 16:27:00 +00:00
|
|
|
<RatingBar
|
|
|
|
|
android:id="@+id/quest_difficulty_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:rating="2.5"
|
|
|
|
|
style="@style/QuestRatingBar"
|
|
|
|
|
android:numStars="4"
|
|
|
|
|
android:stepSize="0.5"
|
|
|
|
|
android:isIndicator="true"
|
|
|
|
|
/>
|
|
|
|
|
<Space
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/rage_meter_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-07-26 13:44:47 +00:00
|
|
|
style="@style/Pill"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:gravity="end"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:paddingBottom="2dp"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2017-07-25 16:27:00 +00:00
|
|
|
android:paddingTop="2dp"
|
|
|
|
|
android:text="@string/rage_meter"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible"
|
2020-09-17 11:47:02 +00:00
|
|
|
android:layout_marginEnd="8dp"/>
|
2017-07-25 16:27:00 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
</TableRow>
|
|
|
|
|
</TableLayout>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:text="@string/rewards"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/rewardsList"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/ownerRewardsTitle"
|
|
|
|
|
android:text="@string/quest_owner_rewards"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/ownerRewardsList"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"/>
|
|
|
|
|
</merge>
|