diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-07-28 18:40:46 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-12-07 15:24:12 -0800 |
commit | a0b5d767d6dcfa1972a9158564f90e070ac1ead6 (patch) | |
tree | 3cff073414f45519384532ee3801ab6d188fe1ac /packages/SystemUI/res/layout | |
parent | 12bee1e3ed6022db805bfb1ef5ab371f899c5169 (diff) | |
download | frameworks_base-a0b5d767d6dcfa1972a9158564f90e070ac1ead6.zip frameworks_base-a0b5d767d6dcfa1972a9158564f90e070ac1ead6.tar.gz frameworks_base-a0b5d767d6dcfa1972a9158564f90e070ac1ead6.tar.bz2 |
systemui: Support remote expanded style.
Change-Id: Ia324db41310c61cd0acd83633a9728b7562fd300
Diffstat (limited to 'packages/SystemUI/res/layout')
5 files changed, 36 insertions, 9 deletions
diff --git a/packages/SystemUI/res/layout/qs_custom_detail.xml b/packages/SystemUI/res/layout/qs_custom_detail.xml index f7a002e..6aa1fc0 100644 --- a/packages/SystemUI/res/layout/qs_custom_detail.xml +++ b/packages/SystemUI/res/layout/qs_custom_detail.xml @@ -15,10 +15,12 @@ limitations under the License. --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:paddingBottom="8dp"> + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingTop="@dimen/detail_exterior_padding" + android:paddingStart="@dimen/detail_exterior_padding" + android:paddingEnd="@dimen/detail_exterior_padding"> <LinearLayout android:layout_height="wrap_content" android:layout_width="match_parent" diff --git a/packages/SystemUI/res/layout/qs_custom_detail_remote.xml b/packages/SystemUI/res/layout/qs_custom_detail_remote.xml new file mode 100644 index 0000000..bdbe6bb --- /dev/null +++ b/packages/SystemUI/res/layout/qs_custom_detail_remote.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingTop="@dimen/detail_exterior_padding" + android:paddingStart="@dimen/detail_exterior_padding" + android:paddingEnd="@dimen/detail_exterior_padding"> + +</LinearLayout>
\ No newline at end of file diff --git a/packages/SystemUI/res/layout/qs_detail.xml b/packages/SystemUI/res/layout/qs_detail.xml index 14ecd33..38daf0f 100644 --- a/packages/SystemUI/res/layout/qs_detail.xml +++ b/packages/SystemUI/res/layout/qs_detail.xml @@ -18,7 +18,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/qs_detail_background" - android:paddingBottom="8dp" + android:paddingBottom="@dimen/detail_exterior_padding" android:orientation="vertical"> <FrameLayout diff --git a/packages/SystemUI/res/layout/qs_detail_items.xml b/packages/SystemUI/res/layout/qs_detail_items.xml index c22e42c..4ad82cb 100644 --- a/packages/SystemUI/res/layout/qs_detail_items.xml +++ b/packages/SystemUI/res/layout/qs_detail_items.xml @@ -18,9 +18,9 @@ <com.android.systemui.qs.QSDetailItems xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="16dp" - android:paddingStart="16dp" - android:paddingEnd="16dp"> + android:paddingTop="@dimen/detail_exterior_padding" + android:paddingStart="@dimen/detail_exterior_padding" + android:paddingEnd="@dimen/detail_exterior_padding"> <LinearLayout android:id="@android:id/list" diff --git a/packages/SystemUI/res/layout/qs_user_detail_item.xml b/packages/SystemUI/res/layout/qs_user_detail_item.xml index af22f03..666f878 100644 --- a/packages/SystemUI/res/layout/qs_user_detail_item.xml +++ b/packages/SystemUI/res/layout/qs_user_detail_item.xml @@ -24,7 +24,7 @@ android:layout_height="wrap_content" android:orientation="vertical" android:gravity="top|center_horizontal" - android:paddingTop="16dp" + android:paddingTop="@dimen/detail_exterior_padding" android:minHeight="112dp" android:clipChildren="false" android:clipToPadding="false" |