summaryrefslogtreecommitdiffstats
path: root/core/res/res/layout-xlarge
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-03-16 10:43:18 -0700
committerDianne Hackborn <hackbod@google.com>2011-03-18 12:54:26 -0700
commite72f237defd9956a7e2d2e2bee8cd2558c3f83db (patch)
tree690c037d7a742c07f6c83716e32712cdccbf6bae /core/res/res/layout-xlarge
parentb18a047de574f188b2c7633164f15ab3c9e40b5b (diff)
downloadframeworks_base-e72f237defd9956a7e2d2e2bee8cd2558c3f83db.zip
frameworks_base-e72f237defd9956a7e2d2e2bee8cd2558c3f83db.tar.gz
frameworks_base-e72f237defd9956a7e2d2e2bee8cd2558c3f83db.tar.bz2
More work on making prefs work well on small screens.
Tweak padding so layouts now look decent, a few extensions so that the correct title can be shown. Change-Id: Ieace16bf4962d66564c6e2f67fb588e582943850
Diffstat (limited to 'core/res/res/layout-xlarge')
-rw-r--r--core/res/res/layout-xlarge/preference_list_content_single.xml100
1 files changed, 0 insertions, 100 deletions
diff --git a/core/res/res/layout-xlarge/preference_list_content_single.xml b/core/res/res/layout-xlarge/preference_list_content_single.xml
deleted file mode 100644
index 6725996..0000000
--- a/core/res/res/layout-xlarge/preference_list_content_single.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2010, 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="match_parent"
- android:layout_width="match_parent">
-
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="0px"
- android:layout_weight="1">
-
- <LinearLayout
- android:id="@+id/headers"
- style="?attr/preferencePanelStyle"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingLeft="32dip"
- android:paddingRight="32dip"
- android:paddingTop="32dip"
- android:paddingBottom="32dip" >
-
- <ListView android:id="@android:id/list"
- android:layout_width="match_parent"
- android:layout_height="0px"
- android:layout_weight="1"
- android:drawSelectorOnTop="false"
- android:cacheColorHint="@android:color/transparent"
- android:listPreferredItemHeight="48dp"
- android:scrollbarAlwaysDrawVerticalTrack="true" />
-
- <FrameLayout android:id="@+id/list_footer"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0" />
-
- </LinearLayout>
-
- </LinearLayout>
-
- <RelativeLayout android:id="@+id/button_bar"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:layout_weight="0"
- android:background="@android:drawable/bottom_bar"
- android:visibility="gone">
-
- <Button android:id="@+id/back_button"
- android:layout_width="150dip"
- android:layout_height="wrap_content"
- android:layout_margin="5dip"
- android:layout_alignParentLeft="true"
- android:drawableLeft="@drawable/ic_btn_back"
- android:drawablePadding="3dip"
- android:text="@string/back_button_label"
- />
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true">
-
- <Button android:id="@+id/skip_button"
- android:layout_width="150dip"
- android:layout_height="wrap_content"
- android:layout_margin="5dip"
- android:text="@string/skip_button_label"
- android:visibility="gone"
- />
-
- <Button android:id="@+id/next_button"
- android:layout_width="150dip"
- android:layout_height="wrap_content"
- android:layout_margin="5dip"
- android:drawableRight="@drawable/ic_btn_next"
- android:drawablePadding="3dip"
- android:text="@string/next_button_label"
- />
- </LinearLayout>
- </RelativeLayout>
-</LinearLayout>