diff options
author | Amith Yamasani <yamasani@google.com> | 2010-11-17 15:21:18 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2010-11-17 16:37:16 -0800 |
commit | 43a673053f2e9b1ace7ad9f32a58ae37f3e431d3 (patch) | |
tree | 95004921acaea7e12d63ca57a3bfa563b294a755 /res/layout/preference_bluetooth_profile.xml | |
parent | 8ba83bf5ff70dca2c31c644c3fde7c9f5d7d92ea (diff) | |
download | packages_apps_Settings-43a673053f2e9b1ace7ad9f32a58ae37f3e431d3.zip packages_apps_Settings-43a673053f2e9b1ace7ad9f32a58ae37f3e431d3.tar.gz packages_apps_Settings-43a673053f2e9b1ace7ad9f32a58ae37f3e431d3.tar.bz2 |
Use the new Preference:icon attribute and placeholder for showing icons on the left.
Diffstat (limited to 'res/layout/preference_bluetooth_profile.xml')
-rw-r--r-- | res/layout/preference_bluetooth_profile.xml | 46 |
1 files changed, 2 insertions, 44 deletions
diff --git a/res/layout/preference_bluetooth_profile.xml b/res/layout/preference_bluetooth_profile.xml index 5ec0a47..03f598a 100644 --- a/res/layout/preference_bluetooth_profile.xml +++ b/res/layout/preference_bluetooth_profile.xml @@ -15,51 +15,9 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:gravity="center_vertical" - android:paddingLeft="16dip" - android:paddingRight="?android:attr/scrollbarSize"> - - <ImageView - android:id="@+id/profileIcon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginRight="12dip" - android:layout_gravity="center_vertical" /> - - <RelativeLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginRight="6dip" - android:layout_marginTop="6dip" - android:layout_marginBottom="6dip" - android:layout_weight="1"> - - <!-- Device name --> - <TextView android:id="@+android:id/title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:singleLine="true" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <!-- Status summary --> - <TextView android:id="@+android:id/summary" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@android:id/title" - android:layout_alignLeft="@android:id/title" - android:textAppearance="?android:attr/textAppearanceSmall" - android:maxLines="2" /> - - <LinearLayout android:id="@+id/profileIcons" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - /> - </RelativeLayout> + android:gravity="center_vertical"> <!-- Divider --> <ImageView |