<?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:card_view="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#F1FAEC" android:gravity="center" android:orientation="vertical" android:outlineSpotShadowColor="@color/white" tools:context=".MainActivity"> <!--下の文字--> <Button android:id="@+id/newAccount" android:layout_width="250dp" android:layout_height="50dp" android:backgroundTint="#0F1010" android:text="signup" android:textSize="18sp" app:cornerRadius="20dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.496" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.823" /> <Button android:id="@+id/loginButton" android:layout_width="300dp" android:layout_height="55dp" android:backgroundTint="#030404" android:text="Login" android:textSize="18sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.496" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.672" card_view:cornerRadius="20dp" /> <EditText android:id="@+id/username" android:layout_width="350dp" android:layout_height="50dp" android:padding="8dp" android:drawableLeft="@drawable/baseline_face_24" android:drawablePadding="8dp" android:hint="Username" android:textColor="@color/black" android:textColorHighlight="@color/cardview_dark_background" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.493" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.408" /> <EditText android:id="@+id/password" android:layout_width="350dp" android:layout_height="50dp" android:layout_marginBottom="32dp" android:padding="13dp" android:drawableLeft="@android:drawable/ic_secure" android:drawablePadding="8dp" android:hint=" Password" android:inputType="textPassword" android:textColor="@color/black" android:textColorHighlight="@color/cardview_dark_background" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.493" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.545" /> <TextView android:id="@+id/loginText" android:textStyle="bold" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Login" android:textAlignment="center" android:textColor="#090909" android:textSize="38sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.207" tools:layout_editor_absoluteX="-16dp" /> <TextView android:id="@+id/textView_respons" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#F44336" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.498" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.589" /> </androidx.constraintlayout.widget.ConstraintLayout>