Skip to content
Snippets Groups Projects
Commit a4edfa11 authored by Dominik Grzelak's avatar Dominik Grzelak
Browse files

scrollview is now main view for main activity

parent 204c1325
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="de.tudresden.inf.st.sensorsharing.MainActivity">
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/label_own_rotation"
android:layout_width="wrap_content"
......@@ -259,7 +263,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="Status"
android:text="@string/status"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/separator_wear" />
......@@ -267,14 +271,13 @@
android:id="@+id/toggleButton-lightonoff"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:text="Switch On"
android:textOn="Switch Light OFF"
android:textOff="Switch Light ON"
app:layout_constraintEnd_toEndOf="@+id/checkBox_send_rotation_ahrs"
android:text="@string/switch_on"
android:textOff="@string/switch_light_on"
android:textOn="@string/switch_light_off"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/checkBox_send_rotation_ahrs" />
</android.support.constraint.ConstraintLayout>
</ScrollView>
......@@ -12,4 +12,8 @@
<string name="text_separator_mqtt_settings">MQTT Settings</string>
<string name="text_send_updates_brightness">Send Updates Brightness</string>
<string name="text_send_updates_rotationahrs">Send Updates Rotation (AHRS)</string>
<string name="status">Status</string>
<string name="switch_on">Switch On</string>
<string name="switch_light_on">Switch Light ON</string>
<string name="switch_light_off">Switch Light OFF</string>
</resources>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment