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

Commit 5eb82e65 authored by Ben Murdoch's avatar Ben Murdoch Committed by Android (Google) Code Review
Browse files

Merge "Align shortcut helper components to spec" into main

parents e53abfbf a71e36a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,5 +17,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
        android:shape="rectangle">
    <solid android:color="@color/ksh_key_item_background" />
    <corners android:radius="2dp" />
    <corners android:radius="8dp" />
</shape>
+2 −3
Original line number Diff line number Diff line
@@ -22,8 +22,6 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:minHeight="48dp"
        android:paddingStart="24dp"
        android:paddingEnd="24dp"
        android:paddingBottom="8dp">
    <ImageView
            android:id="@+id/keyboard_shortcuts_icon"
@@ -57,5 +55,6 @@
            android:layout_alignParentEnd="true"
            android:textSize="14sp"
            android:scrollHorizontally="false"
            android:layout_centerVertical="true"/>
            android:layout_centerVertical="true"
            android:padding="0dp" />
</com.android.systemui.statusbar.KeyboardShortcutAppItemLayout>
+0 −2
Original line number Diff line number Diff line
@@ -21,7 +21,5 @@
          android:textSize="14sp"
          android:fontFamily="sans-serif-medium"
          android:importantForAccessibility="yes"
          android:paddingStart="24dp"
          android:paddingTop="20dp"
          android:paddingEnd="24dp"
          android:paddingBottom="10dp"/>
+7 −2
Original line number Diff line number Diff line
@@ -18,7 +18,12 @@
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="@dimen/ksh_item_padding"
        android:minWidth="48dp"
        android:minHeight="32dp"
        android:paddingLeft="@dimen/ksh_key_view_padding_horizontal"
        android:paddingRight="@dimen/ksh_key_view_padding_horizontal"
        android:paddingTop="@dimen/ksh_key_view_padding_vertical"
        android:paddingBottom="@dimen/ksh_key_view_padding_vertical"
        android:layout_marginStart="@dimen/ksh_item_margin_start"
        android:scaleType="fitXY"
        android:scaleType="matrix"
        android:background="@drawable/ksh_key_item_background" />
+0 −24
Original line number 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.
-->
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:padding="@dimen/ksh_item_padding"
           android:layout_marginLeft="0dp"
           android:layout_marginRight="0dp"
           android:scaleType="fitXY"
           android:tint="?android:attr/textColorPrimary"
           style="@style/ShortcutItemBackground" />
 No newline at end of file
Loading