mirror of
https://github.com/vanitasvitae/EnigmAndroid.git
synced 2024-11-25 05:42:08 +01:00
Cleaned some xmls
This commit is contained in:
parent
59512809db
commit
1644d5b158
3 changed files with 1 additions and 15 deletions
|
@ -3,23 +3,13 @@ package de.vanitasvitae.enigmandroid;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.preference.PreferenceActivity;
|
import android.preference.PreferenceActivity;
|
||||||
|
|
||||||
/**
|
|
||||||
* A {@link PreferenceActivity} that presents a set of application settings. On
|
|
||||||
* handset devices, settings are presented as a single list. On tablets,
|
|
||||||
* settings are split by category, with category headers shown to the left of
|
|
||||||
* the list of settings.
|
|
||||||
* <p/>
|
|
||||||
* See <a href="http://developer.android.com/design/patterns/settings.html">
|
|
||||||
* Android Design: Settings</a> for design guidelines and the <a
|
|
||||||
* href="http://developer.android.com/guide/topics/ui/settings.html">Settings
|
|
||||||
* API Guide</a> for more information on developing a Settings UI.
|
|
||||||
*/
|
|
||||||
public class SettingsActivity extends PreferenceActivity
|
public class SettingsActivity extends PreferenceActivity
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState)
|
protected void onCreate(Bundle savedInstanceState)
|
||||||
{
|
{
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
//noinspection deprecation
|
||||||
addPreferencesFromResource(R.xml.pref_page);
|
addPreferencesFromResource(R.xml.pref_page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
<resources>
|
<resources>
|
||||||
<string name="title_activity_settings">Einstellungen</string>
|
<string name="title_activity_settings">Einstellungen</string>
|
||||||
|
|
||||||
<!-- Strings related to Settings -->
|
|
||||||
|
|
||||||
<!-- Settings for simulation -->
|
|
||||||
<string name="pref_header_simulation">Simulation</string>
|
<string name="pref_header_simulation">Simulation</string>
|
||||||
|
|
||||||
<string name="pref_title_simulate_anomaly">Doppelschritt Anomalie</string>
|
<string name="pref_title_simulate_anomaly">Doppelschritt Anomalie</string>
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
<resources>
|
<resources>
|
||||||
<string name="title_activity_settings">Settings</string>
|
<string name="title_activity_settings">Settings</string>
|
||||||
|
|
||||||
<!-- Strings related to Settings -->
|
|
||||||
|
|
||||||
<!-- Settings for simulation -->
|
|
||||||
<string name="pref_header_simulation">Simulation</string>
|
<string name="pref_header_simulation">Simulation</string>
|
||||||
|
|
||||||
<string name="pref_title_simulate_anomaly">Simulate Anomaly</string>
|
<string name="pref_title_simulate_anomaly">Simulate Anomaly</string>
|
||||||
|
|
Loading…
Reference in a new issue