Commit 259f5fc8 authored by Craig Earley's avatar Craig Earley
Browse files

fixes landscape view of the sensor sample activity to prevent crashes

parent e1ad6a5b
......@@ -168,16 +168,6 @@
android:layout_above="@+id/streamButton">
</ListView>
<ImageButton
android:id="@+id/exportDbButton"
android:layout_width="wrap_content"
android:background="@null"
android:layout_height="wrap_content"
android:contentDescription="@string/export"
app:srcCompat="@drawable/export_button"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true" />
<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......@@ -186,7 +176,7 @@
android:contentDescription="@string/stream"
app:srcCompat="@drawable/stream_button"
android:layout_alignParentBottom="true"
android:layout_toStartOf="@+id/sector" />
android:layout_toEndOf="@+id/sampleButton" />
<ImageButton
android:layout_width="wrap_content"
......@@ -196,7 +186,6 @@
android:contentDescription="@string/sample"
app:srcCompat="@drawable/sample_button"
android:layout_alignParentBottom="true"
android:layout_toEndOf="@+id/exportDbButton"
android:layout_marginStart="23dp" />
<Button
android:id="@+id/addPictureButton"
......@@ -242,4 +231,15 @@
android:layout_above="@+id/sampleButton"
android:layout_toEndOf="@+id/addNotesButton"
android:layout_alignTop="@+id/addNotesButton" />
<TextView
android:id="@+id/battery_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginTop="15dp"
android:layout_marginEnd="10dp"
android:text="Batt: "
android:textStyle="bold"
android:textSize="18sp"/>
</RelativeLayout>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment