tt-rss-android/src/org/fox/ttrss/PreferencesActivity.java

21 lines
521 B
Java
Raw Normal View History

2013-04-21 13:01:26 +00:00
package org.fox.ttrss;
import android.os.Bundle;
import android.preference.PreferenceActivity;
public class PreferencesActivity extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.preferences);
boolean compatMode = android.os.Build.VERSION.SDK_INT <= 10;
if (compatMode) {
findPreference("dim_status_bar").setEnabled(false);
}
}
}