Updated support library version and fixed deprecated getColor method

This commit is contained in:
Yaroslav Berezanskyi 2015-08-22 21:10:39 +03:00
parent f7ad4460db
commit 45d46fc63f
2 changed files with 5 additions and 5 deletions

View File

@ -46,10 +46,10 @@ dependencies {
exclude group: "org.mapdb", module: "mapdb"
}
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:recyclerview-v7:22.2.1'
compile 'com.android.support:design:22.2.1'
compile 'com.android.support:cardview-v7:22.2.1'
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:recyclerview-v7:23.0.0'
compile 'com.android.support:design:23.0.0'
compile 'com.android.support:cardview-v7:23.0.0'
compile 'com.getbase:floatingactionbutton:1.9.0'
compile 'com.afollestad:material-dialogs:0.7.7.0'
compile 'com.github.bumptech.glide:glide:3.6.1'

View File

@ -95,7 +95,7 @@ public abstract class BaseActivity extends AppCompatActivity implements
if (toolbar != null) {
setSupportActionBar(toolbar);
mDrawerLayout.setStatusBarBackgroundColor(getResources().getColor(android.R.color.black));
mDrawerLayout.setStatusBarBackgroundColor(getColor(android.R.color.black));
}
mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, toolbar,