summaryrefslogtreecommitdiffstats
path: root/Android/02-Intents/MyBrowser/res
diff options
context:
space:
mode:
Diffstat (limited to 'Android/02-Intents/MyBrowser/res')
-rw-r--r--Android/02-Intents/MyBrowser/res/drawable-hdpi/ic_launcher.pngbin0 -> 9397 bytes
-rw-r--r--Android/02-Intents/MyBrowser/res/drawable-ldpi/ic_launcher.pngbin0 -> 2729 bytes
-rw-r--r--Android/02-Intents/MyBrowser/res/drawable-mdpi/ic_launcher.pngbin0 -> 5237 bytes
-rw-r--r--Android/02-Intents/MyBrowser/res/drawable-xhdpi/ic_launcher.pngbin0 -> 14383 bytes
-rw-r--r--Android/02-Intents/MyBrowser/res/layout/my_browser_activity.xml14
-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
8 files changed, 49 insertions, 0 deletions
diff --git a/Android/02-Intents/MyBrowser/res/drawable-hdpi/ic_launcher.png b/Android/02-Intents/MyBrowser/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..96a442e
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/Android/02-Intents/MyBrowser/res/drawable-ldpi/ic_launcher.png b/Android/02-Intents/MyBrowser/res/drawable-ldpi/ic_launcher.png
new file mode 100644
index 0000000..9923872
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/drawable-ldpi/ic_launcher.png
Binary files differ
diff --git a/Android/02-Intents/MyBrowser/res/drawable-mdpi/ic_launcher.png b/Android/02-Intents/MyBrowser/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..359047d
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/Android/02-Intents/MyBrowser/res/drawable-xhdpi/ic_launcher.png b/Android/02-Intents/MyBrowser/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..71c6d76
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/Android/02-Intents/MyBrowser/res/layout/my_browser_activity.xml b/Android/02-Intents/MyBrowser/res/layout/my_browser_activity.xml
new file mode 100644
index 0000000..1986be1
--- /dev/null
+++ b/Android/02-Intents/MyBrowser/res/layout/my_browser_activity.xml
@@ -0,0 +1,14 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <TextView
+ android:id="@+id/url"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:textSize="24sp" />
+
+</RelativeLayout> \ No newline at end of file
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>