bottom nav highlight fix #131
@ -29,7 +29,7 @@
|
||||
</value>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
@ -266,7 +266,6 @@ public abstract class BaseActivity
|
||||
setUpNav();
|
||||
|
||||
actionBarDrawerToggle.syncState();
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -423,7 +422,7 @@ public abstract class BaseActivity
|
||||
|
||||
}
|
||||
|
||||
private void updateNavigationBarState() {
|
||||
public void updateNavigationBarState() {
|
||||
int actionId = getNavigationMenuItemId();
|
||||
selectBottomNavigationBarItem(actionId);
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ import android.app.AlertDialog;
|
||||
import android.app.FragmentTransaction;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.SharedPreferences;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.os.Bundle;
|
||||
import android.preference.ListPreference;
|
||||
import android.preference.Preference;
|
||||
@ -269,11 +270,10 @@ public class SharingFragment extends PreferenceFragment implements SharedPrefere
|
||||
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
|
||||
fragmentTransaction.hide(SharingFragment.this);
|
||||
fragmentTransaction.commit();
|
||||
((MapActivity) getActivity()).updateNavigationBarState();
|
||||
return true;
|
||||
});
|
||||
statusSwitch.setOnPreferenceChangeListener((preference, newValue) -> {
|
||||
return true;
|
||||
});
|
||||
statusSwitch.setOnPreferenceChangeListener((preference, newValue) -> true);
|
||||
/** Status list change listener **/
|
||||
statusList.setOnPreferenceChangeListener((preference, newValue) -> {
|
||||
ListPreference lp = (ListPreference) preference;
|
||||
|
@ -231,6 +231,7 @@ public class UsersListFragment extends Fragment {
|
||||
List<User> list = new ArrayList<User>();
|
||||
list.add(user);
|
||||
((MapActivity) getActivity()).filterMarkers(list);
|
||||
((MapActivity) getActivity()).updateNavigationBarState();
|
||||
});
|
||||
}
|
||||
alertDialog = alertDialogBuilderUserInput.create();
|
||||
|
Loading…
Reference in New Issue
Block a user