In Custom Compound view 'TextInputLayout 'is not showing expanded hint
问题 I've created a custom compound view. It contains an imageview, a TextInputLayout, EditText . The thing is that when i set attributes from xml, it sets all values like hint, icon etc but lines are not changed and expanded hint of TextInputLayout is not showing. When i set lines like this ' textInputLayout.getEditText().setLines(lines); ' it works, but by using 'etInput.setLines(lines);' it doesn't work. Expanded hint is not working. Widget: public class InputLayoutWidget extends LinearLayout {