diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-10 23:46:02 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-10 23:46:02 -0700 |
commit | c00f9e2674f5109a64f1f50873ce08089a2fce33 (patch) | |
tree | f12b43da762a34b9e803c48c9d53be473cff9c54 /sample/src/main/res | |
parent | 93846b3df8fd838a3277f5bacaa99e4ffb59012a (diff) | |
download | kau-c00f9e2674f5109a64f1f50873ce08089a2fce33.tar.gz kau-c00f9e2674f5109a64f1f50873ce08089a2fce33.tar.bz2 kau-c00f9e2674f5109a64f1f50873ce08089a2fce33.zip |
Create kpref activity base
Diffstat (limited to 'sample/src/main/res')
-rw-r--r-- | sample/src/main/res/layout/activity_main.xml | 9 | ||||
-rw-r--r-- | sample/src/main/res/values/strings.xml | 4 | ||||
-rw-r--r-- | sample/src/main/res/values/styles.xml | 5 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sample/src/main/res/layout/activity_main.xml b/sample/src/main/res/layout/activity_main.xml deleted file mode 100644 index 7254add..0000000 --- a/sample/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - tools:context="ca.allanwang.kau.sample.MainActivity"> - -</android.support.constraint.ConstraintLayout> diff --git a/sample/src/main/res/values/strings.xml b/sample/src/main/res/values/strings.xml index 44421fe..1246baf 100644 --- a/sample/src/main/res/values/strings.xml +++ b/sample/src/main/res/values/strings.xml @@ -8,5 +8,9 @@ <string name="checkbox_3">Checkbox 3</string> <string name="desc_disabled">I am disabled</string> <string name="text_color">Text Color</string> + <string name="accent_color">Accent Color</string> <string name="background_color">Background Color</string> + <string name="color_custom">This selector allows custom colors</string> + <string name="color_no_custom">This selector does not allow custom colors</string> + <string name="color_custom_alpha">This selector allows for custom colors with alpha values</string> </resources> diff --git a/sample/src/main/res/values/styles.xml b/sample/src/main/res/values/styles.xml index 8a4c98f..7867278 100644 --- a/sample/src/main/res/values/styles.xml +++ b/sample/src/main/res/values/styles.xml @@ -10,4 +10,9 @@ <item name="android:windowBackground">@android:color/transparent</item> </style> + <style name="AppTheme.NoActionBar"> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> + </style> + </resources> |