If you're following the TabAcivity tutorial, then you should be able to find
the View with the id of "tabs" and change its Visibility property.
From: [email protected]
[mailto:[email protected]] On Behalf Of John Murray
Sent: Wednesday, October 26, 2011 4:37 AM
To: 'Discussions related to Mono for Android'
Subject: [mono-android] hide tabbar when using tabactivity and Autocomplete
dropdown behaviour
I've adapted the tabhost example on Xamarin site and create tabs thus
public class Activity1 : TabActivity
{
Et etc Oncreate etc ......
.... spec.SetIndicator("Journey",
Resources.GetDrawable(Resource.Drawable.jny4));
spec.SetContent(Resource.Id.tabview2);
this.TabHost.AddTab(spec);
et etc
}
On reading up around the subject there seems to be no way to hide the tab bar
when using this way of gdnerating tabs?
Is that correct?
The problem is this - perhaps someone could suggest a lateral thinking solution
?
On a smaller smartphone - say wildfire with a 3.3" screen there very little
space when one pulls up the softkeyboard
I have a tab with 4 autocompleteTextviews and some buttons all within a linear
layout and scroll When entering inthe top one - no problem
The drop down box drops down and everything is visible even though the
softkeyboard leaves only enough UI space for 2 and ahalf edit boxes
The problem is that when focus moves to the second auto completetextview all is
ok until one starts to type in letters to activate the drop down list. After
letter one the whole thing scrolls automatically to display right at the top of
the screen (where the first autocomplete was and worked fine) but the drop down
box doesn't drop down it drops UP - and disappears upwards off the screen so
it is as much use as a chocolate fireguard. I cant find anyway of controlling
the drop down behaviour apart from determining its android:dropDownHeight
I thought getting rid of the tabbar might give me a bit more UI real estate and
have got a bit hung up on that seemingly impossible task when what I really
need is to fix this drop down box which drops up
It was suggested somewhere on the net that this in the manifest would hide a
tab bar when the softinput was present but of course it doesn't
<activity android:name=".ActivityName" android:windowSoftInputMode="adjustPan">
Any suggestion gratefully received
Tia
John Murray
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_____________________________________________________________________________________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid