diff options
| -rw-r--r-- | packages/SystemUI/res/layout/qs_detail.xml | 5 | ||||
| -rw-r--r-- | packages/SystemUI/res/layout/qs_detail_items.xml | 17 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java | 2 |
3 files changed, 13 insertions, 11 deletions
diff --git a/packages/SystemUI/res/layout/qs_detail.xml b/packages/SystemUI/res/layout/qs_detail.xml index 63390e2337ae..967db261fab1 100644 --- a/packages/SystemUI/res/layout/qs_detail.xml +++ b/packages/SystemUI/res/layout/qs_detail.xml @@ -47,11 +47,12 @@ <com.android.systemui.qs.NonInterceptingScrollView android:layout_width="match_parent" android:layout_height="0dp" - android:layout_weight="1"> + android:layout_weight="1" + android:fillViewport="true"> <FrameLayout android:id="@android:id/content" android:layout_width="match_parent" - android:layout_height="wrap_content" /> + android:layout_height="match_parent"/> </com.android.systemui.qs.NonInterceptingScrollView> <include layout="@layout/qs_detail_buttons" /> diff --git a/packages/SystemUI/res/layout/qs_detail_items.xml b/packages/SystemUI/res/layout/qs_detail_items.xml index f1a8d63d13dc..c94a9723e324 100644 --- a/packages/SystemUI/res/layout/qs_detail_items.xml +++ b/packages/SystemUI/res/layout/qs_detail_items.xml @@ -15,7 +15,8 @@ limitations under the License. --> <!-- extends FrameLayout --> -<com.android.systemui.qs.QSDetailItems xmlns:android="http://schemas.android.com/apk/res/android" +<com.android.systemui.qs.QSDetailItems + xmlns:android="http://schemas.android.com/apk/res/android" xmlns:sysui="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" @@ -28,26 +29,26 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - sysui:itemHeight="@dimen/qs_detail_item_height" /> + sysui:itemHeight="@dimen/qs_detail_item_height"/> <LinearLayout android:id="@android:id/empty" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_width="match_parent" + android:layout_height="match_parent" android:layout_gravity="center" - android:gravity="center_horizontal" - android:orientation="vertical" > + android:gravity="center" + android:orientation="vertical"> <ImageView android:id="@android:id/icon" android:layout_width="56dp" - android:layout_height="56dp" /> + android:layout_height="56dp"/> <TextView android:id="@android:id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="20dp" - android:textAppearance="@style/TextAppearance.QS.DetailEmpty" /> + android:textAppearance="@style/TextAppearance.QS.DetailEmpty"/> </LinearLayout> </com.android.systemui.qs.QSDetailItems> diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java index 1f915ee9475f..9ce1f316c23f 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/WifiTile.java @@ -368,5 +368,5 @@ public class WifiTile extends QSTile<QSTile.SignalState> { } mItems.setItems(items); } - }; + } } |