Loading packages/SystemUI/Android.bp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -46,6 +46,7 @@ android_library { "SystemUIPluginLib", "SystemUIPluginLib", "SystemUISharedLib", "SystemUISharedLib", "SettingsLib", "SettingsLib", "androidx.viewpager2_viewpager2", "androidx.legacy_legacy-support-v4", "androidx.legacy_legacy-support-v4", "androidx.recyclerview_recyclerview", "androidx.recyclerview_recyclerview", "androidx.preference_preference", "androidx.preference_preference", Loading Loading @@ -106,6 +107,7 @@ android_library { "SystemUIPluginLib", "SystemUIPluginLib", "SystemUISharedLib", "SystemUISharedLib", "SettingsLib", "SettingsLib", "androidx.viewpager2_viewpager2", "androidx.legacy_legacy-support-v4", "androidx.legacy_legacy-support-v4", "androidx.recyclerview_recyclerview", "androidx.recyclerview_recyclerview", "androidx.preference_preference", "androidx.preference_preference", Loading packages/SystemUI/res/layout/controls_management.xml +35 −16 Original line number Original line Diff line number Diff line Loading @@ -25,6 +25,30 @@ android:paddingStart="@dimen/controls_management_side_padding" android:paddingStart="@dimen/controls_management_side_padding" android:paddingEnd="@dimen/controls_management_side_padding" > android:paddingEnd="@dimen/controls_management_side_padding" > <LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center_vertical"> <FrameLayout android:id="@+id/icon_frame" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="start|center_vertical" android:minWidth="56dp" android:visibility="gone" android:paddingTop="@dimen/controls_app_icon_frame_top_padding" android:paddingBottom="@dimen/controls_app_icon_frame_bottom_padding" android:paddingEnd="@dimen/controls_app_icon_frame_side_padding" android:paddingStart="@dimen/controls_app_icon_frame_side_padding" > <ImageView android:id="@android:id/icon" android:layout_width="@dimen/controls_app_icon_size" android:layout_height="@dimen/controls_app_icon_size" /> </FrameLayout> <TextView <TextView android:id="@+id/title" android:id="@+id/title" android:layout_width="wrap_content" android:layout_width="wrap_content" Loading @@ -33,6 +57,9 @@ android:textSize="@dimen/controls_title_size" android:textSize="@dimen/controls_title_size" android:textAlignment="center" /> android:textAlignment="center" /> </LinearLayout> <TextView <TextView android:id="@+id/subtitle" android:id="@+id/subtitle" android:layout_width="wrap_content" android:layout_width="wrap_content" Loading @@ -41,19 +68,11 @@ android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall" android:textAlignment="center" /> android:textAlignment="center" /> <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:orientation="vertical" android:layout_marginTop="@dimen/controls_management_list_margin"> <ViewStub <ViewStub android:id="@+id/stub" android:id="@+id/stub" android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent"/> android:layout_height="0dp" android:layout_weight="1"/> </androidx.core.widget.NestedScrollView> <FrameLayout <FrameLayout android:layout_width="match_parent" android:layout_width="match_parent" Loading packages/SystemUI/res/layout/controls_management_apps.xml +12 −6 Original line number Original line Diff line number Diff line Loading @@ -14,12 +14,18 @@ ~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ limitations under the License. --> --> <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:orientation="vertical" android:layout_marginTop="@dimen/controls_management_list_margin"> <androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/list" android:id="@+id/list" android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_height="match_parent" > /> </androidx.recyclerview.widget.RecyclerView> </androidx.core.widget.NestedScrollView> No newline at end of file packages/SystemUI/res/layout/controls_management_favorites.xml +11 −5 Original line number Original line Diff line number Diff line Loading @@ -17,7 +17,7 @@ <LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_height="0dp" android:orientation="vertical"> android:orientation="vertical"> <TextView <TextView Loading @@ -29,11 +29,17 @@ android:gravity="center_horizontal" android:gravity="center_horizontal" /> /> <androidx.recyclerview.widget.RecyclerView <com.android.systemui.controls.management.ManagementPageIndicator android:id="@+id/listAll" android:id="@+id/structure_page_indicator" android:layout_width="match_parent" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:layout_marginTop="@dimen/controls_management_list_margin" android:layout_marginTop="@dimen/controls_management_list_margin" android:nestedScrollingEnabled="false"/> android:visibility="gone" /> <androidx.viewpager2.widget.ViewPager2 android:id="@+id/structure_pager" android:layout_width="match_parent" android:layout_height="match_parent"/> </LinearLayout> </LinearLayout> No newline at end of file packages/SystemUI/res/layout/controls_structure_page.xml 0 → 100644 +31 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source 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. --> <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:layout_marginTop="@dimen/controls_management_list_margin"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/listAll" android:layout_width="match_parent" android:layout_height="match_parent" /> </androidx.core.widget.NestedScrollView> No newline at end of file Loading
packages/SystemUI/Android.bp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -46,6 +46,7 @@ android_library { "SystemUIPluginLib", "SystemUIPluginLib", "SystemUISharedLib", "SystemUISharedLib", "SettingsLib", "SettingsLib", "androidx.viewpager2_viewpager2", "androidx.legacy_legacy-support-v4", "androidx.legacy_legacy-support-v4", "androidx.recyclerview_recyclerview", "androidx.recyclerview_recyclerview", "androidx.preference_preference", "androidx.preference_preference", Loading Loading @@ -106,6 +107,7 @@ android_library { "SystemUIPluginLib", "SystemUIPluginLib", "SystemUISharedLib", "SystemUISharedLib", "SettingsLib", "SettingsLib", "androidx.viewpager2_viewpager2", "androidx.legacy_legacy-support-v4", "androidx.legacy_legacy-support-v4", "androidx.recyclerview_recyclerview", "androidx.recyclerview_recyclerview", "androidx.preference_preference", "androidx.preference_preference", Loading
packages/SystemUI/res/layout/controls_management.xml +35 −16 Original line number Original line Diff line number Diff line Loading @@ -25,6 +25,30 @@ android:paddingStart="@dimen/controls_management_side_padding" android:paddingStart="@dimen/controls_management_side_padding" android:paddingEnd="@dimen/controls_management_side_padding" > android:paddingEnd="@dimen/controls_management_side_padding" > <LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center_vertical"> <FrameLayout android:id="@+id/icon_frame" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="start|center_vertical" android:minWidth="56dp" android:visibility="gone" android:paddingTop="@dimen/controls_app_icon_frame_top_padding" android:paddingBottom="@dimen/controls_app_icon_frame_bottom_padding" android:paddingEnd="@dimen/controls_app_icon_frame_side_padding" android:paddingStart="@dimen/controls_app_icon_frame_side_padding" > <ImageView android:id="@android:id/icon" android:layout_width="@dimen/controls_app_icon_size" android:layout_height="@dimen/controls_app_icon_size" /> </FrameLayout> <TextView <TextView android:id="@+id/title" android:id="@+id/title" android:layout_width="wrap_content" android:layout_width="wrap_content" Loading @@ -33,6 +57,9 @@ android:textSize="@dimen/controls_title_size" android:textSize="@dimen/controls_title_size" android:textAlignment="center" /> android:textAlignment="center" /> </LinearLayout> <TextView <TextView android:id="@+id/subtitle" android:id="@+id/subtitle" android:layout_width="wrap_content" android:layout_width="wrap_content" Loading @@ -41,19 +68,11 @@ android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall" android:textAlignment="center" /> android:textAlignment="center" /> <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:orientation="vertical" android:layout_marginTop="@dimen/controls_management_list_margin"> <ViewStub <ViewStub android:id="@+id/stub" android:id="@+id/stub" android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent"/> android:layout_height="0dp" android:layout_weight="1"/> </androidx.core.widget.NestedScrollView> <FrameLayout <FrameLayout android:layout_width="match_parent" android:layout_width="match_parent" Loading
packages/SystemUI/res/layout/controls_management_apps.xml +12 −6 Original line number Original line Diff line number Diff line Loading @@ -14,12 +14,18 @@ ~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and ~ limitations under the License. ~ limitations under the License. --> --> <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:orientation="vertical" android:layout_marginTop="@dimen/controls_management_list_margin"> <androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/list" android:id="@+id/list" android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_height="match_parent" > /> </androidx.recyclerview.widget.RecyclerView> </androidx.core.widget.NestedScrollView> No newline at end of file
packages/SystemUI/res/layout/controls_management_favorites.xml +11 −5 Original line number Original line Diff line number Diff line Loading @@ -17,7 +17,7 @@ <LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_height="0dp" android:orientation="vertical"> android:orientation="vertical"> <TextView <TextView Loading @@ -29,11 +29,17 @@ android:gravity="center_horizontal" android:gravity="center_horizontal" /> /> <androidx.recyclerview.widget.RecyclerView <com.android.systemui.controls.management.ManagementPageIndicator android:id="@+id/listAll" android:id="@+id/structure_page_indicator" android:layout_width="match_parent" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_height="match_parent" android:layout_gravity="center" android:layout_marginTop="@dimen/controls_management_list_margin" android:layout_marginTop="@dimen/controls_management_list_margin" android:nestedScrollingEnabled="false"/> android:visibility="gone" /> <androidx.viewpager2.widget.ViewPager2 android:id="@+id/structure_pager" android:layout_width="match_parent" android:layout_height="match_parent"/> </LinearLayout> </LinearLayout> No newline at end of file
packages/SystemUI/res/layout/controls_structure_page.xml 0 → 100644 +31 −0 Original line number Original line Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2020 The Android Open Source 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. --> <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:layout_marginTop="@dimen/controls_management_list_margin"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/listAll" android:layout_width="match_parent" android:layout_height="match_parent" /> </androidx.core.widget.NestedScrollView> No newline at end of file