I consistantly get an error when I run this line
moreContent.addView(findViewById(moreViews[0]), 0);
extra code:
private int[] moreViews={
0x7f060006, 0x7f060007, 0x7f060009, 0x7f06000a, 0x7f06000b
};
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should not reference the ids by the hex number, but using
R.id.xxx.Without the logcat is impossible to tell, but most probably there is no resource found.