How To Properly Add Custom View To The Toolbar?
I am using toolbar with extended height (56dp + 80dp) and want to add EditText to the bottom of the toolbar. The problem I have is that EditText DOES NOT expands itself to the righ
Solution 1:
I believe the toolbar behaves more or less like a LinearLayout, even when it doesn't extend it.
If I'm right, you wouldn't be able to use "two rows" like you intend.
Maybe you can take that EditView out of the toolbar, or alternatively, use ActionBar
(With the 'X' icon and the actions) and below a toolbar with the EditText.
Solution 2:
You can add a custom layout with EditText below the Toolbar, with the same background color.
Post a Comment for "How To Properly Add Custom View To The Toolbar?"