Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save IvanAbakumov/d3966acd6853127400d184ba19e9fb5f to your computer and use it in GitHub Desktop.
Save IvanAbakumov/d3966acd6853127400d184ba19e9fb5f to your computer and use it in GitHub Desktop.
//////////////////////
РАБОТАЕТ
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/layout_name_dialog"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginBottom="@dimen/margin_all_pages"
android:gravity="center"
app:layout_constraintTop_toBottomOf="@+id/layout_select">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</com.google.android.material.textfield.TextInputLayout>
/////////////////////////////
НЕ РАБОТАЕТ
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/layout_name_dialog"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginBottom="@dimen/margin_all_pages"
android:gravity="center"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
app:layout_constraintTop_toBottomOf="@+id/layout_select">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</com.google.android.material.textfield.TextInputLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment