android:textSize=“20sp”
/>
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:orientation=“horizontal”
<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”
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”
/>
<CheckBox
android:id=“@+id/cg”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“唱歌”
android:textSize=“20sp” />
<CheckBox
android:id=“@+id/tw”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“跳舞”
android:textSize=“20sp” />
<CheckBox
android:id=“@+id/ds”
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”
<Button
android:id=“@+id/btn1”
android:layout_width=“match_parent”
android:layout_height=“100dp”
android:text=“提交”
android:textSize=“30sp”
/>
注册功能实现
package com.example.registerlogin;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.RadioGroup;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity implements View.OnClickListener,CompoundButton.OnCheckedChangeListener{
private EditText mz,zh,mm;
private Button btn1;
private String name,id,pwd,sex,hobby;
private RadioGroup xb;
private CheckBox cg,tw,ds;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
btn1=findViewById(R.id.btn1);
mz=findViewById(R.id.mz);
zh=findViewById(R.id.mz);
mm=findViewById(R.id.mz);
cg=findViewById(R.id.cg);
tw=findViewById(R.id.tw);
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数初中级Android工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则近万的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Android开发知识点,真正体系化!
由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!
如果你觉得这些内容对你有帮助,可以扫码获取!!(备注:Android)
![](https://img-blog.csdnimg.cn/img_convert/cd583b76e0ec661beb0232770a7d2a2d.jpeg)
尾声
对于很多初中级Android工程师而言,想要提升技能,往往是自己摸索成长,不成体系的学习效果低效漫长且无助。 整理的这些架构技术希望对Android开发的朋友们有所参考以及少走弯路,本文的重点是你有没有收获与成长,其余的都不重要,希望读者们能谨记这一点。
最后想要拿高薪实现技术提升薪水得到质的飞跃。最快捷的方式,就是有人可以带着你一起分析,这样学习起来最为高效,所以为了大家能够顺利进阶中高级、架构师,我特地为大家准备了一套高手学习的源码和框架视频等精品Android架构师教程,保证你学了以后保证薪资上升一个台阶。
- 思维脑图
- 性能优化学习笔记
- 性能优化视频
当你有了学习线路,学习哪些内容,也知道以后的路怎么走了,理论看多了总要实践的。
《互联网大厂面试真题解析、进阶开发核心学习笔记、全套讲解视频、实战项目源码讲义》点击传送门即可获取!
地为大家准备了一套高手学习的源码和框架视频等精品Android架构师教程,保证你学了以后保证薪资上升一个台阶。
- 思维脑图
[外链图片转存中…(img-yn8yJjVt-1713269741344)] - 性能优化学习笔记
[外链图片转存中…(img-xnaeAgSC-1713269741345)]
[外链图片转存中…(img-EJ7pOFLM-1713269741346)]
[外链图片转存中…(img-XSpx1qmX-1713269741346)]
[外链图片转存中…(img-4gkINGIr-1713269741347)]
- 性能优化视频
[外链图片转存中…(img-b93H7Hgt-1713269741348)]
当你有了学习线路,学习哪些内容,也知道以后的路怎么走了,理论看多了总要实践的。
《互联网大厂面试真题解析、进阶开发核心学习笔记、全套讲解视频、实战项目源码讲义》点击传送门即可获取!