2011-09-13 16:33:44 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-09-16 13:19:54 +02:00
|
|
|
<!--
|
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
|
|
|
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
|
|
|
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
-->
|
2011-09-28 19:23:19 +02:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-09-13 16:33:44 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2011-09-28 19:23:19 +02:00
|
|
|
>
|
2011-09-16 13:19:54 +02:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
>
|
2011-09-28 19:23:19 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
2011-09-16 13:19:54 +02:00
|
|
|
android:layout_width="fill_parent"
|
2011-09-28 19:23:19 +02:00
|
|
|
android:layout_height="wrap_content"
|
2011-09-16 13:19:54 +02:00
|
|
|
>
|
2011-09-28 19:23:19 +02:00
|
|
|
<TextView
|
|
|
|
android:text="@string/agent_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/agent_name"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:editable="true"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:text="@string/event_search_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/event_search_text"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:editable="true"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
/>
|
|
|
|
<TableLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
>
|
2011-10-24 18:26:51 +02:00
|
|
|
<TableRow
|
|
|
|
android:visibility="gone"
|
|
|
|
>
|
2011-09-28 19:23:19 +02:00
|
|
|
<TextView
|
|
|
|
android:text="@string/group_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/group_combo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
/>
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading_group"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
/>
|
|
|
|
</TableRow>
|
|
|
|
<TableRow>
|
|
|
|
<TextView
|
|
|
|
android:text="@string/severity_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/severity_combo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
</TableRow>
|
|
|
|
<TableRow>
|
|
|
|
<TextView
|
|
|
|
android:text="@string/status_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/status_combo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
<!--
|
|
|
|
<TextView
|
|
|
|
android:text="@string/date_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
/>
|
|
|
|
<TimePicker
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:id="@+id/time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<DatePicker
|
|
|
|
android:id="@+id/date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
-->
|
|
|
|
<TextView
|
|
|
|
android:text="@string/max_time_old_event_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="5dip"
|
|
|
|
/>
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/max_time_old_event_combo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="right"
|
|
|
|
/>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_marginTop="10px"
|
|
|
|
android:layout_marginBottom="10px"
|
|
|
|
android:layout_height="2px"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:background="#ffffff"
|
|
|
|
/>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:text="@string/reset_button_str"
|
|
|
|
android:id="@+id/button_reset"
|
2011-09-16 13:19:54 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
2011-09-28 19:23:19 +02:00
|
|
|
<Button
|
|
|
|
android:text="@string/search_button_str"
|
|
|
|
android:id="@+id/button_send"
|
2011-09-16 13:19:54 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2011-09-27 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: change for avoid the crash when rotate mobile.
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/Core.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes, now it
is the first version funcionality of Pandora Event Viewer....I hope.
* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
res/values-en/strings.xml, res/values-es/arrays.xml,
res/values-es/strings.xml: added more strings and array values.
* res/layout/main.xml, res/layout/item_list_event_extended.xml,
res/layout/popup_validation_event.xml: change and added layouts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-27 18:50:19 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
2011-09-28 19:23:19 +02:00
|
|
|
</LinearLayout>
|
2011-09-16 13:19:54 +02:00
|
|
|
<Button
|
2011-09-28 19:23:19 +02:00
|
|
|
android:text="@string/set_as_filter_watcher_button_str"
|
|
|
|
android:id="@+id/button_set_as_filter_watcher"
|
|
|
|
android:layout_width="fill_parent"
|
2011-09-16 13:19:54 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
2011-09-13 16:33:44 +02:00
|
|
|
</LinearLayout>
|