274 lines
10 KiB
XML
274 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
// 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.
|
|
-->
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:orientation="vertical" >
|
|
|
|
<TableLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:stretchColumns="0" >
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/profile_label_str"
|
|
android:textStyle="bold" />
|
|
|
|
<Spinner
|
|
android:id="@+id/profile_combo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</TableRow>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="#ffffff" />
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:paddingRight="5dip"
|
|
android:text="@string/group_label_str" />
|
|
|
|
<Spinner
|
|
android:id="@+id/group_combo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/loading_group"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:paddingRight="5dip"
|
|
android:text="@string/status_label_str" />
|
|
|
|
<Spinner
|
|
android:id="@+id/status_combo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:paddingRight="5dip"
|
|
android:text="@string/tag_label_str" />
|
|
|
|
<EditText
|
|
android:id="@+id/tag_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text"
|
|
android:visibility="gone" />
|
|
|
|
<Spinner
|
|
android:id="@+id/tag"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/loading_tag"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right" />
|
|
</TableRow>
|
|
</TableLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="5dp"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="3"
|
|
android:text="@string/advanced_options"
|
|
android:textColor="#ffffff" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkBox_advanced_options"
|
|
android:layout_width="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/show_hide_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="5dp"
|
|
android:visibility="gone" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/agent_label_str" />
|
|
|
|
<EditText
|
|
android:id="@+id/agent_name"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text"
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/event_search_label_str" />
|
|
|
|
<EditText
|
|
android:id="@+id/event_search_text"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="text"
|
|
android:singleLine="true" />
|
|
|
|
<TableLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TableRow>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:paddingRight="5dip"
|
|
android:text="@string/severity_label_str" />
|
|
|
|
<Spinner
|
|
android:id="@+id/severity_combo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</TableRow>
|
|
|
|
<TableRow>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:paddingRight="5dip"
|
|
android:text="@string/max_time_old_event_str" />
|
|
|
|
<Spinner
|
|
android:id="@+id/max_time_old_event_combo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</TableRow>
|
|
</TableLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="#ffffff" />
|
|
|
|
<TableLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:stretchColumns="0,1" >
|
|
|
|
<TableRow
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<Button
|
|
android:id="@+id/button_set_as_filter_watcher"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/set_as_filter_watcher_button_str" />
|
|
|
|
<Button
|
|
android:id="@+id/button_send"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/search_button_str" />
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<Button
|
|
android:id="@+id/button_save_profile"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/save_profile_button_str" />
|
|
|
|
<Button
|
|
android:id="@+id/button_delete_profile"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/profile_delete" />
|
|
</TableRow>
|
|
</TableLayout>
|
|
</LinearLayout>
|
|
|
|
</ScrollView> |