Skip to content Skip to sidebar Skip to footer

Unable To Inflate A Layout On Button Click

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.

Post a Comment for "Unable To Inflate A Layout On Button Click"