Как установить позицию плавающей метки в TextInputLayout?
Есть TextInputLayout:
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tl"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="Label">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/tx"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom" />
</com.google.android.material.textfield.TextInputLayout>
Плавающая метка (Label) находится в центре (по вертикали).
Мне необходимо, чтобы метка была внизу (по вертикали).
Пробовал через gravity="bottom", не получается.
Каким образом можно достичь этого результата?