HarmonyOS应用开发--基于ListContainer的通讯录管理系统TelManageSys[电话本][API V6](2)

深知大多数程序员,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!


img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上鸿蒙开发知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化的资料的朋友,可以戳这里获取

@Override
protected void onBackground() {
    super.onBackground();
}

@Override
protected void onStop() {
    super.onStop();
}

}




---


####    4.1.5 PersonDetailSlice.java



package com.tdtxdcxm.telmanagesys.slice;

import com.tdtxdcxm.telmanagesys.PeopleInfoConfig;
import com.tdtxdcxm.telmanagesys.ResourceTable;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;
import ohos.agp.components.Button;
import ohos.agp.components.Component;
import ohos.agp.components.Text;
import ohos.agp.components.TextField;
import ohos.agp.utils.LayoutAlignment;
import ohos.agp.window.dialog.CommonDialog;
import ohos.agp.window.dialog.IDialog;
import ohos.agp.window.dialog.ToastDialog;

public class PersonDetailSlice extends AbilitySlice {
private Button persondetail_backbut,persondetail_nobut,persondetail_okeditbut;

private Text persondetail_nametext;
private TextField persondetail_teltfd,persondetail_teltfd2;
private TextField persondetail_emailtfd,persondetail_emailtfd2;
private TextField persondetail_worktfd,persondetail_worktfd2;
private TextField persondetail_addresstfd,persondetail_addresstfd2;

private boolean isssave = false;

public void toastShow(String s){
    ToastDialog toastDialog = new ToastDialog(this.getContext());
    toastDialog.setText(s);
    toastDialog.setTransparent(true);
    toastDialog.setDuration(1000);
    toastDialog.setAlignment(LayoutAlignment.BOTTOM);
    toastDialog.show();
}
public void commonDialogShow(String titletext,String contenttext){
    CommonDialog commonDialog = new CommonDialog(this.getContext());
    commonDialog.setTitleText(titletext);
    commonDialog.setContentText(contenttext);
    commonDialog.setAlignment(LayoutAlignment.CENTER);
    commonDialog.setCornerRadius(20);
    commonDialog.setSize(700,360);
    commonDialog.setButton(1, "确定", new IDialog.ClickedListener() {
        @Override
        public void onClick(IDialog iDialog, int i) {
            commonDialog.destroy();
            terminate();
        }
    });
    commonDialog.setButton(2, "取消", new IDialog.ClickedListener() {
        @Override
        public void onClick(IDialog iDialog, int i) {
            commonDialog.destroy();
        }
    });
    commonDialog.show();
}

public void initPDSilceComponents(String name){
    persondetail_backbut = (Button) findComponentById(ResourceTable.Id\_persondetail\_backbut);
    persondetail_nobut= (Button) findComponentById(ResourceTable.Id\_persondetail\_nobut);
    persondetail_okeditbut = (Button) findComponentById(ResourceTable.Id\_persondetail\_okeditbut);

    persondetail_nametext = (Text) findComponentById(ResourceTable.Id\_persondetail\_nametext);

    persondetail_teltfd = (TextField) findComponentById(ResourceTable.Id\_persondetail\_teltfd);
    persondetail_teltfd2 = (TextField) findComponentById(ResourceTable.Id\_persondetail\_teltfd2);
    persondetail_emailtfd = (TextField) findComponentById(ResourceTable.Id\_persondetail\_emailtfd);
    persondetail_emailtfd2 = (TextField) findComponentById(ResourceTable.Id\_persondetail\_emailtfd2);
    persondetail_worktfd = (TextField) findComponentById(ResourceTable.Id\_persondetail\_worktfd);
    persondetail_worktfd2 = (TextField) findComponentById(ResourceTable.Id\_persondetail\_worktfd2);
    persondetail_addresstfd = (TextField) findComponentById(ResourceTable.Id\_persondetail\_addresstfd);
    persondetail_addresstfd2 = (TextField) findComponentById(ResourceTable.Id\_persondetail\_addresstfd2);

    String[] personinfo = PeopleInfoConfig.readPersonData(this.getContext(),name);
    persondetail_nametext.setText(personinfo[0]);
    persondetail_teltfd.setText(personinfo[1]);
    persondetail_teltfd2.setText(personinfo[2]);
    persondetail_emailtfd.setText(personinfo[3]);
    persondetail_emailtfd2.setText(personinfo[4]);
    persondetail_worktfd.setText(personinfo[5]);
    persondetail_worktfd2.setText(personinfo[6]);
    persondetail_addresstfd.setText(personinfo[7]);
    persondetail_addresstfd2.setText(personinfo[8]);

    persondetail_teltfd.setClickable(false);
    persondetail_teltfd2.setClickable(false);
    persondetail_emailtfd.setClickable(false);
    persondetail_emailtfd2.setClickable(false);
    persondetail_worktfd.setClickable(false);
    persondetail_worktfd2.setClickable(false);
    persondetail_addresstfd.setClickable(false);
    persondetail_addresstfd2.setClickable(false);

    persondetail_backbut.setClickedListener(new Component.ClickedListener() {
        @Override
        public void onClick(Component component) {
            if(isssave == false){
                commonDialogShow("返回","还未保存,确定退出吗?");
            }
            else{
                commonDialogShow("返回","已经保存,确定退出吗?");
            }
        }
    });
    persondetail_nobut.setClickedListener(new Component.ClickedListener() {
        @Override
        public void onClick(Component component) {
            persondetail_okeditbut.setText("编辑");

            persondetail_teltfd.clearFocus();
            persondetail_teltfd2.clearFocus();
            persondetail_emailtfd.clearFocus();
            persondetail_emailtfd2.clearFocus();
            persondetail_worktfd.clearFocus();
            persondetail_worktfd2.clearFocus();
            persondetail_addresstfd.clearFocus();
            persondetail_addresstfd2.clearFocus();

            persondetail_teltfd.setClickable(false);
            persondetail_teltfd2.setClickable(false);
            persondetail_emailtfd.setClickable(false);
            persondetail_emailtfd2.setClickable(false);
            persondetail_worktfd.setClickable(false);
            persondetail_worktfd2.setClickable(false);
            persondetail_addresstfd.setClickable(false);
            persondetail_addresstfd2.setClickable(false);

            toastShow("已退出编辑状态!");
        }
    });
    persondetail_okeditbut.setClickedListener(new Component.ClickedListener() {
        @Override
        public void onClick(Component component) {
            if(persondetail_okeditbut.getText().equals("编辑") && personinfo[0].equals("") == false){
                persondetail_teltfd.setClickable(true);
                persondetail_teltfd2.setClickable(true);
                persondetail_emailtfd.setClickable(true);
                persondetail_emailtfd2.setClickable(true);
                persondetail_worktfd.setClickable(true);
                persondetail_worktfd2.setClickable(true);
                persondetail_addresstfd.setClickable(true);
                persondetail_addresstfd2.setClickable(true);
                persondetail_okeditbut.setText("保存");
                isssave = false;
                toastShow("可以修改编辑!");
                return;
            }
            if(persondetail_okeditbut.getText().equals("保存")){
                String[] tpersoninfo = new String[9];
                tpersoninfo[0] = persondetail_nametext.getText();
                tpersoninfo[1] = persondetail_teltfd.getText();
                tpersoninfo[2] = persondetail_teltfd2.getText();
                tpersoninfo[3] = persondetail_emailtfd.getText();
                tpersoninfo[4] = persondetail_emailtfd2.getText();
                tpersoninfo[5] = persondetail_worktfd.getText();
                tpersoninfo[6] = persondetail_worktfd2.getText();
                tpersoninfo[7] = persondetail_addresstfd.getText();
                tpersoninfo[8] = persondetail_addresstfd2.getText();

                PeopleInfoConfig.writePersonData(PersonDetailSlice.this.getContext(),tpersoninfo);
                persondetail_okeditbut.setText("编辑");
                persondetail_nobut.getClickedListener().onClick(persondetail_nobut);
                isssave = true;
                toastShow("已经保存!");
            }
        }
    });
}

@Override
public void onStart(Intent intent) {
    super.onStart(intent);
    super.setUIContent(ResourceTable.Layout\_ability\_persondetail);
    initPDSilceComponents(intent.getStringParam("姓名"));
    System.out.println("开始了-----》》》》》》");

}

@Override
protected void onInactive() {
    super.onInactive();
}

@Override
public void onActive() {
    super.onActive();
}

@Override
public void onForeground(Intent intent) {
    super.onForeground(intent);
}

@Override
protected void onBackground() {
    super.onBackground();
}

@Override
protected void onStop() {
    super.onStop();
}

}




---


####    4.1.6 MainAbility.java



package com.tdtxdcxm.telmanagesys;

import com.tdtxdcxm.telmanagesys.slice.MainAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
@Override
public void onStart(Intent intent) {
super.onStart(intent);
super.setMainRoute(MainAbilitySlice.class.getName());
}
}




---


####    4.1.7 MyApplication.java



package com.tdtxdcxm.telmanagesys;

import ohos.aafwk.ability.AbilityPackage;

public class MyApplication extends AbilityPackage {
@Override
public void onInitialize() {
super.onInitialize();
}
}




---


####    4.1.8 PersonInfoConfig.java



package com.tdtxdcxm.telmanagesys;

import com.tdtxdcxm.telmanagesys.itemdata.PeopleItem;
import ohos.app.Context;
import ohos.data.DatabaseHelper;
import ohos.data.preferences.Preferences;

import java.util.ArrayList;
import java.util.List;

public class PeopleInfoConfig {
private static final String peoplelistfilename = “peopleinfo.ple”;

public static void readData(Context context, List<PeopleItem> list){
    list.clear();
    System.out.println("--------------》》》》这里了!");
    DatabaseHelper databaseHelper = new DatabaseHelper(context);
    Preferences preferences = databaseHelper.getPreferences(peoplelistfilename);

    String namelist = preferences.getString("名字","请添加联系人").toString();

    System.out.println(namelist);

    String[] pername = namelist.split(",");
    if(pername[0].equals("")){
        list.add(new PeopleItem("请添加联系人"));
        return;
    }
    for(int i = 0;i < pername.length;i++){
        System.out.println("名字:"+pername[i]);
        list.add(new PeopleItem(pername[i]));
    }
}
public static String[] readPersonData(Context context,String name){
    String[] personinfo = new String[9];
    DatabaseHelper databaseHelper = new DatabaseHelper(context);
    Preferences preferences = databaseHelper.getPreferences(name+".tdtx");

    personinfo[0] = preferences.getString("姓名","");
    personinfo[1] = preferences.getString("电话","");
    personinfo[2] = preferences.getString("座机","");
    personinfo[3] = preferences.getString("邮箱","");
    personinfo[4] = preferences.getString("其他邮箱","");
    personinfo[5] = preferences.getString("工作单位","");
    personinfo[6] = preferences.getString("其他单位","");
    personinfo[7] = preferences.getString("地址","");
    personinfo[8] = preferences.getString("其他地址","");
    return personinfo;
}
public static void writeData(Context context, String[] personinfo){
    DatabaseHelper databaseHelper = new DatabaseHelper(context);
    Preferences preferences = databaseHelper.getPreferences(peoplelistfilename);

    List<PeopleItem> tlist = new ArrayList<>();
    String namelist;
    namelist = preferences.getString("名字","").toString();
    System.out.println("writedata namelistfile--->"+namelist);

    if(namelist.equals("")){
        preferences.putString("名字",personinfo[0]);
    }
    else
    {
        preferences.putString("名字",namelist+","+personinfo[0]);
    }
    preferences.flushSync();

    DatabaseHelper personfile_databaseHelper = new DatabaseHelper(context);
    Preferences person_preferences = personfile_databaseHelper.getPreferences(personinfo[0]+".tdtx");
    person_preferences.putString("姓名",personinfo[0]);
    person_preferences.putString("电话",personinfo[1]);
    person_preferences.putString("座机",personinfo[2]);
    person_preferences.putString("邮箱",personinfo[3]);
    person_preferences.putString("其他邮箱",personinfo[4]);
    person_preferences.putString("工作单位",personinfo[5]);
    person_preferences.putString("其他单位",personinfo[6]);
    person_preferences.putString("地址",personinfo[7]);
    person_preferences.putString("其他地址",personinfo[8]);

    person_preferences.flushSync();
}
public static void writePersonData(Context context, String[] personinfo){
    DatabaseHelper personfile_databaseHelper = new DatabaseHelper(context);
    Preferences person_preferences = personfile_databaseHelper.getPreferences(personinfo[0]+".tdtx");
    person_preferences.putString("姓名",personinfo[0]);
    person_preferences.putString("电话",personinfo[1]);
    person_preferences.putString("座机",personinfo[2]);
    person_preferences.putString("邮箱",personinfo[3]);
    person_preferences.putString("其他邮箱",personinfo[4]);
    person_preferences.putString("工作单位",personinfo[5]);
    person_preferences.putString("其他单位",personinfo[6]);
    person_preferences.putString("地址",personinfo[7]);
    person_preferences.putString("其他地址",personinfo[8]);

    person_preferences.flushSync();
}

public static void deleteData(Context context, String personname){
    DatabaseHelper databaseHelper = new DatabaseHelper(context);
    Preferences preferences = databaseHelper.getPreferences(peoplelistfilename);

    List<PeopleItem> tlist = new ArrayList<>();
    String namelist;
    namelist = preferences.getString("名字","").toString();
    System.out.println("writedata namelistfile--->"+namelist);

    if(namelist.equals("")){

    }
    else
    {
        String[] names = namelist.split(",");
        StringBuilder stringBuilder = new StringBuilder();
        int k = 0;
        for(int i = 0;i < names.length;i++){
            System.out.println("------>>>>"+stringBuilder.toString());
            if(names[i].equals(personname) == false){
                if(k != 0){
                    stringBuilder.append(",");
                    stringBuilder.append(names[i]);
                    k++;
                    continue;
                }
                stringBuilder.append(names[i]);
                k++;
            }
        }
        namelist = stringBuilder.toString();

        preferences.putString("名字",namelist);
    }
    preferences.flushSync();

    DatabaseHelper personfile_databaseHelper = new DatabaseHelper(context);
    //Preferences person\_preferences = personfile\_databaseHelper.getPreferences(personname+".tdtx");
    personfile_databaseHelper.deletePreferences(personname+".tdtx");
    personfile_databaseHelper.removePreferencesFromCache(personname+".tdtx");
}

}


###   4.2 XML代码


####    4.2.1 UI背景XML


#####     4.2.1.1 background\_ability\_main.xml



<?xml version="1.0" encoding="UTF-8" ?>






---


#####     4.2.1.2 background\_bottombutton.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“50vp”/>




---


#####     4.2.1.3 background\_ddl1.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“50vp”/>





---


#####     4.2.1.4 background\_ddl2.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“10vp”/>





---


#####     4.2.1.5 background\_ddl3.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“50vp”/>





---


#####     4.2.1.6 background\_edit\_addbutton.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“100vp”/>

<stroke

ohos:width=“2vp”
ohos:color=“#FF3FFF18”/>




---


#####     4.2.1.7 background\_edit\_addnametext.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“5vp”/>

<stroke

ohos:width=“2vp”
ohos:color=“#FF18B6FF”/>




---


#####     4.2.1.8 background\_edit\_addtfd.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“20vp”/>

<stroke

ohos:width=“2vp”
ohos:color=“#FFF5AC17”/>




---


#####     4.2.1.9 background\_edit\_topbut.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“3vp”/>

<stroke

ohos:width=“2vp”
ohos:color=“#FF2E4658”/>




---


#####     4.2.1.10 background\_listcontainer\_item.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“10vp”/>





---


#####     4.2.1.11 background\_people\_listcontainer.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“10vp”/>

<solid

ohos:color=“#48DDDBDB”/>




---


#####     4.2.1.12 background\_searchbutton.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“50vp”/>

<solid

ohos:color=“#4836E5F3”/>




---


#####     4.2.1.13 background\_searchtextfield.xml



<?xml version="1.0" encoding="UTF-8" ?>

<corners

ohos:radius=“50vp”/>

<solid

ohos:color=“#48FDC42E”/>


####    4.2.2 主页面与子布局XML


#####     4.2.2.1 ability\_config.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:config_area_rootdl”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:orientation=“vertical”
ohos:alignment=“horizontal_center”>
<RadioContainer
ohos:id=“$+id:config_radioContainer”
ohos:height=“200vp”
ohos:width=“match_parent”

ohos:margin=“10vp”

ohos:orientation=“vertical”
ohos:alignment=“horizontal_center”>
<RadioButton
ohos:id=“$+id:bottombar_default”
ohos:height=“0”
ohos:weight=“1”
ohos:width=“match_parent”

ohos:text=“底部导航栏:默认配色”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:multiple_lines=“true”
ohos:text_color_on=“#FF0C7F9B”
ohos:text_color_off=“#FFD1C3EA”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / R a d i o B u t t o n > < R a d i o B u t t o n o h o s : i d = " graphic:background\_edit\_addtfd"> </RadioButton> <RadioButton ohos:id=" graphic:background_edit_addtfd"></RadioButton><RadioButtonohos:id="+id:bottombar_dark”
ohos:height=“0”
ohos:weight=“1”
ohos:width=“match_parent”

ohos:text=“底部导航栏:黑暗配色”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color_on=“#FF0C7F9B”
ohos:text_color_off=“#FFD1C3EA”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / R a d i o B u t t o n > < R a d i o B u t t o n o h o s : i d = " graphic:background\_edit\_addtfd"> </RadioButton> <RadioButton ohos:id=" graphic:background_edit_addtfd"></RadioButton><RadioButtonohos:id="+id:bottombar_light”
ohos:height=“0”
ohos:weight=“1”
ohos:width=“match_parent”

ohos:text=“底部导航栏:轻快配色”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color_on=“#FF0C7F9B”
ohos:text_color_off=“#FFD1C3EA”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / R a d i o B u t t o n > < R a d i o B u t t o n o h o s : i d = " graphic:background\_edit\_addtfd"> </RadioButton> <RadioButton ohos:id=" graphic:background_edit_addtfd"></RadioButton><RadioButtonohos:id="+id:bottombar_simple”
ohos:height=“0”
ohos:weight=“1”
ohos:width=“match_parent”

ohos:text=“底部导航栏:简约配色”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color_on=“#FF0C7F9B”
ohos:text_color_off=“#FFD1C3EA”

ohos:background_element=“$graphic:background_edit_addtfd”>





---


#####     4.2.2.2 ability\_config\_topsublayout.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:config_top_sublayout”
ohos:height=“match_parent”
ohos:width=“match_parent”
ohos:top_margin=“5vp”

ohos:left_margin=“20vp”
ohos:right_margin=“20vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Button
ohos:id=“$+id:config_resetbut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:text=“默认”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ t o p b u t " > < / B u t t o n > < B u t t o n o h o s : i d = " graphic:background\_edit\_topbut"> </Button> <Button ohos:id=" graphic:background_edit_topbut"></Button><Buttonohos:id="+id:config_okbut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:left_margin=“20vp”

ohos:text=“应用”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“$graphic:background_edit_topbut”>




---


#####     4.2.2.3 ability\_edit.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:edit_area_rootdl”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:orientation=“vertical”
ohos:alignment=“horizontal_center”>
<DirectionalLayout
ohos:id=“$+id:edit_name_dlyt”
ohos:height=“60vp”
ohos:width=“match_parent”

ohos:margin=“10vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Text
ohos:id=“$+id:edit_nametext”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“3”

ohos:text=“待输入”
ohos:text_alignment=“center”

ohos:multiple_lines=“true”
ohos:auto_font_size=“true”
ohos:text_color=“#FF6D37D2”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d n a m e t e x t " > < / T e x t > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addnametext"> </Text> <TextField ohos:id=" graphic:background_edit_addnametext"></Text><TextFieldohos:id="+id:edit_nametfd”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“7”

ohos:hint=“姓名”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / T e x t F i e l d > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addtfd"> </TextField> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addtfd"></TextField></DirectionalLayout><DirectionalLayoutohos:id="+id:edit_tel_dlyt”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Button
ohos:id=“$+id:edit_addtel_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“+”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d b u t t o n " > < / B u t t o n > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addbutton"> </Button> <TextField ohos:id=" graphic:background_edit_addbutton"></Button><TextFieldohos:id="+id:edit_teltfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“电话”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / T e x t F i e l d > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addtfd"> </TextField> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addtfd"></TextField></DirectionalLayout><DirectionalLayoutohos:id="+id:edit_email_dlyt”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Button
ohos:id=“$+id:edit_addemail_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“+”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d b u t t o n " > < / B u t t o n > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addbutton"> </Button> <TextField ohos:id=" graphic:background_edit_addbutton"></Button><TextFieldohos:id="+id:edit_emailtfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“邮件”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / T e x t F i e l d > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addtfd"> </TextField> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addtfd"></TextField></DirectionalLayout><DirectionalLayoutohos:id="+id:edit_work_dlyt”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Button
ohos:id=“$+id:edit_addwork_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“+”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d b u t t o n " > < / B u t t o n > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addbutton"> </Button> <TextField ohos:id=" graphic:background_edit_addbutton"></Button><TextFieldohos:id="+id:edit_worktfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“工作单位”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / T e x t F i e l d > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addtfd"> </TextField> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addtfd"></TextField></DirectionalLayout><DirectionalLayoutohos:id="+id:edit_address_dlyt”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Button
ohos:id=“$+id:edit_addaddress_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“+”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d b u t t o n " > < / B u t t o n > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addbutton"> </Button> <TextField ohos:id=" graphic:background_edit_addbutton"></Button><TextFieldohos:id="+id:edit_addresstfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“地址”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“$graphic:background_edit_addtfd”>





---


#####     4.2.2.4 ability\_edit\_addresssublayout.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:edit_addressanother_rootdl”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>

<Button

ohos:id=“$+id:edit_addressanother_addaddress_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”>

<TextField
ohos:id=“$+id:edit_addressanother_addresstfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“其他地址”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“$graphic:background_edit_addtfd”>




---


#####     4.2.2.5 ability\_edit\_emailsublayout.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:edit_emailanother_rootdl”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>

<Button

ohos:id=“$+id:edit_emailanother_addemail_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”>

<TextField
ohos:id=“$+id:edit_emailanother_emailtfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“其他邮箱”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“$graphic:background_edit_addtfd”>




---


#####     4.2.2.6 ability\_edit\_telsublayout.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:edit_telanother_rootdl”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>

<Button

ohos:id=“$+id:edit_telanother_addtel_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”>

<TextField
ohos:id=“$+id:edit_telanother_teltfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“座机”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“$graphic:background_edit_addtfd”>




---


#####     4.2.2.7 ability\_edit\_topsublayout.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:edit_top_sublayout”
ohos:height=“match_parent”
ohos:width=“match_parent”
ohos:top_margin=“5vp”

ohos:left_margin=“20vp”
ohos:right_margin=“20vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Button
ohos:id=“$+id:edit_deletebut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:right_margin=“20vp”

ohos:text=“清空”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ t o p b u t " > < / B u t t o n > < B u t t o n o h o s : i d = " graphic:background\_edit\_topbut"> </Button> <Button ohos:id=" graphic:background_edit_topbut"></Button><Buttonohos:id="+id:edit_resetbut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:text=“重置”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ t o p b u t " > < / B u t t o n > < B u t t o n o h o s : i d = " graphic:background\_edit\_topbut"> </Button> <Button ohos:id=" graphic:background_edit_topbut"></Button><Buttonohos:id="+id:edit_okbut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:left_margin=“20vp”

ohos:text=“确认”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“$graphic:background_edit_topbut”>




---


#####     4.2.2.8 ability\_edit\_worksublayout.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:edit_workanother_rootdl”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>

<Button

ohos:id=“$+id:edit_workanother_addwork_but”
ohos:height=“match_parent”
ohos:width=“40vp”

ohos:text=“”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”>

<TextField
ohos:id=“$+id:edit_workanother_worktfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“其他单位”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“$graphic:background_edit_addtfd”>




---


#####     4.2.2.9 ability\_listcontainer\_itemlayout



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“ + i d : i t e m _ r o o t d l " o h o s : h e i g h t = " 35 v p " o h o s : w i d t h = " m a t c h _ p a r e n t " o h o s : o r i e n t a t i o n = " h o r i z o n t a l " o h o s : b a c k g r o u n d _ e l e m e n t = " +id:item\_rootdl" ohos:height="35vp" ohos:width="match\_parent" ohos:orientation="horizontal" ohos:background\_element=" +id:item_rootdl"ohos:height="35vp"ohos:width="match_parent"ohos:orientation="horizontal"ohos:background_element="graphic:background_listcontainer_item”>
<Text
ohos:id=“$+id:item_text”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:text=“测试”
ohos:text_size=“20vp”
ohos:text_alignment=“vertical_center”
ohos:text_color=“black”>




---


#####     4.2.2.10 ability\_main.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:main_rootdl”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:orientation=“vertical”
ohos:alignment=“horizontal_center”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ a b i l i t y _ m a i n " > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_ability\_main"> <DirectionalLayout ohos:id=" graphic:background_ability_main"><DirectionalLayoutohos:id="+id:main_rootdl_ddl1”
ohos:height=“0”
ohos:weight=“0.6”
ohos:width=“match_parent”

ohos:orientation=“vertical”
ohos:alignment=“horizontal_center”>

<DirectionalLayout

ohos:id=“$+id:main_rootdl_ddl2”
ohos:height=“0”
ohos:weight=“8.8”
ohos:width=“match_parent”

ohos:top_margin=“5vp”

ohos:background_element=“$graphic:background_ddl2”>

<DirectionalLayout

ohos:id=“$+id:main_rootdl_ddl3”
ohos:height=“0”
ohos:weight=“0.6”
ohos:width=“match_parent”

ohos:top_margin=“5vp”
ohos:bottom_margin=“5vp”
ohos:left_margin=“45vp”
ohos:right_margin=“45vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ d d l 3 " > < B u t t o n o h o s : i d = " graphic:background\_ddl3"> <Button ohos:id=" graphic:background_ddl3"><Buttonohos:id="+id:ddl3_butpeople”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:margin=“3vp”

ohos:text=“$string:people”
ohos:text_alignment=“center”
ohos:text_size=“25vp”
ohos:text_color=“#FFB35353”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ b o t t o m b u t t o n " > < / B u t t o n > < B u t t o n o h o s : i d = " graphic:background\_bottombutton"> </Button> <Button ohos:id=" graphic:background_bottombutton"></Button><Buttonohos:id="+id:ddl3_butedit”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:margin=“3vp”

ohos:text=“$string:edit”
ohos:text_alignment=“center”
ohos:text_size=“25vp”
ohos:text_color=“#FF1086CA”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ b o t t o m b u t t o n " > < / B u t t o n > < B u t t o n o h o s : i d = " graphic:background\_bottombutton"> </Button> <Button ohos:id=" graphic:background_bottombutton"></Button><Buttonohos:id="+id:ddl3_butconfig”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:margin=“3vp”

ohos:text=“$string:config”
ohos:text_alignment=“center”
ohos:text_size=“25vp”
ohos:text_color=“#FF79086A”

ohos:background_element=“$graphic:background_bottombutton”>





---


#####     4.2.2.11 ability\_people\_listcontainerlayout.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:people_listcontainer_sublayout”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:orientation=“vertical”
ohos:alignment=“horizontal_center”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ p e o p l e _ l i s t c o n t a i n e r " > < L i s t C o n t a i n e r o h o s : i d = " graphic:background\_people\_listcontainer"> <ListContainer ohos:id=" graphic:background_people_listcontainer"><ListContainerohos:id="+id:people_listcontainer”
ohos:height=“match_parent”
ohos:width=“match_parent”
ohos:orientation=“vertical”
ohos:rebound_effect=“true”>




---


#####     4.2.2.12 ability\_persondetail.xml



<?xml version="1.0" encoding="utf-8"?>

<DirectionalLayout
xmlns:ohos=“http://schemas.huawei.com/res/ohos”
ohos:id=“$+id:persondetail_rootdl”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:orientation=“vertical”
ohos:alignment=“horizontal_center”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ a b i l i t y _ m a i n " > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_ability\_main"> <DirectionalLayout ohos:id=" graphic:background_ability_main"><DirectionalLayoutohos:id="+id:persondetail_rootdl_ddl1”
ohos:height=“0”
ohos:weight=“0.6”
ohos:width=“match_parent”

ohos:top_margin=“5vp”

ohos:left_margin=“20vp”
ohos:right_margin=“20vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Button
ohos:id=“$+id:persondetail_backbut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:right_margin=“20vp”

ohos:text=“$string:back”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ t o p b u t " > < / B u t t o n > < B u t t o n o h o s : i d = " graphic:background\_edit\_topbut"> </Button> <Button ohos:id=" graphic:background_edit_topbut"></Button><Buttonohos:id="+id:persondetail_nobut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:text=“取消”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ t o p b u t " > < / B u t t o n > < B u t t o n o h o s : i d = " graphic:background\_edit\_topbut"> </Button> <Button ohos:id=" graphic:background_edit_topbut"></Button><Buttonohos:id="+id:persondetail_okeditbut”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“1”

ohos:left_margin=“20vp”

ohos:text=“编辑”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“#FF0E2A85”

ohos:background_element=“$graphic:background_edit_topbut”>

<DirectionalLayout

ohos:id=“$+id:persondetail_rootdl_ddl2”
ohos:height=“0”
ohos:weight=“8.8”
ohos:width=“match_parent”

ohos:top_margin=“5vp”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ d d l 2 " > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_ddl2"> <DirectionalLayout ohos:id=" graphic:background_ddl2"><DirectionalLayoutohos:id="+id:persondetail_name_dlyt”
ohos:height=“60vp”
ohos:width=“match_parent”

ohos:margin=“10vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Text
ohos:id=“$+id:persondetail_nametext”
ohos:height=“match_parent”
ohos:width=“0”
ohos:weight=“3”

ohos:text=“error”
ohos:text_alignment=“center”

ohos:multiple_lines=“true”
ohos:auto_font_size=“true”
ohos:text_color=“#FF6D37D2”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d n a m e t e x t " > < / T e x t > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addnametext"> </Text> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addnametext"></Text></DirectionalLayout><DirectionalLayoutohos:id="+id:persondetail_tel_dlyt”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Text
ohos:id=“$+id:persondetail_teltext”
ohos:height=“match_parent”
ohos:width=“60vp”

ohos:text=“电话”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d b u t t o n " > < / T e x t > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addbutton"> </Text> <TextField ohos:id=" graphic:background_edit_addbutton"></Text><TextFieldohos:id="+id:persondetail_teltfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“电话”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / T e x t F i e l d > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addtfd"> </TextField> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addtfd"></TextField></DirectionalLayout><DirectionalLayoutohos:id="+id:persondetail_tel_dlyt2”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Text
ohos:id=“$+id:persondetail_teltext2”
ohos:height=“match_parent”
ohos:width=“60vp”

ohos:text=" "
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”>

<TextField
ohos:id=“$+id:persondetail_teltfd2”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“座机”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / T e x t F i e l d > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addtfd"> </TextField> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addtfd"></TextField></DirectionalLayout><DirectionalLayoutohos:id="+id:persondetail_email_dlyt”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Text
ohos:id=“$+id:persondetail_addemail_but”
ohos:height=“match_parent”
ohos:width=“60vp”

ohos:text=“邮件”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d b u t t o n " > < / T e x t > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addbutton"> </Text> <TextField ohos:id=" graphic:background_edit_addbutton"></Text><TextFieldohos:id="+id:persondetail_emailtfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

深知大多数程序员,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!


img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上鸿蒙开发知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化的资料的朋友,可以戳这里获取

t"

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Text
ohos:id=“$+id:persondetail_teltext2”
ohos:height=“match_parent”
ohos:width=“60vp”

ohos:text=" "
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”>

<TextField
ohos:id=“$+id:persondetail_teltfd2”
ohos:height=“match_parent”
ohos:width=“match_parent”

ohos:hint=“座机”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:hint_color=“gray”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d t f d " > < / T e x t F i e l d > < / D i r e c t i o n a l L a y o u t > < D i r e c t i o n a l L a y o u t o h o s : i d = " graphic:background\_edit\_addtfd"> </TextField> </DirectionalLayout> <DirectionalLayout ohos:id=" graphic:background_edit_addtfd"></TextField></DirectionalLayout><DirectionalLayoutohos:id="+id:persondetail_email_dlyt”
ohos:height=“40vp”
ohos:width=“match_parent”

ohos:margin=“5vp”

ohos:orientation=“horizontal”
ohos:alignment=“vertical_center”>
<Text
ohos:id=“$+id:persondetail_addemail_but”
ohos:height=“match_parent”
ohos:width=“60vp”

ohos:text=“邮件”
ohos:text_alignment=“center”
ohos:text_size=“20vp”
ohos:text_color=“green”

ohos:background_element=“ g r a p h i c : b a c k g r o u n d _ e d i t _ a d d b u t t o n " > < / T e x t > < T e x t F i e l d o h o s : i d = " graphic:background\_edit\_addbutton"> </Text> <TextField ohos:id=" graphic:background_edit_addbutton"></Text><TextFieldohos:id="+id:persondetail_emailtfd”
ohos:height=“match_parent”
ohos:width=“match_parent”

深知大多数程序员,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!


[外链图片转存中…(img-975iYN6W-1715816133513)]
[外链图片转存中…(img-XXHYnwkY-1715816133514)]

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上鸿蒙开发知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化的资料的朋友,可以戳这里获取

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值