1*ac7df209SYuntao Xu<?xml version="1.0" encoding="utf-8"?> 2*ac7df209SYuntao Xu<!-- Copyright (C) 2012 The Android Open Source Project 3*ac7df209SYuntao Xu 4*ac7df209SYuntao Xu Licensed under the Apache License, Version 2.0 (the "License"); 5*ac7df209SYuntao Xu you may not use this file except in compliance with the License. 6*ac7df209SYuntao Xu You may obtain a copy of the License at 7*ac7df209SYuntao Xu 8*ac7df209SYuntao Xu http://www.apache.org/licenses/LICENSE-2.0 9*ac7df209SYuntao Xu 10*ac7df209SYuntao Xu Unless required by applicable law or agreed to in writing, software 11*ac7df209SYuntao Xu distributed under the License is distributed on an "AS IS" BASIS, 12*ac7df209SYuntao Xu WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*ac7df209SYuntao Xu See the License for the specific language governing permissions and 14*ac7df209SYuntao Xu limitations under the License. 15*ac7df209SYuntao Xu--> 16*ac7df209SYuntao Xu<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17*ac7df209SYuntao Xu android:layout_width="match_parent" 18*ac7df209SYuntao Xu android:layout_height="match_parent" 19*ac7df209SYuntao Xu android:orientation="vertical" > 20*ac7df209SYuntao Xu 21*ac7df209SYuntao Xu <EditText 22*ac7df209SYuntao Xu android:id="@+id/editText_dialer" 23*ac7df209SYuntao Xu android:layout_width="match_parent" 24*ac7df209SYuntao Xu android:layout_height="wrap_content" 25*ac7df209SYuntao Xu android:ems="10" 26*ac7df209SYuntao Xu android:hint="@string/dialer_call_default_number" 27*ac7df209SYuntao Xu android:inputType="phone" > 28*ac7df209SYuntao Xu 29*ac7df209SYuntao Xu <requestFocus /> 30*ac7df209SYuntao Xu </EditText> 31*ac7df209SYuntao Xu 32*ac7df209SYuntao Xu <Button 33*ac7df209SYuntao Xu android:id="@+id/button_dialer" 34*ac7df209SYuntao Xu android:layout_width="wrap_content" 35*ac7df209SYuntao Xu android:layout_height="wrap_content" 36*ac7df209SYuntao Xu android:layout_gravity="center" 37*ac7df209SYuntao Xu android:text="@string/dialer_call_button" /> 38*ac7df209SYuntao Xu 39*ac7df209SYuntao Xu</LinearLayout>