65 lines
2.5 KiB
XML
65 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.constraint.ConstraintLayout 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=".HostActivity">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="32dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginStart="16dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="Logo"
|
|
app:srcCompat="@drawable/icon" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/hostInfoText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/hostInfoText"
|
|
android:textAlignment="center"
|
|
android:textAppearance="@android:style/TextAppearance.Material.Medium.Inverse"
|
|
android:textColor="@android:color/black" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="30dp" />
|
|
|
|
<EditText
|
|
android:id="@+id/hostText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10"
|
|
android:hint="@string/hostText"
|
|
android:inputType="text" />
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/okButton" />
|
|
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
</android.support.constraint.ConstraintLayout> |