Why Layoutinflater Does Not Work In My Case?
My main.xml layout simply contains a button and a LinearLayout content_area, which shows below:
Solution 1:
The View inflates correctly, but you have a fill_parent height on the myBtns layout, so the other LinearLayout is not visible. If you change it to wrap_content you can see the other LinearLayout.
Post a Comment for "Why Layoutinflater Does Not Work In My Case?"