自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 问答 (1)
  • 收藏
  • 关注

原创 Service的使用

<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="m.

2021-08-04 21:50:12 151 1

原创 网络加载页面使用

首先添加网络权限 <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 其中还得添加 <application android:usesCleartextTraffic="true" </application&g

2021-07-31 21:37:12 147

原创 霓虹灯的效果

<?xml version="1.0" encoding="utf-8"?> <FrameLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <!-- 依次.

2021-07-30 15:51:49 152

原创 跟随手指的小球

package com.example.shangqiuju.myapplication; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.view.View; /** * 自定义组件 * Created by shangqiuju on 2021/7/30. */ public class DrawView extends.

2021-07-30 14:45:20 162

原创 Glide总结

2021-07-28 23:00:37 88

原创 Glide

首先在bulid.gradle添加 implementation 'com.github.bumptech.glide:glide:4.8.0' 然后gradle.properties添加 android.useAndroidX=true android.enableJetifier=true 布局 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:app="http://schemas.and..

2021-07-28 22:51:24 1301

原创 ListView两种适配器的使用,ArrayAdapter与SimpleAdapter

<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="m.

2021-07-18 23:41:47 241

原创 逐帧动画的使用

1.在drawable中创建一个loading.xml <?xml version="1.0" encoding="utf-8"?> <animation-list android:oneshot="true" xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/one" android:duration="100"/

2021-07-14 16:41:41 218

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除