iis服务器助手广告广告
返回顶部
首页 > 资讯 > 移动开发 >Android App中自定义View视图的实例教程
  • 947
分享到

Android App中自定义View视图的实例教程

view自定义viewapp教程Android 2022-06-06 08:06:38 947人浏览 八月长安
摘要

一、基础 很多的Android入门程序猿来说对于Android自定义View,可能都是比较恐惧的,但是这又是高手进阶的必经之路,所有准备在自定义View上面花一些功夫,多写一些

一、基础
很多的Android入门程序猿来说对于Android自定义View,可能都是比较恐惧的,但是这又是高手进阶的必经之路,所有准备在自定义View上面花一些功夫,多写一些文章。先总结下自定义View的步骤:
1、自定义View的属性
2、在View的构造方法中获得我们自定义的属性
3、重写onMesure
4、重写onDraw
我把3用[]标出了,所以说3不一定是必须的,当然了大部分情况下还是需要重写的。

1、自定义View的属性,首先在res/values/  下建立一个attrs.xml , 在里面定义我们的属性和声明我们的整个样式。
 


<?xml version="1.0" encoding="utf-8"?> 
<resources> 
  <attr name="titleText" fORMat="string" /> 
  <attr name="titleTextColor" format="color" /> 
  <attr name="titleTextSize" format="dimension" /> 
  <declare-styleable name="CustomTitleView"> 
    <attr name="titleText" /> 
    <attr name="titleTextColor" /> 
    <attr name="titleTextSize" /> 
  </declare-styleable> 
</resources> 


我们定义了字体,字体颜色,字体大小3个属性,format是值该属性的取值类型:
一共有:string,color,demension,integer,enum,reference,float,boolean,fraction,flag;不清楚的可以Google一把。
然后在布局中声明我们的自定义View


<RelativeLayout xmlns:android="Http://schemas.android.com/apk/res/android" 
  xmlns:tools="http://schemas.android.com/tools" 
  xmlns:custom="http://schemas.android.com/apk/res/com.example.customview01" 
  android:layout_width="match_parent" 
  android:layout_height="match_parent" > 
  <com.example.customview01.view.CustomTitleView 
    android:layout_width="200dp" 
    android:layout_height="100dp" 
    custom:titleText="3712" 
    custom:titleTextColor="#ff0000" 
    custom:titleTextSize="40sp" /> 
</RelativeLayout> 

一定要引入 xmlns:custom="http://schemas.android.com/apk/res/com.example.customview01"我们的命名空间,后面的包路径指的是项目的package

2、在View的构造方法中,获得我们的自定义的样式 


 
  private String mTitleText; 
   
  private int mTitleTextColor; 
   
  private int mTitleTextSize; 
   
  private Rect mBound; 
  private Paint mPaint; 
  public CustomTitleView(Context context, AttributeSet attrs) 
  { 
    this(context, attrs, 0); 
  } 
  public CustomTitleView(Context context) 
  { 
    this(context, null); 
  } 
   
  public CustomTitleView(Context context, AttributeSet attrs, int defStyle) 
  { 
    super(context, attrs, defStyle); 
     
    TypedArray a = context.getTheme().obtainStyledAttributes(attrs, R.styleable.CustomTitleView, defStyle, 0); 
    int n = a.getIndexCount(); 
    for (int i = 0; i < n; i++) 
    { 
      int attr = a.getIndex(i); 
      switch (attr) 
      { 
      case R.styleable.CustomTitleView_titleText: 
        mTitleText = a.getString(attr); 
        break; 
      case R.styleable.CustomTitleView_titleTextColor: 
        // 默认颜色设置为黑色 
        mTitleTextColor = a.getColor(attr, Color.BLACK); 
        break; 
      case R.styleable.CustomTitleView_titleTextSize: 
        // 默认设置为16sp,TypeValue也可以把sp转化为px 
        mTitleTextSize = a.getDimensionPixelSize(attr, (int) TypedValue.applyDimension( 
            TypedValue.COMPLEX_UNIT_SP, 16, getResources().getDisplayMetrics())); 
        break; 
      } 
    } 
    a.recycle(); 
     
    mPaint = new Paint(); 
    mPaint.setTextSize(mTitleTextSize); 
    // mPaint.setColor(mTitleTextColor); 
    mBound = new Rect(); 
    mPaint.getTextBounds(mTitleText, 0, mTitleText.length(), mBound); 
  } 

我们重写了3个构造方法,默认的布局文件调用的是两个参数的构造方法,所以记得让所有的构造调用我们的三个参数的构造,我们在三个参数的构造中获得自定义属性。
3、我们重写onDraw,onMesure调用系统提供的: 


@Override 
  protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) 
  { 
    super.onMeasure(widthMeasureSpec, heightMeasureSpec); 
  } 
  @Override 
  protected void onDraw(canvas canvas) 
  { 
    mPaint.setColor(Color.YELLOW); 
    canvas.drawRect(0, 0, getMeasuredWidth(), getMeasuredHeight(), mPaint); 
    mPaint.setColor(mTitleTextColor); 
    canvas.drawText(mTitleText, getWidth() / 2 - mBound.width() / 2, getHeight() / 2 + mBound.height() / 2, mPaint); 
  } 

此时的效果是:

2016426144707639.jpg (443×404)

是不是觉得还不错,基本已经实现了自定义View。但是此时如果我们把布局文件的宽和高写成wrap_content,会发现效果并不是我们的预期:

2016426144731947.jpg (437×663)

系统帮我们测量的高度和宽度都是MATCH_PARNET,当我们设置明确的宽度和高度时,系统帮我们测量的结果就是我们设置的结果,当我们设置为WRAP_CONTENT,或者MATCH_PARENT系统帮我们测量的结果就是MATCH_PARENT的长度。
所以,当设置了WRAP_CONTENT时,我们需要自己进行测量,即重写onMesure方法”:
重写之前先了解MeasureSpec的specMode,一共三种类型:
EXACTLY:一般是设置了明确的值或者是MATCH_PARENT
AT_MOST:表示子布局限制在一个最大值内,一般为WARP_CONTENT
UNSPECIFIED:表示子布局想要多大就多大,很少使用
下面是我们重写onMeasure代码:


@Override 
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) 
{ 
  int widthMode = MeasureSpec.getMode(widthMeasureSpec); 
  int widthSize = MeasureSpec.getSize(widthMeasureSpec); 
  int heightMode = MeasureSpec.getMode(heightMeasureSpec); 
  int heightSize = MeasureSpec.getSize(heightMeasureSpec); 
  int width; 
  int height ; 
  if (widthMode == MeasureSpec.EXACTLY) 
  { 
    width = widthSize; 
  } else 
  { 
    mPaint.setTextSize(mTitleTextSize); 
    mPaint.getTextBounds(mTitle, 0, mTitle.length(), mBounds); 
    float textWidth = mBounds.width(); 
    int desired = (int) (getPaddingLeft() + textWidth + getPaddingRight()); 
    width = desired; 
  } 
  if (heightMode == MeasureSpec.EXACTLY) 
  { 
    height = heightSize; 
  } else 
  { 
    mPaint.setTextSize(mTitleTextSize); 
    mPaint.getTextBounds(mTitle, 0, mTitle.length(), mBounds); 
    float textHeight = mBounds.height(); 
    int desired = (int) (getPaddingTop() + textHeight + getPaddingBottom()); 
    height = desired; 
  } 
  setMeasuredDimension(width, height); 
} 

现在我们修改下布局文件:


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
  xmlns:tools="http://schemas.android.com/tools" 
  xmlns:custom="http://schemas.android.com/apk/res/com.example.customview01" 
  android:layout_width="match_parent" 
  android:layout_height="match_parent" > 
  <com.example.customview01.view.CustomTitleView 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    custom:titleText="3712" 
    android:padding="10dp" 
    custom:titleTextColor="#ff0000" 
    android:layout_centerInParent="true" 
    custom:titleTextSize="40sp" /> 
</RelativeLayout> 

现在的效果是:

2016426144806075.jpg (436×678)

完全复合我们的预期,现在我们可以对高度、宽度进行随便的设置了,基本可以满足我们的需求。
当然了,这样下来我们这个自定义View与TextView相比岂不是没什么优势,所有我们觉得给自定义View添加一个事件:
在构造中添加:


this.setOnClickListener(new OnClickListener() 
    { 
      @Override 
      public void onClick(View v) 
      { 
        mTitleText = randomText(); 
        postInvalidate(); 
      } 
    }); 
private String randomText() 
  { 
    Random random = new Random(); 
    Set<Integer> set = new HashSet<Integer>(); 
    while (set.size() < 4) 
    { 
      int randomInt = random.nextInt(10); 
      set.add(randomInt); 
    } 
    StringBuffer sb = new StringBuffer(); 
    for (Integer i : set) 
    { 
      sb.append("" + i); 
    } 
    return sb.toString(); 
  } 

下面再来运行:

2016426144834673.gif (429×638)

我们添加了一个点击事件,每次让它随机生成一个4位的随机数,有兴趣的可以在onDraw中添加一点噪点,然后改写为验证码,是不是感觉很不错。

进阶

前面已经介绍过一个自定义View的基础的例子,下面给大家带来一个稍微复杂点的例子。
自定义View显示一张图片,下面包含图片的文本介绍,类似相片介绍什么的,不过不重要,主要是学习自定义View的用法么。
直接切入正题:
1、在res/values/attr.xml
 


<?xml version="1.0" encoding="utf-8"?> 
<resources> 
  <attr name="titleText" format="string" /> 
  <attr name="titleTextSize" format="dimension" /> 
  <attr name="titleTextColor" format="color" /> 
  <attr name="image" format="reference" /> 
  <attr name="imageScaleType"> 
    <enum name="fillXY" value="0" /> 
    <enum name="center" value="1" /> 
  </attr> 
  <declare-styleable name="CustomImageView"> 
    <attr name="titleText" /> 
    <attr name="titleTextSize" /> 
    <attr name="titleTextColor" /> 
    <attr name="image" /> 
    <attr name="imageScaleType" /> 
  </declare-styleable> 
</resources> 

2、在构造中获得我们的自定义属性:


 
  public CustomImageView(Context context, AttributeSet attrs, int defStyle) 
  { 
    super(context, attrs, defStyle); 
    TypedArray a = context.getTheme().obtainStyledAttributes(attrs, R.styleable.CustomImageView, defStyle, 0); 
    int n = a.getIndexCount(); 
    for (int i = 0; i < n; i++) 
    { 
      int attr = a.getIndex(i); 
      switch (attr) 
      { 
      case R.styleable.CustomImageView_image: 
        mImage = BitmapFactory.decodeResource(getResources(), a.getResourceId(attr, 0)); 
        break; 
      case R.styleable.CustomImageView_imageScaleType: 
        mImageScale = a.getInt(attr, 0); 
        break; 
      case R.styleable.CustomImageView_titleText: 
        mTitle = a.getString(attr); 
        break; 
      case R.styleable.CustomImageView_titleTextColor: 
        mTextColor = a.getColor(attr, Color.BLACK); 
        break; 
      case R.styleable.CustomImageView_titleTextSize: 
        mTextSize = a.getDimensionPixelSize(attr, (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 
            16, getResources().getDisplayMetrics())); 
        break; 
      } 
    } 
    a.recycle(); 
    rect = new Rect(); 
    mPaint = new Paint(); 
    mTextBound = new Rect(); 
    mPaint.setTextSize(mTextSize); 
    // 计算了描绘字体需要的范围 
    mPaint.getTextBounds(mTitle, 0, mTitle.length(), mTextBound); 
  } 

3、重写onMeasure


@Override 
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) 
{ 
  // super.onMeasure(widthMeasureSpec, heightMeasureSpec); 
   
  int specMode = MeasureSpec.getMode(widthMeasureSpec); 
  int specSize = MeasureSpec.getSize(widthMeasureSpec); 
  if (specMode == MeasureSpec.EXACTLY)// match_parent , accurate 
  { 
    Log.e("xxx", "EXACTLY"); 
    mWidth = specSize; 
  } else 
  { 
    // 由图片决定的宽 
    int desireByImg = getPaddingLeft() + getPaddingRight() + mImage.getWidth(); 
    // 由字体决定的宽 
    int desireByTitle = getPaddingLeft() + getPaddingRight() + mTextBound.width(); 
    if (specMode == MeasureSpec.AT_MOST)// wrap_content 
    { 
      int desire = Math.max(desireByImg, desireByTitle); 
      mWidth = Math.min(desire, specSize); 
      Log.e("xxx", "AT_MOST"); 
    } 
  } 
   
  specMode = MeasureSpec.getMode(heightMeasureSpec); 
  specSize = MeasureSpec.getSize(heightMeasureSpec); 
  if (specMode == MeasureSpec.EXACTLY)// match_parent , accurate 
  { 
    mHeight = specSize; 
  } else 
  { 
    int desire = getPaddingTop() + getPaddingBottom() + mImage.getHeight() + mTextBound.height(); 
    if (specMode == MeasureSpec.AT_MOST)// wrap_content 
    { 
      mHeight = Math.min(desire, specSize); 
    } 
  } 
  setMeasuredDimension(mWidth, mHeight); 
} 

4、重写onDraw


@Override 
  protected void onDraw(Canvas canvas) 
  { 
    // super.onDraw(canvas); 
     
    mPaint.setStrokeWidth(4); 
    mPaint.setStyle(Paint.Style.STROKE); 
    mPaint.setColor(Color.CYAN); 
    canvas.drawRect(0, 0, getMeasuredWidth(), getMeasuredHeight(), mPaint); 
    rect.left = getPaddingLeft(); 
    rect.right = mWidth - getPaddingRight(); 
    rect.top = getPaddingTop(); 
    rect.bottom = mHeight - getPaddingBottom(); 
    mPaint.setColor(mTextColor); 
    mPaint.setStyle(Style.FILL); 
     
    if (mTextBound.width() > mWidth) 
    { 
      TextPaint paint = new TextPaint(mPaint); 
      String msg = TextUtils.ellipsize(mTitle, paint, (float) mWidth - getPaddingLeft() - getPaddingRight(), 
          TextUtils.TruncateAt.END).toString(); 
      canvas.drawText(msg, getPaddingLeft(), mHeight - getPaddingBottom(), mPaint); 
    } else 
    { 
      //正常情况,将字体居中 
      canvas.drawText(mTitle, mWidth / 2 - mTextBound.width() * 1.0f / 2, mHeight - getPaddingBottom(), mPaint); 
    } 
    //取消使用掉的快 
    rect.bottom -= mTextBound.height(); 
    if (mImageScale == IMAGE_SCALE_FITXY) 
    { 
      canvas.drawBitmap(mImage, null, rect, mPaint); 
    } else 
    { 
      //计算居中的矩形范围 
      rect.left = mWidth / 2 - mImage.getWidth() / 2; 
      rect.right = mWidth / 2 + mImage.getWidth() / 2; 
      rect.top = (mHeight - mTextBound.height()) / 2 - mImage.getHeight() / 2; 
      rect.bottom = (mHeight - mTextBound.height()) / 2 + mImage.getHeight() / 2; 
      canvas.drawBitmap(mImage, null, rect, mPaint); 
    } 
  } 

代码,结合注释和基础部分View的使用,应该可以看懂,不明白的留言。下面我们引入我们的自定义View:


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
  xmlns:tools="http://schemas.android.com/tools" 
  xmlns:zhy="http://schemas.android.com/apk/res/com.zhy.customview02" 
  android:layout_width="match_parent" 
  android:layout_height="match_parent" 
  android:orientation="vertical" > 
  <com.zhy.customview02.view.CustomImageView 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_margin="10dp" 
    android:padding="10dp" 
    zhy:image="@drawable/ic_launcher" 
    zhy:imageScaleType="center" 
    zhy:titleText="hello andorid ! " 
    zhy:titleTextColor="#ff0000" 
    zhy:titleTextSize="30sp" /> 
  <com.zhy.customview02.view.CustomImageView 
    android:layout_width="100dp" 
    android:layout_height="wrap_content" 
    android:layout_margin="10dp" 
    android:padding="10dp" 
    zhy:image="@drawable/ic_launcher" 
    zhy:imageScaleType="center" 
    zhy:titleText="helloworldwelcome" 
    zhy:titleTextColor="#00ff00" 
    zhy:titleTextSize="20sp" /> 
  <com.zhy.customview02.view.CustomImageView 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_margin="10dp" 
    android:padding="10dp" 
    zhy:image="@drawable/lmj" 
    zhy:imageScaleType="center" 
    zhy:titleText="妹子~" 
    zhy:titleTextColor="#ff0000" 
    zhy:titleTextSize="12sp" /> 
</LinearLayout> 

我特意让显示出现3中情况:
1、字体的宽度大于图片,且View宽度设置为wrap_content
2、View宽度设置为精确值,字体的长度大于此宽度
3、图片的宽度大于字体,且View宽度设置为wrap_content
看看显示效果:

2016426145053519.jpg (441×676)

怎么样,对于这三种情况所展示的效果都还不错吧。

您可能感兴趣的文章:4种Android获取View宽高的方式Android获取屏幕或View宽度和高度的方法Android ImageView 固定宽高比例的实现方法Android 获得View宽高的几种方式总结Android中RecyclerView的item宽高问题详解Android开发之自定义View(视图)用法详解Android视图控件架构分析之View、ViewGroupAndroid视图的绘制流程(上) View的测量Android开发中获取View视图宽与高的常用方法小结


--结束END--

本文标题: Android App中自定义View视图的实例教程

本文链接: https://www.lsjlt.com/news/25185.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • Android自定义View实现心形图案
    本文实例为大家分享了Android自定义View实现心形的具体代码,供大家参考,具体内容如下 通过继承View实现的❤形 在绘制心形需要Path类中的两个重要方法分别...
    99+
    2024-04-02
  • Android自定义视图中图片的处理
    目录1.使用Drawable对象2.Bitmap和BitmapFactory2.1 例子2.2 额外知识点(assets)2.3 代码更严谨3.Android9新增的ImageDec...
    99+
    2024-04-02
  • 自定义视图view的折线图使用讲解
    目录一、如何绘制X和Y轴。1、我们来分析下,我们想知道三个坐标,那么这三个坐标是多少呢,我们该怎么计算呢? 答:这里,我是在onSizeChanged()方法中获取到了父类控件的宽度...
    99+
    2023-05-14
    自定义视图 自定义view 自定义view折线图
  • 自定义视图view的折线图怎么使用
    这篇文章主要讲解了“自定义视图view的折线图怎么使用”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“自定义视图view的折线图怎么使用”吧!绘制折线图预览图绘制这个折线图需要都需要哪些步骤?...
    99+
    2023-07-05
  • Android如何实现自定义View中attrs.xml
    这篇文章主要为大家展示了“Android如何实现自定义View中attrs.xml”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“Android如何实现自定义View中attrs.xml”这篇文章...
    99+
    2023-05-30
    android view attrs.xml
  • Android自定义View实现APP启动页倒计时效果
    Android自定义View实现APP启动页倒计时效果,供大家参考,具体内容如下 之前也是做过APP启动页的倒计时效果,但是只有文字变化,没有动画效果,这次通过使用自定义View控件...
    99+
    2024-04-02
  • Android MPChart自定义睡眠泳道图教程示例
    目录声明SleepItemEntrySleepBufferSleepRender声明 本文MPChart 代表的就是 MPAndroidChart。 本章节继续上次的自定义绘制,不...
    99+
    2022-12-09
    Android MPChart睡眠泳道图 Android MPChart
  • Android自定义View之渐变色折线图的实现
    目录前言如何实现总结前言 在之前的项目中,有做过一个需求,需要实现一个颜色渐变的折线图。当时项目中使用的图表库是MPAndroidChart,但是该库没有提供合适的方法来实现想要的效...
    99+
    2024-04-02
  • 自定义视图View绘图基础之Path的使用
    目录使用Path绘制线一、我们这里绘制了7条线来分别介绍上面的几种子类都有什么用二、不难看出其中每条线的属性和样式不一样,我在上面有 了很详细的讲解。三、xxxTo()方法绘制(本章...
    99+
    2023-05-14
    自定义视图 自定义View 自定义视图 Path使用
  • 自定义视图view怎么实现环形进度条
    这篇文章主要介绍“自定义视图view怎么实现环形进度条”,在日常操作中,相信很多人在自定义视图view怎么实现环形进度条问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”自定义视图view怎么实现环形进度条”的疑...
    99+
    2023-07-05
  • Android自定义View实现天气预报折线图
    本文实例为大家分享了Android自定义View画天气预报折线图的具体代码,供大家参考,具体内容如下 效果图如下: 刚开始尝试用第三方画曲线的框架来画效果图,后来发现曲线间的阴影当...
    99+
    2024-04-02
  • Android自定义view之3D正方体效果实例
    目录前言一、小提二、将传感器改成事件分发机制三、使用四、源码总结前言 在之前写了一篇关于3D效果的文章,借助传感器展示,有小伙伴问可不可以改成手势滑动操作(事件分发),所以出一篇文...
    99+
    2024-04-02
  • Android自定义一个view ViewRootImpl绘制流程示例
    目录Android如何自定义一个view ViewRootImpl绘制流程1、自定义属性2、在res/layout/activity_main.xml文件里使用自定义view3、构造...
    99+
    2024-04-02
  • Android自定义view实现雪花特效实例代码
    目录一、前言二、创意名三、效果展示四、实现步骤五、编码实现总结一、前言 这个冬天,老家一直没有下雨, 正好圣诞节,就想着制作一个下雪的特效。 圣诞祝福:平安夜,舞翩阡。雪花飘,飞满天...
    99+
    2022-12-28
    android实现雪花特效 android雪花特效 android自定义view
  • 怎么自定义View视图的属性及引用
    今天小编给大家分享一下怎么自定义View视图的属性及引用的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。一、创建一个类,继承V...
    99+
    2023-07-05
  • Android自定义View播放Gif动画的示例
    前言GIF是一种很常见的动态图片格式,在Android中它的使用场景非常多,大到启动页动画、小到一个Loading展示,都可以用GIF动画来完成,使用也很方便,直接从美工那边拿过来用就成。如果项目赶时间或者自定义原生动画太麻烦,GIF都是一...
    99+
    2023-05-30
    android 播放 gif
  • 图文详解自定义View视图的属性及引用
    目录一、创建一个类,继承View二、如何创建自定义属性呢?2-1:创建一个资源文件2-2:打开我们创建好的资源文件,来写我们需要的属性,我简单的写了两个,如图:三、如何引用我们的自定...
    99+
    2023-05-14
    自定义View 自定义视图 View属性引用
  • Android中怎么通过自定义view实现动态柱状图
    这篇文章将为大家详细讲解有关Android中怎么通过自定义view实现动态柱状图,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。自定义viewpublic class Hi...
    99+
    2023-05-30
    android view
  • Android怎么自定义View实现渐变色折线图
    这篇文章主要介绍“Android怎么自定义View实现渐变色折线图”,在日常操作中,相信很多人在Android怎么自定义View实现渐变色折线图问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Android怎么...
    99+
    2023-06-30
  • create-react-app常用自定义配置教程示例
    目录引言yarn安装依赖包报错IE10下报错, Map 未定义webpack添加 alias解决跨域,反向代理配置项目主要文件路径配置关闭自动开启浏览器配置修改 webpack ou...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作