This is just an example, which may not be applicable exactly in your case.

public View getView(int position, View convertView,
            ViewGroup parent)
    {

        LayoutInflater inflater=context.getLayoutInflater();//initiliaze
context in ur constructor
        View row=inflater.inflate(R.layout.row, null);
        TextView label=(TextView)row.findViewById(R.id.label);
        label.setText(item[position]);

       * float size = label.getTextSize();
        label.setTextSize((float)((2)*size));*

        return(row);
    }

On Mon, Feb 1, 2010 at 11:14 AM, Andrei <gml...@gmail.com> wrote:

> true
> is there example?
>
> On Jan 31, 7:01 pm, android beginner <android.beginne...@gmail.com>
> wrote:
> > I believe in your custom ArrayAdapter, you would have override getView.
> >
> > get the default text size, double the size and again set the text size.
> >
> > Hope this helps.
> >
> > On Mon, Feb 1, 2010 at 10:51 AM, Andrei <gml...@gmail.com> wrote:
> > > How do i set row height if text of some rows more than one line when
> > > writing
> > > custom ArrayAdapter?
> > > Thanks
> >
> > > --
> > > 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<android-developers%2bunsubscr...@googlegroups.com>
> <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to