File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
java/com/liuguangqiang/swipeback Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,16 @@ apply plugin: 'com.android.library'
22apply from : ' https://raw.github.com/liuguangqiang/gradle-mvn-push/master/gradle-mvn-push.gradle'
33
44android {
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
2424dependencies {
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}
Original file line number Diff line number Diff line change 11package com .liuguangqiang .swipeback ;
22
33import android .support .v7 .app .ActionBarActivity ;
4+ import android .support .v7 .app .AppCompatActivity ;
45import android .view .LayoutInflater ;
56import android .view .View ;
67import android .widget .ImageView ;
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 ;
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments