- 博客(8)
- 资源 (6)
- 收藏
- 关注
转载 解决Android P弹窗问题
Android 9 弹出提示框 在application中 调用private void closeAndroidPDialog(){ try { Class aClass = Class.forName("android.content.pm.PackageParser$Package"); Constructor declaredCo...
2018-12-30 10:33:04 2922
原创 ScrollView嵌套recycle滑动卡顿
package cn.benben.hoola.untils;import android.content.Context;import android.util.AttributeSet;import android.util.Log;import android.view.MotionEvent;import android.view.ViewConfiguration;imp...
2018-12-26 13:48:32 264
转载 关于CoordinatorLayout和ListView滑动冲突的解决
关于CoordinatorLayout和ListView滑动冲突的解决 public class MyListView extends ListView implements NestedScrollingChild{ private final NestedScrollingChildHelper mScrollingChildHelper; public MyListVi...
2018-12-26 11:44:48 992 1
原创 CoordinatorLayout 实现悬浮停靠
<android.support.design.widget.CoordinatorLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/rv_title"> <android.suppo...
2018-12-26 11:04:16 1293
原创 Radingbar 星星控件
布局文件 xml<RatingBar android:id="@+id/iv_shop_pf_shanghupingfen" style="@style/RadingStyle" android:layout_width="wrap_content" android:layout_height="10dp" android:layout_marg...
2018-12-26 10:57:27 129
原创 StringUtil工具类
/* * 文件名: StringUtil.java * * 描 述: 字符串操作工具类 */import android.util.Log;import java.math.BigDecimal;import java.math.RoundingMode;import java.text.DecimalFormat;import java.text.SimpleD...
2018-12-22 16:34:50 574
原创 圆角矩形
<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android"> <!-- 内部颜色 --> <solid android:color="#FF5A5F&q
2018-12-20 14:27:49 695
转载 MapUtil 地图坐标转换
public class MapUtil { //百度转高德 private static double[] bdToGaoDe(double bd_lat, double bd_lon) { double[] gd_lat_lon = new double[2]; double PI = 3.14159265358979324 * 3000....
2018-12-11 11:48:19 404
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人