summaryrefslogtreecommitdiffstats
path: root/Android/02-Intents/MyBrowser/res/values
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-02-12 22:33:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-10 17:40:54 +0100
commitee3ef2bcf3656e3e7a02d86d43858cc8145508da (patch)
treec428969d47180877913f95201067f4b750f91b2a /Android/02-Intents/MyBrowser/res/values
parent339c57d3520c8de6f970b020c87f77ec266f3bf8 (diff)
downloadcoursera-ee3ef2bcf3656e3e7a02d86d43858cc8145508da.zip
coursera-ee3ef2bcf3656e3e7a02d86d43858cc8145508da.tar.gz
Android : 02-Intents: add
Diffstat (limited to 'Android/02-Intents/MyBrowser/res/values')
-rw-r--r--Android/02-Intents/MyBrowser/res/values/dimens.xml7
-rw-r--r--Android/02-Intents/MyBrowser/res/values/strings.xml8
-rw-r--r--Android/02-Intents/MyBrowser/res/values/styles.xml20
3 files changed, 35 insertions, 0 deletions
diff --git a/Android/02-Intents/MyBrowser/res/values/dimens.xml b/Android/02-Intents/MyBrowser/res/values/dimens.xml
new file mode 100644
index 0000000..55c1e59
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/values/dimens.xml
@@ -0,0 +1,7 @@
+<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/Android/02-Intents/MyBrowser/res/values/strings.xml b/Android/02-Intents/MyBrowser/res/values/strings.xml
new file mode 100644
index 0000000..f103470
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/values/strings.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">MyBrowser</string>
+ <string name="action_settings">Settings</string>
+ <string name="hello_world">Hello world!</string>
+
+</resources>
diff --git a/Android/02-Intents/MyBrowser/res/values/styles.xml b/Android/02-Intents/MyBrowser/res/values/styles.xml
new file mode 100644
index 0000000..6ce89c7
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/values/styles.xml
@@ -0,0 +1,20 @@
+<resources>
+
+ <!--
+ Base application theme, dependent on API level. This theme is replaced
+ by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
+ -->
+ <style name="AppBaseTheme" parent="android:Theme.Light">
+ <!--
+ Theme customizations available in newer API levels can go in
+ res/values-vXX/styles.xml, while customizations related to
+ backward-compatibility can go here.
+ -->
+ </style>
+
+ <!-- Application theme. -->
+ <style name="AppTheme" parent="AppBaseTheme">
+ <!-- All customizations that are NOT specific to a particular API-level can go here. -->
+ </style>
+
+</resources>