summaryrefslogtreecommitdiffstats
path: root/res/layout/tab_widget.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-08-18 11:59:19 -0700
committerJeff Sharkey <jsharkey@android.com>2011-08-18 15:30:17 -0700
commitb654cbb896a6e6db9ecec164476b0ac4a3e72774 (patch)
tree943ad7937bd4e6a391fcdc7f7c86299fecf9c6f1 /res/layout/tab_widget.xml
parenteee01c451051234e99ea612079ec533c8f9ad9c6 (diff)
downloadpackages_apps_Settings-b654cbb896a6e6db9ecec164476b0ac4a3e72774.zip
packages_apps_Settings-b654cbb896a6e6db9ecec164476b0ac4a3e72774.tar.gz
packages_apps_Settings-b654cbb896a6e6db9ecec164476b0ac4a3e72774.tar.bz2
More TabWidget and padding tweaks to match spec.
Also fix NPE in UserDictionarySettings. Bug: 5184822 Change-Id: I082981c3bcf9b1e6575dcf9f42495a17f0ec8672
Diffstat (limited to 'res/layout/tab_widget.xml')
-rw-r--r--res/layout/tab_widget.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/res/layout/tab_widget.xml b/res/layout/tab_widget.xml
new file mode 100644
index 0000000..a6adc5d
--- /dev/null
+++ b/res/layout/tab_widget.xml
@@ -0,0 +1,30 @@
+<?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.
+-->
+
+<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:scrollbars="none"
+ android:fillViewport="true">
+
+ <TabWidget
+ android:id="@android:id/tabs"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ style="?android:attr/tabWidgetStyle" />
+
+</HorizontalScrollView>