RelativeLayout布局制作登陆界面
来源:互联网 发布:淘宝雪梨的店 编辑:程序博客网 时间:2024/05/29 09:40
activity_main.xml
<!--RelativeLayout布局制作登陆界面--><?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:layout_width="match_parent" android:layout_height="match_parent" android:padding="15dp"> <TextView android:id="@+id/lableView" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:text="登录界面" /> <EditText android:id="@+id/usernameText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" android:hint="username" android:inputType="textPassword" android:layout_below="@id/lableView"/> <EditText android:id="@+id/passwordText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignLeft="@id/usernameText" android:layout_alignRight="@id/usernameText" android:hint="password" android:layout_below="@id/usernameText"/> <Button android:id="@+id/cancelButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/passwordText" android:layout_alignParentRight="true" android:text="取消"/> <Button android:id="@+id/okButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@id/cancelButton" android:layout_toLeftOf="@id/cancelButton" android:text="确定"/></RelativeLayout>
0 0
- RelativeLayout布局制作登陆界面
- 界面布局-RelativeLayout
- Android界面布局-----RelativeLayout(相对布局)
- 登陆界面制作........
- Android界面布局二---------------RelativeLayout(相对布局)
- 【Android开发学习25】界面布局之相对布局RelativeLayout
- 03_android入门_采用RelativeLayout实现登陆界面效果
- 用LinearLayout和RelativeLayout分别实现简单的登陆界面
- Android界面资料篇——RelativeLayout相对布局(转)
- 相对布局(RelativeLayout)写的QQ登录界面
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout布局
- RelativeLayout 布局
- RelativeLayout布局
- Luobo数据库升级
- 自定义弹框,纯文本,web,图文混合
- xliff与spannable结合使用动态改变文本
- Linux下查看当前内核系统支持的文件系统
- iOS uiview基本属性用法
- RelativeLayout布局制作登陆界面
- shell 文件内容替换 sed用法
- Android开发环境搭建
- Android动态改变布局
- Spark 低配版高斯朴素贝叶斯实现
- C# 分部类的使用规则
- ConcurrentHashMap原理分析(r)
- Android RecyclerView 使用完全解析 体验艺术般的控件
- iOS开发-自定义控件的方式及注意