added missing semicolons
switched to relative timestamps reduced file footprint fixed layout issues removed layout margins more robust data-folder detection fixed some potential timing issues reduced rotation matrix calculation (only with MAG_SENSOR) added data-rate calculation reduced UI-updates
This commit is contained in:
@@ -1,28 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:keepScreenOn="true"
|
||||
tools:context="de.fhws.indoor.sensorreadout.MainActivity">
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:orientation="vertical"
|
||||
tools:context=".MainActivity"
|
||||
android:background="#333">
|
||||
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:keepScreenOn="true"
|
||||
tools:context="de.fhws.indoor.sensorreadout.MainActivity"
|
||||
android:background="#333">
|
||||
|
||||
<Button
|
||||
android:layout_width="50dp"
|
||||
@@ -66,16 +50,46 @@ tools:context="de.fhws.indoor.sensorreadout.MainActivity">
|
||||
android:background="#64bbe5"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_below="@+id/btnGround"
|
||||
android:id="@+id/txtFile"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#ffffff"
|
||||
android:text="-"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_below="@+id/txtFile"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="#222"
|
||||
android:layout_marginTop="126dip"
|
||||
android:layout_marginTop="0dip"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/layoutMain">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtWifi"
|
||||
android:textColor="#ffffff"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="-"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/txtBeacon"
|
||||
android:textColor="#ffffff"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="-"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/txtBuffer"
|
||||
android:textColor="#ffffff"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="-"
|
||||
/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
Reference in New Issue
Block a user