Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbd3048f authored by Aaron Liu's avatar Aaron Liu
Browse files

HomeControls: Add start and end padding to home controls layout.

Bug: 215745329
Test: Manual

Change-Id: I1376631944f833623deae68f8372e7d682a62dee
parent fedcd5cc
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -35,7 +35,8 @@
        android:layout_height="wrap_content"
        android:layout_height="wrap_content"
        android:clipChildren="false"
        android:clipChildren="false"
        android:orientation="vertical"
        android:orientation="vertical"
        android:clipToPadding="false" />
        android:clipToPadding="false"
        android:paddingHorizontal="@dimen/controls_padding_horizontal" />


  </com.android.systemui.globalactions.MinHeightScrollView>
  </com.android.systemui.globalactions.MinHeightScrollView>
</LinearLayout>
</LinearLayout>
+21 −0
Original line number Original line Diff line number Diff line
<?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 −0
Original line number Original line Diff line number Diff line
<?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>
+1 −0
Original line number Original line Diff line number Diff line
@@ -1028,6 +1028,7 @@
    <dimen name="controls_header_bottom_margin">24dp</dimen>
    <dimen name="controls_header_bottom_margin">24dp</dimen>
    <dimen name="controls_header_app_icon_size">24dp</dimen>
    <dimen name="controls_header_app_icon_size">24dp</dimen>
    <dimen name="controls_top_margin">48dp</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_header_text_size">20sp</dimen>
    <dimen name="control_item_text_size">16sp</dimen>
    <dimen name="control_item_text_size">16sp</dimen>
    <dimen name="control_menu_item_text_size">16sp</dimen>
    <dimen name="control_menu_item_text_size">16sp</dimen>