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/last_values_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/last_values"
|
|
|
|
android:textSize="18dip"
|
|
|
|
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"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/img_logo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="5px"
|
|
|
|
android:src="@drawable/logo"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/latitude_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/latitude"
|
|
|
|
android:textSize="14dip"
|
|
|
|
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"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/longitude_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/longitude"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:layout_below="@id/latitude_value_str"
|
|
|
|
/>
|
|
|
|
<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"
|
|
|
|
android:textSize="14dip"
|
|
|
|
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"
|
|
|
|
/>
|
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
|
|
|
<!--<TextView
|
2011-10-12 20:58:48 +02:00
|
|
|
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"
|
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
|
|
|
android:layout_below="@id/battery_value_str"
|
2011-10-12 20:58:48 +02:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/proximity_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/proximity_label_str"
|
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
|
|
|
/>-->
|
2011-10-12 20:58:48 +02:00
|
|
|
</RelativeLayout>
|
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
|
|
|
<!--<TextView
|
2011-10-12 20:58:48 +02:00
|
|
|
android:id="@+id/task_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/task"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/task_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
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
|
|
|
/>-->
|
2011-10-12 20:58:48 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/memory_label_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/memory"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/memory_value_str"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
2012-06-20 00:37:03 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/sim_id"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/sim_id"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sim_id_value"
|
|
|
|
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"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/uptime_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/networkoperator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/networkoperator"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/networkoperator_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<!-- <TextView
|
|
|
|
android:id="@+id/sms_received"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/sms_received"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sms_received_value"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
-->
|
|
|
|
<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"
|
|
|
|
/>
|
2011-10-12 20:58:48 +02:00
|
|
|
<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"
|
|
|
|
/>
|
2012-06-20 00:37:03 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/hide_xml"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Hide xml"
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
2011-10-12 20:58:48 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|