用Android仿计算器布局代码
来源:互联网 发布:电脑文件整理软件 编辑:程序博客网 时间:2024/05/30 02:22
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <EditText android:layout_width="match_parent" android:layout_height="wrap_content" /> <TableLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:stretchColumns="0,1,2,3,4" > <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="MC" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="MR" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="MS" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="+M" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="-M" /> </TableRow> <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="<-" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="CE" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="C" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="+-" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="-/" /> </TableRow> <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="7" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="8" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="9" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="/" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="%" /> </TableRow> <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="4" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="5" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="6" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="*" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="1/x" /> </TableRow> </TableLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="98dp" android:orientation="vertical" > <TableLayout android:id="@+id/tl" android:layout_width="255dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:stretchColumns="0,1,2,3" > <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="1" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="2" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="3" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="4" /> </TableRow> <TableLayout android:layout_width="255dp" android:layout_height="wrap_content" android:stretchColumns="0,1,2,3" > <TableRow> <Button android:layout_width="94dp" android:layout_height="wrap_content" android:text="0" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="." /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="+" /> </TableRow> </TableLayout> </TableLayout> <Button android:layout_toRightOf="@id/tl" android:layout_width="match_parent" android:layout_height="match_parent" android:text="="/> </RelativeLayout></LinearLayout>
- 用Android仿计算器布局代码
- Android仿计算器布局代码
- 仿计算器布局代码
- 仿计算器布局代码。(应用各种布局)
- 仿android计算器
- 安卓仿计算器布局代码
- Android计算器界面布局
- Android计算器布局
- Android仿Win10计算器设计
- Android 仿 WP7 布局
- ANDROID--仿瀑布布局
- Android开发计算器之布局
- Android画面简单布局-计算器
- 用div仿框架iframe结构布局的示例代码
- 吃透Android计算器代码
- android-仿QQ界面布局
- android仿苹果弹性布局
- android用代码布局替代xml布局
- 喜欢并学习的相关课程
- android之webview使用-处理404等错误
- GIS 资源地址
- 中国电信的天翼宽带怎么样才能不用“中国电信无线宽带”客户端,通过普通的拨号方式直接拨号上网?
- 如何成为“10倍效率”开发者
- 用Android仿计算器布局代码
- Python抓取图片
- nMail-企业级邮件中间件介绍
- 简单的池实现
- 几家公司对quantitative developer 的要求
- ptrace的学习--获取GOT表中程序的实际地址
- Box2d源码学习<二>内存管理之SOA的实现
- 成为QTP高手必经的四个过程
- 科学史十五讲(江晓原)