pandorafms/pandora_agents/android/res/layout/setup.xml

321 lines
14 KiB
XML
Raw Normal View History

<?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.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/setup"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/field1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="5dp"
android:text="@string/serverAddr" />
<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:inputType="number"
android:singleLine="true" />
<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:inputType="number"
android:singleLine="true" />
<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" />
<TextView
android:id="@+id/field5"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2012-08-19 Mark Holland <mark@mark-holland.me.uk> * res/layout/drawable-hdpi: Added help and about icons from sdk * res/layout/drawable-ldpi: Added new vector images. Added help and about icons from sdk. * res/layout/drawable-mdpi:Added help and about icons from sdk. * res/layout/drawable-xhdpi: Added new higher resolution images. Added help and about icons from sdk * res/layout/password_choose.xml: UI tweak * res/layout/password_create.xml: UI tweak * res/layout/setup.xml: Changed webURL id, moved position of task spinner. * res/layout/setupnosim.xml: Changed webURL id, moved position of task spinner. * res/layout/status.xml: Removed start, stop, show and hide xml buttons. * res/layout/statusnosim.xml: Removed start, stop, show and hide xml buttons. * res/layout/welcome.xml: Added splash screen view with pandroid logo and version 3.0 text. * res/values/strings.xml: Changed order of strings to be more structured, removed unused correct_update string, fixed the "..." in loading string, fixed copyright symbol, added strings for seconds, runnning and stopped that were previously hardcoded, fixed apostrophe in don't. * res/values-de/strings.xml: Added strings for German locale * res/values-es/strings.xml: Added strings for Spanish locale * res/values-fr/strings.xml: Added strings for French locale * res/values-it/strings.xml: Added strings for Italian locale * res/values-ja/strings.xml: Added strings for Japanese locale * res/values-pt/strings.xml: Added strings for Portuguese locale * res/values-zh/strings.xml: Added strings for Chinese(simplified) locale * src/pandroid/agent/About.java: Changed URL to pandorafms.com from .org * src/pandroid/agent/core.java: Changed mobile url variable, * src/pandroid/agent/Installation.java: Added comment explaining class. * src/pandroid/agent/PandroidAgent.java: Added splash screen dialog * src/pandroid/agent/PandroidAgentListener.java: Added loading toast on connect, moved contact into an asynctask, added application inventory to xml(app name;version;package name), fixed battery level to work on first connect, made all get methods private. * src/pandroid/agent/setup.java: Auto add http:// to mobile web url. * src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name. * src/pandroid/agent/status.java: swapped hardcoded strings to ones from res. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 08:23:11 +02:00
android:text="@string/mobileWebURL" />
<EditText
2012-08-19 Mark Holland <mark@mark-holland.me.uk> * res/layout/drawable-hdpi: Added help and about icons from sdk * res/layout/drawable-ldpi: Added new vector images. Added help and about icons from sdk. * res/layout/drawable-mdpi:Added help and about icons from sdk. * res/layout/drawable-xhdpi: Added new higher resolution images. Added help and about icons from sdk * res/layout/password_choose.xml: UI tweak * res/layout/password_create.xml: UI tweak * res/layout/setup.xml: Changed webURL id, moved position of task spinner. * res/layout/setupnosim.xml: Changed webURL id, moved position of task spinner. * res/layout/status.xml: Removed start, stop, show and hide xml buttons. * res/layout/statusnosim.xml: Removed start, stop, show and hide xml buttons. * res/layout/welcome.xml: Added splash screen view with pandroid logo and version 3.0 text. * res/values/strings.xml: Changed order of strings to be more structured, removed unused correct_update string, fixed the "..." in loading string, fixed copyright symbol, added strings for seconds, runnning and stopped that were previously hardcoded, fixed apostrophe in don't. * res/values-de/strings.xml: Added strings for German locale * res/values-es/strings.xml: Added strings for Spanish locale * res/values-fr/strings.xml: Added strings for French locale * res/values-it/strings.xml: Added strings for Italian locale * res/values-ja/strings.xml: Added strings for Japanese locale * res/values-pt/strings.xml: Added strings for Portuguese locale * res/values-zh/strings.xml: Added strings for Chinese(simplified) locale * src/pandroid/agent/About.java: Changed URL to pandorafms.com from .org * src/pandroid/agent/core.java: Changed mobile url variable, * src/pandroid/agent/Installation.java: Added comment explaining class. * src/pandroid/agent/PandroidAgent.java: Added splash screen dialog * src/pandroid/agent/PandroidAgentListener.java: Added loading toast on connect, moved contact into an asynctask, added application inventory to xml(app name;version;package name), fixed battery level to work on first connect, made all get methods private. * src/pandroid/agent/setup.java: Auto add http:// to mobile web url. * src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name. * src/pandroid/agent/status.java: swapped hardcoded strings to ones from res. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 08:23:11 +02:00
android:id="@+id/mobileWebURLInput"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true" />
<Button
android:id="@+id/goToWebButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/go_to_web" />
<CheckBox
android:id="@+id/checkGpsReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/gpsReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkBatteryLevelReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/BatteryLevelReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkTaskReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/taskReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
2012-08-19 Mark Holland <mark@mark-holland.me.uk> * res/layout/drawable-hdpi: Added help and about icons from sdk * res/layout/drawable-ldpi: Added new vector images. Added help and about icons from sdk. * res/layout/drawable-mdpi:Added help and about icons from sdk. * res/layout/drawable-xhdpi: Added new higher resolution images. Added help and about icons from sdk * res/layout/password_choose.xml: UI tweak * res/layout/password_create.xml: UI tweak * res/layout/setup.xml: Changed webURL id, moved position of task spinner. * res/layout/setupnosim.xml: Changed webURL id, moved position of task spinner. * res/layout/status.xml: Removed start, stop, show and hide xml buttons. * res/layout/statusnosim.xml: Removed start, stop, show and hide xml buttons. * res/layout/welcome.xml: Added splash screen view with pandroid logo and version 3.0 text. * res/values/strings.xml: Changed order of strings to be more structured, removed unused correct_update string, fixed the "..." in loading string, fixed copyright symbol, added strings for seconds, runnning and stopped that were previously hardcoded, fixed apostrophe in don't. * res/values-de/strings.xml: Added strings for German locale * res/values-es/strings.xml: Added strings for Spanish locale * res/values-fr/strings.xml: Added strings for French locale * res/values-it/strings.xml: Added strings for Italian locale * res/values-ja/strings.xml: Added strings for Japanese locale * res/values-pt/strings.xml: Added strings for Portuguese locale * res/values-zh/strings.xml: Added strings for Chinese(simplified) locale * src/pandroid/agent/About.java: Changed URL to pandorafms.com from .org * src/pandroid/agent/core.java: Changed mobile url variable, * src/pandroid/agent/Installation.java: Added comment explaining class. * src/pandroid/agent/PandroidAgent.java: Added splash screen dialog * src/pandroid/agent/PandroidAgentListener.java: Added loading toast on connect, moved contact into an asynctask, added application inventory to xml(app name;version;package name), fixed battery level to work on first connect, made all get methods private. * src/pandroid/agent/setup.java: Auto add http:// to mobile web url. * src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name. * src/pandroid/agent/status.java: swapped hardcoded strings to ones from res. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 08:23:11 +02:00
<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>
<CheckBox
android:id="@+id/checkMemoryReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/memoryReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
2012-08-22 04:57:53 +02:00
<CheckBox
android:id="@+id/checkInventoryReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/InventoryReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkSimIDReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/simIDReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkDeviceUpTimeReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/uptimeReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkNetworkOperatorReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/NetworkOperatorReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkNetworkTypeReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/NetworkTypeReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkPhoneTypeReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/PhoneTypeReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkSignalStrengthReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/SignalStrengthReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkReceivedSMSReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/ReceivedSMSReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkSentSMSReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/SentSMSReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkIncomingCallsReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/IncomingCallsReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkMissedCallsReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/MissedCallsReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkOutgoingCallsReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/OutgoingCallsReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkBytesReceivedReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/BytesReceivedReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkBytesSentReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/BytesSentReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkHelloSignalReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/HelloSignalReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<CheckBox
android:id="@+id/checkRoamingReport"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/RoamingReport"
android:textColor="#bbbbbb"
android:textSize="14dip" />
2012-08-19 Mark Holland <mark@mark-holland.me.uk> * res/layout/drawable-hdpi: Added help and about icons from sdk * res/layout/drawable-ldpi: Added new vector images. Added help and about icons from sdk. * res/layout/drawable-mdpi:Added help and about icons from sdk. * res/layout/drawable-xhdpi: Added new higher resolution images. Added help and about icons from sdk * res/layout/password_choose.xml: UI tweak * res/layout/password_create.xml: UI tweak * res/layout/setup.xml: Changed webURL id, moved position of task spinner. * res/layout/setupnosim.xml: Changed webURL id, moved position of task spinner. * res/layout/status.xml: Removed start, stop, show and hide xml buttons. * res/layout/statusnosim.xml: Removed start, stop, show and hide xml buttons. * res/layout/welcome.xml: Added splash screen view with pandroid logo and version 3.0 text. * res/values/strings.xml: Changed order of strings to be more structured, removed unused correct_update string, fixed the "..." in loading string, fixed copyright symbol, added strings for seconds, runnning and stopped that were previously hardcoded, fixed apostrophe in don't. * res/values-de/strings.xml: Added strings for German locale * res/values-es/strings.xml: Added strings for Spanish locale * res/values-fr/strings.xml: Added strings for French locale * res/values-it/strings.xml: Added strings for Italian locale * res/values-ja/strings.xml: Added strings for Japanese locale * res/values-pt/strings.xml: Added strings for Portuguese locale * res/values-zh/strings.xml: Added strings for Chinese(simplified) locale * src/pandroid/agent/About.java: Changed URL to pandorafms.com from .org * src/pandroid/agent/core.java: Changed mobile url variable, * src/pandroid/agent/Installation.java: Added comment explaining class. * src/pandroid/agent/PandroidAgent.java: Added splash screen dialog * src/pandroid/agent/PandroidAgentListener.java: Added loading toast on connect, moved contact into an asynctask, added application inventory to xml(app name;version;package name), fixed battery level to work on first connect, made all get methods private. * src/pandroid/agent/setup.java: Auto add http:// to mobile web url. * src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name. * src/pandroid/agent/status.java: swapped hardcoded strings to ones from res. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 08:23:11 +02:00
2012-08-22 04:57:53 +02:00
<CheckBox
android:id="@+id/checkNotification"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/notificationCheck"
android:textColor="#bbbbbb"
android:textSize="14dip" />
<Button
android:id="@+id/update"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/update" />
2012-08-22 04:57:53 +02:00
<Button
android:id="@+id/set_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/set_password" />
<Button
android:id="@+id/stopAgent"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/stopAgent" />
<Button
android:id="@+id/restartAgent"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/restartAgent" />
</LinearLayout>
</ScrollView>
</LinearLayout>
</RelativeLayout>