49 lines
1.8 KiB
XML
49 lines
1.8 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=".MainActivity">
|
|
|
|
<Button
|
|
android:id="@+id/button"
|
|
android:layout_width="91dp"
|
|
android:layout_height="51dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginStart="8dp"
|
|
android:onClick="sendMessage"
|
|
android:text="@string/button_send"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<ToggleButton
|
|
android:id="@+id/toggleButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="ToggleButton"
|
|
tools:layout_editor_absoluteX="77dp"
|
|
tools:layout_editor_absoluteY="96dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
app:srcCompat="@android:drawable/presence_invisible"
|
|
tools:layout_editor_absoluteX="205dp"
|
|
tools:layout_editor_absoluteY="96dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="visible"
|
|
app:srcCompat="@android:drawable/presence_online"
|
|
tools:layout_editor_absoluteX="176dp"
|
|
tools:layout_editor_absoluteY="96dp" />
|
|
|
|
</android.support.constraint.ConstraintLayout> |