Fix #530
This commit is contained in:
parent
45685b9936
commit
481856fdca
3 changed files with 15 additions and 5 deletions
|
@ -10,8 +10,6 @@ android {
|
|||
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
|
|
@ -51,6 +51,7 @@ import android.support.design.widget.AppBarLayout;
|
|||
import android.support.v4.content.ContextCompat;
|
||||
import android.support.v7.widget.AppCompatCheckBox;
|
||||
import android.support.v7.widget.AppCompatCheckedTextView;
|
||||
import android.support.v7.widget.AppCompatDrawableManager;
|
||||
import android.support.v7.widget.AppCompatEditText;
|
||||
import android.support.v7.widget.AppCompatRadioButton;
|
||||
import android.support.v7.widget.AppCompatSpinner;
|
||||
|
@ -117,12 +118,13 @@ public class SettingsActivity extends PreferenceActivity {
|
|||
public static final String SP_SORT_ORDER = "sp_sort_order";
|
||||
|
||||
|
||||
static //public static final String PREF_SIGN_IN_DIALOG = "sPref_signInDialog";
|
||||
//public static final String PREF_SIGN_IN_DIALOG = "sPref_signInDialog";
|
||||
|
||||
|
||||
//public static final String SP_MAX_ITEMS_SYNC = "sync_max_items";
|
||||
|
||||
EditTextPreference clearCachePref;
|
||||
|
||||
static EditTextPreference clearCachePref;
|
||||
static Activity _mActivity;
|
||||
|
||||
@Override
|
||||
|
@ -143,7 +145,8 @@ public class SettingsActivity extends PreferenceActivity {
|
|||
|
||||
Toolbar toolbar = (Toolbar) appBarLayout.getChildAt(0);
|
||||
|
||||
final Drawable backarrow = ContextCompat.getDrawable(this, R.drawable.abc_ic_ab_back_material);
|
||||
|
||||
final Drawable backarrow = AppCompatDrawableManager.get().getDrawable(this, R.drawable.ic_arrow_back_black_24dp);
|
||||
backarrow.setColorFilter(ContextCompat.getColor(this, R.color.tintColorDark), PorterDuff.Mode.SRC_ATOP);
|
||||
toolbar.setNavigationIcon(backarrow);
|
||||
toolbar.setTitle(R.string.title_activity_settings);
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z"/>
|
||||
</vector>
|
Loading…
Reference in a new issue