Added an activity for showing news.

This commit is contained in:
Robert Kolner committed 2012-03-26 14:15:32 +02:00
1 parent 7526b27d18
commit 3e0bbb2d97
5 files changed
+132 -9

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Header -->
<include layout="@layout/header"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_alignParentTop="true"/>
<!-- The event -->
<TextView android:id="@+id/news_view_title"
style="@style/BigHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/header" />
<TextView android:id="@+id/news_view_datetime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/news_view_title"
android:paddingLeft="5dp"
android:paddingRight="5dp" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/news_view_datetime">
<TextView android:id="@+id/news_view_description"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</ScrollView>
</RelativeLayout>