自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 Android 使用广播发送消息

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

2020-12-16 16:02:35 729

原创 Android MPAndroidChart柱形图2

1.先导入依赖allprojects { repositories { google() jcenter() maven { url "https://jitpack.io" } }}dependencies { ...... implementation 'com.github.PhilJay:MPAndroidChart:v3.0.2'}2.布局文件<?xml version="1.0..

2020-12-04 17:22:33 428

原创 Android 快速实现夜间模式

1.让应用继承DayNight主题<resources> <style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrima..

2020-12-02 14:15:59 668 1

原创 Android 扩大按钮的点击范围

public static void setTouchDelegate(final View view, final int expandTouchWidth) { final View parentView = (View) view.getParent(); parentView.post(new Runnable() { @Override public void run() { ...

2020-12-02 11:32:19 1080

空空如也

空空如也

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

TA关注的人

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