Skip to content

Commit

Permalink
update build version
Browse files Browse the repository at this point in the history
  • Loading branch information
lany192 committed Oct 16, 2018
1 parent 8c24e26 commit e04a3f8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 10 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@
android:orientation="vertical"
tools:context="com.github.lany192.blurdialog.sample.MainActivity">

<Button
<TextView
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@drawable/btn_black_style"
android:padding="8dp"
android:textColor="@android:color/white"
android:text="show blur dialog" />

<Button
<TextView
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@drawable/btn_black_style"
android:padding="8dp"
android:textColor="@android:color/white"
android:text="show bottom dialog" />

<ImageView
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/bottom_dialog_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
android:id="@+id/button3"
android:layout_width="match_parent"
android:layout_marginTop="8dp"
android:background="@android:color/black"
android:background="@drawable/btn_black_style"
android:text="@android:string/ok"
android:layout_height="wrap_content"
android:textColor="@android:color/white" />
Expand All @@ -26,7 +26,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:background="@android:color/black"
android:background="@drawable/btn_green_style"
android:text="@android:string/cancel"
android:textColor="@android:color/white" />
</LinearLayout>

0 comments on commit e04a3f8

Please sign in to comment.