1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2021 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="8dp" 23 android:paddingHorizontal="8dp" 24 android:orientation="horizontal"> 25 26 <Button 27 android:id="@+id/button1" 28 style="@style/SettingsLibActionButton" 29 android:layout_width="0dp" 30 android:layout_height="match_parent" 31 android:layout_weight="1"/> 32 33 <View 34 android:id="@+id/divider1" 35 android:layout_width="1dp" 36 android:layout_height="match_parent" 37 android:paddingHorizontal="4dp" 38 android:visibility="gone" 39 android:background="?android:colorBackground" /> 40 41 <Button 42 android:id="@+id/button2" 43 style="@style/SettingsLibActionButton" 44 android:layout_width="0dp" 45 android:layout_height="match_parent" 46 android:layout_weight="1"/> 47 48 <View 49 android:id="@+id/divider2" 50 android:layout_width="1dp" 51 android:layout_height="match_parent" 52 android:paddingHorizontal="4dp" 53 android:visibility="gone" 54 android:background="?android:colorBackground" /> 55 56 <Button 57 android:id="@+id/button3" 58 style="@style/SettingsLibActionButton" 59 android:layout_width="0dp" 60 android:layout_height="match_parent" 61 android:layout_weight="1"/> 62 63 <View 64 android:id="@+id/divider3" 65 android:layout_width="1dp" 66 android:layout_height="match_parent" 67 android:paddingHorizontal="4dp" 68 android:visibility="gone" 69 android:background="?android:colorBackground" /> 70 71 <Button 72 android:id="@+id/button4" 73 style="@style/SettingsLibActionButton" 74 android:layout_width="0dp" 75 android:layout_height="match_parent" 76 android:layout_weight="1"/> 77</LinearLayout> 78