habitica-android/Habitica/res/layout/speechbubble.xml

85 lines
3.3 KiB
XML
Raw Normal View History

2017-03-27 13:33:57 +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:orientation="vertical"
android:layout_width="match_parent"
2022-12-19 13:40:02 +00:00
android:layout_height="wrap_content">
2017-03-27 13:33:57 +00:00
<ImageView
android:id="@+id/npc_image_view"
2017-04-07 13:56:23 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:src="@drawable/justin_textbox"
2022-05-24 09:13:51 +00:00
android:layout_gravity="end"
2020-09-17 11:47:02 +00:00
android:layout_marginEnd="30dp"/>
2017-03-27 13:33:57 +00:00
<LinearLayout
2017-04-10 20:39:35 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="46dp"
2020-09-04 16:17:34 +00:00
android:background="@drawable/layout_rounded_bg_content"
2017-04-10 20:39:35 +00:00
android:orientation="vertical"
2017-04-12 12:57:09 +00:00
android:paddingBottom="16dp"
2020-09-17 11:47:02 +00:00
android:paddingStart="21dp"
android:paddingEnd="21dp"
2017-04-12 12:57:09 +00:00
android:paddingTop="24dp"
android:layout_marginBottom="10dp">
2017-04-10 20:39:35 +00:00
2017-04-12 12:57:09 +00:00
<com.habitrpg.android.habitica.ui.views.Typewriter
2017-04-10 20:39:35 +00:00
android:id="@+id/textView"
2022-06-30 10:14:31 +00:00
style="@style/SubHeader1"
2017-03-30 12:02:37 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-04-10 20:39:35 +00:00
tools:text="@string/welcome_text" />
<LinearLayout
2017-04-10 20:39:35 +00:00
android:id="@+id/confirmation_buttons"
style="?android:attr/buttonBarStyle"
2017-04-13 13:41:07 +00:00
android:layout_width="wrap_content"
2017-04-10 20:39:35 +00:00
android:layout_height="match_parent"
2017-04-12 12:57:09 +00:00
android:orientation="horizontal"
2017-04-13 13:41:07 +00:00
android:layout_marginTop="8dp"
android:layout_gravity="right">
<Button
2017-04-10 20:39:35 +00:00
android:id="@+id/dismissButton"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="@string/dismiss_tutorial"
2017-04-13 13:41:07 +00:00
android:theme="@style/DialogButton"/>
<Button
2017-04-10 20:39:35 +00:00
android:id="@+id/completeButton"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="@string/complete_tutorial"
android:theme="@style/DialogButton" />
</LinearLayout>
</LinearLayout>
2017-04-12 12:57:09 +00:00
<ImageView
android:id="@+id/continue_indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/speechbubble_caret"
android:layout_gravity="bottom|center"
android:visibility="gone"
tools:visibility="visible"/>
2017-03-27 13:33:57 +00:00
<TextView
android:id="@+id/name_plate"
android:layout_width="wrap_content"
android:layout_height="28dp"
tools:text="Justin"
android:background="@drawable/name_plate"
android:gravity="center_vertical"
android:textColor="@color/white"
2020-09-17 11:47:02 +00:00
android:layout_marginStart="21dp"
2017-04-10 20:39:35 +00:00
android:layout_marginTop="32dp"
2017-03-27 13:33:57 +00:00
android:textStyle="bold" />
</FrameLayout>