Skip to content

Commit 542f090

Browse files
committed
update buildToolsVersion to 23.0.1
1 parent 7604d9d commit 542f090

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

library/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ apply plugin: 'com.android.library'
22
apply from: 'https://raw.github.com/liuguangqiang/gradle-mvn-push/master/gradle-mvn-push.gradle'
33

44
android {
5-
compileSdkVersion 21
6-
buildToolsVersion "21.1.1"
5+
compileSdkVersion 23
6+
buildToolsVersion "23.0.1"
77

88
lintOptions {
99
abortOnError false
1010
}
1111

1212
defaultConfig {
1313
minSdkVersion 14
14-
targetSdkVersion 21
14+
targetSdkVersion 23
1515
}
1616
buildTypes {
1717
release {
@@ -23,5 +23,5 @@ android {
2323

2424
dependencies {
2525
compile fileTree(dir: 'libs', include: ['*.jar'])
26-
compile 'com.android.support:appcompat-v7:21.0.2'
26+
compile 'com.android.support:appcompat-v7:23.1.1'
2727
}

library/src/main/java/com/liuguangqiang/swipeback/SwipeBackActivity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.liuguangqiang.swipeback;
22

33
import android.support.v7.app.ActionBarActivity;
4+
import android.support.v7.app.AppCompatActivity;
45
import android.view.LayoutInflater;
56
import android.view.View;
67
import android.widget.ImageView;
@@ -10,7 +11,7 @@
1011
/**
1112
* Created by Eric on 15/3/3.
1213
*/
13-
public class SwipeBackActivity extends ActionBarActivity implements SwipeBackLayout.SwipeBackListener {
14+
public class SwipeBackActivity extends AppCompatActivity implements SwipeBackLayout.SwipeBackListener {
1415

1516
private SwipeBackLayout swipeBackLayout;
1617
private ImageView ivShadow;
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
<resources>
22

3-
<style name="Theme.Swipe.Back" parent="Theme.AppCompat.Light.DarkActionBar">
3+
<style name="Theme.Swipe.Back" parent="Theme.AppCompat.Light.NoActionBar">
44
<item name="android:windowIsTranslucent">true</item>
55
<item name="android:windowBackground">@android:color/transparent</item>
66
<item name="windowActionBar">false</item>
77
<item name="android:windowNoTitle">true</item>
88
</style>
99

10-
11-
<style name="Theme.No.ActionBar" parent="Theme.AppCompat.Light.DarkActionBar">
10+
<style name="Theme.No.ActionBar" parent="Theme.AppCompat.Light.NoActionBar">
1211
<item name="windowActionBar">false</item>
1312
<item name="android:windowNoTitle">true</item>
1413
</style>
1514

16-
1715
</resources>

0 commit comments

Comments
 (0)