diff options
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 6 | ||||
-rw-r--r-- | res/values/dimens.xml | 5 | ||||
-rw-r--r-- | res/values/strings.xml | 11 | ||||
-rw-r--r-- | res/values/styles.xml | 17 |
4 files changed, 39 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml new file mode 100644 index 0000000..3ab3e9c --- /dev/null +++ b/res/values/colors.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="colorPrimary">#3F51B5</color> + <color name="colorPrimaryDark">#303F9F</color> + <color name="colorAccent">#FF4081</color> +</resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml new file mode 100644 index 0000000..47c8224 --- /dev/null +++ b/res/values/dimens.xml @@ -0,0 +1,5 @@ +<resources> + <!-- Default screen margins, per the Android Design guidelines. --> + <dimen name="activity_horizontal_margin">16dp</dimen> + <dimen name="activity_vertical_margin">16dp</dimen> +</resources> diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..2c97fc5 --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,11 @@ +<resources> + <string name="app_name">Ball Bounce</string> + <string name="menu_title">Main menu</string> + <string name="normal">Play normal mode</string> + <string name="crazy_gravity">Play crazy gravity mode</string> + <string name="colour_changing">Play colour changing mode</string> + <string name="oscillation">Play oscillation mode</string> + <string name="bw_mode">Play black & white mode</string> + <string name="flip_mode">Play flip mode</string> + <string name="random_mode">Play a random mode!</string> +</resources> diff --git a/res/values/styles.xml b/res/values/styles.xml new file mode 100644 index 0000000..8898e0c --- /dev/null +++ b/res/values/styles.xml @@ -0,0 +1,17 @@ +<resources> + + <!-- Base application theme. --> + <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> + <!-- Customize your theme here. --> + <item name="colorPrimary">@color/colorPrimary</item> + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> + <item name="colorAccent">@color/colorAccent</item> + </style> + + <style name="ThemeNoTitleBar" parent="Theme.AppCompat.Light.NoActionBar"> + <item name="colorPrimary">@color/colorPrimary</item> + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> + <item name="colorAccent">@color/colorAccent</item> + </style> + +</resources> |