2013-12-08 21:19:40 -05:00
|
|
|
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-10-28 20:33:41 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2013-12-08 21:19:40 -05:00
|
|
|
android:id="@+id/HomeLayout"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
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"
|
2013-12-08 20:04:58 -05:00
|
|
|
android:textColor="#A4C739" />
|
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-12-05 18:22:16 -05:00
|
|
|
>
|
2013-10-30 14:15:38 -04:00
|
|
|
<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-05 18:22:16 -05:00
|
|
|
android:background="@color/black" >
|
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
|
|
|
|
2013-12-08 14:56:46 -05:00
|
|
|
<LinearLayout
|
2013-12-08 22:45:13 -05:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
2013-12-08 14:56:46 -05:00
|
|
|
>
|
|
|
|
|
|
|
|
<LinearLayout
|
2013-12-08 22:45:13 -05:00
|
|
|
android:layout_width="fill_parent"
|
2013-12-08 14:56:46 -05:00
|
|
|
android:layout_height="0dp"
|
2013-12-08 22:45:13 -05:00
|
|
|
android:layout_gravity="center_horizontal"
|
2013-12-08 14:56:46 -05:00
|
|
|
android:layout_weight="2"
|
2013-12-08 22:32:08 -05:00
|
|
|
android:orientation="horizontal"
|
2013-12-08 22:45:13 -05:00
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
2013-12-08 22:32:08 -05:00
|
|
|
tools:ignore="UselessParent" >
|
2013-10-30 14:15:38 -04:00
|
|
|
|
2013-12-02 03:32:09 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/clearAlertsButton"
|
2013-12-08 22:32:08 -05:00
|
|
|
style="?android:attr/buttonStyleSmall"
|
2013-12-08 14:56:46 -05:00
|
|
|
android:layout_width="0dp"
|
2013-12-08 22:32:08 -05:00
|
|
|
android:layout_height="32dp"
|
2013-12-08 22:45:13 -05:00
|
|
|
android:layout_gravity="center_horizontal|center_vertical"
|
2013-12-08 22:32:08 -05:00
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="#488214"
|
2013-12-02 03:32:09 -05:00
|
|
|
android:text="@string/button_clear_alerts"
|
2013-12-08 22:32:08 -05:00
|
|
|
android:textColor="@color/white"
|
|
|
|
tools:ignore="ButtonStyle,NestedWeights" />
|
2013-12-02 03:32:09 -05:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/refreshAlertsButton"
|
2013-12-08 22:32:08 -05:00
|
|
|
style="?android:attr/buttonStyleSmall"
|
2013-12-08 14:56:46 -05:00
|
|
|
android:layout_width="0dp"
|
2013-12-08 22:32:08 -05:00
|
|
|
android:layout_height="32dp"
|
2013-12-08 22:45:13 -05:00
|
|
|
android:layout_gravity="center_horizontal|center_vertical"
|
2013-12-08 22:32:08 -05:00
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="#488214"
|
2013-12-02 03:32:09 -05:00
|
|
|
android:text="@string/button_refresh_alerts"
|
2013-12-08 22:32:08 -05:00
|
|
|
android:textColor="@color/white"
|
|
|
|
tools:ignore="ButtonStyle" />
|
2013-12-08 14:56:46 -05:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2013-10-30 14:15:38 -04:00
|
|
|
|
|
|
|
</TableLayout>
|