Archived
Event description is now inside ScrollView, so if it is too long, it will be scrollable instead of truncated.
This commit is contained in:
1 parent
0f97ede07d
commit
e55b948c0f
2 files changed
+13
-7
No files matched your search
@@ -44,17 +44,23 @@
|
||||
android:layout_alignParentRight="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView android:id="@+id/event_view_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/event_view_header" />
|
||||
|
||||
<Button android:id="@+id/event_view_link"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/footer"
|
||||
android:layout_margin="10px"
|
||||
android:text="@string/event_link_button"
|
||||
android:visibility="invisible" />
|
||||
android:visibility="gone" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/event_view_link"
|
||||
android:layout_below="@id/event_view_header">
|
||||
|
||||
<TextView android:id="@+id/event_view_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</ScrollView>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -22,7 +22,7 @@ import com.studentersamfundet.app.Utils;
|
||||
import com.studentersamfundet.app.XmlParser;
|
||||
|
||||
public class ProgramListActivity extends BaseDnsActivity {
|
||||
public static final String feedURL = "http://folk.uio.no/larsjeng/test.xml";
|
||||
public static final String feedURL = "http://dl.dropbox.com/u/293287/test.xml";
|
||||
public static final String localURL = "/data/com.studentersamfundet.app/files/dns_events";
|
||||
public static FeedFetcher feed = new FeedFetcher();
|
||||
public static XmlParser parser = new XmlParser();
|
||||
|
||||
Reference in new issue
Block a user