mirror of
https://github.com/rfc2822/GfxTablet
synced 2025-10-03 01:29:17 +02:00

* show full-screen option only for Android 4.4+ (no immersive mode below) * show toast with destination IP address at start-up * add option to keep display active (fixes #71)
22 lines
650 B
Java
22 lines
650 B
Java
package at.bitfire.gfxtablet;
|
|
|
|
import android.os.Bundle;
|
|
import android.support.v7.app.ActionBarActivity;
|
|
|
|
public class SettingsActivity extends ActionBarActivity {
|
|
public static final String
|
|
KEY_PREF_HOST = "host_preference",
|
|
KEY_PREF_STYLUS_ONLY = "stylus_only_preference",
|
|
KEY_DARK_CANVAS = "dark_canvas_preference",
|
|
KEY_KEEP_DISPLAY_ACTIVE = "keep_display_active_preference";
|
|
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
|
|
|
setContentView(R.layout.activity_settings);
|
|
}
|
|
|
|
}
|