diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-12 20:01:34 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-12 20:01:34 -0700 |
commit | 1805793c7cea8a3c56a8111e0a80d7ac5da95f63 (patch) | |
tree | 204a801f948e6f2e22b16ee5414da4b99c96a4bc /sample/src/main/res | |
parent | 37a2059fa15f23093fc38bca236f517ef96b030d (diff) | |
download | kau-1805793c7cea8a3c56a8111e0a80d7ac5da95f63.tar.gz kau-1805793c7cea8a3c56a8111e0a80d7ac5da95f63.tar.bz2 kau-1805793c7cea8a3c56a8111e0a80d7ac5da95f63.zip |
Add sliding activities
Diffstat (limited to 'sample/src/main/res')
-rw-r--r-- | sample/src/main/res/layout/sample.xml | 13 | ||||
-rw-r--r-- | sample/src/main/res/menu/menu_main.xml | 20 | ||||
-rw-r--r-- | sample/src/main/res/values/styles.xml | 1 |
3 files changed, 14 insertions, 20 deletions
diff --git a/sample/src/main/res/layout/sample.xml b/sample/src/main/res/layout/sample.xml new file mode 100644 index 0000000..c237fda --- /dev/null +++ b/sample/src/main/res/layout/sample.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center" + android:orientation="vertical"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="This is a sample" /> + +</LinearLayout>
\ No newline at end of file diff --git a/sample/src/main/res/menu/menu_main.xml b/sample/src/main/res/menu/menu_main.xml index 5562ea4..3725b18 100644 --- a/sample/src/main/res/menu/menu_main.xml +++ b/sample/src/main/res/menu/menu_main.xml @@ -7,25 +7,5 @@ android:orderInCategory="100" android:title="Settings" app:showAsAction="never" /> - <item - android:id="@+id/action_changelog" - android:orderInCategory="200" - android:title="@string/kau_changelog" - app:showAsAction="never" /> - <item - android:id="@+id/action_restart" - android:orderInCategory="220" - android:title="Restart" - app:showAsAction="never" /> - <item - android:id="@+id/action_call" - android:orderInCategory="300" - android:title="Call" - app:showAsAction="never" /> - <item - android:id="@+id/action_db" - android:orderInCategory="400" - android:title="DB" - app:showAsAction="never" /> </menu> diff --git a/sample/src/main/res/values/styles.xml b/sample/src/main/res/values/styles.xml index 7867278..ac2f9c8 100644 --- a/sample/src/main/res/values/styles.xml +++ b/sample/src/main/res/values/styles.xml @@ -6,6 +6,7 @@ <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> + <item name="android:colorBackground">#303030</item> <item name="android:windowShowWallpaper">true</item> <item name="android:windowBackground">@android:color/transparent</item> </style> |