ok. Thanks! I got it to work ith wrap_content.
On Sat, Dec 13, 2008 at 12:54 PM, Romain Guy wrote:
>
> It will work only if your TableLayout has a width set to wrap_content,
> otherwise it will occupy the entire screen.
>
> On Sat, Dec 13, 2008 at 9:51 PM, Josh Dobbs wrote:
> > I tried that as
my mistake. i had tried "center_Horizantal". i just changed it to
"center_horizontal" and although i don't get an error it doesnt center the
tablelayout in the middle of the display.
On Sat, Dec 13, 2008 at 12:44 PM, Romain Guy wrote:
>
> "center_horizontal" not "centerHorizontal" :)
>
> On Sa
It will work only if your TableLayout has a width set to wrap_content,
otherwise it will occupy the entire screen.
On Sat, Dec 13, 2008 at 9:51 PM, Josh Dobbs wrote:
> I tried that as well with no luck
>
> On Sat, Dec 13, 2008 at 12:44 PM, Romain Guy wrote:
>>
>> "center_horizontal" not "center
I tried that as well with no luck
On Sat, Dec 13, 2008 at 12:44 PM, Romain Guy wrote:
>
> "center_horizontal" not "centerHorizontal" :)
>
> On Sat, Dec 13, 2008 at 9:42 PM, Josh Dobbs wrote:
> > I did try that and i get the following error at design time...
> > Description Resource Path Locatio
"center_horizontal" not "centerHorizontal" :)
On Sat, Dec 13, 2008 at 9:42 PM, Josh Dobbs wrote:
> I did try that and i get the following error at design time...
> Description Resource Path Location Type
> ERROR Error: String types not allowed (at 'layout_gravity' with value
> 'centerHorizontal'
I did try that and i get the following error at design time...
Description Resource Path Location Type
ERROR Error: String types not allowed (at 'layout_gravity' with value
'centerHorizontal'). main.xml line 3 aapt Problem
On Sat, Dec 13, 2008 at 8:37 AM, Mark Murphy wrote:
>
> Josh Dobbs wrot
Josh Dobbs wrote:
> my view is comprised of a tablelayout. How can I set the table in the
> center of the screen? by default it looks to be left alligned.
Have you tried adding android:layout_gravity="centerHorizontal" to your
TableLayout, to center it in the parent container?
--
Mar
Nevermind :)
I fixed my problem by using android:stretchColumns
On Fri, Dec 12, 2008 at 10:09 PM, Josh Dobbs wrote:
> Can anyone anyone point me in the right direction?
>
>
> On Thu, Dec 11, 2008 at 6:44 AM, Josh wrote:
>
>>
>> my view is comprised of a tablelayout. How can I set the table in t
Can anyone anyone point me in the right direction?
On Thu, Dec 11, 2008 at 6:44 AM, Josh wrote:
>
> my view is comprised of a tablelayout. How can I set the table in the
> center of the screen? by default it looks to be left alligned.
> >
>
--~--~-~--~~~---~--~~
9 matches
Mail list logo