撸代码记录篇1.1-奔跑的皮皮熊
来源:互联网 发布:实时天气预报软件 编辑:程序博客网 时间:2024/06/05 04:05
一、界面信息:提交用户信息的界面代码
<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_dataget" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="com.example.john.dataget.Dataget"> <LinearLayout android:id="@+id/regist_username" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_margintop="22dp" android:orientation="horizontal"> <TextView android:layout_width="80dp" android:layout_height="wrap_content" android:gravity="right" android:paddingRight="5dp" android:text="用户名:"/> <EditText android:id="@+id/et_name" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="请输入您的用户名" android:textSize="14dp"/> </LinearLayout> <LinearLayout android:id="@+id/regist_password" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/regist_username" android:layout_centerHorizontal="true" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="5dp" android:orientation="horizontal"> <TextView android:layout_width="80dp" android:layout_height="wrap_content" android:gravity="right" android:paddingRight="5dp" android:text="密 码:"/> <EditText android:id="@+id/et_password" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="请输入您的密码" android:inputType="textPassword" android:textSize="14dp"/> </LinearLayout> <RadioGroup android:id="@+id/radiogroup" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/regist_password" android:layout_marginLeft="30dp" android:contentDescription="性别" android:orientation="horizontal"> <RadioButton android:id="@+id/radiomale" android:layout_width="wrap_content" android:layout_height="wrap_content" android:checked="true" android:text="男"/> <RadioButton android:id="@+id/radioremale" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="女"/> </RadioGroup> <Button android:id="@+id/btn_send" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/radiogroup" android:layout_centerHorizontal="true" android:layout_marginTop="24dp" android:text="提交用户信息"/></RelativeLayout>主要学习的是其中的框架
0 0
- 撸代码记录篇1.1-奔跑的皮皮熊
- 撸代码记录篇1.2-奔跑的皮皮熊
- 撸代码记录篇1.3-奔跑的皮皮熊
- 撸代码记录篇2.1-奔跑的皮皮熊
- Android开发中的@Override-奔跑的皮皮熊
- 【奔跑的FPGA】part nine IIC协议代码解析
- 奔跑的感觉
- 无奈的奔跑者
- 奔跑的动力
- 奔跑的人生
- ACM的奔跑
- 奔跑的小狮子
- 奔跑的九月!
- 迷途奔跑的野猪
- 奔跑的2017
- 奔跑的人生
- 奔跑的力量
- 奔跑
- 阿里云服务器tomcat配置好外网无法访问
- Struts2第五篇【类型转换器、全局、局部类型转换器】
- 2017/5/1__学习笔记(Php)
- elasticsearch原理篇
- Mac OS X
- 撸代码记录篇1.1-奔跑的皮皮熊
- python的TCP socket编程
- 引用计数的智能指针——sharedptr的模拟实现
- Typescript或Angular中使用第三方库
- 访问网络文件共享服务-NFS
- Visual Studio新建项目时,win32控制台应用程序和win32项目、空项目、MFC应用程序有哪些区别
- c++初级:怎么让计算机说话
- FILE结构体成员
- SMTP协议详解