aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/about_activity.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/about_activity.xml')
-rw-r--r--WordPress/src/main/res/layout/about_activity.xml88
1 files changed, 88 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/about_activity.xml b/WordPress/src/main/res/layout/about_activity.xml
new file mode 100644
index 000000000..4ddbc2125
--- /dev/null
+++ b/WordPress/src/main/res/layout/about_activity.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/main_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/nux_background"
+ android:fillViewport="true">
+
+ <org.wordpress.android.widgets.WPLinearLayoutSizeBound
+ app:maxWidth="@dimen/nux_width"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="16dp"
+ android:layout_marginRight="16dp"
+ android:orientation="vertical"
+ android:gravity="center">
+
+ <ImageView
+ android:id="@+id/nux_fragment_icon"
+ android:layout_width="50dp"
+ android:layout_height="50dp"
+ app:srcCompat="@drawable/nux_icon_wp"
+ android:layout_marginTop="@dimen/margin_medium"/>
+
+ <org.wordpress.android.widgets.WPTextView
+ style="@style/WordPress.NUXTitle"
+ android:id="@+id/about_first_line"
+ android:text="@string/app_title"
+ android:fontFamily="sans-serif-light"
+ android:layout_marginTop="@dimen/margin_extra_large"
+ android:layout_marginBottom="@dimen/margin_small"/>
+
+ <org.wordpress.android.widgets.WPTextView
+ style="@style/WordPress.NUXGreyButtonNoBg"
+ android:id="@+id/about_version"
+ android:text="@string/version"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ <org.wordpress.android.widgets.WPTextView
+ style="@style/WordPress.NUXGreyButtonNoBg"
+ android:id="@+id/about_publisher"
+ android:text="@string/publisher"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_extra_large"/>
+
+ <org.wordpress.android.widgets.WPTextView
+ style="@style/WordPress.NUXGreyButtonNoBg"
+ android:id="@+id/about_copyright"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ <org.wordpress.android.widgets.WPTextView
+ style="@style/WordPress.NUXPrimaryButton"
+ android:id="@+id/about_privacy"
+ android:text="@string/privacy_policy"
+ android:layout_width="match_parent"
+ android:gravity="center"
+ android:layout_marginTop="@dimen/margin_medium"/>
+
+ <org.wordpress.android.widgets.WPTextView
+ style="@style/WordPress.NUXPrimaryButton"
+ android:id="@+id/about_tos"
+ android:text="@string/tos"
+ android:layout_width="match_parent"
+ android:gravity="center"/>
+
+ <org.wordpress.android.widgets.WPTextView
+ style="@style/WordPress.NUXGreyButtonNoBg"
+ android:id="@+id/about_url"
+ android:text="@string/automattic_url"
+ android:clickable="true"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_medium"
+ android:layout_marginBottom="@dimen/margin_medium"/>
+ </LinearLayout>
+
+ </org.wordpress.android.widgets.WPLinearLayoutSizeBound>
+</ScrollView>