Merge "Align empty views for quicksetting center in detail panel." into nyc-mr1-dev

This commit is contained in:
TreeHugger Robot
2016-07-15 19:08:10 +00:00
committed by Android (Google) Code Review
3 changed files with 13 additions and 11 deletions

View File

@@ -47,11 +47,12 @@
<com.android.systemui.qs.NonInterceptingScrollView <com.android.systemui.qs.NonInterceptingScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1"> android:layout_weight="1"
android:fillViewport="true">
<FrameLayout <FrameLayout
android:id="@android:id/content" android:id="@android:id/content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="match_parent"/>
</com.android.systemui.qs.NonInterceptingScrollView> </com.android.systemui.qs.NonInterceptingScrollView>
<include layout="@layout/qs_detail_buttons" /> <include layout="@layout/qs_detail_buttons" />

View File

@@ -15,7 +15,8 @@
limitations under the License. limitations under the License.
--> -->
<!-- extends FrameLayout --> <!-- 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" xmlns:sysui="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@@ -32,10 +33,10 @@
<LinearLayout <LinearLayout
android:id="@android:id/empty" android:id="@android:id/empty"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:gravity="center_horizontal" android:gravity="center"
android:orientation="vertical"> android:orientation="vertical">
<ImageView <ImageView

View File

@@ -368,5 +368,5 @@ public class WifiTile extends QSTile<QSTile.SignalState> {
} }
mItems.setItems(items); mItems.setItems(items);
} }
}; }
} }