Click here to Skip to main content
15,890,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I tried the way u mention in the post but i didn't get the .getRootView and is that for the layout because i have used this type of xml
<relative>
<relative>

<linear layout>
</linear layout>


it is showing error in the .getRootView method....
what i should do in this case now..

What I have tried:

tried the same method that u have posted on the blog
Posted
Updated 21-Feb-18 7:59am
Comments
David Crow 21-Feb-18 22:16pm    
"what i should do in this case now.."

Show the error. Post relevant code. Given all that you've shown, what exactly are you expecting from us?

1 solution

Don't post this under Quick Answers - if you got the code from an article or blog post, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900