1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2024 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:layout_margin="@dimen/settingslib_expressive_space_extrasmall4" 23 android:paddingHorizontal="@dimen/settingslib_expressive_space_extrasmall4" 24 android:orientation="horizontal"> 25 26 <LinearLayout 27 android:id="@+id/action1" 28 android:layout_width="0dp" 29 android:layout_height="match_parent" 30 android:layout_weight="1" 31 android:orientation="vertical"> 32 33 <com.google.android.material.button.MaterialButton 34 android:id="@+id/button1" 35 style="@style/SettingsLibActionButton.Expressive" 36 android:layout_width="@dimen/settingslib_expressive_space_large3" 37 android:layout_height="@dimen/settingslib_expressive_space_medium5" 38 android:layout_gravity="center_horizontal" 39 android:importantForAccessibility="no"/> 40 <TextView 41 android:id="@+id/text1" 42 style="@style/SettingsLibActionButton.Expressive.Label" 43 android:layout_marginTop="@dimen/settingslib_expressive_space_extrasmall3" 44 android:importantForAccessibility="no"/> 45 46 </LinearLayout> 47 48 <LinearLayout 49 android:id="@+id/action2" 50 android:layout_width="0dp" 51 android:layout_height="match_parent" 52 android:layout_weight="1" 53 android:orientation="vertical"> 54 55 <com.google.android.material.button.MaterialButton 56 android:id="@+id/button2" 57 style="@style/SettingsLibActionButton.Expressive" 58 android:layout_width="@dimen/settingslib_expressive_space_large3" 59 android:layout_height="@dimen/settingslib_expressive_space_medium5" 60 android:layout_gravity="center_horizontal" 61 android:importantForAccessibility="no"/> 62 <TextView 63 android:id="@+id/text2" 64 style="@style/SettingsLibActionButton.Expressive.Label" 65 android:layout_marginTop="@dimen/settingslib_expressive_space_extrasmall3" 66 android:importantForAccessibility="no"/> 67 68 </LinearLayout> 69 70 <LinearLayout 71 android:id="@+id/action3" 72 android:layout_width="0dp" 73 android:layout_height="match_parent" 74 android:layout_weight="1" 75 android:orientation="vertical"> 76 77 <com.google.android.material.button.MaterialButton 78 android:id="@+id/button3" 79 style="@style/SettingsLibActionButton.Expressive" 80 android:layout_width="@dimen/settingslib_expressive_space_large3" 81 android:layout_height="@dimen/settingslib_expressive_space_medium5" 82 android:layout_gravity="center_horizontal" 83 android:importantForAccessibility="no"/> 84 <TextView 85 android:id="@+id/text3" 86 style="@style/SettingsLibActionButton.Expressive.Label" 87 android:layout_marginTop="@dimen/settingslib_expressive_space_extrasmall3" 88 android:importantForAccessibility="no"/> 89 90 </LinearLayout> 91 92 <LinearLayout 93 android:id="@+id/action4" 94 android:layout_width="0dp" 95 android:layout_height="match_parent" 96 android:layout_weight="1" 97 android:orientation="vertical"> 98 99 <com.google.android.material.button.MaterialButton 100 android:id="@+id/button4" 101 style="@style/SettingsLibActionButton.Expressive" 102 android:layout_width="@dimen/settingslib_expressive_space_large3" 103 android:layout_height="@dimen/settingslib_expressive_space_medium5" 104 android:layout_gravity="center_horizontal" 105 android:importantForAccessibility="no"/> 106 <TextView 107 android:id="@+id/text4" 108 style="@style/SettingsLibActionButton.Expressive.Label" 109 android:layout_marginTop="@dimen/settingslib_expressive_space_extrasmall3" 110 android:importantForAccessibility="no"/> 111 </LinearLayout> 112</LinearLayout> 113