diff options
author | Amith Yamasani <yamasani@google.com> | 2010-10-25 09:25:38 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2010-10-27 11:03:22 -0700 |
commit | 27da0bf0a38231111cbf6bb7df6c4a0d53b144d8 (patch) | |
tree | cb08bcad02f7b5ce4e69a33bf26d5a5a366f83d4 /core/res/res/layout-port | |
parent | 73b1089d9e626d53eb1a20cea800cfde65eb4299 (diff) | |
download | frameworks_base-27da0bf0a38231111cbf6bb7df6c4a0d53b144d8.tar.gz frameworks_base-27da0bf0a38231111cbf6bb7df6c4a0d53b144d8.tar.bz2 frameworks_base-27da0bf0a38231111cbf6bb7df6c4a0d53b144d8.zip |
Fix sub-header height to follow drawable. Floating panels for Preference screens.
Diffstat (limited to 'core/res/res/layout-port')
-rw-r--r-- | core/res/res/layout-port/preference_header_item.xml | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/core/res/res/layout-port/preference_header_item.xml b/core/res/res/layout-port/preference_header_item.xml deleted file mode 100644 index cc76c8e3c17..00000000000 --- a/core/res/res/layout-port/preference_header_item.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2006 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. ---> - -<!-- Layout of a header item in PreferenceActivity. --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="96dp" - android:background="?android:attr/activatedBackgroundIndicator" - android:paddingRight="?android:attr/scrollbarSize"> - - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:layout_gravity="center" - android:paddingLeft="4dip" - android:paddingRight="4dip" - android:paddingTop="4dip" - android:paddingBottom="4dip"> - - <ImageView - android:id="@+id/icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_marginBottom="2dip" /> - - <TextView android:id="@+android:id/title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_marginBottom="2dip" - android:singleLine="true" - android:textAppearance="?android:attr/textAppearanceLarge" - android:ellipsize="marquee" - android:fadingEdge="horizontal" /> - - <TextView android:id="@+android:id/summary" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:gravity="center" - android:textAppearance="?android:attr/textAppearanceSmall" - android:ellipsize="end" - android:maxLines="2" /> - - </LinearLayout> -</FrameLayout> |