diff options
author | Camil Staps | 2015-04-16 18:23:27 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-16 18:23:27 +0200 |
commit | 8b2061b85722163de3b9e5f47534d7869b16239e (patch) | |
tree | c82d3bf97ed95ec4e8719146bd6dfaed3d1da8f6 /app/src/main/res/values |
Initial commit
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/attrs.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 27 |
4 files changed, 47 insertions, 0 deletions
diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml new file mode 100644 index 0000000..7ce840e --- /dev/null +++ b/app/src/main/res/values/attrs.xml @@ -0,0 +1,12 @@ +<resources> + + <!-- Declare custom theme attributes that allow changing which styles are + used for button bars depending on the API level. + ?android:attr/buttonBarStyle is new as of API 11 so this is + necessary to support previous API levels. --> + <declare-styleable name="ButtonBarContainerTheme"> + <attr name="metaButtonBarStyle" format="reference" /> + <attr name="metaButtonBarButtonStyle" format="reference" /> + </declare-styleable> + +</resources> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..327c060 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,5 @@ +<resources> + + <color name="black_overlay">#66000000</color> + +</resources> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..6597eec --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ +<resources> + <string name="app_name">Rush Hour</string> +</resources> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..8d8c40e --- /dev/null +++ b/app/src/main/res/values/styles.xml @@ -0,0 +1,27 @@ +<resources> + + <!-- Base application theme. --> + <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> + <!-- Customize your theme here. --> + </style> + + <style name="FullscreenTheme" parent="android:Theme.NoTitleBar"> + <item name="android:windowContentOverlay">@null</item> + <item name="android:windowBackground">@null</item> + <item name="metaButtonBarStyle">@style/ButtonBar</item> + <item name="metaButtonBarButtonStyle">@style/ButtonBarButton</item> + </style> + + <!-- Backward-compatible version of ?android:attr/buttonBarStyle --> + <style name="ButtonBar"> + <item name="android:paddingLeft">2dp</item> + <item name="android:paddingTop">5dp</item> + <item name="android:paddingRight">2dp</item> + <item name="android:paddingBottom">0dp</item> + <item name="android:background">@android:drawable/bottom_bar</item> + </style> + + <!-- Backward-compatible version of ?android:attr/buttonBarButtonStyle --> + <style name="ButtonBarButton" /> + +</resources> |