<LinearLayout
android:layout_marginTop="30dp"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="horizontal" >
<Button
android:id="@+id/num_one"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:textSize="@dimen/dimen_forty_four"
android:text="1" />
<Button
android:id="@+id/num_two"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="2" />
<Button
android:id="@+id/num_three"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="3" />
<Button
android:textSize="@dimen/dimen_forty_four"
android:id="@+id/num_del"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="删除" />
</LinearLayout>
<LinearLayout
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_width="match_parent"
android:layout_height="150dp"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical" >
<LinearLayout
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<Button
android:id="@+id/num_four"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="4" />
<Button
android:id="@+id/num_five"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="5" />
<Button
android:id="@+id/num_six"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="6" />
</LinearLayout>
<LinearLayout
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<Button
android:textSize="@dimen/dimen_forty_four"
android:id="@+id/num_seven"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="7" />
<Button
android:id="@+id/num_eight"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="8" />
<Button
android:id="@+id/num_nine"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="9" />
</LinearLayout>
<LinearLayout
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal" >
<Button
android:id="@+id/num_zero"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="0" />
<Button
android:id="@+id/num_dian"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="." />
<Button
android:id="@+id/num_zerozero"
android:textSize="@dimen/dimen_forty_four"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="00" />
</LinearLayout>
</LinearLayout>
<Button
android:id="@+id/num_confirm"
android:textSize="@dimen/dimen_forty_four"
android:layout_marginTop="10dp"
android:background="@drawable/bg_btn"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="3"
android:text="确定" />
</LinearLayout>
网友评论