Fixed event view bug.

This commit is contained in:
Lars Jansøn Engvik committed 2012-11-14 21:26:10 +01:00
1 parent c19c5b03f8
commit 5c1637161a
3 files changed
+5 -13

No files matched your search

+1 -8
View File
@@ -58,13 +58,6 @@
<TextView android:id="@+id/event_view_description"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<ImageView
android:id="@+id/event_fb_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/fbicon" />
android:layout_height="wrap_content" />
</ScrollView>
</RelativeLayout>
+4 -4
View File
@@ -38,13 +38,13 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
android:layout_margin="10px" />
<include layout="@layout/main_tile_news"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
android:layout_margin="10px" />
</LinearLayout>
<!-- Row nr 2: -->
@@ -59,13 +59,13 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
android:layout_margin="10px" />
<include layout="@layout/main_tile_join"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_margin="5px" />
android:layout_margin="10px" />
</LinearLayout>
</LinearLayout>
@@ -39,7 +39,6 @@ public class EventViewActivity extends BaseDnsActivity {
TextView location = (TextView) findViewById(R.id.event_view_location);
TextView datetime = (TextView) findViewById(R.id.event_view_datetime);
Button link = (Button) findViewById(R.id.event_view_link);
ImageView fblink = (ImageView) findViewById(R.id.event_fb_icon);
title.setText(Html.fromHtml(e.title));
location.setText(Html.fromHtml(e.getLocation()));