[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-06-04 Thread havexz
> So what EXACTLY did you do as the working workaround? just set the background color of the scrollviews explicitly. I mean dont leave the background color for scrollview empty. Put color there. > PS. I am surprised that the Googlers (Romain, Jeff) did not > close this topic with a workaround be

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-06-02 Thread hina naz
* **visit my site and earn more money** * * http://latesttechnologyinfo.com/* * ** http://latesttechnologyinfo.com/* * **http://latesttechnologyinfo.com/* * ** http://latesttechnologyinfo.com/* * **http://latesttechnologyinfo.com/* * **http://latesttechnologyinfo.com/** * * http://

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-06-02 Thread jacek
So what EXACTLY did you do as the working workaround? PS. I am surprised that the Googlers (Romain, Jeff) did not close this topic with a workaround before the bug gets fixed in trunk. On May 5, 11:41 pm, havexz wrote: > Got a workaround by explicitly setting the background forscrollview. > But

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-05-05 Thread havexz
Got a workaround by explicitly setting the background for scrollview. But any ways the Light theme has some other issues also. For example in 1.1, the preferences doesnt work properly with light theme and in 1.5 preferences work fine but if you have a alert dialog with multiple items (check boxes)

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-05-04 Thread havexz
One more thing to add.I am still compiling the code for 1.1 (using the new 1.5 SDK) and running it on ADP1 having firmware 1.5. On May 4, 9:51 pm, Jeff Sharkey wrote: > Are you calling setTheme() /before/ setContentView()?  Inflating the > content will use the current theme in effect at that

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-05-04 Thread havexz
yes...i am .What I think is the problem with the background of the window. The attr 'windowBackground' is I think released in 1.5 (not sure though). ListView is drawing the white background and is working fine. The snippet for the them is as follows : [android-developers] Re: Light theme doen't work properly in 1.5 SDK
Are you calling setTheme() /before/ setContentView()? Inflating the content will use the current theme in effect at that time. j On Mon, May 4, 2009 at 7:43 PM, havexz wrote: > > Hi Jeff > > Got any solution.or find what the problem is with 1.5? Thanks in > advance. > > On Apr 28, 10:29 pm

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

Hi Jeff Got any solution.or find what the problem is with 1.5? Thanks in advance. On Apr 28, 10:29 pm, Jeff Sharkey wrote: > Hmm wait, that wouldn't explain the background colors.  Are you > setting the theme from the android:theme attribute in your manifest, > or in onCreate() somewhere? >

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

Hi Jarkman Well the themes are working fine on 1.1, no issues at all. It just that light theme has some issues on the 1.5 sdk. Thanks On May 2, 3:04 am, jarkman wrote: > I spent a while having trouble with themes set in onCreate being > apparently ignored. > > In the end, I moved all our theme

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

I spent a while having trouble with themes set in onCreate being apparently ignored. In the end, I moved all our theme setting to the manifest, and had no more trouble. Richard On May 2, 2:34 am, havexz wrote: > I am setting the theme in onCreate() methodof every activity. > Any scree

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

I am setting the theme in onCreate() methodof every activity. Any screen which has views like text view, radio etc is not working fine in Light Theme. The background is black in light theme. One more question how to programmatically change the application theme so that i dont have to chan

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

some help On Apr 28, 10:29 pm, Jeff Sharkey wrote: > Hmm wait, that wouldn't explain the background colors.  Are you > setting the theme from the android:theme attribute in your manifest, > or in onCreate() somewhere? > > j > > > > On Tue, Apr 28, 2009 at 8:27 PM, Jeff Sharkey wrote: > > That's

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

I am doing it onCreate() and all the screens which have basically views that dont have background like radio, editbox etc. All having black background in 1.5. In 1.1 everything is ok. On Apr 28, 10:29 pm, Jeff Sharkey wrote: > Hmm wait, that wouldn't explain the background colors.  Are you > set

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

That's because you're probably looking to use textColorPrimaryInverse. ;) j On Tue, Apr 28, 2009 at 7:18 PM, havexz wrote: > > Thats right what I am trying to say is that when I apply white theme > then the text views become black. I mean the text become black but the > background also remains

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

Hmm wait, that wouldn't explain the background colors. Are you setting the theme from the android:theme attribute in your manifest, or in onCreate() somewhere? j On Tue, Apr 28, 2009 at 8:27 PM, Jeff Sharkey wrote: > That's because you're probably looking to use textColorPrimaryInverse.  ;) >

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

Thats right what I am trying to say is that when I apply white theme then the text views become black. I mean the text become black but the background also remains black. But this wont happen with the list view. So do i have to explicitly set the color of the background for the them. Currently I a

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

TextView and ScrollView do not have a background. On Tue, Apr 28, 2009 at 5:55 PM, havexz wrote: > > When apply the white theme, the text views and scrollviews display > black backgroundand its very hard to read the text. The same app > works fine on the 1.1 SDK. I am running the application