summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2011-07-12 17:34:22 -0700
committerAlan Viverette <alanv@google.com>2011-07-12 17:34:22 -0700
commitd21bfa152460c10e920bbb42a20c620e6195b923 (patch)
tree91c74170f5528f0281d1d89aaa542e9c805da331 /res/layout
parent078b435743bf7f42feb140de287b70685cfcb7a8 (diff)
downloadpackages_apps_settings-d21bfa152460c10e920bbb42a20c620e6195b923.zip
packages_apps_settings-d21bfa152460c10e920bbb42a20c620e6195b923.tar.gz
packages_apps_settings-d21bfa152460c10e920bbb42a20c620e6195b923.tar.bz2
Added touch exploration tutorial to Accessibility settings.
Change-Id: Ic11f7c41e40de2b32f5815dbc3396a308c451c5b
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/accessibility_tutorial_1.xml26
-rw-r--r--res/layout/accessibility_tutorial_2.xml21
-rw-r--r--res/layout/accessibility_tutorial_app_icon.xml20
-rw-r--r--res/layout/accessibility_tutorial_container.xml118
4 files changed, 185 insertions, 0 deletions
diff --git a/res/layout/accessibility_tutorial_1.xml b/res/layout/accessibility_tutorial_1.xml
new file mode 100644
index 0000000..710e327
--- /dev/null
+++ b/res/layout/accessibility_tutorial_1.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<GridView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/all_apps"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:columnWidth="72dip"
+ android:numColumns="auto_fit"
+ android:verticalSpacing="10dip"
+ android:horizontalSpacing="10dip"
+ android:stretchMode="columnWidth" /> \ No newline at end of file
diff --git a/res/layout/accessibility_tutorial_2.xml b/res/layout/accessibility_tutorial_2.xml
new file mode 100644
index 0000000..5f9c69d
--- /dev/null
+++ b/res/layout/accessibility_tutorial_2.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ListView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/list_view"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" /> \ No newline at end of file
diff --git a/res/layout/accessibility_tutorial_app_icon.xml b/res/layout/accessibility_tutorial_app_icon.xml
new file mode 100644
index 0000000..fe8399e
--- /dev/null
+++ b/res/layout/accessibility_tutorial_app_icon.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/app_icon"
+ style="@style/AccessibilityTutorialIcon" /> \ No newline at end of file
diff --git a/res/layout/accessibility_tutorial_container.xml b/res/layout/accessibility_tutorial_container.xml
new file mode 100644
index 0000000..e949d2a
--- /dev/null
+++ b/res/layout/accessibility_tutorial_container.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:paddingLeft="15dip"
+ android:paddingRight="15dip">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="@style/AccessibilityTutorialTitle"
+ android:layout_marginTop="11dip" />
+
+ <View
+ android:layout_width="fill_parent"
+ android:layout_height="1dip"
+ android:layout_gravity="center"
+ android:background="@color/divider_color"
+ android:layout_marginTop="14dip"
+ android:layout_marginBottom="13dip"
+ android:focusable="false"
+ android:clickable="false" />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/content"
+ android:orientation="vertical"
+ android:layout_height="0dip"
+ android:layout_width="fill_parent"
+ android:layout_weight="1.0"
+ android:paddingLeft="15dip"
+ android:paddingRight="15dip">
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:paddingLeft="15dip"
+ android:paddingRight="15dip">
+
+ <View
+ android:layout_width="wrap_content"
+ android:layout_height="1dip"
+ android:layout_gravity="center"
+ android:background="@android:drawable/divider_horizontal_dark"
+ android:layout_marginBottom="8dip"
+ android:focusable="false"
+ android:clickable="false" />
+
+ <TextView
+ android:id="@+id/instructions"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dip"
+ android:textAppearance="@style/AccessibilityTutorialBodyTextPrimary" />
+
+ </LinearLayout>
+
+ <RelativeLayout
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:background="@android:drawable/bottom_bar">
+
+ <Button
+ android:id="@+id/back_button"
+ android:layout_width="150dip"
+ android:layout_height="wrap_content"
+ android:layout_margin="5dip"
+ android:layout_alignParentLeft="true"
+ android:drawablePadding="3dip"
+ android:text="@string/accessibility_tutorial_back" />
+
+ <Button
+ android:id="@+id/next_button"
+ android:layout_width="150dip"
+ android:layout_height="wrap_content"
+ android:layout_margin="5dip"
+ android:layout_alignParentRight="true"
+ android:drawablePadding="3dip"
+ android:text="@string/accessibility_tutorial_next" />
+
+ <Button
+ android:id="@+id/finish_button"
+ android:layout_width="150dip"
+ android:layout_height="wrap_content"
+ android:layout_margin="5dip"
+ android:layout_alignParentRight="true"
+ android:text="@string/accessibility_tutorial_finish"
+ android:visibility="gone" />
+
+ </RelativeLayout>
+</LinearLayout> \ No newline at end of file