Tech Tips Trickstech tips gadgets programming software |
![]() |
![]() |
|
| Like what you see? Buy me a cup of coffee. |
ccnp certification
microsoft mcp
mcts training
ccna wireless
play no deposit bingo in top UK bingo sites
JJ bingo finds the best bingo sites in the UK, just for you
best bingo site hollywood bingo for star studded bingo
Win big in UK online bingo sites with the highest bingo bonuses
Take photo recovery software to recover deleted photos from any storage media and PDF converter Mac to convert PDF to 6 formats on OS X.
© 2008 - Tech Tips Tricks - Design by WpThemeDesigner.









December 31st, 2010 at 7:15 am
This line..
LinearLayout ll = (LinearLayout) a.findViewById(R.id.content2);
Should be..
LinearLayout ll = (LinearLayout) a.findViewById(R.id.content1);
Otherwise it wont work.
January 10th, 2011 at 7:40 pm
This is not dynamically loading a layout xml file. This is dynamically creating a layout + views in code.
October 26th, 2011 at 9:27 pm
what are “a” ? is it a class?
October 26th, 2011 at 9:29 pm
@yogibali: it’s in my post “where a is the class that extends Activity”. you can remove ‘a’ if the code is within your activity class