2012-07-04 03:32:06 +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"
|
|
|
|
>
|
2013-05-01 04:05:27 +02:00
|
|
|
|
2012-07-04 03:32:06 +02:00
|
|
|
<ScrollView
|
2013-05-01 04:05:27 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_margin="5sp" >
|
|
|
|
|
2012-07-04 03:32:06 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/last_values_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/last_values"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="18sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
/>
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lastContactInfo_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="14sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/img_logo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:padding="5dp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:src="@drawable/logo"
|
|
|
|
android:layout_alignParentRight="true"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:contentDescription="Logo"
|
2012-07-04 03:32:06 +02:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/latitude_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/latitude"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="14sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_below="@id/lastContactInfo_label_str"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/latitude_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/latitude_label_str"
|
|
|
|
|
|
|
|
/>
|
2013-12-12 12:19:15 +01:00
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow6"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/latitude_value_str" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/receive_bytes_value_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/receive_bytes"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/receive_bytes_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow7"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/tableRow6" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/transmit_bytes_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/transmit_bytes"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/transmit_bytes_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</TableRow>
|
|
|
|
|
2012-07-04 03:32:06 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/longitude_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/longitude"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="14sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold"
|
2013-12-12 12:19:15 +01:00
|
|
|
android:layout_below="@id/tableRow7"
|
2012-07-04 03:32:06 +02:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/longitude_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/longitude_label_str"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/battery_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/battery_level"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="14sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_below="@id/longitude_value_str"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/battery_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/battery_label_str"
|
|
|
|
/>
|
|
|
|
<!--<TextView
|
|
|
|
android:id="@+id/orientation_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/orientation"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_below="@id/battery_value_str"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/orientation_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/orientation_label_str"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/proximity_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/proximity"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_below="@id/battery_value_str"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/proximity_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/proximity_label_str"
|
|
|
|
/>-->
|
|
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/task_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/task"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="14sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/task_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/memory_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/memory"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="14sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/memory_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/uptime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/uptime"
|
2013-05-01 04:05:27 +02:00
|
|
|
android:textSize="14sp"
|
2012-07-04 03:32:06 +02:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/uptime_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
2013-04-28 03:57:17 +02:00
|
|
|
|
|
|
|
<!-- for debugging
|
2012-07-04 03:32:06 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/start"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/start"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/stop"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Stop"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/get_xml"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Get xml"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/xml"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="..."
|
|
|
|
android:gravity="left"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/hide_xml"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Hide xml"
|
|
|
|
/>
|
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-07-04 03:32:06 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|