<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="mc"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<LinearLayout
android:layout_width="0px"
android:layout_weight="4"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"
android:orientation="horizontal"
>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="1"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="2"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="3"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="-"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"
android:orientation="horizontal"
>
<Button
android:layout_width="0px"
android:layout_weight="2"
android:layout_height="wrap_content"
android:text="0"
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="."
/>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="+"
/>
</LinearLayout>
</LinearLayout>
<Button
android:layout_width="0px"
android:layout_weight="1"
android:layout_height="match_parent"
android:text="="
/>
</LinearLayout>
</LinearLayout>
18 代码
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- Xamarin XAML语言教程构建ControlTemplate控件模板 控件模板ControlTemplate...
- 审查日期:2017-08-14 审查人员:鸣人 代码文件:FindPasswordActivity(找回密码界面)...
- 干货干货了,之前网上搜社会信用代码验证规则,一搜一堆java的,iOS版的特少,想想自己就写了一个,不好大家见谅啊...