235 lines
9.6 KiB
XML
235 lines
9.6 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.
|
||
|
-->
|
||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:id="@+id/setupnosim"
|
||
|
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" >
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/checkNotification"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingTop="5sp"
|
||
|
android:text="@string/notificationCheck"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<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:inputType="textNoSuggestions"
|
||
|
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:inputType="textNoSuggestions"
|
||
|
android:singleLine="true" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/field5"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/bufferSize" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/bufferSize"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:inputType="number"
|
||
|
android:singleLine="true" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/field6"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/mobileWebURL" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/mobileWebURLInput"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:inputType="textUri"
|
||
|
android:singleLine="true" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/goToWebButton"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/go_to_web" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/field7"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/taskToReport" />
|
||
|
|
||
|
<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/checkTaskReport"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/taskReport"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/checkGpsReport"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/gpsReport"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/checkBatteryLevelReport"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/BatteryLevelReport"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/checkMemoryReport"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/memoryReport"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/checkDeviceUpTimeReport"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/uptimeReport"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/checkInventoryReport"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/InventoryReport"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<CheckBox
|
||
|
android:id="@+id/checkHelloSignalReport"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/HelloSignalReport"
|
||
|
android:textColor="#bbbbbb"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/update"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/update" />
|
||
|
|
||
|
<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>
|