diff options
Diffstat (limited to 'res/layout/dialpad.xml')
-rw-r--r-- | res/layout/dialpad.xml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/res/layout/dialpad.xml b/res/layout/dialpad.xml new file mode 100644 index 00000000..45ce5135 --- /dev/null +++ b/res/layout/dialpad.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2006 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- The grid of buttons used in the onscreen DTMF dialpad; + see dtmf_twelve_key_dialer_view.xml. --> +<TableLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/dialpad" + android:layout_width="match_parent" + android:layout_height="0px" + android:layout_weight="@integer/dialpad_layout_weight_dialpad" + android:layout_gravity="center_horizontal" + android:layout_marginTop="@dimen/dialpad_vertical_margin" + android:paddingStart="5dip" + android:paddingEnd="5dip" + android:paddingBottom="10dip" + android:background="@drawable/dialpad_background" + android:layoutDirection="ltr"> + + <TableRow + android:layout_height="0px" + android:layout_weight="1"> + <ImageButton android:id="@+id/one" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_1_no_vm_wht" + android:contentDescription="@string/description_image_button_one" /> + <ImageButton android:id="@+id/two" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_2_wht" + android:contentDescription="@string/description_image_button_two" /> + <ImageButton android:id="@+id/three" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_3_wht" + android:contentDescription="@string/description_image_button_three" /> + </TableRow> + + <TableRow + android:layout_height="0px" + android:layout_weight="1"> + <ImageButton android:id="@+id/four" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_4_wht" + android:contentDescription="@string/description_image_button_four" /> + <ImageButton android:id="@+id/five" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_5_wht" + android:contentDescription="@string/description_image_button_five" /> + <ImageButton android:id="@+id/six" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_6_wht" + android:contentDescription="@string/description_image_button_six" /> + </TableRow> + + <TableRow + android:layout_height="0px" + android:layout_weight="1"> + <ImageButton android:id="@+id/seven" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_7_wht" + android:contentDescription="@string/description_image_button_seven" /> + <ImageButton android:id="@+id/eight" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_8_wht" + android:contentDescription="@string/description_image_button_eight" /> + <ImageButton android:id="@+id/nine" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_9_wht" + android:contentDescription="@string/description_image_button_nine" /> + </TableRow> + + <TableRow + android:layout_height="0px" + android:layout_weight="1"> + <ImageButton android:id="@+id/star" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_star_wht" + android:contentDescription="@string/description_image_button_star" /> + <ImageButton android:id="@+id/zero" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_0_no_plus_wht" + android:contentDescription="@string/description_image_button_zero" /> + <ImageButton android:id="@+id/pound" style="@style/DialpadButtonStyle" + android:src="@drawable/dial_num_pound_wht" + android:contentDescription="@string/description_image_button_pound" /> + </TableRow> +</TableLayout> |