Base UI/UX
This commit is contained in:
		
							parent
							
								
									6ce331b2b6
								
							
						
					
					
						commit
						01ff55a4d1
					
				
							
								
								
									
										2
									
								
								.idea/kotlinc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.idea/kotlinc.xml
									
									
									
										generated
									
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
<project version="4">
 | 
					<project version="4">
 | 
				
			||||||
  <component name="KotlinJpsPluginSettings">
 | 
					  <component name="KotlinJpsPluginSettings">
 | 
				
			||||||
    <option name="version" value="1.9.24" />
 | 
					    <option name="version" value="2.0.0-RC1" />
 | 
				
			||||||
  </component>
 | 
					  </component>
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
							
								
								
									
										1
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							@ -1,4 +1,3 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					 | 
				
			||||||
<project version="4">
 | 
					<project version="4">
 | 
				
			||||||
  <component name="ExternalStorageConfigurationManager" enabled="true" />
 | 
					  <component name="ExternalStorageConfigurationManager" enabled="true" />
 | 
				
			||||||
  <component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
 | 
					  <component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable/background.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable/background.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 6.6 KiB  | 
							
								
								
									
										7
									
								
								app/src/main/res/drawable/history.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								app/src/main/res/drawable/history.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="50dp" android:viewportHeight="24" android:viewportWidth="24" android:width="50dp">
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					    <path android:fillColor="#00000000" android:pathData="M12,8V12L14.5,14.5" android:strokeColor="#1C274C" android:strokeLineCap="round" android:strokeLineJoin="round" android:strokeWidth="1.5"/>
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					    <path android:fillColor="#1C274C" android:pathData="M5.604,5.604L5.074,5.074V5.074L5.604,5.604ZM4.338,6.871L3.588,6.874C3.59,7.286 3.923,7.619 4.334,7.621L4.338,6.871ZM6.88,7.633C7.294,7.635 7.631,7.301 7.633,6.887C7.635,6.473 7.301,6.135 6.887,6.133L6.88,7.633ZM5.075,4.321C5.073,3.907 4.735,3.573 4.321,3.575C3.907,3.577 3.573,3.915 3.575,4.329L5.075,4.321ZM3.75,12C3.75,11.586 3.414,11.25 3,11.25C2.586,11.25 2.25,11.586 2.25,12H3.75ZM16.875,20.445C17.234,20.238 17.357,19.779 17.149,19.42C16.942,19.062 16.483,18.939 16.125,19.147L16.875,20.445ZM19.147,16.125C18.939,16.483 19.062,16.942 19.42,17.149C19.779,17.357 20.238,17.234 20.445,16.875L19.147,16.125ZM5.14,5.071C4.846,5.363 4.844,5.838 5.135,6.132C5.426,6.426 5.901,6.429 6.196,6.137L5.14,5.071ZM18.862,5.138C15.042,1.318 8.869,1.279 5.074,5.074L6.135,6.135C9.334,2.935 14.557,2.954 17.802,6.199L18.862,5.138ZM5.074,5.074L3.808,6.34L4.868,7.401L6.135,6.135L5.074,5.074ZM4.334,7.621L6.88,7.633L6.887,6.133L4.342,6.121L4.334,7.621ZM5.088,6.867L5.075,4.321L3.575,4.329L3.588,6.874L5.088,6.867ZM12,3.75C16.556,3.75 20.25,7.444 20.25,12H21.75C21.75,6.615 17.385,2.25 12,2.25V3.75ZM12,20.25C7.444,20.25 3.75,16.556 3.75,12H2.25C2.25,17.385 6.615,21.75 12,21.75V20.25ZM16.125,19.147C14.912,19.848 13.504,20.25 12,20.25V21.75C13.775,21.75 15.441,21.275 16.875,20.445L16.125,19.147ZM20.25,12C20.25,13.504 19.848,14.912 19.147,16.125L20.445,16.875C21.275,15.441 21.75,13.775 21.75,12H20.25ZM6.196,6.137C7.687,4.661 9.736,3.75 12,3.75V2.25C9.325,2.25 6.901,3.328 5.14,5.071L6.196,6.137Z"/>
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					</vector>
 | 
				
			||||||
@ -1,30 +1,14 @@
 | 
				
			|||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
					<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
				
			||||||
    xmlns:aapt="http://schemas.android.com/aapt"
 | 
					 | 
				
			||||||
    android:width="108dp"
 | 
					    android:width="108dp"
 | 
				
			||||||
    android:height="108dp"
 | 
					    android:height="108dp"
 | 
				
			||||||
    android:viewportWidth="108"
 | 
					    android:viewportWidth="330"
 | 
				
			||||||
    android:viewportHeight="108">
 | 
					    android:viewportHeight="330">
 | 
				
			||||||
    <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
 | 
					  <group android:scaleX="0.55"
 | 
				
			||||||
        <aapt:attr name="android:fillColor">
 | 
					      android:scaleY="0.55"
 | 
				
			||||||
            <gradient
 | 
					      android:translateX="74.25"
 | 
				
			||||||
                android:endX="85.84757"
 | 
					      android:translateY="74.25">
 | 
				
			||||||
                android:endY="92.4963"
 | 
					 | 
				
			||||||
                android:startX="42.9492"
 | 
					 | 
				
			||||||
                android:startY="49.59793"
 | 
					 | 
				
			||||||
                android:type="linear">
 | 
					 | 
				
			||||||
                <item
 | 
					 | 
				
			||||||
                    android:color="#44000000"
 | 
					 | 
				
			||||||
                    android:offset="0.0" />
 | 
					 | 
				
			||||||
                <item
 | 
					 | 
				
			||||||
                    android:color="#00000000"
 | 
					 | 
				
			||||||
                    android:offset="1.0" />
 | 
					 | 
				
			||||||
            </gradient>
 | 
					 | 
				
			||||||
        </aapt:attr>
 | 
					 | 
				
			||||||
    </path>
 | 
					 | 
				
			||||||
    <path
 | 
					    <path
 | 
				
			||||||
        android:fillColor="#FFFFFF"
 | 
					        android:pathData="M65,330h200c8.28,0 15,-6.72 15,-15V145c0,-8.28 -6.72,-15 -15,-15h-15V85c0,-46.87 -38.13,-85 -85,-85S80,38.13 80,85v45H65c-8.28,0 -15,6.72 -15,15v170C50,323.28 56.72,330 65,330zM180,234.99V255c0,8.28 -6.72,15 -15,15s-15,-6.72 -15,-15v-20.01c-6.07,-4.57 -10,-11.82 -10,-19.99c0,-13.78 11.22,-25 25,-25s25,11.22 25,25C190,223.16 186.07,230.42 180,234.99zM110,85c0,-30.33 24.67,-55 55,-55s55,24.67 55,55v45H110V85z"
 | 
				
			||||||
        android:fillType="nonZero"
 | 
					        android:fillColor="#000000"/>
 | 
				
			||||||
        android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
 | 
					  </group>
 | 
				
			||||||
        android:strokeWidth="1"
 | 
					 | 
				
			||||||
        android:strokeColor="#00000000" />
 | 
					 | 
				
			||||||
</vector>
 | 
					</vector>
 | 
				
			||||||
							
								
								
									
										11
									
								
								app/src/main/res/drawable/ic_navigation.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/src/main/res/drawable/ic_navigation.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
				
			||||||
 | 
					    android:width="25dp"
 | 
				
			||||||
 | 
					    android:height="25dp"
 | 
				
			||||||
 | 
					    android:viewportWidth="24"
 | 
				
			||||||
 | 
					    android:viewportHeight="24"
 | 
				
			||||||
 | 
					    android:tint="?attr/colorControlNormal">
 | 
				
			||||||
 | 
					  <path
 | 
				
			||||||
 | 
					      android:pathData="M12,4C11.448,4 11,4.448 11,5C11,5.552 11.448,6 12,6C12.552,6 13,5.552 13,5C13,4.448 12.552,4 12,4ZM15,5C15,6.657 13.657,8 12,8C10.343,8 9,6.657 9,5C9,3.343 10.343,2 12,2C13.657,2 15,3.343 15,5ZM12,11C11.448,11 11,11.448 11,12C11,12.552 11.448,13 12,13C12.552,13 13,12.552 13,12C13,11.448 12.552,11 12,11ZM15,12C15,13.657 13.657,15 12,15C10.343,15 9,13.657 9,12C9,10.343 10.343,9 12,9C13.657,9 15,10.343 15,12ZM11,19C11,18.448 11.448,18 12,18C12.552,18 13,18.448 13,19C13,19.552 12.552,20 12,20C11.448,20 11,19.552 11,19ZM12,22C13.657,22 15,20.657 15,19C15,17.343 13.657,16 12,16C10.343,16 9,17.343 9,19C9,20.657 10.343,22 12,22Z"
 | 
				
			||||||
 | 
					      android:fillColor="#000000"
 | 
				
			||||||
 | 
					      android:fillType="evenOdd"/>
 | 
				
			||||||
 | 
					</vector>
 | 
				
			||||||
							
								
								
									
										9
									
								
								app/src/main/res/drawable/profile.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/drawable/profile.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="50dp" android:viewportHeight="24" android:viewportWidth="24" android:width="50dp">
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					    <path android:fillColor="#00000000" android:pathData="M12.12,12.78C12.05,12.77 11.96,12.77 11.88,12.78C10.12,12.72 8.72,11.28 8.72,9.51C8.72,7.7 10.18,6.23 12,6.23C13.81,6.23 15.28,7.7 15.28,9.51C15.27,11.28 13.88,12.72 12.12,12.78Z" android:strokeColor="#292D32" android:strokeLineCap="round" android:strokeLineJoin="round" android:strokeWidth="1.5"/>
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					    <path android:fillColor="#00000000" android:pathData="M18.74,19.38C16.96,21.01 14.6,22 12,22C9.4,22 7.04,21.01 5.26,19.38C5.36,18.44 5.96,17.52 7.03,16.8C9.77,14.98 14.25,14.98 16.97,16.8C18.04,17.52 18.64,18.44 18.74,19.38Z" android:strokeColor="#292D32" android:strokeLineCap="round" android:strokeLineJoin="round" android:strokeWidth="1.5"/>
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					    <path android:fillColor="#00000000" android:pathData="M12,22C17.523,22 22,17.523 22,12C22,6.477 17.523,2 12,2C6.477,2 2,6.477 2,12C2,17.523 6.477,22 12,22Z" android:strokeColor="#292D32" android:strokeLineCap="round" android:strokeLineJoin="round" android:strokeWidth="1.5"/>
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					</vector>
 | 
				
			||||||
							
								
								
									
										8
									
								
								app/src/main/res/drawable/shape_button.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								app/src/main/res/drawable/shape_button.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<shape  xmlns:android="http://schemas.android.com/apk/res/android">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  <stroke
 | 
				
			||||||
 | 
					      android:width="1dp"
 | 
				
			||||||
 | 
					    android:color="@color/orange"/>
 | 
				
			||||||
 | 
					  <corners android:radius="22dp"/>
 | 
				
			||||||
 | 
					</shape>
 | 
				
			||||||
							
								
								
									
										9
									
								
								app/src/main/res/drawable/shape_rectangle3.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/drawable/shape_rectangle3.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
				
			||||||
 | 
					    android:width="263dp"
 | 
				
			||||||
 | 
					    android:height="50dp"
 | 
				
			||||||
 | 
					    android:viewportWidth="263"
 | 
				
			||||||
 | 
					    android:viewportHeight="50">
 | 
				
			||||||
 | 
					  <path
 | 
				
			||||||
 | 
					      android:pathData="M25,0L238,0A25,25 0,0 1,263 25L263,25A25,25 0,0 1,238 50L25,50A25,25 0,0 1,0 25L0,25A25,25 0,0 1,25 0z"
 | 
				
			||||||
 | 
					      android:fillColor="#EBEBEB"/>
 | 
				
			||||||
 | 
					</vector>
 | 
				
			||||||
							
								
								
									
										82
									
								
								app/src/main/res/layout/fragment_login.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										82
									
								
								app/src/main/res/layout/fragment_login.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,82 @@
 | 
				
			|||||||
 | 
					<?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:id="@+id/main"
 | 
				
			||||||
 | 
					    android:background="@drawable/background"
 | 
				
			||||||
 | 
					    android:layout_width="match_parent"
 | 
				
			||||||
 | 
					    android:layout_height="match_parent"
 | 
				
			||||||
 | 
					    tools:context=".MainActivity">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <TextView
 | 
				
			||||||
 | 
					        android:layout_width="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:text="@string/Login"
 | 
				
			||||||
 | 
					        android:textSize="16pt"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toTopOf="@+id/editTextText1"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintHorizontal_bias="0.497"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toTopOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintVertical_bias="0.721" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <EditText
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        android:id="@+id/editTextText1"
 | 
				
			||||||
 | 
					        android:layout_width="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_marginTop="240dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_rectangle3"
 | 
				
			||||||
 | 
					        android:gravity="center"
 | 
				
			||||||
 | 
					        android:inputType="text"
 | 
				
			||||||
 | 
					        android:text="Логин"
 | 
				
			||||||
 | 
					        android:textColor="@color/dark_grey"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toTopOf="parent"
 | 
				
			||||||
 | 
					        tools:ignore="MissingConstraints" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <EditText
 | 
				
			||||||
 | 
					        android:id="@+id/editTextText3"
 | 
				
			||||||
 | 
					        android:layout_width="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_marginBottom="16dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_rectangle3"
 | 
				
			||||||
 | 
					        android:gravity="center"
 | 
				
			||||||
 | 
					        android:inputType="text"
 | 
				
			||||||
 | 
					        android:text="Пароль"
 | 
				
			||||||
 | 
					        android:textColor="@color/dark_grey"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toBottomOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toBottomOf="@+id/editTextText1"
 | 
				
			||||||
 | 
					        app:layout_constraintVertical_bias="0.076" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <android.widget.Button
 | 
				
			||||||
 | 
					        android:id="@+id/button"
 | 
				
			||||||
 | 
					        android:layout_width="250dp"
 | 
				
			||||||
 | 
					        android:layout_height="50dp"
 | 
				
			||||||
 | 
					        android:layout_marginTop="32dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_button"
 | 
				
			||||||
 | 
					        android:text="Регистрация"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toBottomOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toBottomOf="@+id/editTextText3" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <android.widget.Button
 | 
				
			||||||
 | 
					        android:id="@+id/button2"
 | 
				
			||||||
 | 
					        android:layout_width="250dp"
 | 
				
			||||||
 | 
					        android:layout_height="50dp"
 | 
				
			||||||
 | 
					        android:layout_marginTop="32dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_button"
 | 
				
			||||||
 | 
					        android:text="Вход"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toTopOf="@+id/button"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintHorizontal_bias="0.503"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toBottomOf="@+id/editTextText3"
 | 
				
			||||||
 | 
					        app:layout_constraintVertical_bias="0.074" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</androidx.constraintlayout.widget.ConstraintLayout>
 | 
				
			||||||
							
								
								
									
										93
									
								
								app/src/main/res/layout/fragment_register.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								app/src/main/res/layout/fragment_register.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,93 @@
 | 
				
			|||||||
 | 
					<?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:id="@+id/main"
 | 
				
			||||||
 | 
					    android:background="@drawable/background"
 | 
				
			||||||
 | 
					    android:layout_width="match_parent"
 | 
				
			||||||
 | 
					    android:layout_height="match_parent"
 | 
				
			||||||
 | 
					    tools:context=".MainActivity">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <TextView
 | 
				
			||||||
 | 
					        android:layout_width="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:text="@string/registration"
 | 
				
			||||||
 | 
					        android:textSize="16pt"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toTopOf="@+id/editTextText1"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintHorizontal_bias="0.497"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toTopOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintVertical_bias="0.721" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <EditText
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        android:id="@+id/editTextText1"
 | 
				
			||||||
 | 
					        android:layout_width="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_marginTop="240dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_rectangle3"
 | 
				
			||||||
 | 
					        android:gravity="center"
 | 
				
			||||||
 | 
					        android:inputType="text"
 | 
				
			||||||
 | 
					        android:text="Имя"
 | 
				
			||||||
 | 
					        android:textColor="@color/dark_grey"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toTopOf="parent"
 | 
				
			||||||
 | 
					        tools:ignore="MissingConstraints" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <EditText
 | 
				
			||||||
 | 
					        android:id="@+id/editTextText2"
 | 
				
			||||||
 | 
					        android:layout_width="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_marginTop="24dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_rectangle3"
 | 
				
			||||||
 | 
					        android:gravity="center"
 | 
				
			||||||
 | 
					        android:inputType="text"
 | 
				
			||||||
 | 
					        android:text="Фамилия"
 | 
				
			||||||
 | 
					        android:textColor="@color/dark_grey"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toBottomOf="@+id/editTextText1" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <EditText
 | 
				
			||||||
 | 
					        android:id="@+id/editTextText3"
 | 
				
			||||||
 | 
					        android:layout_width="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:layout_marginBottom="16dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_rectangle3"
 | 
				
			||||||
 | 
					        android:gravity="center"
 | 
				
			||||||
 | 
					        android:inputType="text"
 | 
				
			||||||
 | 
					        android:text="Пароль"
 | 
				
			||||||
 | 
					        android:textColor="@color/dark_grey"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toBottomOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toBottomOf="@+id/editTextText2"
 | 
				
			||||||
 | 
					        app:layout_constraintVertical_bias="0.076" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <android.widget.Button
 | 
				
			||||||
 | 
					        android:id="@+id/button"
 | 
				
			||||||
 | 
					        android:layout_width="250dp"
 | 
				
			||||||
 | 
					        android:layout_height="50dp"
 | 
				
			||||||
 | 
					        android:layout_marginTop="32dp"
 | 
				
			||||||
 | 
					        android:background="@drawable/shape_button"
 | 
				
			||||||
 | 
					        android:text="Регистрация"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toBottomOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toBottomOf="@+id/editTextText3" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <FrameLayout
 | 
				
			||||||
 | 
					        android:id="@+id/fragment_login"
 | 
				
			||||||
 | 
					        android:layout_width="0dp"
 | 
				
			||||||
 | 
					        android:layout_height="0dp"
 | 
				
			||||||
 | 
					        app:layout_constraintBottom_toBottomOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintEnd_toEndOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintStart_toStartOf="parent"
 | 
				
			||||||
 | 
					        app:layout_constraintTop_toTopOf="parent">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    </FrameLayout>
 | 
				
			||||||
 | 
					</androidx.constraintlayout.widget.ConstraintLayout>
 | 
				
			||||||
							
								
								
									
										39
									
								
								app/src/main/res/layout/main_qr.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								app/src/main/res/layout/main_qr.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,39 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
				
			||||||
 | 
					    android:layout_width="match_parent"
 | 
				
			||||||
 | 
					    android:layout_height="match_parent"
 | 
				
			||||||
 | 
					    android:background="@color/background"
 | 
				
			||||||
 | 
					    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
				
			||||||
 | 
					    xmlns:tools="http://schemas.android.com/tools"
 | 
				
			||||||
 | 
					    tools:context=".ListActivity">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <androidx.appcompat.widget.Toolbar
 | 
				
			||||||
 | 
					        android:id="@+id/toolbar"
 | 
				
			||||||
 | 
					        android:layout_width="match_parent"
 | 
				
			||||||
 | 
					        android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					        android:background="@color/orange"
 | 
				
			||||||
 | 
					        app:menu="@menu/top_app_bar"
 | 
				
			||||||
 | 
					        android:minHeight="?attr/actionBarSize"
 | 
				
			||||||
 | 
					        android:theme="?attr/actionBarTheme"
 | 
				
			||||||
 | 
					        app:layout_anchor="@+id/toolbar"
 | 
				
			||||||
 | 
					        app:layout_anchorGravity="center" />
 | 
				
			||||||
 | 
					    <ImageButton
 | 
				
			||||||
 | 
					        android:background="@android:color/transparent"
 | 
				
			||||||
 | 
					        android:id="@+id/imageButton"
 | 
				
			||||||
 | 
					        android:layout_width="75dp"
 | 
				
			||||||
 | 
					        android:layout_gravity="bottom|right"
 | 
				
			||||||
 | 
					        android:layout_height="75dp"
 | 
				
			||||||
 | 
					        app:srcCompat="@drawable/history"
 | 
				
			||||||
 | 
					        tools:ignore="RtlHardcoded" />
 | 
				
			||||||
 | 
					    <ImageButton
 | 
				
			||||||
 | 
					        android:background="@android:color/transparent"
 | 
				
			||||||
 | 
					        android:id="@+id/profile"
 | 
				
			||||||
 | 
					        android:layout_width="75dp"
 | 
				
			||||||
 | 
					        android:layout_gravity="bottom|left"
 | 
				
			||||||
 | 
					        android:layout_height="75dp"
 | 
				
			||||||
 | 
					        app:srcCompat="@drawable/profile"
 | 
				
			||||||
 | 
					        tools:ignore="RtlHardcoded" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</androidx.coordinatorlayout.widget.CoordinatorLayout>
 | 
				
			||||||
							
								
								
									
										12
									
								
								app/src/main/res/layout/menu/list.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								app/src/main/res/layout/menu/list.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
				
			||||||
 | 
					    android:width="800dp"
 | 
				
			||||||
 | 
					    android:height="800dp"
 | 
				
			||||||
 | 
					    android:viewportWidth="325"
 | 
				
			||||||
 | 
					    android:viewportHeight="325">
 | 
				
			||||||
 | 
					  <path
 | 
				
			||||||
 | 
					      android:pathData="M233.73,325h5.46c1.71,0 3.34,-0.73 4.47,-2l36.1,-40.39c0.98,-1.1 1.53,-2.52 1.53,-4v-4.69h-47.56V325z"
 | 
				
			||||||
 | 
					      android:fillColor="#000000"/>
 | 
				
			||||||
 | 
					  <path
 | 
				
			||||||
 | 
					      android:pathData="M275.29,0H49.71c-3.31,0 -6,2.69 -6,6v313c0,3.31 2.69,6 6,6h168.02v-59.08c0,-4.42 3.58,-8 8,-8h55.56V6C281.29,2.69 278.6,0 275.29,0zM130.92,261.37H76.78c-4.42,0 -8,-3.58 -8,-8c0,-4.42 3.58,-8 8,-8h54.14c4.42,0 8,3.58 8,8C138.92,257.79 135.34,261.37 130.92,261.37zM248.22,200.79H76.78c-4.42,0 -8,-3.58 -8,-8c0,-4.42 3.58,-8 8,-8h171.44c4.42,0 8,3.58 8,8C256.22,197.21 252.64,200.79 248.22,200.79zM248.22,140.21H76.78c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8h171.44c4.42,0 8,3.58 8,8S252.64,140.21 248.22,140.21zM248.22,79.63H76.78c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8h171.44c4.42,0 8,3.58 8,8S252.64,79.63 248.22,79.63z"
 | 
				
			||||||
 | 
					      android:fillColor="#000000"/>
 | 
				
			||||||
 | 
					</vector>
 | 
				
			||||||
							
								
								
									
										11
									
								
								app/src/main/res/layout/menu/top_app_bar.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/src/main/res/layout/menu/top_app_bar.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<menu xmlns:tools="http://schemas.android.com/tools"
 | 
				
			||||||
 | 
					    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
				
			||||||
 | 
					    xmlns:android="http://schemas.android.com/apk/res/android">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <item
 | 
				
			||||||
 | 
					        android:id="@+id/topbar_menu"
 | 
				
			||||||
 | 
					        android:icon="@drawable/ic_navigation"
 | 
				
			||||||
 | 
					        app:showAsAction="ifRoom"
 | 
				
			||||||
 | 
					        android:title="@string/Profile"/>
 | 
				
			||||||
 | 
					</menu>
 | 
				
			||||||
							
								
								
									
										12
									
								
								app/src/main/res/menu/list.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								app/src/main/res/menu/list.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					<vector xmlns:android="http://schemas.android.com/apk/res/android"
 | 
				
			||||||
 | 
					    android:width="800dp"
 | 
				
			||||||
 | 
					    android:height="800dp"
 | 
				
			||||||
 | 
					    android:viewportWidth="325"
 | 
				
			||||||
 | 
					    android:viewportHeight="325">
 | 
				
			||||||
 | 
					  <path
 | 
				
			||||||
 | 
					      android:pathData="M233.73,325h5.46c1.71,0 3.34,-0.73 4.47,-2l36.1,-40.39c0.98,-1.1 1.53,-2.52 1.53,-4v-4.69h-47.56V325z"
 | 
				
			||||||
 | 
					      android:fillColor="#000000"/>
 | 
				
			||||||
 | 
					  <path
 | 
				
			||||||
 | 
					      android:pathData="M275.29,0H49.71c-3.31,0 -6,2.69 -6,6v313c0,3.31 2.69,6 6,6h168.02v-59.08c0,-4.42 3.58,-8 8,-8h55.56V6C281.29,2.69 278.6,0 275.29,0zM130.92,261.37H76.78c-4.42,0 -8,-3.58 -8,-8c0,-4.42 3.58,-8 8,-8h54.14c4.42,0 8,3.58 8,8C138.92,257.79 135.34,261.37 130.92,261.37zM248.22,200.79H76.78c-4.42,0 -8,-3.58 -8,-8c0,-4.42 3.58,-8 8,-8h171.44c4.42,0 8,3.58 8,8C256.22,197.21 252.64,200.79 248.22,200.79zM248.22,140.21H76.78c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8h171.44c4.42,0 8,3.58 8,8S252.64,140.21 248.22,140.21zM248.22,79.63H76.78c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8h171.44c4.42,0 8,3.58 8,8S252.64,79.63 248.22,79.63z"
 | 
				
			||||||
 | 
					      android:fillColor="#000000"/>
 | 
				
			||||||
 | 
					</vector>
 | 
				
			||||||
							
								
								
									
										11
									
								
								app/src/main/res/menu/top_app_bar.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/src/main/res/menu/top_app_bar.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<menu xmlns:tools="http://schemas.android.com/tools"
 | 
				
			||||||
 | 
					    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
				
			||||||
 | 
					    xmlns:android="http://schemas.android.com/apk/res/android">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <item
 | 
				
			||||||
 | 
					        android:id="@+id/topbar_menu"
 | 
				
			||||||
 | 
					        android:icon="@drawable/ic_navigation"
 | 
				
			||||||
 | 
					        app:showAsAction="ifRoom"
 | 
				
			||||||
 | 
					        android:title="@string/Profile"/>
 | 
				
			||||||
 | 
					</menu>
 | 
				
			||||||
@ -2,4 +2,8 @@
 | 
				
			|||||||
<resources>
 | 
					<resources>
 | 
				
			||||||
    <color name="black">#FF000000</color>
 | 
					    <color name="black">#FF000000</color>
 | 
				
			||||||
    <color name="white">#FFFFFFFF</color>
 | 
					    <color name="white">#FFFFFFFF</color>
 | 
				
			||||||
 | 
					    <color name="grey2">#EBEBEB</color>
 | 
				
			||||||
 | 
					    <color name="orange">#FFB71B</color>
 | 
				
			||||||
 | 
					    <color name="dark_grey">#717171</color>
 | 
				
			||||||
 | 
					    <color name="background">#FFE5A6</color>
 | 
				
			||||||
</resources>
 | 
					</resources>
 | 
				
			||||||
							
								
								
									
										4
									
								
								app/src/main/res/values/ic_launcher_background.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								app/src/main/res/values/ic_launcher_background.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					<resources>
 | 
				
			||||||
 | 
					    <color name="ic_launcher_background">#FFB71B</color>
 | 
				
			||||||
 | 
					</resources>
 | 
				
			||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
<resources>
 | 
					<resources>
 | 
				
			||||||
    <string name="app_name">NTO-2024-client</string>
 | 
					    <string name="app_name">NTO-2024-client</string>
 | 
				
			||||||
 | 
					    <string name="Plaintext">Имя</string>
 | 
				
			||||||
 | 
					    <string name="registration">Регистрация</string>
 | 
				
			||||||
 | 
					    <string name="Login">Вход</string>
 | 
				
			||||||
 | 
					    <string name="Profile">Профиль</string>
 | 
				
			||||||
 | 
					    <string name="list">Лист</string>
 | 
				
			||||||
</resources>
 | 
					</resources>
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user