iggy
Lost but trying
Profile
Posts: 68
Reg: Apr 16, 2012
bristol, uk
680
04/24/12 04:30 PM (13 years ago)

NAVIGATION BAR

Hello, I have asked this before sorry. But does any of you know how to center the text in the navigation bar? I have seen many apps done on buzztouch that have centered titles but I am struggling to find out where and how I need to modify the code? Please help me :) iggy
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
04/24/12 04:47 PM (13 years ago)
In the act_title.xml file you could try changing the text view for the titleView from android:gravity="left" to android:gravity="center", see if that works?
 
iggy
Lost but trying
Profile
Posts: 68
Reg: Apr 16, 2012
bristol, uk
680
like
04/26/12 01:55 PM (13 years ago)
Hello Raveyd. I cant find that act_title.xml document. Where do I find it. I found view utilites where there seems to be a lot of stuff about the navigation bar but cant find those titles that you mentioned? Any suggestions? iggy
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
04/26/12 02:05 PM (13 years ago)
Is this for Android or iOS?
 
iggy
Lost but trying
Profile
Posts: 68
Reg: Apr 16, 2012
bristol, uk
680
like
04/26/12 02:12 PM (13 years ago)
I am working with android first then will go to ios
 
iggy
Lost but trying
Profile
Posts: 68
Reg: Apr 16, 2012
bristol, uk
680
like
04/26/12 02:13 PM (13 years ago)
I downloaded a few apps that used buzztouch and all have a centered title, mine is on the left and it doesnt look great.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
04/28/12 10:00 AM (13 years ago)
Where/what are view utilities? Are you looking at your Android project in eclipse? act_title.xml is in the res>layout folder.
 
ALFREA
Aspiring developer
Profile
Posts: 89
Reg: Jul 24, 2011
San Antonio, TX
3,640
like
07/15/12 12:22 AM (13 years ago)
I am seeking the same solution. In Android, I cannot find act_title.xml in the res>layout folder. Do I have to insert act_title.xml?
 
benedettoapp
Lost but trying
Profile
Posts: 139
Reg: Jun 22, 2013
Italy
6,340
like
12/04/14 03:12 PM (11 years ago)
same here no act_title.xml i'm now on bt v3 self
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.