summaryrefslogtreecommitdiffstats
path: root/res/layout-sw720dp
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-05-09 09:43:33 -0700
committerAmith Yamasani <yamasani@google.com>2012-05-09 12:05:17 -0700
commitf0b05de3e06ad319a32fc1784d1b5cef48521f81 (patch)
tree2c05b748a8f51ef3075b1e20a8fbc0a3a48788d4 /res/layout-sw720dp
parentfbffd0c98203c63af85a3fc6d85660b21c211bfe (diff)
downloadpackages_apps_Settings-f0b05de3e06ad319a32fc1784d1b5cef48521f81.zip
packages_apps_Settings-f0b05de3e06ad319a32fc1784d1b5cef48521f81.tar.gz
packages_apps_Settings-f0b05de3e06ad319a32fc1784d1b5cef48521f81.tar.bz2
Apps tabs align to title on 2-pane settings.
Pad the lists in Apps screen. Pad the color bar to align with the list. Bug: 6449489 Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
Diffstat (limited to 'res/layout-sw720dp')
-rw-r--r--res/layout-sw720dp/tab_widget.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/res/layout-sw720dp/tab_widget.xml b/res/layout-sw720dp/tab_widget.xml
new file mode 100644
index 0000000..4cd4547
--- /dev/null
+++ b/res/layout-sw720dp/tab_widget.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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"
+ android:paddingLeft="@*android:dimen/preference_fragment_padding_side"
+ android:paddingRight="@*android:dimen/preference_fragment_padding_side"
+ style="?android:attr/tabWidgetStyle" />
+
+</HorizontalScrollView>