Files
ZoomHelperAndroid/app/src/main/res/layout/activity_main.xml
T
2021-03-11 12:37:14 +01:00

209 lines
7.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:layout_alignParentBottom="true"
android:paddingStart="60dp"
android:paddingEnd="16dp"
tools:context=".MainActivity">
<TextView
android:id="@+id/textMeetingName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextMeetingName"
android:layout_marginTop="70dp"
android:text="@string/MeetingName" />
<de.joel.zoomhelper.InstantAutoComplete
android:id="@+id/TextMeetingName"
android:layout_width="215dp"
android:layout_height="wrap_content"
android:layout_above="@+id/textName"
android:inputType="text" />
<ImageView
android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/TextMeetingName"
android:layout_toEndOf="@+id/TextMeetingName"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true"
android:padding="5dp"
android:src="@mipmap/baseline_arrow_drop_down_black_24" />
<ImageView
android:id="@+id/imageAdd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/editAtt"
android:layout_marginStart="30dp"
android:layout_marginTop="30dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true"
app:srcCompat="@drawable/iconfinder_pluscircle_7124019_32" />
<ImageView
android:id="@+id/imageTrash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/imageAdd"
android:layout_marginStart="15dp"
android:layout_toEndOf="@+id/imageAdd"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true"
app:srcCompat="@drawable/iconfinder_trash_7124159_32" />
<ImageView
android:id="@+id/imageSave"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/imageAdd"
android:layout_marginStart="15dp"
android:layout_toEndOf="@+id/imageTrash"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true"
app:srcCompat="@drawable/iconfinder_save_7124134_32" />
<ImageView
android:id="@+id/imageShare"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/imageAdd"
android:layout_marginStart="15dp"
android:layout_toEndOf="@+id/imageSave"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true"
app:srcCompat="@drawable/iconfinder_share_7124186_32" />
<ImageView
android:id="@+id/imageAttend"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/imageAdd"
android:layout_marginStart="15dp"
android:layout_toEndOf="@+id/imageShare"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true"
app:srcCompat="@drawable/iconfinder_phone_7124181_32" />
<TextView
android:id="@+id/textID"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/textBoxID"
android:text="@string/MeetingID" />
<EditText
android:id="@+id/textBoxID"
android:layout_width="215dp"
android:layout_height="wrap_content"
android:layout_above="@+id/textPW"
android:focusable="true"
android:focusableInTouchMode="true"
android:inputType="text" />
<TextView
android:id="@+id/textPW"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/layoutPW"
android:layout_marginTop="22dp"
android:text="@string/Password" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/layoutPW"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/textMeetingName"
android:background="@android:color/transparent"
app:boxBackgroundColor="@android:color/transparent"
app:passwordToggleDrawable="@drawable/show_password_selector"
app:passwordToggleEnabled="true">
<EditText
android:id="@+id/editTextTextPassword2"
android:layout_width="215dp"
android:layout_height="wrap_content"
android:inputType="textPassword" />
</com.google.android.material.textfield.TextInputLayout>
<TextView
android:id="@+id/textName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/textBoxName"
android:layout_marginTop="22dp"
android:text="@string/DisplayName" />
<de.joel.zoomhelper.InstantAutoComplete
android:id="@+id/textBoxName"
android:layout_width="215dp"
android:layout_height="wrap_content"
android:layout_above="@+id/textAtt"
android:inputType="text" />
<ImageView
android:id="@+id/image2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/textBoxName"
android:layout_toEndOf="@+id/textBoxName"
android:background="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:focusable="true"
android:padding="5dp"
android:src="@mipmap/baseline_arrow_drop_down_black_24" />
<TextView
android:id="@+id/textAtt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/editAtt"
android:layout_marginTop="22dp"
android:text="@string/AttendeesInput" />
<EditText
android:id="@+id/editAtt"
android:layout_width="215dp"
android:layout_height="wrap_content"
android:layout_above="@+id/btnSave"
android:inputType="number" />
<Button
android:id="@+id/btnSave"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginTop="80dp"
android:layout_marginBottom="40dp"
android:onClick="btnSave_onClick"
android:text="@string/Save" />
<Button
android:id="@+id/btnJoin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/btnSave"
android:layout_marginStart="22dp"
android:layout_toEndOf="@+id/btnSave"
android:onClick="btnJoin_onClick"
android:text="@string/Join" />
</RelativeLayout>