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 <GridLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:id="@+id/pad_operator" 21 style="@style/PadLayoutStyle.Operator" 22 android:rowCount="5" 23 android:columnCount="1" 24 android:background="@color/pad_operator_background_color"> 25 26 <Button 27 android:id="@+id/del" 28 style="@style/PadButtonStyle.Operator.Text" 29 android:layout_row="0" 30 android:layout_column="0" 31 android:contentDescription="@string/desc_del" 32 android:text="@string/del" /> 33 34 <Button 35 android:id="@+id/clr" 36 style="@style/PadButtonStyle.Operator.Text" 37 android:layout_row="0" 38 android:layout_column="0" 39 android:contentDescription="@string/desc_clr" 40 android:text="@string/clr" 41 android:visibility="gone" /> 42 43 44 <Button 45 android:id="@+id/op_div" 46 style="@style/PadButtonStyle.Operator" 47 android:layout_row="1" 48 android:layout_column="0" 49 android:contentDescription="@string/desc_op_div" 50 android:text="@string/op_div" /> 51 52 <Button 53 android:id="@+id/op_mul" 54 style="@style/PadButtonStyle.Operator" 55 android:layout_row="2" 56 android:layout_column="0" 57 android:contentDescription="@string/desc_op_mul" 58 android:text="@string/op_mul" /> 59 60 <Button 61 android:id="@+id/op_sub" 62 style="@style/PadButtonStyle.Operator" 63 android:layout_row="3" 64 android:layout_column="0" 65 android:contentDescription="@string/desc_op_sub" 66 android:text="@string/op_sub" /> 67 68 <Button 69 android:id="@+id/op_add" 70 style="@style/PadButtonStyle.Operator" 71 android:layout_row="4" 72 android:layout_column="0" 73 android:contentDescription="@string/desc_op_add" 74 android:text="@string/op_add" /> 75 76 </GridLayout> 77