diff --git a/.idea/modules.xml b/.idea/modules.xml
index 48bfe44..2124db2 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,8 +2,8 @@
-
+
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
index aa8f431..3c5e426 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -25,5 +25,6 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support.constraint:constraint-layout:1.0.2'
+ compile 'com.google.android:flexbox:0.3.0'
testCompile 'junit:junit:4.12'
}
diff --git a/app/src/main/java/be/mathsaey/stoofnogaan/ui/MainActivity.java b/app/src/main/java/be/mathsaey/stoofnogaan/ui/MainActivity.java
index 7c3637a..f49dbae 100644
--- a/app/src/main/java/be/mathsaey/stoofnogaan/ui/MainActivity.java
+++ b/app/src/main/java/be/mathsaey/stoofnogaan/ui/MainActivity.java
@@ -24,9 +24,13 @@ public class MainActivity extends Activity {
taskView = findViewById(R.id.tasks);
loadTasks();
- Button button = (Button) findViewById(R.id.addButton);
Typeface custom_font = Typeface.createFromAsset(getAssets(), "fonts/Oswald-SemiBold.ttf");
- button.setTypeface(custom_font);
+
+ Button addButton = (Button) findViewById(R.id.addButton);
+ addButton.setTypeface(custom_font);
+
+ Button resetButton = (Button) findViewById(R.id.resetButton);
+ resetButton.setTypeface(custom_font);
}
@Override
diff --git a/app/src/main/res/drawable/button.xml b/app/src/main/res/drawable/button_primary.xml
similarity index 100%
rename from app/src/main/res/drawable/button.xml
rename to app/src/main/res/drawable/button_primary.xml
diff --git a/app/src/main/res/drawable/button_secondary.xml b/app/src/main/res/drawable/button_secondary.xml
new file mode 100644
index 0000000..2afd09c
--- /dev/null
+++ b/app/src/main/res/drawable/button_secondary.xml
@@ -0,0 +1,31 @@
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index 0bcc858..27ac6c6 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -1,60 +1,81 @@
-
-
-
-
+
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp">
-
+
+
-
+
+
+
+ android:orientation="vertical"
+ android:padding="16dp"
+ app:layout_flexGrow="1">
+
-
-
+
+
+
+
-
+
-
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 15297b2..859db73 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -2,7 +2,7 @@
Stoof nog aan?
Nieuwe Stoof
Lege Stoof
-
+ Weg Stoof
Stoof Instellen
Nieuwe Stoof