public class FauxNavBar
extends java.lang.Object
implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
FauxNavBar(android.app.Activity a)
Given an activity and a shared preference, create a fake navigation
bar if the preference is enabled.
|
Modifier and Type | Method and Description |
---|---|
static FauxNavBar |
constructFauxNavBar(android.app.Activity activity)
Constructs a FauxNavBar for any number of our SettingActivity's within the TAK system.
|
void |
onSharedPreferenceChanged(android.content.SharedPreferences prefs,
java.lang.String key) |
public static final java.lang.String TAG
public FauxNavBar(android.app.Activity a)
public void onSharedPreferenceChanged(android.content.SharedPreferences prefs, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener
public static FauxNavBar constructFauxNavBar(android.app.Activity activity)
activity
- is the SettingsActivity to be used during the construction.