2015-11-04 23:30:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-09 15:35:06 +00:00
|
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-11-02 18:32:14 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2018-11-09 15:35:06 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-11-02 18:32:14 +00:00
|
|
|
android:scrollbarSize="3dp"
|
2017-11-17 19:09:36 +00:00
|
|
|
android:scrollbarThumbVertical="@color/scrollbarThumb"
|
2019-04-17 08:14:17 +00:00
|
|
|
android:scrollbars="vertical"
|
|
|
|
|
android:background="@color/white">
|
2015-11-04 23:30:42 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
2018-11-09 15:35:06 +00:00
|
|
|
<Space
|
|
|
|
|
android:id="@+id/anchor"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content" />
|
2017-11-02 18:32:14 +00:00
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="72dp"
|
|
|
|
|
android:layout_height="72dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
|
android:src="@mipmap/ic_launcher" />
|
2015-11-04 23:30:42 +00:00
|
|
|
|
2019-04-17 08:14:17 +00:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/versionInfo"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_medium"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_small_text"
|
2019-04-17 08:14:17 +00:00
|
|
|
tools:text="Version 1.0 (1)"/>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/update_available_wrapper"
|
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:background="@drawable/layout_rounded_bg_gray_700"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_small"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingTop="@dimen/spacing_small"
|
|
|
|
|
android:paddingBottom="@dimen/spacing_small">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/update_available_textview"
|
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="Update Available: 1.1"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/green_100"
|
|
|
|
|
android:textSize="@dimen/card_medium_text"
|
|
|
|
|
/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:text="@string/see_what_s_new"
|
2019-04-17 08:14:17 +00:00
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/brand_300"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/twitter"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
2019-04-17 08:14:17 +00:00
|
|
|
android:layout_marginTop="20sp"
|
2017-11-02 18:32:14 +00:00
|
|
|
android:autoLink="web"
|
|
|
|
|
android:text="\@habitica"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_medium_text" />
|
2015-11-04 23:30:42 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="10sp"
|
|
|
|
|
android:autoLink="web"
|
|
|
|
|
android:text="www.habitica.com"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_medium_text" />
|
2015-11-04 23:30:42 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="10sp"
|
|
|
|
|
android:autoLink="web"
|
|
|
|
|
android:text="http://habitica.wikia.com/"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_medium_text" />
|
2015-11-04 23:30:42 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/googlePlayStoreButton"
|
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="35sp"
|
|
|
|
|
android:background="@drawable/rounded_purple_square"
|
|
|
|
|
android:text="@string/about.rate_our_app"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
android:textColor="@color/white"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_medium_text" />
|
2015-11-04 23:30:42 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/reportBug"
|
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="20sp"
|
|
|
|
|
android:background="@drawable/rounded_purple_square"
|
|
|
|
|
android:text="@string/about.bugreport"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
android:textColor="@color/white"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_medium_text" />
|
2015-11-04 23:30:42 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/sendFeedback"
|
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="20sp"
|
|
|
|
|
android:background="@drawable/rounded_purple_square"
|
|
|
|
|
android:text="@string/about.give_us_feedback"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
android:textColor="@color/white"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_medium_text" />
|
2015-11-05 21:28:17 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/sourceCodeLink"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="20sp"
|
|
|
|
|
android:text="@string/about.habitica_open_source"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_small_text" />
|
2015-11-05 21:28:17 +00:00
|
|
|
|
2017-11-02 18:32:14 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/sourceCodeButton"
|
|
|
|
|
android:layout_width="250dp"
|
|
|
|
|
android:layout_height="35dp"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="10sp"
|
|
|
|
|
android:background="@drawable/rounded_purple_square"
|
|
|
|
|
android:text="@string/about.source_code"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
android:textColor="@color/white"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:textSize="@dimen/card_medium_text" />
|
2017-11-02 18:32:14 +00:00
|
|
|
</LinearLayout>
|
2018-11-06 15:11:02 +00:00
|
|
|
</androidx.core.widget.NestedScrollView>
|