Hmmm... I've seen apps that use tabs significantly smaller than that
of the default ones. I believe that they can be modified.

On Nov 23, 8:29 pm, Romain Guy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The current graphics have a size appropriate for touch screen that
> require the use of your fingers (as opposed to a stylus.)
>
>
>
> On Sun, Nov 23, 2008 at 7:20 PM, g1bb <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > Is there a way to change tabs from the default, gigantic size, along
> > with aligning the indicator at the top? Here's what I'm currently
> > using:
>
> > XML:
> > <TabHost xmlns:android="http://schemas.android.com/apk/res/android";
> >     android:id="@android:id/tabhost"
> >     android:layout_width="fill_parent"
> >     android:layout_height="fill_parent">
> >     <TabWidget
> >          android:id="@android:id/tabs"
> >          android:layout_width="fill_parent"
> >          android:layout_height="fill_parent"/>
> >     <FrameLayout
> >          android:id="@android:id/tabcontent"
> >          android:layout_width="fill_parent"
> >          android:layout_height="fill_parent"
> >          android:paddingTop="65px">
> >     </FrameLayout>
> > </TabHost>
>
> > Java:
> >    setContentView(R.layout.test);
> >    TabHost tabHost = getTabHost();
>
> >    TabSpec tab = tabHost.newTabSpec("Main");
> >    tab.setContent(new Intent(this, Main.class));
> >    tab.setIndicator("Main");
> >    tabHost.addTab(tab);
>
> > Thanks in advance!
>
> --
> Romain Guywww.curious-creature.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to