android
这有个空格
这个作者很懒,什么都没留下…
展开
-
Android——简单的计算器app
计算器界面:程序设计步骤:(1)在布局文件中声明编辑文件框EditText,按钮Button等组件。(2)在MainActivity中获取组件实例。(3)通过swtich函数,判断输入的内容,并进行相应操作,通过getText()获取文本内容,setText()显示。界面设计代码:布局实现:在activi_main.xml中设置。使用线性布局(LinearLayout)与网格布局(G...原创 2019-03-17 23:44:59 · 1141 阅读 · 0 评论 -
Android studio应用程序设计——简单的学生信息录入应用app
界面设计:界面样式如图所示界面设计的主要代码:<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android原创 2019-03-17 22:28:05 · 14412 阅读 · 13 评论 -
Android书本第四章例题4_5
activity_main.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_w...原创 2019-04-07 14:16:11 · 296 阅读 · 0 评论 -
Android书本第四章例题4_6
activity_main.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_hei...原创 2019-04-07 21:52:10 · 307 阅读 · 1 评论