Android
文章平均质量分 54
congcong、
写博客是为了记录一下,以后再遇到可以翻看一下。
展开
-
flutter学习之控件的使用
控件学习原创 2022-08-13 13:48:05 · 653 阅读 · 1 评论 -
flutter是什么
flutter介绍原创 2022-08-13 11:09:21 · 427 阅读 · 0 评论 -
flutter windows环境配置win10
fluter环境配置原创 2022-08-13 08:42:44 · 1357 阅读 · 0 评论 -
flutter dio 网络封装。记录
跨平台网络请求原创 2022-08-11 20:05:47 · 900 阅读 · 0 评论 -
Android开发shape渐变阴影
<?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android"><!-- 边--> <item> <shape android:shape="rectangle"> <padding androi.原创 2022-04-25 12:45:53 · 2067 阅读 · 0 评论 -
Android设置状态栏颜色,沉浸式状态栏 fllutter Android设置沉浸式状态栏
沉浸式狀態欄Android原创 2022-03-15 11:15:30 · 3654 阅读 · 1 评论 -
对于mvc,mvp(结合retrofit,rxjava),mvvm(结合databinding)的理解结合
写一些自己的理解原创 2022-03-05 11:20:44 · 2294 阅读 · 0 评论 -
安卓自定义进度条,自定义圆形进度条
自定义view实现进度条import android.annotation.SuppressLint;import android.content.Context;import android.content.res.TypedArray;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint;import android.graphics.Rect;imp...原创 2022-02-18 10:59:14 · 1217 阅读 · 0 评论 -
Android开发TextvView实现镂空字体效果
记录一下...自定义TextViewpublic class HollowTextView extends AppCompatTextView { private Paint mTextPaint, mBackgroundPaint; private Bitmap mBackgroundBitmap,mTextBitmap; private Canvas mBackgroundCanvas,mTextCanvas; private RectF mBackgrou..原创 2020-10-28 13:26:32 · 1097 阅读 · 5 评论 -
AS 打包jar 报Cannot expand ZIP*******classes.jar as it does not exist
记录一下吧> Task :***********:copyJar FAILEDFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':*********:copyJar'.> Cannot expand ZIP 'E:\*****\*****\*****\*****\*****\build\intermediates\bundles\release\classes原创 2020-07-21 11:12:54 · 740 阅读 · 0 评论 -
kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7 instead
一个是jre7一个是jdk当时对比了半天一直觉得没错,jre这个已经过时改成下面jdk7就行了,记录一下,去改下一个bug了将implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"改为implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"...原创 2020-07-06 14:49:33 · 480 阅读 · 0 评论 -
The SourceSet ‘instrumentTest‘ is not recognized by the Android Gradle Plugin
遇见nci这个错,今天要记录一下在app的build.gradle中将instrumentTest改成androidTest版本高于3.0貌似会报这个错原创 2020-07-02 14:51:32 · 166 阅读 · 0 评论 -
All flavors must now belong to a named flavor dimension
在app的build.gradle中添加flavorDimensions "default"原创 2020-07-02 14:48:40 · 171 阅读 · 0 评论 -
Android开发长连接tcp/IP,soket通讯
附上demo连接:https://download.csdn.net/download/congcongguniang/12067740原创 2019-12-31 10:56:38 · 383 阅读 · 0 评论 -
Android开发ScrollView嵌套ViewPager,ViewPager嵌套RecyclerView根据RecyclerView动态设置ViewPager高度好看ViewPager指示器gif
视频效果xml代码<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_hei...原创 2019-12-31 09:18:40 · 859 阅读 · 0 评论 -
Android开发PopupWindow的使用,PopupWindow 的基本使用,参数介绍,PopupWindow 如何显示
控件.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showPopupWindow(v); int[] location = new int[2]; v.getLocationOnScreen(locat...原创 2018-12-18 15:19:16 · 524 阅读 · 0 评论 -
RecyclerView的使用RecyclerView怎么配置RecyclerView实现gridview
导入RecyclerView框架先在 build.gradle(Project:XXXX) 的 repositories 添加:allprojects { repositories { ... maven { url "https://jitpack.io" } } }然后在 build.gra...原创 2018-12-19 16:41:20 · 596 阅读 · 0 评论 -
Android开发TimePicker弹窗,如何默认显示当前时间的前一小时
Calendar c = Calendar.getInstance();int i = c.get(Calendar.HOUR_OF_DAY)-1;mTimePicker.setCurrentHour(i);原创 2018-09-26 14:17:20 · 1336 阅读 · 0 评论