fixed several potential nullptrs
code cleanups logging enhancements (memory/cpu) reduced log footprint (diskspace) fixed some potential layout issues added comments
This commit is contained in:
@@ -18,62 +18,55 @@ tools:context="de.fhws.indoor.sensorreadout.MainActivity">
|
||||
tools:context=".MainActivity"
|
||||
android:background="#333">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:text="stop"
|
||||
android:id="@+id/btnStop"
|
||||
android:background="@drawable/btnstopcolor"/>
|
||||
|
||||
<Button
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:layout_below="@+id/btnStop"
|
||||
android:text="start"
|
||||
android:id="@+id/btnStart"
|
||||
android:background="@drawable/btnstartcolor"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<Spinner
|
||||
android:layout_width="58dip"
|
||||
android:layout_width="68dip"
|
||||
android:layout_height="48dip"
|
||||
android:layout_toRightOf="@+id/btnStop"
|
||||
android:id="@+id/pathspinner"
|
||||
android:background="#64bbe5"
|
||||
/>
|
||||
|
||||
<Spinner
|
||||
android:layout_width="58dip"
|
||||
android:layout_height="48dip"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_below="@+id/pathspinner"
|
||||
android:layout_toRightOf="@id/btnStart"
|
||||
android:id="@+id/groundspinner"
|
||||
android:background="#64bbe5"
|
||||
android:layout_alignBottom="@+id/btnGround" />
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="96dip"
|
||||
android:layout_toRightOf="@+id/pathspinner"
|
||||
android:text="Ground Truth"
|
||||
android:id="@+id/btnGround"
|
||||
android:layout_gravity="right"
|
||||
android:background="#64bbe5"
|
||||
/>
|
||||
|
||||
<Button
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="96dip"
|
||||
android:text="Ground Truth"
|
||||
android:id="@+id/btnGround"
|
||||
android:layout_gravity="right"
|
||||
android:background="#64bbe5"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
||||
Reference in New Issue
Block a user