File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
library/src/main/java/me/imid/swipebacklayout/lib/app Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ buildscript {
3
3
mavenCentral()
4
4
}
5
5
dependencies {
6
- classpath ' com.android.tools.build:gradle:0.9 .+'
6
+ classpath ' com.android.tools.build:gradle:0.12 .+'
7
7
}
8
8
}
9
9
Original file line number Diff line number Diff line change 1
- #
2
- # Sun Aug 11 22:26:53 CST 2013
1
+ # Wed Jul 02 17:20:01 CST 2014
3
2
distributionBase =GRADLE_USER_HOME
4
3
distributionPath =wrapper/dists
5
4
zipStoreBase =GRADLE_USER_HOME
6
5
zipStorePath =wrapper/dists
7
- distributionUrl =http\://services.gradle.org/distributions/gradle-1.6-bin .zip
6
+ distributionUrl =http\://services.gradle.org/distributions/gradle-1.12-all .zip
Original file line number Diff line number Diff line change 2
2
package me .imid .swipebacklayout .lib .app ;
3
3
4
4
import android .app .Activity ;
5
+ import android .graphics .Color ;
5
6
import android .graphics .drawable .ColorDrawable ;
6
7
import android .view .LayoutInflater ;
7
8
import android .view .View ;
@@ -23,7 +24,7 @@ public SwipeBackActivityHelper(Activity activity) {
23
24
24
25
@ SuppressWarnings ("deprecation" )
25
26
public void onActivityCreate () {
26
- mActivity .getWindow ().setBackgroundDrawable (new ColorDrawable (0 ));
27
+ mActivity .getWindow ().setBackgroundDrawable (new ColorDrawable (Color . TRANSPARENT ));
27
28
mActivity .getWindow ().getDecorView ().setBackgroundDrawable (null );
28
29
mSwipeBackLayout = (SwipeBackLayout ) LayoutInflater .from (mActivity ).inflate (
29
30
me .imid .swipebacklayout .lib .R .layout .swipeback_layout , null );
You can’t perform that action at this time.
0 commit comments