from muschinkina_maria_2
This commit is contained in:
parent
8099193a1a
commit
57b42a0e91
13
app/src/main/res/drawable/exit.xml
Normal file
13
app/src/main/res/drawable/exit.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="25dp"
|
||||
android:height="25dp"
|
||||
android:viewportWidth="25"
|
||||
android:viewportHeight="25">
|
||||
<path
|
||||
android:pathData="M12.5,15.5L15.5,12.5M15.5,12.5L12.5,9.5M15.5,12.5H4.5M4.5,7.748V7.7C4.5,6.58 4.5,6.02 4.718,5.592C4.91,5.215 5.215,4.91 5.592,4.718C6.02,4.5 6.58,4.5 7.7,4.5H17.3C18.42,4.5 18.98,4.5 19.407,4.718C19.784,4.91 20.09,5.215 20.282,5.592C20.5,6.019 20.5,6.579 20.5,7.697V17.304C20.5,18.421 20.5,18.98 20.282,19.408C20.09,19.784 19.784,20.09 19.407,20.282C18.98,20.5 18.421,20.5 17.303,20.5H7.697C6.579,20.5 6.019,20.5 5.592,20.282C5.215,20.09 4.91,19.784 4.718,19.408C4.5,18.98 4.5,18.42 4.5,17.3V17.25"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="2"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#ffffff"
|
||||
android:strokeLineCap="round"/>
|
||||
</vector>
|
46
app/src/main/res/layout/fragment_find_employee.xml
Normal file
46
app/src/main/res/layout/fragment_find_employee.xml
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginHorizontal="24dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_gravity="start"
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/manrope_bold"
|
||||
android:text="@string/find_employee_header"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/username"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="24dp"
|
||||
android:background="@drawable/input_field"
|
||||
android:fontFamily="@font/manrope_light"
|
||||
android:hint="@string/login_hint"
|
||||
android:inputType="textEmailAddress"
|
||||
android:minHeight="50dp"
|
||||
android:paddingHorizontal="20dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/find"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@drawable/main_button"
|
||||
android:foreground="?attr/selectableItemBackground"
|
||||
android:text="@string/find_button_text"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
55
app/src/main/res/layout/pass_item.xml
Normal file
55
app/src/main/res/layout/pass_item.xml
Normal file
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.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="wrap_content"
|
||||
android:layout_marginBottom="8dp">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:backgroundTint="@color/gray"
|
||||
app:cardCornerRadius="8dp"
|
||||
app:cardElevation="0dp"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:textSize="16sp"
|
||||
tools:text="Смартфон" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:fontFamily="@font/manrope_light"
|
||||
android:textColor="@color/dark_gray"
|
||||
android:textSize="14sp"
|
||||
tools:text="24.04.25 в 18.00" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginBottom="14dp"
|
||||
android:fontFamily="@font/manrope_light"
|
||||
android:textColor="@color/main_button_color"
|
||||
android:textSize="12sp"
|
||||
tools:text="Считыватель “Миньон”" />
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
x
Reference in New Issue
Block a user