diff options
Diffstat (limited to 'res/layout/preference_bluetooth.xml')
-rw-r--r-- | res/layout/preference_bluetooth.xml | 45 |
1 files changed, 5 insertions, 40 deletions
diff --git a/res/layout/preference_bluetooth.xml b/res/layout/preference_bluetooth.xml index 531bdc3..ff1162e 100644 --- a/res/layout/preference_bluetooth.xml +++ b/res/layout/preference_bluetooth.xml @@ -17,49 +17,14 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:gravity="center_vertical" - android:paddingLeft="16dip" - android:paddingRight="?android:attr/scrollbarSize"> + android:gravity="center_vertical"> - <ImageView - android:id="@+id/btClass" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginRight="12dip" - android:layout_gravity="center_vertical" /> - - <RelativeLayout + <LinearLayout android:id="@+id/profileIcons" 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:layout_centerVertical="true" + android:layout_alignParentRight="true" + /> <!-- Divider --> <ImageView |