Back to project page Freebloks-Android.
The source code is released under:
GNU General Public License
If you think the Android project Freebloks-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.saschahlusiak.freebloks.preferences; // w w w .j av a 2 s. com import android.os.Build; import android.os.Bundle; import android.preference.PreferenceFragment; import android.view.ViewConfiguration; import de.saschahlusiak.freebloks.R; public class InterfaceFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.preferences_interface); ViewConfiguration viewConfig = ViewConfiguration.get(getActivity()); if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT || viewConfig.hasPermanentMenuKey()) { getPreferenceScreen().removePreference(findPreference("immersive_mode")); } } }