0% found this document useful (0 votes)
96 views51 pages

PAM Lab 5 Rotaru Dan

The document is a lab report in Romanian for a mobile application development class. It details the creation of interfaces for various views (SplashScreen, Login Activity, Sign Up Activity) of a telemedicine application based on provided designs. Code snippets are provided for the layout XML files for each view, defining the user interface elements like images, text, buttons, and text fields. The purpose of the lab was to create the graphical interfaces for all views according to the given design.

Uploaded by

Dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views51 pages

PAM Lab 5 Rotaru Dan

The document is a lab report in Romanian for a mobile application development class. It details the creation of interfaces for various views (SplashScreen, Login Activity, Sign Up Activity) of a telemedicine application based on provided designs. Code snippets are provided for the layout XML files for each view, defining the user interface elements like images, text, buttons, and text fields. The purpose of the lab was to create the graphical interfaces for all views according to the given design.

Uploaded by

Dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

Ministerul Educaţiei, Culturii și Cercetării al Republicii Moldova

Universitatea Tehnică a Moldovei


Departamentul Ingineria Software și Automatică

RAPORT
Lucrare de laborator Nr.5
Disciplina: Programarea
aplicațiilor mobile
Tema: Telemedicine - SPRINT1

A efectuat: st.gr. TI-195 Rotaru Dan

A verificat : asist. univ., Cristian Rusu

Chișinău 2021
Scopul lucrării de laborator

Conform designului oferit să se creeze interfața grafică pentru toate View-rile.

1. SplashScreen
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="match_parent"
android:background="@color/bg_green"
android:fitsSystemWindows="true"
tools:context=".SplashActivity">

<ImageView
android:id="@+id/bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:src="@drawable/splash"
tools:ignore="ContentDescription,ImageContrastCheck" />

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:fontFamily="@font/nunito_bold"
android:text="@string/Telemedicine"
android:textColor="@color/white"
android:textSize="40sp"
tools:ignore="TextContrastCheck" />

</RelativeLayout>
2. Login Activity
<?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="match_parent"
android:background="@color/bg_green"
tools:context=".LoginActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="20sp"
android:paddingTop="0dp"
android:gravity="center"
android:background="@drawable/splash">

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:fontFamily="@font/nunito_bold"
android:text="@string/Telemedicine"
android:textColor="@color/white"
android:textSize="40sp"
tools:ignore="TextContrastCheck" />

<AutoCompleteTextView
android:id="@+id/email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="100dp"
android:background="@drawable/input"
android:drawablePadding="20dp"
android:padding="17dp"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/email"
android:textColorHint="@color/white"
android:textColor="@color/white"
android:paddingStart="17dp"
android:drawableStart="@drawable/icon_user1"
android:textSize="20sp"
tools:ignore="RtlSymmetry" />

<AutoCompleteTextView
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="@drawable/input"
android:drawablePadding="20dp"
android:padding="17dp"
android:fontFamily="@font/proximanova_regular"
android:textColorHint="@color/white"
android:textColor="@color/white"
android:hint="@string/password"
android:paddingStart="17dp"
android:drawableStart="@drawable/icon_password1"
android:textSize="20sp" />

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="60dp"
android:background="@drawable/button_white"
android:text="@string/login"
android:textColor="@color/bg_green"
android:fontFamily="@font/proximanova_semibold"
android:textSize="22sp"
android:textAllCaps="false"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="SmallSp,TextContrastCheck" />

<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/sign_up"
android:textAllCaps="true"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="20sp"
android:layout_marginTop="80sp"
app:layout_constraintTop_toBottomOf="@+id/button"
tools:ignore="TextContrastCheck" />

</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

3. Sign up Activity
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="match_parent"
tools:context=".SignupActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:orientation="vertical"
android:paddingTop="25dp">

<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:drawablePadding="-18dp"
android:fontFamily="@font/proximanova_semibold"
android:gravity="center"
android:padding="15dp"
android:text="@string/register"
android:textColor="@color/white"
android:textSize="20sp"
app:drawableStartCompat="@drawable/icon_back1"
tools:ignore="TextContrastCheck" />

</LinearLayout>

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_marginTop="80dp"
android:paddingBottom="48dp"
tools:ignore="SpeakableTextPresentCheck">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginBottom="50dp"
android:padding="20dp">

<ImageView
android:id="@+id/imageView"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_gravity="center"
android:layout_marginTop="30dp"
app:srcCompat="@drawable/add_photo" />

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/full_name"
android:textColor="@color/black"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/full_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_full_name"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/birthday"
android:textColor="@color/black"
android:textSize="20sp"
android:layout_marginTop="40dp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/birthday"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:ems="10"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/birthday_hint"
android:importantForAutofill="no"
android:inputType="date"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/email0"
android:textColor="@color/black"
android:textSize="20sp"
android:layout_marginTop="40dp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/email0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_email"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/phone"
android:textColor="@color/black"
android:textSize="20sp"
android:layout_marginTop="40dp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/phone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_phone"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location"
android:textColor="@color/black"
android:textSize="20sp"
android:layout_marginTop="40dp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/location"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_location"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="40dp"
android:background="@drawable/button_green"
android:text="@string/next"
android:textColor="@color/white"
android:fontFamily="@font/proximanova_semibold"
android:textSize="22sp"
android:textAllCaps="false"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="SmallSp,TextContrastCheck" />

</LinearLayout>

</ScrollView>
</RelativeLayout>
4. Welcome Activity
<?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="match_parent"
android:background="@color/bg_green"
tools:context=".WelcomeActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="20sp"
android:paddingTop="0dp"
android:gravity="center"
android:background="@drawable/splash">

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/nunito_bold"
android:text="@string/Welcome"
android:textColor="@color/white"
android:textSize="40sp"
android:layout_gravity="center"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/bg"
tools:ignore="TextContrastCheck" />

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:lineHeight="35sp"
android:padding="10sp"
android:text="@string/welcome_lorem"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="17sp"
android:letterSpacing="0.02"
android:layout_marginTop="30sp"
tools:ignore="TextContrastCheck"
tools:targetApi="p" />

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="70dp"
android:background="@drawable/button_white"
android:text="@string/sign_up"
android:textColor="@color/bg_green"
android:fontFamily="@font/proximanova_semibold"
android:textSize="20sp"
android:textAllCaps="false"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="SmallSp,TextContrastCheck" />

<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="10dp"
android:background="@drawable/button_white_outline"
android:text="@string/login"
android:textColor="@color/white"
android:textAllCaps="false"
android:fontFamily="@font/proximanova_semibold"
android:textSize="20sp"
app:layout_constraintTop_toBottomOf="@+id/button"
tools:ignore="TextContrastCheck" />

<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/urgent"
android:textAllCaps="true"
android:textAlignment="center"
android:textColor="@color/white"
android:textSize="20sp"
android:layout_marginTop="100sp"
app:layout_constraintTop_toBottomOf="@+id/button1"
tools:ignore="TextContrastCheck" />

</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

5. Home Activity (în care am folosit fragmente)


<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="match_parent"

tools:context=".HomeActivity">

<androidx.fragment.app.FragmentContainerView
android:name="com.danrotaru.pamlab5.Home"
android:id="@+id/mainFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_home" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom|end"
android:orientation="vertical">

<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:fitsSystemWindows="true"
app:itemBackground="@color/white"
app:itemIconSize="20dp"
app:itemIconTint="@drawable/bottom_menu_color"
app:itemTextColor="@drawable/bottom_menu_color"

app:labelVisibilityMode="labeled"
app:menu="@menu/bottom_menu" />

<ImageView
android:id="@+id/addButton"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_gravity="center"
android:layout_marginTop="-115dp"
android:src="@drawable/add"
android:translationZ="10dp"
tools:ignore="ImageContrastCheck, contentDescription" />
</LinearLayout>
</RelativeLayout>

Fragment Doctor details


<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
android:background="@color/white"
tools:context=".HomeActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:orientation="vertical"
android:translationZ="10dp"
android:paddingTop="25dp">

<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:fontFamily="@font/proximanova_semibold"
android:gravity="center"
android:padding="15dp"
android:text="@string/doctor_details"
android:drawablePadding="-18dp"
android:textColor="@color/white"
android:textSize="20sp"
app:drawableStartCompat="@drawable/icon_back1"
app:drawableEndCompat="@drawable/dots"
tools:ignore="TextContrastCheck" />

</LinearLayout>

<ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="80dp"
android:paddingBottom="110dp"
tools:ignore="SpeakableTextPresentCheck">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="50dp"
android:padding="20dp"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginTop="20dp"
android:background="@drawable/bottom_border"
>
<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginStart="20dp"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/doctor_sample"
android:fontFamily="@font/proximanova_semibold"
android:textColor="@color/black"
android:textSize="20sp"
android:layout_marginBottom="10dp"
/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@font/proximanova_regular"
android:text="4.9"
android:layout_marginStart="10dp"
android:textColor="@color/gray"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

</LinearLayout>
</LinearLayout>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/description_short"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:id="@+id/notification_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/welcome_lorem"
android:textColor="@color/inactive"
android:textSize="17sp"
android:letterSpacing="0.02"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location"
android:textColor="@color/black"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:drawablePadding="10dp"
android:textSize="20sp"
android:gravity="center_vertical"
android:drawableStart="@drawable/location1"
tools:ignore="TextContrastCheck" />

<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:scaleType="fitStart"
android:layout_marginTop="20dp"
app:srcCompat="@drawable/map"
tools:ignore="ImageContrastCheck, contentDescription" />

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="50dp"
android:background="@drawable/button_green"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/request"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="22sp"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="SmallSp,TextContrastCheck" />

</LinearLayout>

</ScrollView>
</FrameLayout>
Fragment doctor list activity

<?xml version="1.0" encoding="utf-8"?>


<FrameLayout 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"
android:background="@color/white"
tools:context=".HomeActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:orientation="vertical"
android:translationZ="10dp"
android:paddingTop="25dp">

<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:fontFamily="@font/proximanova_semibold"
android:gravity="center"
android:padding="15dp"
android:text="@string/doctor_list"
android:drawablePadding="-18dp"
android:textColor="@color/white"
android:textSize="20sp"
app:drawableStartCompat="@drawable/icon_back1"
app:drawableEndCompat="@drawable/dots"
tools:ignore="TextContrastCheck" />

</LinearLayout>

<ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="80dp"
android:background="#F8F8F8"
android:paddingBottom="110dp"
tools:ignore="SpeakableTextPresentCheck">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="10dp"
android:paddingBottom="20dp"
android:orientation="vertical">

<!-- Item -->


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">

<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->
<!-- Item -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">
<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->
<!-- Item -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">

<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->
<!-- Item -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">

<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->
<!-- Item -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">

<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->
<!-- Item -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">

<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->
<!-- Item -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">

<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->
<!-- Item -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:background="@color/white"
android:orientation="horizontal"
android:padding="10dp">

<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
android:layout_marginEnd="20dp"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor_sample"
android:textColor="@color/text"
android:textSize="20sp" />

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="15dp"
android:src="@drawable/star" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/p4"
android:textColor="@color/gray1"
android:textSize="20sp" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="27dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:srcCompat="@drawable/location1"
tools:ignore="ImageContrastCheck, contentDescription" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="20dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</LinearLayout>
<!-- Item -->

</LinearLayout>

</ScrollView>
</FrameLayout>

Fragment home
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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=".HomeActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:orientation="vertical"
android:translationZ="10dp"
android:paddingTop="25dp">

<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:fontFamily="@font/proximanova_semibold"
android:gravity="center"
android:padding="15dp"
android:text="@string/home"
android:drawablePadding="-18dp"
android:textColor="@color/white"
android:textSize="20sp"
app:drawableEndCompat="@drawable/dots"
tools:ignore="TextContrastCheck" />

</LinearLayout>

<ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_marginTop="80dp"
android:paddingBottom="110dp"
tools:ignore="SpeakableTextPresentCheck">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="50dp"
android:orientation="vertical"
android:padding="20dp">

<Button
android:id="@+id/button1"
android:layout_width="220dp"
android:layout_height="60dp"
android:layout_gravity="center"
android:layout_marginTop="20dp"
android:background="@drawable/button_green_outline"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/very_urgent"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="SmallSp,TextContrastCheck" />
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/full_name"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/full_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_full_name"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/disease"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/birthday"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:ems="10"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_disease"
android:importantForAutofill="no"
android:inputType="date"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<EditText
android:id="@+id/email0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_location"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/description"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<EditText
android:layout_width="match_parent"
android:layout_height="100dp"
android:gravity="start|top"
android:inputType="textMultiLine"
android:layout_marginTop="15dp"
android:background="@drawable/input"
android:fontFamily="@font/proximanova_regular"
android:hint="@string/your_description"
android:padding="17dp"
android:paddingStart="17dp"
android:textColor="@color/black"
android:textColorHint="@color/gray"
android:textSize="20sp"
tools:ignore="RtlSymmetry,TextContrastCheck" />

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="40dp"
android:background="@drawable/button_green"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/request"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="22sp"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="SmallSp,TextContrastCheck" />

</LinearLayout>

</ScrollView>
</FrameLayout>
Fragment notification

<?xml version="1.0" encoding="utf-8"?>


<FrameLayout 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"
android:background="@color/white"
tools:context=".HomeActivity">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:orientation="vertical"
android:translationZ="10dp"
android:paddingTop="25dp">

<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_green1"
android:fontFamily="@font/proximanova_semibold"
android:gravity="center"
android:padding="15dp"
android:text="@string/notification"
android:drawablePadding="-18dp"
android:textColor="@color/white"
android:textSize="20sp"
app:drawableStartCompat="@drawable/icon_back1"
app:drawableEndCompat="@drawable/dots"
tools:ignore="TextContrastCheck" />

</LinearLayout>

<ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="80dp"
android:paddingBottom="110dp"
tools:ignore="SpeakableTextPresentCheck">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="50dp"
android:orientation="vertical"
android:padding="20dp">

<ImageView
android:id="@+id/imageView"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_gravity="center"
android:layout_marginTop="20dp"
app:srcCompat="@drawable/good"
tools:ignore="ImageContrastCheck, contentDescription" />
<TextView
android:id="@+id/notification_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/request_approved"
android:textColor="@color/gray1"
android:textSize="22sp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:textAlignment="center"
android:layout_gravity="center"
tools:ignore="TextContrastCheck" />

<TextView
android:id="@+id/notification_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/welcome_lorem"
android:layout_gravity="center"
android:textAlignment="center"
android:textColor="@color/inactive"
android:textSize="17sp"
android:letterSpacing="0.02"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/request_details"
android:textColor="@color/bg_green"
android:textSize="22sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/full_name"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:id="@+id/full_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/name_sample"
android:textColor="@color/inactive"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/disease"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/disease_sample"
android:textColor="@color/inactive"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/location"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/location_sample"
android:textColor="@color/inactive"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/description"
android:textColor="@color/text"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/description_sample"
android:textColor="@color/inactive"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/doctor"
android:textColor="@color/bg_green"
android:textSize="22sp"
tools:ignore="TextContrastCheck" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/input"
android:orientation="horizontal"
android:gravity="center_vertical"
android:padding="20dp"
android:layout_marginTop="30dp"
>
<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="center"
app:srcCompat="@drawable/doctor"
tools:ignore="ImageContrastCheck, contentDescription" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginStart="20dp"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/doctor_sample"
android:fontFamily="@font/proximanova_semibold"
android:textColor="@color/text"
android:textSize="20sp"
android:layout_marginBottom="10dp"
/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@font/proximanova_regular"
android:text="@string/doctor_spsample"
android:textColor="@color/bg_green"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginEnd="10dp"
android:src="@drawable/star"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:fontFamily="@font/proximanova_regular"
android:text="4.9"
android:layout_marginStart="10dp"
android:textColor="@color/gray"
android:textSize="20sp"
tools:ignore="TextContrastCheck" />
</LinearLayout>

</LinearLayout>
</LinearLayout>

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="70dp"
android:background="@drawable/button_green"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/confirm"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="22sp"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="SmallSp,TextContrastCheck" />

<Button
android:id="@+id/button2"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="10dp"
android:background="@drawable/button_gray_outline"
android:fontFamily="@font/proximanova_semibold"
android:text="@string/request_cancel"
android:textAllCaps="false"
android:textColor="@color/gray"
android:textSize="22sp"
app:layout_constraintTop_toBottomOf="@+id/textView2"
tools:ignore="SmallSp,TextContrastCheck" />

</LinearLayout>

</ScrollView>

</FrameLayout>

You might also like