I want create a button which would containe a simple hint in top and username which user input. So, now i have something like that:
<Button
android:id="@+id/settings_change_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginTop="32dp"
android:layout_marginEnd="32dp"
android:backgroundTint="#FFFFFF"
android:hint="How we can call you?"
android:minHeight="55dp"
android:textAlignment="viewStart"
android:textColor="@color/text_main_color"
android:textSize="14sp"
app:cornerRadius="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
and here it is: button
But how can I separate hint from username? I tried using just text as a hint, but it still not what i'm looking for.