diff --git a/app/src/main/java/tech/akpmakes/android/taskkeeper/firebase/WhenEventViewHolder.java b/app/src/main/java/tech/akpmakes/android/taskkeeper/firebase/WhenEventViewHolder.java
index 64b9452..f3c914f 100644
--- a/app/src/main/java/tech/akpmakes/android/taskkeeper/firebase/WhenEventViewHolder.java
+++ b/app/src/main/java/tech/akpmakes/android/taskkeeper/firebase/WhenEventViewHolder.java
@@ -90,10 +90,10 @@ private static String millisToShortDHMS(long duration, String extra) {
res = String.format(Locale.ENGLISH, "%02d:%02d:%02d", hours, minutes, seconds);
}
else if (days == 1) {
- res = String.format(Locale.ENGLISH, "%d day \r\n%02d:%02d:%02d", days, hours, minutes, seconds);
+ res = String.format(Locale.ENGLISH, "%d day\n%02d:%02d:%02d", days, hours, minutes, seconds);
}
else {
- res = String.format(Locale.ENGLISH, "%d days \r\n%02d:%02d:%02d", days, hours, minutes, seconds);
+ res = String.format(Locale.ENGLISH, "%d days\n%02d:%02d:%02d", days, hours, minutes, seconds);
}
return extra + res;
}
diff --git a/app/src/main/res/layout/item_whenevent.xml b/app/src/main/res/layout/item_whenevent.xml
index 7d6368e..38850e4 100644
--- a/app/src/main/res/layout/item_whenevent.xml
+++ b/app/src/main/res/layout/item_whenevent.xml
@@ -6,39 +6,47 @@
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true"
- android:foreground="?android:attr/selectableItemBackground">
+ android:foreground="?android:attr/selectableItemBackground"
+ android:minHeight="60dp">
+ tools:text="An Event \ntwo lines\nthree lines" />
+ android:layout_alignParentEnd="true"
+ tools:text="15 days\n00:00:00"/>
\ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 44ea027..ed04375 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -11,4 +11,5 @@
40dp
16dp
8dp
+ 8dp