pandorafms/pandora_agents/android/tablet/res/layout/statusnosim.xml

257 lines
8.4 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.
-->
<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"
android:layout_margin="5sp" >
<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="18sp"
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="14sp"
android:textStyle="bold"
/>
<ImageView
android:id="@+id/img_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5dp"
android:src="@drawable/logo"
android:layout_alignParentRight="true"
android:contentDescription="Logo"
/>
<TextView
android:id="@+id/latitude_label_str"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/latitude"
android:textSize="14sp"
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"
/>
<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>
<TextView
android:id="@+id/longitude_label_str"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/longitude"
android:textSize="14sp"
android:textStyle="bold"
android:layout_below="@id/tableRow7"
/>
<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="14sp"
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"
android:textSize="14sp"
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"
android:textSize="14sp"
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"
android:textSize="14sp"
android:textStyle="bold" />
<TextView
android:id="@+id/uptime_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
2013-04-28 Mark Holland <mark@mark-holland.me.uk> * assets/database/pandroid.zip: Removed as no longer needed * assets/libs/android-sqlite-asset-helper: Removed as no longer needed * layout/setup.xml: Disabled autocorrect on server address and agent name text edits. Changed all dip to sp. Changed order of some objects * layout/setupnosim.xml: Disabled autocorrect on server address and agent name text edits. Changed all dip to sp. Changed order of some objects * src/pandroid/agent/Core.java: Reordered lots of code to improve legibility. * src/pandroid/agent/DataBaseHandler.java: Removed as no longer needed * src/pandroid/agent/DataBaseHandler.java: Removed as no longer needed * src/pandroid/agent/HelperSharedPreferences: Removed as no longer needed * src/pandroid/agent/PandroidAgent.java: Removed all relating to SharedPreferences * src/pandroid/agent/PandroidAgentListener.java: loadConf on service start. Restored SharedPreferences getter and setter. Notification shows the whole time alarm enabled, on stop agent dissapears. On connection shows message(unavoidable at current time). * src/pandroid/agent/PandroidAgentTentacle.java: Changed socket timeout to 2000ms. * src/pandroid/agent/Setup.java: Reordered lots of code to improve legibility. * src/pandroid/agent/SMSBroadcastReceiver.java: Returned to using local SharedPreferences. * values: Added value for choosing task to report, odd suggestions. * Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-28 03:57:17 +02:00
<!-- for debugging
<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
-->
</LinearLayout>
</ScrollView>
</LinearLayout>