2011-10-12 20:58:48 +02:00
|
|
|
<?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.
|
|
|
|
-->
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
>
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
>
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field1"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/serverAddr"
|
|
|
|
android:paddingTop="5dp"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/serverAddrInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field2"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/serverPort"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/serverPortInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="number"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field3"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/interval"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/intervalInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="number"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field4"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/agent"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/agentNameInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkGpsReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/gpsReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkMemoryReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/memoryReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
/>
|
2011-10-20 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added new activies and permission of batery.
* src/pandroid/agent/PandroidAgent.java, src/pandroid/agent/Setup.java,
src/pandroid/agent/Status.java,
src/pandroid/agent/PandroidAgentListener.java,
src/pandroid/agent/EventReceiver.java, src/pandroid/agent/Help.java,
src/pandroid/agent/About.java: wip.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added strings and translations into spanish.
* res/menu/options_menu.xml: added a menu file.
* res/drawable-ldpi/help.png, res/drawable-ldpi/about.png,
res/drawable-ldpi/pandorafms_logo.png: added image files.
* res/layout/setup.xml, res/layout/status.xml, res/layout/help.xml,
res/layout/about.xml: wip and added the need layout for new activies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 15:01:42 +02:00
|
|
|
<!--<CheckBox
|
2011-10-12 20:58:48 +02:00
|
|
|
android:id="@+id/checkTaskReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/taskReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
android:enabled="false"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field5"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/task"
|
|
|
|
/>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading_task_anim"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/processes_combo"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/update"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/update"
|
2011-10-20 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added new activies and permission of batery.
* src/pandroid/agent/PandroidAgent.java, src/pandroid/agent/Setup.java,
src/pandroid/agent/Status.java,
src/pandroid/agent/PandroidAgentListener.java,
src/pandroid/agent/EventReceiver.java, src/pandroid/agent/Help.java,
src/pandroid/agent/About.java: wip.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added strings and translations into spanish.
* res/menu/options_menu.xml: added a menu file.
* res/drawable-ldpi/help.png, res/drawable-ldpi/about.png,
res/drawable-ldpi/pandorafms_logo.png: added image files.
* res/layout/setup.xml, res/layout/status.xml, res/layout/help.xml,
res/layout/about.xml: wip and added the need layout for new activies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 15:01:42 +02:00
|
|
|
/>-->
|
|
|
|
<Button
|
|
|
|
android:id="@+id/update"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/update"
|
2011-10-12 20:58:48 +02:00
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|