summaryrefslogtreecommitdiffstats
path: root/Android/03-Permissions/DangerousApp/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'Android/03-Permissions/DangerousApp/res/values')
-rw-r--r--Android/03-Permissions/DangerousApp/res/values/dimens.xml7
-rw-r--r--Android/03-Permissions/DangerousApp/res/values/strings.xml7
-rw-r--r--Android/03-Permissions/DangerousApp/res/values/styles.xml20
3 files changed, 34 insertions, 0 deletions
diff --git a/Android/03-Permissions/DangerousApp/res/values/dimens.xml b/Android/03-Permissions/DangerousApp/res/values/dimens.xml
new file mode 100644
index 0000000..55c1e59
--- /dev/null
+++ b/Android/03-Permissions/DangerousApp/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/03-Permissions/DangerousApp/res/values/strings.xml b/Android/03-Permissions/DangerousApp/res/values/strings.xml
new file mode 100644
index 0000000..c811fbb
--- /dev/null
+++ b/Android/03-Permissions/DangerousApp/res/values/strings.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">DangerousApp</string>
+ <string name="hello_world">You have opened a dangerous activity</string>
+
+</resources>
diff --git a/Android/03-Permissions/DangerousApp/res/values/styles.xml b/Android/03-Permissions/DangerousApp/res/values/styles.xml
new file mode 100644
index 0000000..6ce89c7
--- /dev/null
+++ b/Android/03-Permissions/DangerousApp/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>