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<com.android.calculator2.CalculatorPadLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/pad_advanced"
21    style="@style/PadLayoutStyle.Advanced"
22    android:background="@color/pad_advanced_background_color">
23
24    <Button
25        android:id="@+id/fun_sin"
26        style="@style/PadButtonStyle.Advanced"
27        android:contentDescription="@string/desc_fun_sin"
28        android:onClick="onButtonClick"
29        android:text="@string/fun_sin" />
30
31    <Button
32        android:id="@+id/fun_cos"
33        style="@style/PadButtonStyle.Advanced"
34        android:contentDescription="@string/desc_fun_cos"
35        android:onClick="onButtonClick"
36        android:text="@string/fun_cos" />
37
38    <Button
39        android:id="@+id/fun_tan"
40        style="@style/PadButtonStyle.Advanced"
41        android:contentDescription="@string/desc_fun_tan"
42        android:onClick="onButtonClick"
43        android:text="@string/fun_tan" />
44
45    <Button
46        android:id="@+id/fun_ln"
47        style="@style/PadButtonStyle.Advanced"
48        android:contentDescription="@string/desc_fun_ln"
49        android:onClick="onButtonClick"
50        android:text="@string/fun_ln" />
51
52    <Button
53        android:id="@+id/fun_log"
54        style="@style/PadButtonStyle.Advanced"
55        android:contentDescription="@string/desc_fun_log"
56        android:onClick="onButtonClick"
57        android:text="@string/fun_log" />
58
59    <Button
60        android:id="@+id/op_fact"
61        style="@style/PadButtonStyle.Advanced"
62        android:contentDescription="@string/desc_op_fact"
63        android:onClick="onButtonClick"
64        android:text="@string/op_fact" />
65
66    <Button
67        android:id="@+id/const_pi"
68        style="@style/PadButtonStyle.Advanced"
69        android:contentDescription="@string/desc_const_pi"
70        android:onClick="onButtonClick"
71        android:text="@string/const_pi" />
72
73    <Button
74        android:id="@+id/const_e"
75        style="@style/PadButtonStyle.Advanced"
76        android:contentDescription="@string/desc_const_e"
77        android:onClick="onButtonClick"
78        android:text="@string/const_e" />
79
80    <Button
81        android:id="@+id/op_pow"
82        style="@style/PadButtonStyle.Advanced"
83        android:contentDescription="@string/desc_op_pow"
84        android:onClick="onButtonClick"
85        android:text="@string/op_pow" />
86
87    <Button
88        android:id="@+id/lparen"
89        style="@style/PadButtonStyle.Advanced"
90        android:contentDescription="@string/desc_lparen"
91        android:onClick="onButtonClick"
92        android:text="@string/lparen" />
93
94    <Button
95        android:id="@+id/rparen"
96        style="@style/PadButtonStyle.Advanced"
97        android:contentDescription="@string/desc_rparen"
98        android:onClick="onButtonClick"
99        android:text="@string/rparen" />
100
101    <Button
102        android:id="@+id/op_sqrt"
103        style="@style/PadButtonStyle.Advanced"
104        android:contentDescription="@string/desc_op_sqrt"
105        android:onClick="onButtonClick"
106        android:text="@string/op_sqrt" />
107
108</com.android.calculator2.CalculatorPadLayout>
109