Android 简单登录界面
来源:互联网 发布:大庆石化公司网络培训 编辑:程序博客网 时间:2024/04/27 04:06
代码:
<LinearLayout 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:layout_alignParentRight="true" android:orientation="vertical" 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.apple.MainActivity$PlaceholderFragment" > <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/user_name" /> <EditText android:layout_width="180px" android:layout_height="50px" android:layout_weight="1" android:hint="请输入您的用户名" /> </LinearLayout> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/psd" /> <EditText android:layout_width="180px" android:layout_height="50px" android:layout_weight="1" android:hint="请输入您的密码" /> </LinearLayout> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="horizontal" > <Button android:id="@+id/login" android:layout_width="100px" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/login" /> <Button android:id="@+id/cancel" android:layout_width="100px" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:text="@string/cancel" /> </LinearLayout></LinearLayout>
0 0
- Android 简单登录界面
- Android 一个简单的登录界面
- Android 一个简单的登录界面
- Android 一个简单的登录界面(一)
- android+简单的登录界面+OKhttp请求
- 简单的登录界面
- 简单登录界面
- Demo5:简单登录界面
- 简单的登录界面
- 简单的登录界面
- Android简单的登录界面的值传递
- 登录界面 Android简单http post请求 六
- 一个简单的Android程序的登录界面
- (数据库)Android登录,注册界面简单实现。
- Android开发学习(4)简单登录界面
- android欢迎界面+登录界面
- Android miniTwitter登录界面
- Android miniTwitter登录界面
- LeetCode - 371. Sum of Two Integers
- 学习计划2
- 【水水水】678A - Johny Likes Numbers
- POJ - 3281 Dining 网络流
- hdu 4513(manacher+dp)
- Android 简单登录界面
- gdb调试Clang2.6 (clang-cc)
- Annotation
- HttpURLConnection简介
- Go - 基础知识二
- WebView相关
- COOHxNH2
- Power Shell 使用图解2
- 面试题 -- 下载并安装APK