diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f8a2d0b..15ae446 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -21,7 +21,6 @@
-
@@ -1133,7 +1132,11 @@
1423932347469
1423932347469
-
+
+ 1423935864836
+ 1423935864836
+
+
@@ -1218,7 +1221,8 @@
-
+
+
diff --git a/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java b/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java
index 61319a3..d080a9a 100644
--- a/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java
+++ b/app/src/main/java/de/marcelkapfer/morseconverter/MainActivity.java
@@ -1,5 +1,6 @@
package de.marcelkapfer.morseconverter;
+import android.content.res.Resources;
import android.os.Bundle;
import it.neokree.materialnavigationdrawer.MaterialNavigationDrawer;
import it.neokree.materialnavigationdrawer.elements.MaterialSection;
@@ -11,12 +12,14 @@ public class MainActivity extends MaterialNavigationDrawer {
@Override
public void init(Bundle savedInstanceState) {
+ Resources res = getResources();
writtenMorse = this.newSection("writtenMorse", new MainFragment());
- normalMorse = this.newSection("Normal Morse", new MorseFragment());
- about = this.newSection("About", new AboutFragment());
+ normalMorse = this.newSection(res.getString(R.string.normalMorse), new MorseFragment());
+ about = this.newSection(res.getString(R.string.about), new AboutFragment());
this.addSection(writtenMorse);
this.addSection(normalMorse);
- this.addBottomSection(about);
+ this.addDivisor();
+ this.addSection(about);
this.setDrawerHeaderImage(this.getResources().getDrawable(R.drawable.feature_graphics));
allowArrowAnimation();
this.disableLearningPattern();
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 3a12140..3543255 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -45,12 +45,5 @@
\n \nFehlender Code \nWenn du auf einen fehlenden Code aufmerksam geworden bist, dann schreibe eine Email an marcelmichaelkapfer@yahoo.co.nz.
Über
-
- Navigationsmenü öffnen
- Navigationsmenü schließen
-
- - writtenMorse
- - Normal Morse
- - Über
-
+ Normales Morse
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 09e29e2..ae64a58 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -42,15 +42,5 @@
\n \nHow to \nYou can find a detailed guide on marcel-kapfer.de/projects/morse/index.html#howto_android
\n \nMissing Code \nIf you discovered, that code is missing, then write me a mail to marcelmichaelkapfer@yahoo.co.nz and tell me about it.
About
- Open navigation drawer
- Close navigation drawer
-
-
- - writtenMorse
- - Normal Morse
- - About
-
-
- Hello blank fragment
-
+ Normal Morse