REPAIR and Redesign

This commit is contained in:
Serafim_Pankin 2025-02-20 11:22:13 +03:00
parent 78518576b2
commit 952a1f6714
6 changed files with 62 additions and 5 deletions

View File

@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="512dp"
android:height="512dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:pathData="M192,109.5l0,8.5 -9,-0 -9,-0 0,45 0,45 -10,-0 -10,-0 0,9 0,8.9 -7.7,0.3 -7.8,0.3 -0.3,9.2 -0.3,9.3 -7.4,-0 -7.5,-0 0,9 0,9 -16.5,-0 -16.5,-0 0,-9.5 0,-9.5 -9,-0 -9,-0 0,-8.5 0,-8.5 -9.5,-0 -9.5,-0 0,-18 0,-18 -13,-0 -13,-0 0,50 0,50 9,-0 9,-0 0,8.5 0,8.4 9.3,0.3 9.2,0.3 0.3,8.2 0.3,8.3 8.9,-0 9,-0 0,9.5 0,9.5 9,-0 9,-0 0,13 0,13 -34.5,-0 -34.5,-0 0,4 0,4 34.5,-0 34.5,-0 0,16.5 0,16.5 22.5,-0 22.5,-0 0,-13 0,-13 -9,-0 -9,-0 0,-3.5 0,-3.5 23.5,-0 23.5,-0 0,16.5 0,16.5 22,-0 22,-0 0,-13 0,-13 -9,-0 -9,-0 0,-3.5 0,-3.5 95.5,-0 95.5,-0 0,16.5 0,16.5 21.5,-0 21.5,-0 0,-16.5 0,-16.5 23.5,-0 23.5,-0 0,-4 0,-4 -23.5,-0 -23.5,-0 0,-19.5 0,-19.5 16.5,-0 16.5,-0 0,-5.5 0,-5.5 4.5,-0 4.5,-0 0,-5 0,-5 4.5,-0 4.5,-0 0,-60.5 0,-60.5 -4.5,-0 -4.5,-0 0,-4.5 0,-4.5 -12.5,-0 -12.5,-0 0,4.5 0,4.5 -4.5,-0 -4.5,-0 0,46 0,46 -4,-0 -4,-0 0,-65 0,-65 -4.5,-0 -4.5,-0 0,-4.5 0,-4.5 -12.5,-0 -12.5,-0 0,4.5 0,4.5 -4.5,-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-0.3 0,-8.4 0,-8.5 -9,-0 -9,-0 0,-42 0,-42 5,-0 5,-0 0,18 0,18 9.5,-0 9.5,-0 0,8.5 0,8.5 9,-0 9,-0 0,9.5 0,9.5 24.5,-0 24.5,-0 0,-9 0,-9 7.5,-0 7.4,-0 0.3,-9.3 0.3,-9.2 7.8,-0.3 7.7,-0.3 0,-8.9 0,-9 10,-0 10,-0 0,-45 0,-45 9,-0 9,-0 0,-8.5 0,-8.5 50.5,-0 50.5,-0 0,8.5zM417,154.5l0,4.5 4.5,-0 4.5,-0 0,65 0,65 12,-0 12,-0 0,-46 0,-46 4.5,-0 4.5,-0 0,-4.5 0,-4.5 4.5,-0 4.5,-0 0,4.5 0,4.5 4.5,-0 4.5,-0 0,52.5 0,52.5 -4.5,-0 -4.5,-0 0,5 0,5 -4.5,-0 -4.5,-0 0,5.5 0,5.5 -16.5,-0 -16.5,-0 0,40 0,40 -13.5,-0 -13.5,-0 0,-62.5 0,-62.5 -16,-0 -16,-0 0,-5.5 0,-5.5 -5,-0 -5,-0 0,-5 0,-5 -4.5,-0 -4.5,-0 0.2,-29.8 0.3,-29.7 4.3,-0.3 4.2,-0.3 0,-4.5 0,-4.4 4.5,-0 4.5,-0 0,4.5 0,4.5 4.5,-0 4.5,-0 0,23.5 0,23.5 12,-0 12,-0 0,-42.5 0,-42.5 4.5,-0 4.5,-0 0,-4.5 0,-4.5 4.5,-0 4.5,-0 0,4.5zM155,364.5l0,5.5 -5,-0 -5,-0 0,-5.5 0,-5.5 5,-0 5,-0 0,5.5z"
android:fillColor="@color/wheteTem"
android:strokeColor="#00000000"/>
<path
android:pathData="M210,130.5l0,12.5 12.5,-0 12.5,-0 0,-12.5 0,-12.5 -12.5,-0 -12.5,-0 0,12.5zM227,130.5l0,4.5 -4.5,-0 -4.5,-0 0,-4.5 0,-4.5 4.5,-0 4.5,-0 0,4.5z"
android:fillColor="@color/wheteTem"
android:strokeColor="#00000000"/>
<path
android:pathData="M60,390l0,4 11.5,-0 11.5,-0 0,-4 0,-4 -11.5,-0 -11.5,-0 0,4z"
android:fillColor="@color/wheteTem"
android:strokeColor="#00000000"/>
<path
android:pathData="M325,390l0,4 16,-0 16,-0 0,-4 0,-4 -16,-0 -16,-0 0,4z"
android:fillColor="@color/wheteTem"
android:strokeColor="#00000000"/>
<path
android:pathData="M31,407l0,4 7.5,-0 7.5,-0 0,-4 0,-4 -7.5,-0 -7.5,-0 0,4z"
android:fillColor="@color/wheteTem"
android:strokeColor="#00000000"/>
<path
android:pathData="M274,407l0,4 8.5,-0 8.5,-0 0,-4 0,-4 -8.5,-0 -8.5,-0 0,4z"
android:fillColor="@color/wheteTem"
android:strokeColor="#00000000"/>
<path
android:pathData="M453,407l0,4 9,-0 9,-0 0,-4 0,-4 -9,-0 -9,-0 0,4z"
android:fillColor="@color/wheteTem"
android:strokeColor="#00000000"/>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -4,18 +4,32 @@
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="250dp"
android:layout_gravity="center"
android:layout_margin="10dp"
android:layout_height="250dp"
android:src="@drawable/lost_connection"/>
<TextView
android:id="@+id/error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="24sp"
android:layout_margin="15dp"
android:letterSpacing="0.05"
android:background="?android:attr/colorBackground"
android:textColor="?attr/colorOnBackground"
tools:text="@string/noInternet"
tools:ignore="MissingConstraints" />
<ImageView
android:layout_width="250dp"
android:layout_gravity="center"
android:layout_margin="10dp"
android:layout_height="250dp"
android:src="@drawable/dinosaur"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -23,5 +23,7 @@
<string name="authFragment">Log in to your account</string>
<string name="qrScanFragment">QR code scanning</string>
<string name="qrResultFragment">Scan result</string>
<string name="profile">Profile</string>
<string name="serverIsUnabailable">Server is unavailable</string>
<string name="AdminFragment">Checking the session employee</string>
</resources>

View File

@ -19,10 +19,15 @@
<string name="administrator_searc_button_search"> Поиск </string>
<string name="title_profile">Профиль</string>
<string name="change_rights">Изменить права входа с помощью смартфона</string>
><string name="admin">Панель администратора</string><string name="profile">Profile</string>
<string name="authFragment">Log in to your account</string>
<string name="qrScanFragment">QR code scanning</string>
<string name="qrResultFragment">Scan result</string>
<string name="AdminFragment">Checking the session employee</string>
<string name="admin">Панель администратора</string>
<string name="profile">Профиль</string>
<string name="authFragment">Войдите в свою учетную запись</string>
<string name="qrScanFragment">Сканирование QR-кода</string>
<string name="qrResultFragment">Результат проверки</string>
<string name="AdminFragment">Проверка сотрудника</string>
<string name="noInternet">Нет связи с интернетом</string>
<string name="serverIsUnabailable">Сервер недоступен</string>
</resources>

View File

@ -24,6 +24,8 @@
<string name="authFragment">Log in to your account</string>
<string name="qrScanFragment">QR code scanning</string>
<string name="qrResultFragment">Scan result</string>
<string name="profile">Profile</string>
<string name="AdminFragment">Checking the session employee</string>
</resources>