Updated the UI to support the runing average

This commit is contained in:
Alexandros Schillings
2014-03-18 15:23:14 +00:00
parent 83ee1eab66
commit e2294ca926
8 changed files with 103 additions and 79 deletions
+3 -8
View File
@@ -17,11 +17,12 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:gravity="top"
android:orientation="horizontal" >
<ImageView
android:id="@+id/device_icon"
android:paddingTop="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="5dp"
@@ -57,12 +58,6 @@
android:layout_height="wrap_content"
android:textSize="12sp"
android:typeface="monospace" />
</GridLayout>
<GridLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:columnCount="4" >
<TextView
android:layout_width="wrap_content"
@@ -82,7 +77,6 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:text="@string/label_rssi"
android:textSize="12sp"
@@ -100,6 +94,7 @@
android:id="@+id/ibeacon_section"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:columnCount="4" >
<!-- ROW 1 -->
+3
View File
@@ -0,0 +1,3 @@
<resources>
<color name="light_gray">#e0e0e0</color>
</resources>
+6
View File
@@ -11,11 +11,17 @@
<string name="no_data">No data</string>
<string name="unknown_device">Unknown Device</string>
<!-- Formatters -->
<string name="formatter_meters">%sm</string>
<string name="formatter_db">%sdb</string>
<!-- Menu items -->
<string name="menu_connect">Connect</string>
<string name="menu_disconnect">Disconnect</string>
<string name="menu_scan">Scan</string>
<string name="menu_stop">Stop</string>
<!-- List Items -->
<string name="label_distance">Distance:</string>
<string name="label_tx_power">TX Power:</string>
<string name="label_minor">Minor:</string>