UNCCGameDay/res/layout/activity_home.xml

74 lines
2.4 KiB
XML
Raw Normal View History

2013-10-28 20:33:41 -04:00
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/TableLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
2013-10-28 23:11:23 -04:00
android:background="#7d9a43"
2013-11-03 12:10:58 -05:00
tools:context=".activities.MenuActivity" >
2013-10-28 20:33:41 -04:00
<TableRow
android:id="@+id/tableRow1"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/recentAlertsTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/home_label_recent_alerts"
android:textColor="@color/black" />
2013-10-30 14:15:38 -04:00
2013-10-28 20:33:41 -04:00
</TableRow>
<TableRow
android:id="@+id/tableRow2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_vertical_margin"
android:layout_marginRight="@dimen/activity_horizontal_margin"
android:layout_weight="1"
2013-10-30 14:15:38 -04:00
android:background="@color/eggshell">
<requestFocus/>
2013-10-28 20:33:41 -04:00
2013-10-30 14:15:38 -04:00
<ListView
android:id="@+id/alertsListView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
2013-12-02 03:32:09 -05:00
android:background="@android:color/transparent"
>
2013-10-28 20:33:41 -04:00
2013-10-30 14:15:38 -04:00
</ListView>
</TableRow>
2013-12-02 03:32:09 -05:00
<TableRow
2013-10-30 14:15:38 -04:00
android:id="@+id/tableRow3"
2013-12-02 03:32:09 -05:00
android:layout_width="match_parent"
2013-10-28 20:33:41 -04:00
android:layout_height="wrap_content"
2013-10-30 14:15:38 -04:00
android:layout_marginLeft="@dimen/activity_vertical_margin"
2013-12-02 03:32:09 -05:00
android:layout_marginRight="@dimen/activity_horizontal_margin" >
2013-10-30 14:15:38 -04:00
2013-12-02 03:32:09 -05:00
<Button
android:id="@+id/clearAlertsButton"
style="@style/Theme.Unccgameday"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_span="1"
android:layout_weight="1"
android:text="@string/button_clear_alerts"
android:textColor="@color/black" />
<Button
android:id="@+id/refreshAlertsButton"
style="@style/Theme.Unccgameday"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_span="1"
android:layout_weight="1"
android:text="@string/button_refresh_alerts"
android:textColor="@color/black" />
2013-10-30 14:15:38 -04:00
</TableRow>
</TableLayout>