diff --git a/app/app.iml b/app/app.iml
index 29c5daae4..6f30c8d60 100644
--- a/app/app.iml
+++ b/app/app.iml
@@ -111,15 +111,21 @@
+
+
+
+
+
+
@@ -129,9 +135,9 @@
+
-
diff --git a/app/build.gradle b/app/build.gradle
index b673ea052..620a4d94c 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -142,8 +142,8 @@ dependencies {
compile 'com.android.support:support-v4:24.0.0'
//noinspection GradleDependency,GradleCompatible
compile 'com.android.support:appcompat-v7:24.0.0'
- //noinspection GradleDependency
- compile 'com.takisoft.fix:preference-v7:24.1.0.0'
+ //noinspection GradleCompatible,GradleDependency
+ compile 'com.android.support:preference-v7:24.0.0'
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'
compile project(':modules:actionbar')
compile project(':modules:popupmenu')
diff --git a/app/src/main/java/uk/openvk/android/legacy/core/fragments/MainSettingsFragment.java b/app/src/main/java/uk/openvk/android/legacy/core/fragments/MainSettingsFragment.java
index 02b10a6aa..ba0c7116e 100644
--- a/app/src/main/java/uk/openvk/android/legacy/core/fragments/MainSettingsFragment.java
+++ b/app/src/main/java/uk/openvk/android/legacy/core/fragments/MainSettingsFragment.java
@@ -77,7 +77,7 @@ public class MainSettingsFragment extends ActivePreferenceFragment {
@SuppressWarnings("ConstantConditions")
@Override
- public void onCreatePreferencesFix(Bundle bundle, String s) {
+ public void onCreatePreferences(Bundle bundle, String s) {
global_prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
instance_prefs = ((OvkApplication) getContext().getApplicationContext()).getAccountPreferences();
Bundle data = getActivity().getIntent().getExtras();
@@ -100,7 +100,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
- setDividerPreferences(DIVIDER_PADDING_CHILD | DIVIDER_CATEGORY_AFTER_LAST | DIVIDER_CATEGORY_BETWEEN);
+ // setDividerPreferences(DIVIDER_PADDING_CHILD | DIVIDER_CATEGORY_AFTER_LAST | DIVIDER_CATEGORY_BETWEEN);
view.setBackgroundColor(getResources().getColor(R.color.white));
}
diff --git a/app/src/main/java/uk/openvk/android/legacy/core/fragments/base/ActivePreferenceFragment.java b/app/src/main/java/uk/openvk/android/legacy/core/fragments/base/ActivePreferenceFragment.java
index 1f179abca..858bb7347 100644
--- a/app/src/main/java/uk/openvk/android/legacy/core/fragments/base/ActivePreferenceFragment.java
+++ b/app/src/main/java/uk/openvk/android/legacy/core/fragments/base/ActivePreferenceFragment.java
@@ -20,11 +20,12 @@
package uk.openvk.android.legacy.core.fragments.base;
import android.os.Bundle;
+import android.preference.PreferenceFragment;
import android.support.v4.app.Fragment;
+import android.support.v7.preference.PreferenceFragmentCompat;
-import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompatDividers;
-public class ActivePreferenceFragment extends PreferenceFragmentCompatDividers {
+public class ActivePreferenceFragment extends PreferenceFragmentCompat {
private boolean isActivated;
public boolean isActivated() {
@@ -43,12 +44,12 @@ public void deactivate() {
onDeactivated();
}
- public void onDeactivated() {
+ public void onDeactivated() {
isActivated = false;
}
@Override
- public void onCreatePreferencesFix(Bundle bundle, String s) {
+ public void onCreatePreferences(Bundle bundle, String s) {
}
}
diff --git a/app/src/main/res/values-v11/style.xml b/app/src/main/res/values-v11/style.xml
index fd20178aa..7285b7d2a 100644
--- a/app/src/main/res/values-v11/style.xml
+++ b/app/src/main/res/values-v11/style.xml
@@ -36,6 +36,7 @@
- @drawable/ic_ab_back_holo_dark
- @style/ActionBarSpinner
- @style/BaseStyle.PreferenceThemeOverlay
+ - @style/TextAppearance.AppCompat.Subhead