I have a working tabbed interface right now, but the tabs are declared in activity class. I want to move those declarations to an XML layout file. Unfortunately, I haven’t been able to find any examples. How can this be done?
Share
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.
I dont think you can add Tabs in the XML file, only TabWidget can be added. TabSpecs have to be created programmatically and added to the TabHost