Commit af1997cb authored by Sajal Narang's avatar Sajal Narang

Replace date with time in EventFragment, minor UI changes, fix #70

parent e9c1caba
...@@ -64,7 +64,7 @@ public class EventFragment extends Fragment { ...@@ -64,7 +64,7 @@ public class EventFragment extends Fragment {
SimpleDateFormat simpleDateFormatDate = new SimpleDateFormat("dd MMM"); SimpleDateFormat simpleDateFormatDate = new SimpleDateFormat("dd MMM");
SimpleDateFormat simpleDateFormatTime = new SimpleDateFormat("HH:mm a"); SimpleDateFormat simpleDateFormatTime = new SimpleDateFormat("HH:mm a");
eventDate.setText(simpleDateFormatDate.format(Date)); eventDate.setText(simpleDateFormatDate.format(Date));
eventTime.setText(simpleDateFormatDate.format(Date)); eventTime.setText(simpleDateFormatTime.format(Date));
eventVenue.setText(event.getEventVenues().get(0).getVenueName()); eventVenue.setText(event.getEventVenues().get(0).getVenueName());
} }
} }
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text=" | " android:text=" | "
android:textSize="20dp" android:textSize="20sp"
android:textColor="#fff"/> android:textColor="#fff"/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -69,10 +69,10 @@ ...@@ -69,10 +69,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text=" | " android:text=" | "
android:textSize="20dp" android:textSize="20sp"
android:textColor="#fff"/> android:textColor="#fff"/>
<TextView <TextView
android:layout_width="100dp" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/event_page_venue" android:id="@+id/event_page_venue"
android:text="LH 101" android:text="LH 101"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment