|
@@ -1,14 +1,114 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- tools:context=".screen.fighter.FighterAdminFragment">
|
|
|
+ android:background="@color/color_black"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="10dp">
|
|
|
|
|
|
- <!-- TODO: Update blank fragment layout -->
|
|
|
- <TextView
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:id="@+id/til_date"
|
|
|
+ style="@style/BoxInputLayout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:text="@string/hello_blank_fragment" />
|
|
|
+ android:layout_height="48dp"
|
|
|
+ app:endIconMode="clear_text"
|
|
|
+ app:hintEnabled="false">
|
|
|
|
|
|
-</FrameLayout>
|
|
|
+ <androidx.appcompat.widget.AppCompatEditText
|
|
|
+ android:id="@+id/et_date"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_white"
|
|
|
+ android:hint="@string/hint_date"
|
|
|
+ android:inputType="text"
|
|
|
+ android:maxLength="50"
|
|
|
+ android:padding="0dp" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:id="@+id/til_title"
|
|
|
+ style="@style/BoxInputLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ app:endIconMode="clear_text"
|
|
|
+ app:hintEnabled="false">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatEditText
|
|
|
+ android:id="@+id/et_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_white"
|
|
|
+ android:hint="@string/hint_title"
|
|
|
+ android:inputType="text"
|
|
|
+ android:maxLength="50"
|
|
|
+ android:padding="0dp" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:id="@+id/til_fighter_1"
|
|
|
+ style="@style/BoxInputLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ app:endIconMode="clear_text"
|
|
|
+ app:hintEnabled="false">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatEditText
|
|
|
+ android:id="@+id/et_fighter_1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_white"
|
|
|
+ android:hint="@string/hint_fighter_1"
|
|
|
+ android:inputType="text"
|
|
|
+ android:maxLength="50"
|
|
|
+ android:padding="0dp" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:id="@+id/til_fighter_2"
|
|
|
+ style="@style/BoxInputLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ app:endIconMode="clear_text"
|
|
|
+ app:hintEnabled="false">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatEditText
|
|
|
+ android:id="@+id/et_fighter_2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_white"
|
|
|
+ android:hint="@string/hint_fighter_2"
|
|
|
+ android:inputType="text"
|
|
|
+ android:maxLength="50"
|
|
|
+ android:padding="0dp" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:id="@+id/til_desc"
|
|
|
+ style="@style/BoxInputLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ app:endIconMode="clear_text"
|
|
|
+ app:hintEnabled="false">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatEditText
|
|
|
+ android:id="@+id/et_desc"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_white"
|
|
|
+ android:gravity="top"
|
|
|
+ android:hint="@string/hint_desc"
|
|
|
+ android:inputType="text"
|
|
|
+ android:maxLength="50"
|
|
|
+ android:padding="0dp" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/submitButton"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:paddingStart="16dp"
|
|
|
+ android:paddingEnd="16dp"
|
|
|
+ android:text="Submit" />
|
|
|
+</LinearLayout>
|