Skip to content

Commit 0485c25

Browse files
author
Issac
committed
Update android-plugin version.
1 parent b391f1f commit 0485c25

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:0.9.+'
6+
classpath 'com.android.tools.build:gradle:0.12.+'
77
}
88
}
99

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#
2-
#Sun Aug 11 22:26:53 CST 2013
1+
#Wed Jul 02 17:20:01 CST 2014
32
distributionBase=GRADLE_USER_HOME
43
distributionPath=wrapper/dists
54
zipStoreBase=GRADLE_USER_HOME
65
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

library/src/main/java/me/imid/swipebacklayout/lib/app/SwipeBackActivityHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
package me.imid.swipebacklayout.lib.app;
33

44
import android.app.Activity;
5+
import android.graphics.Color;
56
import android.graphics.drawable.ColorDrawable;
67
import android.view.LayoutInflater;
78
import android.view.View;
@@ -23,7 +24,7 @@ public SwipeBackActivityHelper(Activity activity) {
2324

2425
@SuppressWarnings("deprecation")
2526
public void onActivityCreate() {
26-
mActivity.getWindow().setBackgroundDrawable(new ColorDrawable(0));
27+
mActivity.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
2728
mActivity.getWindow().getDecorView().setBackgroundDrawable(null);
2829
mSwipeBackLayout = (SwipeBackLayout) LayoutInflater.from(mActivity).inflate(
2930
me.imid.swipebacklayout.lib.R.layout.swipeback_layout, null);

0 commit comments

Comments
 (0)