}
});
}
public void passData(){
Intent intent=new Intent(this,Show_Message.class);
intent.putExtra(“name”,et_name.getText().toString().trim());
intent.putExtra(“password”,et_password.getText().toString().trim());
startActivity(intent);
}
}
效果如图:
4.信息显示
返回目录
-
新建一个布局Layout 命名为: activity_show_message.xml
-
内容有:用户登录信息展示,进度条展示各种属性,还有跳转商店页面的按钮
-
代码如下:
<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:orientation=“vertical”
android:background=“@drawable/backgroung”>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginBottom=“5dp”
android:layout_marginTop=“10dp”
android:orientation=“horizontal”
android:padding=“15dp”>
<ImageView
android:layout_width=“0dp”
android:layout_height=“150dp”
android:layout_weight=“1”
android:id=“@+id/pet_imgv”
android:background=“@drawable/pet”
/>
<LinearLayout
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_weight=“1”
android:orientation=“vertical”
android:paddingLeft=“20dp”>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“用户名:”
android:textSize=“14sp”
android:id=“@+id/u_name”/>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginTop=“20dp”
android:text=“密 码:”
android:textSize=“14sp”
android:id=“@+id/u_password”/>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:id=“@+id/pet_dialog_tv”
android:layout_gravity=“center”
android:layout_marginBottom=“25dp”
android:text=“快给宠物购买装备,学习技能吧!”
android:textSize=“20sp”/>
<TableLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_marginBottom=“10dp”
android:layout_marginLeft=“20dp”
android:layout_marginRight=“5dp”>
<TableRow
android:layout_width=“match_parent”
android:layout_height=“wrap_content”>
<TextView
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:text=“生命值:”
android:textColor=“@color/lightgoldenrodyellow”
android:textSize=“18sp”/>
<ProgressBar
android:id=“@+id/progressBar1”
style=“?android:attr/progressBarStyleHorizontal”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_weight=“2”/>
<TextView
android:id=“@+id/tv_life_progress”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:layout_gravity=“center”
android:text=“0”
android:textColor=“#000000”
android:textSize=“18sp”/>
<TableRow
android:layout_width=“match_parent”
android:layout_height=“wrap_content”>
<TextView
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:text=“攻击力:”
android:textColor=“@color/lightgoldenrodyellow”
android:textSize=“18sp”/>
<ProgressBar
android:id=“@+id/progressBar2”
style=“?android:attr/progressBarStyleHorizontal”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_weight=“2”/>
<TextView
android:id=“@+id/tv_attack_progress”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:layout_gravity=“center”
android:text=“0”
android:textColor=“#000000”
android:textSize=“18sp”/>
<TableRow
android:layout_width=“match_parent”
android:layout_height=“wrap_content”>
<TextView
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:text=“敏 捷:”
android:textColor=“@color/lightgoldenrodyellow”
android:textSize=“18sp”/>
<ProgressBar
android:id=“@+id/progressBar3”
style=“?android:attr/progressBarStyleHorizontal”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_weight=“2”/>
<TextView
android:id=“@+id/tv_speed_progress”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:layout_gravity=“center”
android:text=“0”
android:textColor=“#000000”
android:textSize=“18sp”/>
<Button
android:layout_width=“160dp”
android:layout_height=“48dp”
android:id=“@+id/btn_baby”
android:layout_gravity=“center”
android:background=“@color/gold”
android:text=“立即购买GO!”
android:textColor=“@color/violet”
android:textSize=“18sp”
android:onClick=“click”
android:textStyle=“bold”/>
<TableLayout
android:layout_marginTop=“10dp”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_marginLeft=“20dp”
android:layout_marginRight=“5dp”>
<TableRow
android:layout_width=“match_parent”
android:layout_height=“wrap_content”>
<TextView
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:text=“智 力:”
android:textColor=“@color/darkorchid”
android:textSize=“18sp”/>
<ProgressBar
android:id=“@+id/progressBar4”
style=“?android:attr/progressBarStyleHorizontal”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_weight=“2”/>
<TextView
android:id=“@+id/tv_brain_progress”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:layout_gravity=“center”
android:text=“0”
android:textColor=“#000000”
android:textSize=“18sp”/>
<TableRow
android:layout_width=“match_parent”
android:layout_height=“wrap_content”>
<TextView
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:text=“品 质:”
android:textColor=“@color/darkorchid”
android:textSize=“18sp”/>
<ProgressBar
android:id=“@+id/progressBar5”
style=“?android:attr/progressBarStyleHorizontal”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_weight=“2”/>
<TextView
android:id=“@+id/tv_quality_progress”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:layout_gravity=“center”
android:text=“0”
android:textColor=“#000000”
android:textSize=“18sp”/>
<TableRow
android:layout_width=“match_parent”
android:layout_height=“wrap_content”>
<TextView
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:text=“能 力:”
android:textColor=“@color/darkorchid”
android:textSize=“18sp”/>
<ProgressBar
android:id=“@+id/progressBar6”
style=“?android:attr/progressBarStyleHorizontal”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center”
android:layout_weight=“2”/>
<TextView
android:id=“@+id/tv_ability_progress”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:layout_gravity=“center”
android:text=“0”
android:textColor=“#000000”
android:textSize=“18sp”/>
<Button
android:layout_marginTop=“10dp”
android:layout_width=“160dp”
android:layout_height=“48dp”
android:id=“@+id/btn_study”
android:layout_gravity=“center”
android:background=“@color/gold”
android:text=“学习成长GO!”
android:textColor=“@color/violet”
android:textSize=“18sp”
android:onClick=“click2”
android:textStyle=“bold”/>
-
对应着,新建一个Activity,命名为: Show_Message
-
初始化进度条和文本编辑组件,获取 intent 里面的用户登录信息展示出来,并设置进度条的最大值和置零
-
对商店购物按钮进行监听,设置 intent
-
重写onActivityResult()方法,获取从其他Activity跳转回来所带的数据
-
获取到数据后,对属性进度框进行更新,自定义方法updateProgress()
-
扩展: onActivityResult
-
返回目录
-
onActivityResult(int requestCode, int resultCode, Intent data)
第一个参数:这个整数requestCode用于与startActivityForResult中的requestCode中值进行比较判断,是以便确认返回的数据是从哪个Activity返回的。
第二个参数:这整数resultCode是由子Activity通过其setResult()方法返回。适用于多个activity都返回数据时,来标识到底是哪一个activity返回的值。
第三个参数:一个Intent对象,带有返回的数据。可以通过data.getXxxExtra( );方法来获取指定数据类型的数据。
- 代码如下:
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;
public class Show_Message extends AppCompatActivity {
private TextView u_name;
private TextView u_password;
private ProgressBar mProgressBar1;
private ProgressBar mProgressBar2;
private ProgressBar mProgressBar3;
private TextView mLifeTV;
private TextView mAttackTV;
private TextView mSpeedTV;
private ProgressBar mProgressBar4;
private ProgressBar mProgressBar5;
private ProgressBar mProgressBar6;
private TextView mBrainTV;
private TextView mQualityTV;
private TextView mAbilityTV;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_show_message);
Intent intent = getIntent();
String name = intent.getStringExtra(“name”);
String password = intent.getStringExtra(“password”);
u_name = (TextView)findViewById(R.id.u_name);
u_password = (TextView)findViewById(R.id.u_password);
u_name.setText(“用 户:”+name);
u_password.setText(“密 码:”+password);
mLifeTV = (TextView)findViewById(R.id.tv_life_progress);
mAttackTV = (TextView)findViewById(R.id.tv_attack_progress);
mSpeedTV = (TextView)findViewById(R.id.tv_speed_progress);
mBrainTV = (TextView)findViewById(R.id.tv_brain_progress);
mQualityTV = (TextView)findViewById(R.id.tv_quality_progress);
mAbilityTV = (TextView)findViewById(R.id.tv_ability_progress);
initProgress();
}
private void initProgress(){
mProgressBar1 = (ProgressBar)findViewById(R.id.progressBar1);
mProgressBar2 = (ProgressBar)findViewById(R.id.progressBar2);
mProgressBar3 = (ProgressBar)findViewById(R.id.progressBar3);
mProgressBar1.setMax(1000);
mProgressBar2.setMax(1000);
mProgressBar3.setMax(1000);
mProgressBar4 = (ProgressBar)findViewById(R.id.progressBar4);
mProgressBar4.setMax(100);
mProgressBar5 = (ProgressBar)findViewById(R.id.progressBar5);
mProgressBar5.setMax(100);
mProgressBar6 = (ProgressBar)findViewById(R.id.progressBar6);
mProgressBar6.setMax(100);
}
public void click(View view){
Intent intent = new Intent(this,Shop_Device.class);
startActivityForResult(intent,1);
}
public void click2(View view){
Intent intent2 = new Intent(this,For_Study.class);
startActivityForResult(intent2,1);
}
@Override
protected void onActivityResult(int requestCode,int resultCode,Intent data){
super.onActivityResult(requestCode,resultCode,data);
if(data!=null){
if(requestCode==1){
if(resultCode==1){
ItemInfo info = (ItemInfo)data.getSerializableExtra(“equipment”);
updateProgress(info);
}else{
Subject study = (Subject)data.getSerializableExtra(“study”);
updateProgress2(study);
}
}
}
}
private void updateProgress2(Subject study){
int progress4 = mProgressBar4.getProgress();
mProgressBar4.setProgress(progress4+study.getBrain());
mBrainTV.setText(mProgressBar4.getProgress()+“”);
int progress5 = mProgressBar5.getProgress();
mProgressBar5.setProgress(progress5+study.getQuality());
mQualityTV.setText(mProgressBar5.getProgress()+“”);
int progress6 = mProgressBar6.getProgress();
mProgressBar6.setProgress(progress6+study.getAbility());
mAbilityTV.setText(mProgressBar6.getProgress()+“”);
}
private void updateProgress(ItemInfo info){
int progress1 = mProgressBar1.getProgress();
int progress2 = mProgressBar2.getProgress();
int progress3 = mProgressBar3.getProgress();
mProgressBar1.setProgress(progress1+info.getLife());
mProgressBar2.setProgress(progress2+info.getAcctack());
mProgressBar3.setProgress(progress3+info.getSpeed());
mLifeTV.setText(mProgressBar1.getProgress()+“”);
mAttackTV.setText(mProgressBar2.getProgress()+“”);
mSpeedTV.setText(mProgressBar3.getProgress()+“”);
}
}
- 效果如图:
5.装备购买
返回目录
-
为装备添加一个item类,存放装备的各种属性:ItemInfo
-
属性有名称,攻击属性,生命属性,速度属性,赋予get和set方法,并序列化
-
代码如下:
import java.io.Serializable;
public class ItemInfo implements Serializable {
private String name;
private int acctack;
private int life;
private int speed;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAcctack() {
return acctack;
}
public void setAcctack(int acctack) {
this.acctack = acctack;
}
public int getLife() {
return life;
}
public void setLife(int life) {
this.life = life;
}
public int getSpeed() {
return speed;
}
public void setSpeed(int speed) {
this.speed = speed;
}
public ItemInfo(String name, int acctack, int life, int spped){
this.name = name;
this.acctack = acctack;
this.life = life;
this.speed = spped;
}
}
-
新建一个布局Layout 命名为: activity_shop_device.xml
-
内容有:装备属性界面展示
-
代码如下:
<LinearLayout
xmlns:android=“http://schemas.android.com/apk/res/android”
android:layout_width=“match_parent”
android:layout_height=“match_parent”
android:background=“@drawable/backgroung”
android:orientation=“vertical”>
<LinearLayout
android:id=“@+id/rl”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background=“#307f7f7f”
android:gravity=“center_vertical”
android:orientation=“horizontal”
android:padding=“5dp”>
<ImageView
android:layout_width=“30dp”
android:layout_height=“30dp”
android:background=“@drawable/sword_icon” />
<TextView
android:id=“@+id/tv_name”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:text=“商品名称” />
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“40dp”
android:orientation=“vertical”>
<TextView
android:id=“@+id/tv_life”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“生命值”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_attack”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“攻击力”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_speed”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“速度”
android:textSize=“13sp” />
<LinearLayout
android:id=“@+id/bmw”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background=“#307f7f7f”
android:gravity=“center_vertical”
android:orientation=“horizontal”
android:layout_marginTop=“20dp”
android:padding=“5dp”>
<ImageView
android:layout_width=“30dp”
android:layout_height=“30dp”
android:background=“@drawable/bmw_icon” />
<TextView
android:id=“@+id/tv_name2”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:text=“商品名称” />
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_below=“@+id/bmw”
android:layout_marginLeft=“40dp”
android:orientation=“vertical”>
<TextView
android:id=“@+id/tv_life2”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“生命值”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_attack2”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“攻击力”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_speed2”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“速度”
android:textSize=“13sp” />
<LinearLayout
android:id=“@+id/girl”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background=“#307f7f7f”
android:gravity=“center_vertical”
android:orientation=“horizontal”
android:layout_marginTop=“20dp”
android:padding=“5dp”>
<ImageView
android:layout_width=“30dp”
android:layout_height=“30dp”
android:background=“@drawable/girl_icon” />
<TextView
android:id=“@+id/tv_name3”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:text=“商品名称” />
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_below=“@+id/girl”
android:layout_marginLeft=“40dp”
android:orientation=“vertical”>
<TextView
android:id=“@+id/tv_life3”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“生命值”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_attack3”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“攻击力”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_speed3”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“速度”
android:textSize=“13sp” />
-
对应着,新建一个Activity,命名为: Shop_Device
-
初始化装备属性,并展示到界面上
-
为每个item的LinearLayout设置点击监听事件
-
获取被点击的装备数据,重写setResult(),将数据存入 intent ,并跳转回原展示界面
-
扩展: setResult
-
返回目录
-
setResult(int resultCode, Intent data)
在意图跳转的目的地界面调用这个方法把Activity想要返回的数据返回到主Activity,
第一个参数:当Activity结束时resultCode将归还在onActivityResult()中,一般为RESULT_CANCELED , RESULT_OK该值默认为-1。
第二个参数:一个Intent对象,返回给主Activity的数据。在intent对象携带了要返回的数据,使用putExtra( )方法。
- 代码如下:
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class Shop_Device extends AppCompatActivity implements View.OnClickListener {
private ItemInfo itemInfo;
private ItemInfo itemInfo2;
private ItemInfo itemInfo3;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_shop_device);
// 初始化 装备属性
itemInfo = new ItemInfo(“金剑”,100,20,20);
itemInfo2 = new ItemInfo(“宝马”,50,10,180);
itemInfo3 = new ItemInfo(“小侍女”,20,50,30);
// 设置点击监听
findViewById(R.id.rl).setOnClickListener(this);
// 获取界面元素
TextView mLifeTV = (TextView)findViewById(R.id.tv_life);
TextView mNameTV = (TextView)findViewById(R.id.tv_name);
TextView mAttackTV = (TextView)findViewById(R.id.tv_attack);
TextView mSpeedTV = (TextView)findViewById(R.id.tv_speed);
// 界面设值
mLifeTV.setText(“生命值+”+itemInfo.getLife());
mNameTV.setText(itemInfo.getName()+" ");
mSpeedTV.setText(“敏捷度+”+itemInfo.getSpeed());
mAttackTV.setText(“攻击力+”+itemInfo.getAcctack());
// 设置点击监听
findViewById(R.id.bmw).setOnClickListener(this);
TextView mLifeTV2 = (TextView)findViewById(R.id.tv_life2);
TextView mNameTV2 = (TextView)findViewById(R.id.tv_name2);
TextView mAttackTV2 = (TextView)findViewById(R.id.tv_attack2);
TextView mSpeedTV2 = (TextView)findViewById(R.id.tv_speed2);
mLifeTV2.setText(“生命值+”+itemInfo2.getLife());
mNameTV2.setText(itemInfo2.getName()+" ");
mSpeedTV2.setText(“敏捷度+”+itemInfo2.getSpeed());
mAttackTV2.setText(“攻击力+”+itemInfo2.getAcctack());
// 设置点击监听
findViewById(R.id.girl).setOnClickListener(this);
TextView mLifeTV3 = (TextView)findViewById(R.id.tv_life3);
TextView mNameTV3 = (TextView)findViewById(R.id.tv_name3);
TextView mAttackTV3 = (TextView)findViewById(R.id.tv_attack3);
TextView mSpeedTV3 = (TextView)findViewById(R.id.tv_speed3);
mLifeTV3.setText(“生命值+”+itemInfo3.getLife());
mNameTV3.setText(itemInfo3.getName()+" ");
mSpeedTV3.setText(“敏捷度+”+itemInfo3.getSpeed());
mAttackTV3.setText(“攻击力+”+itemInfo3.getAcctack());
}
@Override
public void onClick(View v) {
// 获取intent
Intent intent = new Intent();
switch (v.getId()){
case R.id.rl:
// 存放序列化后的装备对象
intent.putExtra(“equipment”,itemInfo);
// 返回结果码和intent
setResult(1,intent);
// 关闭该界面
finish();
// 退出选择
break;
case R.id.bmw:
// 存放序列化后的装备对象
intent.putExtra(“equipment”,itemInfo2);
// 返回结果码和intent
setResult(1,intent);
// 关闭该界面
finish();
// 退出选择
break;
case R.id.girl:
// 存放序列化后的装备对象
intent.putExtra(“equipment”,itemInfo3);
// 返回结果码和intent
setResult(1,intent);
// 关闭该界面
finish();
// 退出选择
break;
}
}
}
- 效果如图:
-
点击选择对应装备后,回返回用户信息展示界面,并更新属性数据
-
效果如图:
-
附上下面那块,学习技能的代码:
-
新建Layout:activity_for_study.xml
-
代码如下:
<LinearLayout
xmlns:android=“http://schemas.android.com/apk/res/android”
android:layout_width=“match_parent”
android:layout_height=“match_parent”
android:background=“@drawable/backgroung”
android:orientation=“vertical”>
<LinearLayout
android:id=“@+id/english”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background=“#307f7f7f”
android:gravity=“center_vertical”
android:orientation=“horizontal”
android:padding=“5dp”>
<ImageView
android:layout_width=“30dp”
android:layout_height=“30dp”
android:background=“@drawable/english_icon” />
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“40dp”
android:orientation=“vertical”>
<TextView
android:id=“@+id/st_name”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:text=“科目名称” />
<TextView
android:id=“@+id/st_content”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:text=“科目内容” />
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“40dp”
android:orientation=“vertical”>
<TextView
android:id=“@+id/tv_brain”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“智力”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_quality”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“品质”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_ability”
android:layout_width=“wrap_content”
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数初中级安卓工程师,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年最新Android移动开发全套学习资料》送给大家,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频
如果你觉得这些内容对你有帮助,可以添加下面V无偿领取!(备注Android)
android:layout_height=“30dp”
android:background=“@drawable/english_icon” />
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“40dp”
android:orientation=“vertical”>
<TextView
android:id=“@+id/st_name”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:text=“科目名称” />
<TextView
android:id=“@+id/st_content”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:text=“科目内容” />
<LinearLayout
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“40dp”
android:orientation=“vertical”>
<TextView
android:id=“@+id/tv_brain”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“智力”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_quality”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“品质”
android:textSize=“13sp” />
<TextView
android:id=“@+id/tv_ability”
android:layout_width=“wrap_content”
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数初中级安卓工程师,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年最新Android移动开发全套学习资料》送给大家,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
[外链图片转存中…(img-WtPsPkOM-1710920448878)]
[外链图片转存中…(img-AxHnUtfW-1710920448879)]
[外链图片转存中…(img-253GH2uq-1710920448879)]
[外链图片转存中…(img-XDAIwoRA-1710920448879)]
由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频
如果你觉得这些内容对你有帮助,可以添加下面V无偿领取!(备注Android)
[外链图片转存中…(img-PmgVsn9O-1710920448880)]