BottomSheetFragment with EditText

<style name="FeedbackBottomSheetDialog" parent="Theme.Design.BottomSheetDialog">
<item name="bottomSheetStyle">@style/MyBottomSheetStyle</item>
<item name="android:windowSoftInputMode">adjustResize</item>
<item name="android:windowIsFloating">false</item>
</style>

<style name="MyBottomSheetStyle" parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">#00000000</item>
</style>
android:inputType="textMultiLine"
binding.userInput.imeOptions = EditorInfo.IME_ACTION_DONE
binding.userInput.setRawInputType(InputType.TYPE_CLASS_TEXT)
android:lines="5"

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kubra Harmankaya

Kubra Harmankaya

Android Developer, Entrepreneur, GDG