Browse Source

0.0.41.beta1

kongzue 3 years ago
parent
commit
fce243d7cc

+ 2 - 2
DialogX/src/main/java/com/kongzue/dialogx/util/views/BlurView.java

@@ -356,7 +356,7 @@ public class BlurView extends View {
     
     @Override
     public void draw(Canvas canvas) {
-        if (!useBlur) {
+        if (!useBlur || !supportRenderScript) {
             mRectF.right = getWidth();
             mRectF.bottom = getHeight();
             overlayPaint.setColor((supportRenderScript && useBlur) ? mOverlayColor : removeAlphaColor(mOverlayColor));
@@ -494,7 +494,7 @@ public class BlurView extends View {
         }.start();
     }
     
-    public static boolean DEBUGMODE = false;
+    public static boolean DEBUGMODE = true;
     
     static boolean isDebug() {
         return DEBUGMODE && DialogX.DEBUGMODE;

+ 2 - 3
DialogX/src/main/java/com/kongzue/dialogx/util/views/BottomDialogListView.java

@@ -46,14 +46,13 @@ public class BottomDialogListView extends ListView {
     public BottomDialogListView(BottomDialog.DialogImpl dialog, Context context) {
         super(context);
         dialogImpl = dialog;
+        setVerticalScrollBarEnabled(false);
     }
     
     @Override
     protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
         int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST);
-        super.onMeasure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(dip2px(55) * size + size, MeasureSpec.EXACTLY));
-        
-        //super.onMeasure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(expandSpec, MeasureSpec.AT_MOST));
+        super.onMeasure(widthMeasureSpec, expandSpec);
     }
     
     private int dip2px(float dpValue) {

+ 2 - 2
app/release/output-metadata.json

@@ -10,8 +10,8 @@
     {
       "type": "SINGLE",
       "filters": [],
-      "versionCode": 39,
-      "versionName": "0.0.40.beta11",
+      "versionCode": 40,
+      "versionName": "0.0.40",
       "outputFile": "app-release.apk"
     }
   ]

+ 1 - 1
gradle.properties

@@ -18,5 +18,5 @@ android.useAndroidX=true
 # Automatically convert third-party libraries to use AndroidX
 android.enableJetifier=true
 
-BUILD_VERSION=0.0.40
+BUILD_VERSION=0.0.41.beta1
 BUILD_VERSION_INT=40