1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2014 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@*android:id/buttonPanel" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:scrollbarAlwaysDrawVerticalTrack="true" 23 android:scrollIndicators="top|bottom" 24 android:fillViewport="true" 25 style="?android:attr/buttonBarStyle"> 26 <com.android.internal.widget.ButtonBarLayout 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:paddingStart="@*android:dimen/button_bar_layout_start_padding" 30 android:paddingEnd="@*android:dimen/button_bar_layout_end_padding" 31 android:paddingTop="@*android:dimen/button_bar_layout_top_padding" 32 android:layoutDirection="locale" 33 android:orientation="horizontal" 34 android:gravity="center_vertical"> 35 36 <Button 37 android:id="@*android:id/button3" 38 style="@*android:style/CarAction1" 39 android:background="@*android:drawable/car_dialog_button_background" 40 android:layout_marginEnd="@*android:dimen/button_end_margin" 41 android:layout_width="wrap_content" 42 android:layout_height="@*android:dimen/button_layout_height" /> 43 44 <Button 45 android:id="@*android:id/button2" 46 style="@*android:style/CarAction1" 47 android:background="@*android:drawable/car_dialog_button_background" 48 android:layout_marginEnd="@*android:dimen/button_end_margin" 49 android:layout_width="wrap_content" 50 android:layout_height="@*android:dimen/button_layout_height" /> 51 52 <Button 53 android:id="@*android:id/button1" 54 style="@*android:style/CarAction1" 55 android:background="@*android:drawable/car_dialog_button_background" 56 android:layout_width="wrap_content" 57 android:layout_height="@*android:dimen/button_layout_height" /> 58 <Space 59 android:id="@*android:id/spacer" 60 android:layout_width="0dp" 61 android:layout_height="0dp" 62 android:visibility="invisible" /> 63 </com.android.internal.widget.ButtonBarLayout> 64</ScrollView> 65