diff options
author | Victor Häggqvist <[email protected]> | 2015-01-01 16:28:17 +0100 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2015-01-01 16:28:17 +0100 |
commit | 5d2f7b4c8f76a1fb7cb8d3d0ad9ca7e6fcc6274a (patch) | |
tree | 5c5ed9ccd86d39201c64526c4557ab6c48d69a56 /aboutit-sample/src/main/res/layout/activity_main.xml |
init
Diffstat (limited to 'aboutit-sample/src/main/res/layout/activity_main.xml')
-rw-r--r-- | aboutit-sample/src/main/res/layout/activity_main.xml | 41 |
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> |