version3.4(added new bottom icon)

This commit is contained in:
Andrey 2025-02-20 11:41:36 +03:00
parent 1620228061
commit 64bf956730
8 changed files with 42 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

View File

@ -73,7 +73,7 @@
</RelativeLayout>
<RelativeLayout
<com.google.android.material.card.MaterialCardView
android:id="@+id/descriptionLay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -83,7 +83,8 @@
android:layout_marginStart="10dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="10dp"
android:background="#B1B1CF">
android:backgroundTint="#B1B1CF"
app:cardCornerRadius="15dp">
<ImageView
@ -115,13 +116,13 @@
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="50dp"
android:layout_marginTop="-54dp"
android:layout_marginTop="15dp"
android:layout_marginEnd="279dp"
android:text="@string/description" />
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>
<RelativeLayout
<com.google.android.material.card.MaterialCardView
android:id="@+id/workTimeLay"
android:layout_width="wrap_content"
android:layout_height="120dp"
@ -131,7 +132,8 @@
android:layout_marginStart="10dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="10dp"
android:background="#B1B1CF">
android:backgroundTint="#B1B1CF"
app:cardCornerRadius="15dp">
<ImageView
@ -151,7 +153,7 @@
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="50dp"
android:layout_marginTop="37dp"
android:layout_marginTop="75dp"
android:layout_marginEnd="36dp"
android:maxLines="1" />
@ -163,7 +165,7 @@
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="50dp"
android:layout_marginTop="6dp"
android:layout_marginTop="40dp"
android:layout_marginEnd="36dp"
android:maxLines="1" />
@ -174,13 +176,13 @@
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="50dp"
android:layout_marginTop="-54dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="270dp"
android:text="@string/contacts" />
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>
<RelativeLayout
<com.google.android.material.card.MaterialCardView
android:id="@+id/relLay"
android:layout_width="wrap_content"
android:layout_height="80dp"
@ -190,7 +192,8 @@
android:layout_marginStart="10dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="10dp"
android:background="#B1B1CF">
android:backgroundTint="#B1B1CF"
app:cardCornerRadius="15dp">
<ImageView
@ -221,11 +224,11 @@
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="50dp"
android:layout_marginTop="-54dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="301dp"
android:text="@string/address" />
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>
</RelativeLayout>
</FrameLayout>

View File

@ -83,7 +83,7 @@
android:layout_marginEnd="0dp">
<EditText
android:id="@+id/fio"
android:id="@+id/fio_et"
android:layout_width="350dp"
android:layout_height="30dp"
android:layout_alignParentStart="true"
@ -109,7 +109,7 @@
android:id="@+id/role_et"
android:layout_width="350dp"
android:layout_height="30dp"
android:layout_below="@+id/fio"
android:layout_below="@+id/fio_et"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="32dp"

View File

@ -3,15 +3,15 @@
android:layout_width="match_parent"
android:layout_height="120dp"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardCornerRadius="8dp"
app:cardElevation="4dp"
app:cardBackgroundColor="#B1B1CF"
>
app:cardCornerRadius="15dp"
android:layout_margin="10dp">
<View
android:layout_width="10dp"
android:layout_width="8dp"
android:layout_height="120dp"
android:layout_marginLeft="273dp"
android:layout_marginLeft="265dp"
android:layout_marginRight="-5dp"
android:background="#B1CFBB"/>
@ -24,7 +24,9 @@
<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:id="@+id/profile_image"/>
android:id="@+id/profile_image"
style="@style/Circle"
android:background="@color/black"/>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"

View File

@ -15,6 +15,13 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<item
android:id="@+id/createEmployee"
android:title="@string/createEmployee"
android:icon="@drawable/ic_create_employee"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<item
android:id="@+id/employees"
android:title="@string/employees"

View File

@ -39,4 +39,5 @@
<string name="address">Адрес</string>
<string name="contacts">Контакты</string>
<string name="description">Описание</string>
<string name="createEmployee">Создать сотрудника</string>
</resources>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Circle"
parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">50%</item>
</style>
</resources>