aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/app/res
diff options
context:
space:
mode:
Diffstat (limited to 'platform_tools/android/app/res')
-rw-r--r--platform_tools/android/app/res/drawable-hdpi/ic_btn_find_next.pngbin0 -> 1099 bytes
-rw-r--r--platform_tools/android/app/res/drawable-hdpi/ic_btn_find_prev.pngbin0 -> 912 bytes
-rw-r--r--platform_tools/android/app/res/layout/layout.xml17
-rw-r--r--platform_tools/android/app/res/menu/action_bar.xml75
-rw-r--r--platform_tools/android/app/res/values/strings.xml18
5 files changed, 110 insertions, 0 deletions
diff --git a/platform_tools/android/app/res/drawable-hdpi/ic_btn_find_next.png b/platform_tools/android/app/res/drawable-hdpi/ic_btn_find_next.png
new file mode 100644
index 0000000000..b696a6bb22
--- /dev/null
+++ b/platform_tools/android/app/res/drawable-hdpi/ic_btn_find_next.png
Binary files differ
diff --git a/platform_tools/android/app/res/drawable-hdpi/ic_btn_find_prev.png b/platform_tools/android/app/res/drawable-hdpi/ic_btn_find_prev.png
new file mode 100644
index 0000000000..5550c5a6ff
--- /dev/null
+++ b/platform_tools/android/app/res/drawable-hdpi/ic_btn_find_prev.png
Binary files differ
diff --git a/platform_tools/android/app/res/layout/layout.xml b/platform_tools/android/app/res/layout/layout.xml
new file mode 100644
index 0000000000..cdb90e9961
--- /dev/null
+++ b/platform_tools/android/app/res/layout/layout.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2011 Google Inc.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/holder"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+ <TextView android:id="@+id/title_view"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ />
+</LinearLayout>
+
diff --git a/platform_tools/android/app/res/menu/action_bar.xml b/platform_tools/android/app/res/menu/action_bar.xml
new file mode 100644
index 0000000000..72e135e43b
--- /dev/null
+++ b/platform_tools/android/app/res/menu/action_bar.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2011 Google Inc.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/fps"
+ android:title="@string/fps"
+ android:showAsAction="ifRoom"
+ />
+ <item
+ android:id="@+id/toggle_rendering"
+ android:title="@string/toggle_rendering"
+ android:showAsAction="ifRoom"
+ />
+ <item
+ android:id="@+id/prev"
+ android:showAsAction="always"
+ android:icon="@drawable/ic_btn_find_prev"
+ />
+ <item
+ android:id="@+id/next"
+ android:showAsAction="always"
+ android:icon="@drawable/ic_btn_find_next"
+ />
+ <item
+ android:id="@+id/overview"
+ android:title="@string/overview"
+ />
+ <item
+ android:id="@+id/slideshow"
+ android:title="@string/slideshow"
+ />
+ <item
+ android:id="@+id/tiling"
+ android:title="@string/tiling"
+ />
+ <item
+ android:id="@+id/bbox"
+ android:title="@string/bbox"
+ />
+ <item
+ android:id="@+id/glcontext_menu"
+ android:title="@string/glcontext_menu">
+ <menu>
+ <item
+ android:id="@+id/glcontext_opengles"
+ android:title="@string/glcontext_opengles"
+ android:checkable="true"
+ />
+ <item
+ android:id="@+id/glcontext_msaa4_opengles"
+ android:title="@string/glcontext_msaa4_opengles"
+ android:checkable="true"
+ />
+ <item
+ android:id="@+id/glcontext_opengl"
+ android:title="@string/glcontext_opengl"
+ android:checkable="true"
+ />
+ <item
+ android:id="@+id/glcontext_msaa4_opengl"
+ android:title="@string/glcontext_msaa4_opengl"
+ android:checkable="true"
+ />
+ </menu>
+ </item>
+ <item
+ android:id="@+id/save_to_pdf"
+ android:title="@string/save_to_pdf"
+ />
+</menu>
diff --git a/platform_tools/android/app/res/values/strings.xml b/platform_tools/android/app/res/values/strings.xml
new file mode 100644
index 0000000000..b0b4e7b74b
--- /dev/null
+++ b/platform_tools/android/app/res/values/strings.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="app_name">Skia Samples</string>
+ <string name="overview">Overview</string>
+ <string name="toggle_rendering">Toggle Rendering</string>
+ <string name="slideshow">Slideshow</string>
+ <string name="fps">FPS</string>
+ <string name="tiling">Toggle Tiling</string>
+ <string name="bbox">Toggle SKP BBox</string>
+ <string name="save_to_pdf">Save to PDF</string>
+ <string name="save_failed">Save Failed</string>
+ <string name="file_saved">%s saved!</string>
+ <string name="glcontext_menu">Set OpenGL Context Type</string>
+ <string name="glcontext_opengles">OpenGL ES</string>
+ <string name="glcontext_msaa4_opengles">OpenGL ES, MSAA4</string>
+ <string name="glcontext_opengl">OpenGL</string>
+ <string name="glcontext_msaa4_opengl">OpenGL, MSAA4</string>
+</resources> \ No newline at end of file