Android简单登录界面布局设计

<ImageView

android:id=“@+id/yxlg”

android:layout_marginTop=“12dp”

android:layout_marginLeft=“80dp”

android:layout_width=“30dp”

android:layout_height=“30dp”

android:background=“@drawable/net”

/>

<TextView

android:paddingTop=“5dp”

android:paddingBottom=“5dp”

android:id=“@+id/yxld”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:text=" 用邮箱登录"

android:gravity=“center”

android:textSize=“35sp”

/>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“1dp”

android:background=“@color/colorAccent”

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:orientation=“horizontal”>

<TextView

android:paddingTop=“12dp”

android:layout_width=“wrap_content”

android:layout_height=“60dp”

android:text=“名字:”

android:gravity=“left”

android:textSize=“25sp”

/>

<EditText

android:id=“@+id/mz”

android:paddingTop=“12dp”

android:background=“@null”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:textSize=“30sp”

/>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“1dp”

android:background=“@color/colorAccent”

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:orientation=“horizontal”>

<TextView

android:paddingTop=“12dp”

android:layout_width=“wrap_content”

android:layout_height=“60dp”

android:text=“账号:”

android:gravity=“left”

android:textSize=“25sp”

/>

<EditText

android:id=“@+id/zh”

android:paddingTop=“12dp”

android:background=“@null”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:textSize=“30sp”

/>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“1dp”

android:background=“@color/colorAccent”

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:orientation=“horizontal”>

<TextView

android:paddingTop=“12dp”

android:layout_width=“wrap_content”

android:layout_height=“60dp”

android:text=“密码:”

android:gravity=“left”

android:textSize=“25sp”

/>

<EditText

android:password=“true”

android:id=“@+id/mm”

android:paddingTop=“12dp”

android:background=“@null”

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:textSize=“30sp”

/>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“1dp”

android:background=“@color/colorAccent”

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“wrap_content”

android:orientation=“horizontal”>

<TextView

android:paddingTop=“12dp”

android:layout_width=“wrap_content”

android:layout_height=“60dp”

android:text="性别: "

android:gravity=“left”

android:textSize=“25sp”

/>

<RadioGroup

android:id=“@+id/xb”

android:layout_marginTop=“15dp”

android:orientation=“horizontal”

android:layout_width=“wrap_content”

android:layout_height=“wrap_content”>

<RadioButton

android:id=“@+id/nan”

android:layout_width=“wrap_content”

android:layout_height=“wrap_content”

android:text=“男”

android:textSize=“20sp”

/>

<RadioButton

android:id=“@+id/nu”

android:layout_width=“wrap_content”

android:layout_height=“wrap_content”

android:text=“女”

android:textSize=“20sp”

/>

<LinearLayout

android:layout_width=“match_parent”

android:layout_height=“1dp”

android:background=“@color/colorAccent”

<LinearLayout

android:layout_width=“match_parent”

androi​
d:layout_height=“wrap_content”

android:orientation=“horizontal”>

<TextView

android:paddingTop=“12dp”

android:layout_width=“wrap_content”

android:layout_height=“60dp”

android:text=“选择你的爱好:”

android:gravity=“left”

android:textSize=“25sp”

/>

<CheckBox

android:layout_width=“wrap_content”

android:layout_height=“wrap_content”

android:text=“唱歌”

android:textSize=“20sp” />

<CheckBox

android:layout_width=“wrap_content”

android:layout_height=“wrap_content”

android:text=“跳舞”

android:textSize=“20sp” />

<CheckBox

android:layout_width=“wrap_content”

android:layout_height=“wrap_content”

android:text=“读书”

android:textSize=“20sp” />

最后

小编这些年深知大多数初中级Android工程师,想要提升自己,往往是自己摸索成长,自己不成体系的自学效果低效漫长且无助

因此我收集整理了一份《2024年Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人

都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

资料⬅专栏获取
t=“读书”

android:textSize=“20sp” />

最后

小编这些年深知大多数初中级Android工程师,想要提升自己,往往是自己摸索成长,自己不成体系的自学效果低效漫长且无助

因此我收集整理了一份《2024年Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。

[外链图片转存中…(img-vZ17SkvB-1719085332626)]一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人

都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

资料⬅专栏获取

  • 11
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值