On Sat, May 16, 2009 at 8:59 PM, Romain Guy <romain...@google.com> wrote:
>
> Your TableLayout has height=fill_parent, it's therefore as tall as its
> parent, so there's no more room left on screen to show the TextView.

and to fix that add an android:layout_wheight=0 to the table layout
and a android:layout_wheight=1 to the text view.

R/

>
> On Sat, May 16, 2009 at 2:58 PM, efan <e...@efansoftware.com> wrote:
>>
>> I need show some text description after a TableLayout but it is not
>> shown.
>>
>> Layout xml file like this (the complete code is here:
>> http://code.google.com/p/zz-doctor/source/browse/trunk/ZZ/res/layout/rx_recipe_detail.xml):
>>
>> <LinearLayout>
>>    ...
>>    <TableLayout>
>>         ...
>>    </TableLayout>
>>
>>    <TextView
>>        android:id="@+id/rxFormulaDesc" />
>> </LinearLayout>
>>
>> It works fine when the rxFormulaDesc View is before the TableLayout.
>> But requirements want the TableLayout shown first. It just does not
>> shown up when the rxFormulaDesc View is put after the TableLayout. No
>> error message in either screen or log. Same Java code.
>>
>> The TableLayout itself shows up fine - no matter hard-coded content or
>> dynamic content, and any view before it also shows fine.
>>
>> I tried other type of View after the TableLayout, same result.
>>
>> Thanks for your attention!
>>
>> >
>>
>
>
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> >
>

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

Reply via email to