Thursday, April 12, 2012

Re: [android-developers] tabbed layout and gravity

i used this tutorial to make mai tabbed application.
What tutorial?

the main.xml is similar to the one on the site
What site?

but the tab uses top gravity, can anyone give me a hint of what i'm
doing wrong?
For starters, you can give us all the needed info to answer your question...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Apr 10, 2012 at 8:32 AM, Sebastian <bluegold512@gmail.com> wrote:
Hello all, just subsribed, i'n new, i used this tutorial to make mai
tabbed application.
 the problem is that in one of the tabs a want gravity set cu bottom,
the main.xml is similar to the one on the site, and my tab layout is
like this:

<LinearLayout
 xmlns:android="http://schemas.android.com/apk/res/android"
 android:orientation="vertical"
 android:layout_width="match_parent"
 android:layout_height="match_parent"
 android:layout_gravity="bottom">

 <!-- Screen Design for Photos -->
 <TextView android:text="test field"
                       android:padding="15dip"
                       android:textSize="18dip"
                       android:layout_width="fill_parent"
                       android:layout_height="wrap_content" />
</LinearLayout>

but the tab uses top gravity, can anyone give me a hint of what i'm
doing wrong?
thanks in advance

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment