From e04a3f8d46b147432f18b297a13c531c7d80d03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=93=9D=E7=8E=89=E8=B4=B5?= Date: Tue, 16 Oct 2018 13:47:53 +0800 Subject: [PATCH] update build version --- app/build.gradle | 2 +- .../blurdialog/sample/SampleDialogFragment.java | 2 +- app/src/main/res/layout/activity_main.xml | 12 ++++++++++-- app/src/main/res/layout/bottom_dialog_layout.xml | 4 ++-- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 68cb5ba..b87271a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,7 +25,7 @@ dependencies { androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - implementation 'com.github.lany192:Box:2.4.3' + implementation 'com.github.lany192:Box:2.4.4' implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' testImplementation 'junit:junit:4.12' diff --git a/app/src/main/java/com/github/lany192/blurdialog/sample/SampleDialogFragment.java b/app/src/main/java/com/github/lany192/blurdialog/sample/SampleDialogFragment.java index 8b0cac1..adfe123 100644 --- a/app/src/main/java/com/github/lany192/blurdialog/sample/SampleDialogFragment.java +++ b/app/src/main/java/com/github/lany192/blurdialog/sample/SampleDialogFragment.java @@ -20,7 +20,7 @@ public Dialog onCreateDialog(Bundle savedInstanceState) { AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); builder.setTitle("Blur dialog"); builder.setMessage("Do you know?"); - builder.setIcon(R.mipmap.ic_launcher); + builder.setIcon(R.drawable.android); builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { @Override diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 2f0640f..3494de7 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -6,16 +6,24 @@ android:orientation="vertical" tools:context="com.github.lany192.blurdialog.sample.MainActivity"> -