<com.google.android.material.textfield.TextInputLayout android:id="@+id/til_title" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <androidx.appcompat.widget.AppCompatEditText android:id="@+id/et_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/edit_text_hint_title" android:inputType="textCapWords" android:textColor="@color/primaryTextColor" android:textColorHint="@color/secondaryTextColor" android:textSize="@dimen/edit_text_text_size" /> </com.google.android.material.textfield.TextInputLayout>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter