Merge "HomeControls: Add start and end padding to home controls layout."
This commit is contained in:
@@ -35,7 +35,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:clipChildren="false"
|
||||
android:orientation="vertical"
|
||||
android:clipToPadding="false" />
|
||||
android:clipToPadding="false"
|
||||
android:paddingHorizontal="@dimen/controls_padding_horizontal" />
|
||||
|
||||
</com.android.systemui.globalactions.MinHeightScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
21
packages/SystemUI/res/values-w500dp/dimens.xml
Normal file
21
packages/SystemUI/res/values-w500dp/dimens.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (C) 2022 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="controls_padding_horizontal">75dp</dimen>
|
||||
</resources>
|
||||
21
packages/SystemUI/res/values-w850dp/dimens.xml
Normal file
21
packages/SystemUI/res/values-w850dp/dimens.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (C) 2022 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="controls_padding_horizontal">205dp</dimen>
|
||||
</resources>
|
||||
@@ -1035,6 +1035,7 @@
|
||||
<dimen name="controls_header_bottom_margin">24dp</dimen>
|
||||
<dimen name="controls_header_app_icon_size">24dp</dimen>
|
||||
<dimen name="controls_top_margin">48dp</dimen>
|
||||
<dimen name="controls_padding_horizontal">0dp</dimen>
|
||||
<dimen name="control_header_text_size">20sp</dimen>
|
||||
<dimen name="control_item_text_size">16sp</dimen>
|
||||
<dimen name="control_menu_item_text_size">16sp</dimen>
|
||||
|
||||
Reference in New Issue
Block a user