version3.2
Some checks failed
Merge core/template-android-project to this repo / merge-if-needed (push) Has been cancelled

This commit is contained in:
Andrey 2025-02-19 19:00:20 +03:00
parent bcd73d7857
commit 342f9fc0af
3 changed files with 163 additions and 1 deletions

View File

@ -0,0 +1,160 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".ui.profile.ProfileFragment">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="0dp"
android:layout_marginEnd="0dp"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/ic_user"
android:layout_gravity="center_vertical"
android:layout_marginLeft="5dp"/>
<TextView
android:layout_marginLeft="10dp"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:text="@string/company_info"
android:textSize="25dp"
android:layout_gravity="center"/>
</LinearLayout>
<ImageView
android:id="@+id/imageCompany"
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="0dp"
android:layout_marginTop="90dp"
android:layout_marginEnd="0dp" />
<RelativeLayout
android:id="@+id/relLay"
android:layout_width="wrap_content"
android:layout_height="200dp"
android:layout_below="@+id/imageCompany"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="0dp"
android:layout_marginTop="0dp"
android:layout_marginEnd="0dp">
<TextView
android:id="@+id/fio"
android:layout_width="350dp"
android:layout_height="30dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="32dp"
android:layout_marginTop="22dp"
android:layout_marginEnd="33dp"
android:maxLines="1"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_below="@+id/fio"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="32dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="300dp"
android:text="@string/FIO"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/relLay"
android:layout_width="wrap_content"
android:layout_height="200dp"
android:layout_below="@+id/imageCompany"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="0dp"
android:layout_marginTop="0dp"
android:layout_marginEnd="0dp">
<TextView
android:id="@+id/fio"
android:layout_width="350dp"
android:layout_height="30dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="32dp"
android:layout_marginTop="22dp"
android:layout_marginEnd="33dp"
android:maxLines="1"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_below="@+id/fio"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="32dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="300dp"
android:text="@string/FIO"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/relLay"
android:layout_width="wrap_content"
android:layout_height="200dp"
android:layout_below="@+id/imageCompany"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="0dp"
android:layout_marginTop="0dp"
android:layout_marginEnd="0dp">
<TextView
android:id="@+id/fio"
android:layout_width="350dp"
android:layout_height="30dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="32dp"
android:layout_marginTop="22dp"
android:layout_marginEnd="33dp"
android:maxLines="1"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_below="@+id/fio"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="32dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="300dp"
android:text="@string/FIO"/>
</RelativeLayout>
</RelativeLayout>

View File

@ -44,7 +44,8 @@
android:layout_marginBottom="5dp">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_height="fill_parent"/>
</ScrollView>
</RelativeLayout>

View File

@ -35,4 +35,5 @@
<string name="email">Электронная почта</string>
<string name="redacting">Изменить фото профиля</string>
<string name="setProfile">Настройка профиля</string>
<string name="company_info">Информация о компании</string>
</resources>