diff --git a/res/layout/bubble_preference.xml b/res/layout/bubble_preference.xml index 8a64716b757..08f25b4538b 100644 --- a/res/layout/bubble_preference.xml +++ b/res/layout/bubble_preference.xml @@ -44,7 +44,7 @@ android:id="@+id/bubble_all_icon" android:src="@drawable/ic_bubble_all" android:background="@android:color/transparent" - android:layout_gravity="center" + android:layout_centerVertical="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="false" @@ -53,6 +53,7 @@ android:id="@+id/bubble_all_label" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_centerVertical="true" android:ellipsize="end" android:maxLines="2" android:clickable="false" @@ -75,7 +76,7 @@ android:id="@+id/bubble_selected_icon" android:src="@drawable/ic_bubble_selected" android:background="@android:color/transparent" - android:layout_gravity="center" + android:layout_centerVertical="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="false" @@ -84,6 +85,7 @@ android:id="@+id/bubble_selected_label" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_centerVertical="true" android:ellipsize="end" android:maxLines="2" android:clickable="false" @@ -106,7 +108,7 @@ android:id="@+id/bubble_none_icon" android:src="@drawable/ic_bubble_none" android:background="@android:color/transparent" - android:layout_gravity="center" + android:layout_centerVertical="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="false" @@ -115,6 +117,7 @@ android:id="@+id/bubble_none_label" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_centerVertical="true" android:ellipsize="end" android:maxLines="2" android:clickable="false" @@ -125,4 +128,4 @@ android:text="@string/bubble_app_setting_none"/> - \ No newline at end of file +