Commit 8259c219 authored by Varun Patil's avatar Varun Patil

Make feed design consistent with PWA

parent 99a54f86
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="4dp" android:paddingBottom="4dp"
android:layout_marginLeft="8dp" android:paddingLeft="18dp"
android:layout_marginRight="8dp" android:paddingRight="10dp"
android:layout_marginTop="4dp" android:paddingTop="4dp">
card_view:cardCornerRadius="1dp"
card_view:cardElevation="1dp">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -20,10 +17,10 @@ ...@@ -20,10 +17,10 @@
android:layout_height="80dp" android:layout_height="80dp"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/event_picture" android:id="@+id/event_picture"
android:layout_width="80dp" android:layout_width="60dp"
android:layout_height="80dp" android:layout_height="60dp"
android:layout_gravity="center" android:layout_gravity="center"
android:scaleType="centerCrop" /> android:scaleType="centerCrop" />
...@@ -53,25 +50,27 @@ ...@@ -53,25 +50,27 @@
android:id="@+id/event_date" android:id="@+id/event_date"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="26 May" /> android:text="26 May"
android:textSize="16sp" />
<TextView <TextView
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="16sp" />
<TextView <TextView
android:id="@+id/event_time" android:id="@+id/event_time"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="6:00 PM" /> android:text="6:00 PM"
android:textSize="16sp" />
<TextView <TextView
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="16sp" />
<TextView <TextView
android:id="@+id/event_venue" android:id="@+id/event_venue"
...@@ -80,7 +79,8 @@ ...@@ -80,7 +79,8 @@
android:ellipsize="end" android:ellipsize="end"
android:text="LH 101" android:text="LH 101"
android:scrollHorizontally="true" android:scrollHorizontally="true"
android:maxLines="1"/> android:maxLines="1"
android:textSize="16sp" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
...@@ -104,4 +104,4 @@ ...@@ -104,4 +104,4 @@
<!--</View>--> <!--</View>-->
</LinearLayout> </LinearLayout>
</android.support.v7.widget.CardView> </LinearLayout>
\ No newline at end of file \ No newline at end of file
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