|
@@ -6,34 +6,31 @@
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".MainActivity">
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
- <EditText
|
|
|
|
- android:id="@+id/editText"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="85dp"
|
|
|
|
- android:layout_marginStart="16dp"
|
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
|
- android:layout_marginTop="16dp"
|
|
|
|
- android:ems="10"
|
|
|
|
- android:hint="@string/edit_message"
|
|
|
|
- android:inputType="textPersonName"
|
|
|
|
- app:layout_constraintEnd_toStartOf="@+id/button"
|
|
|
|
- app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
- app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
-
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:id="@+id/button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginEnd="24dp"
|
|
|
|
+ android:layout_marginRight="24dp"
|
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
|
+ android:onClick="sendMessage"
|
|
|
|
+ android:text="@string/button_start"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/Console"
|
|
|
|
+ android:layout_width="334dp"
|
|
|
|
+ android:layout_height="194dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginLeft="16dp"
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginRight="16dp"
|
|
- android:onClick="sendMessage"
|
|
|
|
- android:text="@string/button_send"
|
|
|
|
- app:layout_constraintBaseline_toBaselineOf="@+id/editText"
|
|
|
|
|
|
+ android:ems="10"
|
|
|
|
+ android:inputType="textPersonName"
|
|
|
|
+ android:text="@string/Console_text"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
- app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/editText" />
|
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
</android.support.constraint.ConstraintLayout>
|
|
</android.support.constraint.ConstraintLayout>
|