summaryrefslogtreecommitdiff
path: root/aboutit-sample/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'aboutit-sample/src/main/res/layout/activity_main.xml')
-rw-r--r--aboutit-sample/src/main/res/layout/activity_main.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/aboutit-sample/src/main/res/layout/activity_main.xml b/aboutit-sample/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..9670712
--- /dev/null
+++ b/aboutit-sample/src/main/res/layout/activity_main.xml
@@ -0,0 +1,41 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ tools:context=".MainActivity">
+
+ <include layout="@layout/toolbar" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin">
+
+ <TextView
+ android:id="@+id/description"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:autoLink="web"
+ android:text="@string/description" />
+
+ <Spinner
+ android:id="@+id/spinner"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:entries="@array/examples"
+ android:paddingTop="16dp"
+ android:spinnerMode="dropdown" />
+
+ <TextView
+ android:id="@+id/sample_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingTop="16dp" />
+ </LinearLayout>
+
+</LinearLayout>