<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
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=".activities.LoginActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="1">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.7"
android:background="@drawable/gradient_green_to_white"
>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="10dp"
android:src="@drawable/ic_titulo_monagro2"
/>
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.3"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/username"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:hint="@string/hint_username"
android:theme="@style/EdithTextWhite"
/>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/password"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:hint="@string/hint_password"
android:inputType="textPassword"
android:theme="@style/EdithTextWhite"
/>
</com.google.android.material.textfield.TextInputLayout>
<Button
android:id="@+id/loginButton"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/text_button_loginButton"
android:textColor="@color/white"
android:theme="@style/RaisedButtonDark"
android:layout_marginHorizontal="40dp" />
</LinearLayout>
></LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>