[android-developers] Re: Layout Issue

2011-02-01 Thread Bobbie
After more research I found a ViewSwitcher fixes this issue. Bobbie On Feb 1, 9:40 am, Bobbie wrote: > I've seen some places where they say to create a separate activity for > the second view.  However, it hardly seems necessary in my example > because literally all I am doing at first is dis

[android-developers] Re: Layout Issue

2011-02-01 Thread Bobbie
I've seen some places where they say to create a separate activity for the second view. However, it hardly seems necessary in my example because literally all I am doing at first is displaying a view, there are no other functions. On Feb 1, 9:05 am, Bobbie wrote: > Hey all!  I have a question

Re: [android-developers] Re: layout issue

2010-09-23 Thread Rocky
Hey u need to implement like - private static class EfficientAdapter extends BaseAdapter { private LayoutInflater mInflater; public EfficientAdapter(Context context) { mInflater = LayoutInflater.from(context); } public int getCount()

Re: [android-developers] Re: layout issue

2010-09-23 Thread Kostya Vasilyev
You need to make your own adapter class, override getView, and do your per-item list customization there. Also you should not need to call setContentView for any of this - call it just once in the activity's onCreate with the top-most layout's id. You should also be able to put your RelativeLayout

[android-developers] Re: layout issue

2010-09-23 Thread intbt
Yeah I think I am doing both of those suggestions. I left a few lines of code out of my original message. This code sits before the TextView declaration and v is the listview layout myLayout.addView(vt); myLayout.addView(v); setContentView(myLayou

Re: [android-developers] Re: layout issue

2010-09-23 Thread Kostya Vasilyev
Item views don't exist until created by the getView method of your list view adapter. Move the code that sets attributes of views in the list item layout into there. Also call findViewById on the list item view, not on the main layout or the main view - this will make sure you get the text view in

[android-developers] Re: layout issue

2010-09-23 Thread intbt
Perhaps you guys can also assist me with my custom listview problem. The listview is part of a relativelayout that I am building on a page. I want to use a custom font, when I try to attach the font to the textview (called out by the listview) the program crashes apparently because it can't find t

[android-developers] Re: layout issue

2010-09-23 Thread dashman
worked like a charm. thank you. -- 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...@googlegro

[android-developers] Re: Layout Issue: Status Bar Space Remains Empty || Status Bar Animation

2010-06-29 Thread scheme
Is there any progress? I'm also facing the same issue. On May 15, 7:44 pm, Mariano Kamp wrote: > Meanwhile I've also seen this layout issue in the emulator. > > On Wed, May 12, 2010 at 6:58 PM, Mariano Kamp wrote: > > > > > > > Ok, I see. That also means that I can't sync my animation to the defa