|
|
|
@ -1,21 +1,25 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.constraintlayout.widget.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"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
android:paddingBottom="16dp">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/hexapod_logo"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="200dp"
|
|
|
|
|
android:src="@drawable/hexapod_logo"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/ip_input"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/ip_input_layout"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
@ -34,9 +38,9 @@
|
|
|
|
|
android:id="@+id/ip_input"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="number|numberDecimal"
|
|
|
|
|
android:digits="0123456789."
|
|
|
|
|
android:hint="IP" />
|
|
|
|
|
android:hint="IP"
|
|
|
|
|
android:inputType="number|numberDecimal" />
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
@ -53,8 +57,8 @@
|
|
|
|
|
android:id="@+id/port_input"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
android:hint="Port" />
|
|
|
|
|
android:hint="Port"
|
|
|
|
|
android:inputType="number" />
|
|
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
@ -66,6 +70,7 @@
|
|
|
|
|
android:text="Connect"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/port_input" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/port_input_layout" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</ScrollView>
|