Friday, August 16, 2013

Re: [android-developers] Need help setting table column width

Hello TreKing

  I tried the solutions that you specified. When set the shrinkable to first column the first column disappeared. ( as in the attachment ).

private void setTable()
    {
        TableLayout tl1 = (TableLayout)findViewById(R.id.tablelayout1);
        tl1.removeAllViews();
        tl1.setPadding(10, 20, 10, 0);
        tl1.setColumnShrinkable(0, true);


This is my first project in Android and hence my knowledge about the internals of UI elements are not that good. Hence I am not sure where to hit for solving the problem. That is why I am dependent on the community. Sorry if the question asked is a silly one.

Thanks
Salil


On Friday, August 16, 2013 8:58:49 PM UTC+5:30, TreKing wrote:

On Fri, Aug 16, 2013 at 6:00 AM, Salil <sal...@gmail.com> wrote:
Any luck on this ...

Are you just sitting around waiting for someone to give you an answer? Did you try the things I suggested to you?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate