Solved the problem Actually i was playing with the width of the list after setting the indexer of the list.This was causing the painting issue Thanks, Alok
On Mon, Aug 16, 2010 at 2:35 PM, Alok Kulkarni <kulsu...@gmail.com> wrote: > Hi, > I am having a listview in my App which shows perfectly in Portrait mode.But > when i change orientation to landscape , sometimes the width remains as that > of Portrait mode.Even the scrollbar for the list comes at the center and > remaining part of the screen remains balcked out.This happens only with the > list view.Other views show perfectly.I have designed the layouts such that > the Portrait layouts look feel proportionate in landscape mode . I want to > avoid restarting the activity so i have not put the layouts in the landscape > folder. > I tried invalidating the listview in onConfigurationChanged() but of no > use. > When i navigate in the list in landscape mode , the width automatically > gets adjusted.Any help in this regard will be of great use :) > Thanks, > Alok. > > -- 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