Skip to content

Commit

Permalink
修复Dialog的Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeKing committed Mar 2, 2016
1 parent b9bae3d commit 3f8a6f5
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 33 deletions.
3 changes: 0 additions & 3 deletions .idea/dictionaries/wangchenlong.xml

This file was deleted.

1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 6 additions & 14 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ private void showMissingPermissionDialog() {
}
});

builder.setCancelable(false);

builder.show();
}

Expand Down
18 changes: 9 additions & 9 deletions app/src/main/res/layout/activity_permissions.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView android:id="@+id/image"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:adjustViewBounds="true"
android:contentDescription="@null"
android:src="@drawable/ic_mic_off"
android:tint="@color/colorAccent"/>
<View
android:id="@+id/image"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="#88888888"
android:contentDescription="@null"/>

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha7'
classpath 'com.android.tools.build:gradle:2.0.0-beta5'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 3f8a6f5

Please sign in to comment.