Commit 1ec68569 authored by Varun Patil's avatar Varun Patil

Scroll entire event view (also fixes layout for non-HiDPI devices)

parent b90d618a
......@@ -6,12 +6,9 @@
android:orientation="vertical"
tools:context="in.ac.iitb.gymkhana.iitbapp.fragment.EventFragment">
<ImageView
android:id="@+id/event_picture_2"
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:scaleType="centerCrop" />
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
......@@ -19,6 +16,14 @@
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:id="@+id/event_picture_2"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:scaleType="fitCenter" />
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -174,9 +179,7 @@
</View>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/event_page_description"
......@@ -186,6 +189,6 @@
android:layout_marginStart="8dp"
android:textColor="#777"
android:textSize="16sp" />
</ScrollView>
</LinearLayout>
</ScrollView>
</LinearLayout>
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