Hi I am trying to show a layout when a button is pressed but the layout is never shown. No exception is thrown for some reason. The button is located inside an activity. The button
Solution 1:
Use this :
rv.addView(error);
Where rv is your parent layout.
Share
Post a Comment
for "Unable To Inflate A Layout On Button Click"
Post a Comment for "Unable To Inflate A Layout On Button Click"