I am creating an android application and am trying to add three tabs underneath a picture and some text.
______________________________
| _____________ |
| | | text |
| | picture | text |
| | | text |
| ————————————— |
| _______ ________ _______ |
| | tab | | tab | | tab | |
| ———————————————————————— |
| | | |
| | | |
| | content | |
| | here | |
| | | |
| | | |
| |
——————————————————————————————
I do not know exactly how to accomplish this.
Any ideas would be greatly appreciated.
Thank you.
That should provide you the base structure, then add your tabs with in your activity:
Java source example taken from http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
You may need to tweak the layout_width, layout_height for each component in the XML, I did not test that layout.