Add button under the tabs in a TabActivity

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Add button under the tabs in a TabActivity

Postby mangaluve » Wed Apr 15, 2009 12:59 pm

Suppose I have a TabActivity, containing some other activities. However, at the bottom of the screen, I'd like to have a set of buttons that are common to all the tabs (perhaps an OK button or something). Is there any way of doing this? (almost like if the tabs where placed in a LinearLayout, so first I have the tabs/their content, and then some buttons below)
mangaluve
Experienced Developer
Experienced Developer
 
Posts: 82
Joined: Mon Mar 23, 2009 8:59 pm

Top

Postby WarrenFaith » Wed Apr 15, 2009 1:32 pm

I have never worked with a TabActivity, but you could try to use margins/paddins. Little example can be found here: Layout technique: Static elements below ScrollView
WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests