QQ空间2012Android客户端源码——龙设计
2016-08-03 00:00
260 查看
摘要: 张亚龙,于2012-5-30在OSchina发表,现在换账号,重新发表
<?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:background="@drawable/blue00"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="我的个人空间"
android:textColor="@color/text_color"
android:textSize="20sp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="@drawable/blue02"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="vertical" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="5dp"
android:background="@drawable/qq_image" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
android:layout_marginTop="10dp"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="42dp"
android:background="@android :drawable/edit_text"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="账号 "
android:textSize="16sp" />
<EditText
android:id="@+id/login_et_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@null"
android:hint="邮箱/手机号"
android:textSize="16sp" >
<requestFocus />
</EditText>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="42dp"
android:background="@android :drawable/edit_text"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="密码 "
android:textSize="16sp" />
<EditText
android:id="@+id/login_et_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@null"
android:hint="密码长度6到16位"
android:password="true"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="5dp"
android:orientation="horizontal" >
<CheckBox
android:id="@+id/checkBox1"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:layout_marginLeft="60dp"
android:text="记住密码"
android:textSize="16sp" />
<CheckBox
android:id="@+id/checkBox2"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:text="自动登录"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="@drawable/write"
android:text="登录"
android:textSize="20sp" />
</LinearLayout>
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bottom" />
</LinearLayout>
<?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:background="@drawable/blue00"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="我的个人空间"
android:textColor="@color/text_color"
android:textSize="20sp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="@drawable/blue02"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="vertical" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="5dp"
android:background="@drawable/qq_image" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
android:layout_marginTop="10dp"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="42dp"
android:background="@android :drawable/edit_text"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="账号 "
android:textSize="16sp" />
<EditText
android:id="@+id/login_et_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@null"
android:hint="邮箱/手机号"
android:textSize="16sp" >
<requestFocus />
</EditText>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="42dp"
android:background="@android :drawable/edit_text"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="密码 "
android:textSize="16sp" />
<EditText
android:id="@+id/login_et_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@null"
android:hint="密码长度6到16位"
android:password="true"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="5dp"
android:orientation="horizontal" >
<CheckBox
android:id="@+id/checkBox1"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:layout_marginLeft="60dp"
android:text="记住密码"
android:textSize="16sp" />
<CheckBox
android:id="@+id/checkBox2"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:text="自动登录"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="@drawable/write"
android:text="登录"
android:textSize="20sp" />
</LinearLayout>
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bottom" />
</LinearLayout>
相关文章推荐
- 一个最小物联网系统设计方案及源码——Android客户端
- 吸墨网Android手机客户端界面设计
- Android移植: wifi设计原理(源码分析)
- 人人网官方Android客户端源码分析(3)
- Android设计模式系列(4)--SDK源码之模板方法模式
- Android设计模式系列(6)--SDK源码之享元模式
- 基于 Json 的富客户端简易分页留言板设计,附源码
- 一个公开了源码的Android UI 设计器,很好很强大,不知道的可以看看
- 人人网官方Android客户端源码分析(1)
- 项目源码--Android团购类客户端
- Android设计模式系列(2)--SDK源码之观察者模式
- android微博客户端开发设计1
- Android服务器端和客户端设计APK升级
- ANDROID移植: WIFI设计原理(源码分析
- 人人网官方Android客户端源码分析(2)
- Android wifi设计原理(源码分析)
- ANDROID移植: WIFI设计原理(源码分析
- Android设计模式系列(2)--SDK源码之观察者模式
- 新浪微博客户端源码 android
- Android设计模式系列(7)--SDK源码之命令模式