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 <[email protected]> wrote:
> Got a workaround by explicitly setting the background forscrollview.
> But any ways theLightthemehas some other issues also. For example
> in 1.1, the preferences doesnt work properly withlightthemeand in
> 1.5 preferences work fine but if you have a alert dialog with multiple
> items (check boxes), then text with the check boxes rendered white on
> white background (making them invisible). Someone really have to fix
> thelighttheme.
>
> PS: Jeff please confirm that there is an issue withlighttheme, if
> you are able to reproduce the bug?
>
> Thanks to all ......for reply....
>
> On May 4, 9:51 pm, Jeff Sharkey <[email protected]> wrote:
>
> > Are you calling setTheme() /before/ setContentView()?  Inflating the
> > content will use the currentthemein effect at that time.
>
> > j
>
> > On Mon, May 4, 2009 at 7:43 PM, havexz <[email protected]> wrote:
>
> > > 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 <[email protected]> wrote:
> > >> Hmm wait, that wouldn't explain the background colors.  Are you
> > >> setting thethemefrom the android:themeattribute in your manifest,
> > >> or in onCreate() somewhere?
>
> > >> j
>
> > >> On Tue, Apr 28, 2009 at 8:27 PM, Jeff Sharkey <[email protected]> 
> > >> wrote:
> > >> > That's because you're probably looking to use textColorPrimaryInverse. 
> > >> >  ;)
>
> > >> > j
>
> > >> > On Tue, Apr 28, 2009 at 7:18 PM, havexz <[email protected]> 
> > >> > wrote:
>
> > >> >> Thats right what I am trying to say is that when I apply whitetheme
> > >> >> 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 am not setting any background. Here is what I am
> > >> >> doing : this is the xml for Activity
>
> > >> >> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> > >> >> android"
> > >> >>        android:layout_height="fill_parent"
> > >> >> android:layout_width="fill_parent"
> > >> >>        android:orientation="vertical" android:id="@+id/view_xyz">
>
> > >> >>        <ScrollViewandroid:id="@+id/ScrollView01"
> > >> >>                android:layout_height="wrap_content" 
> > >> >> android:layout_weight="1"
> > >> >>                android:layout_width="fill_parent">
>
> > >> >>                <RelativeLayout android:id="@+id/RelativeLayout01"
> > >> >>                        android:layout_width="wrap_content"
> > >> >> android:layout_height="wrap_content">
> > >> >>                        <TextView android:layout_height="wrap_content"
> > >> >>                                android:layout_width="fill_parent" 
> > >> >> android:text="@string/title"
> > >> >>                                
> > >> >> android:gravity="center_vertical|center_horizontal" android:id="@
> > >> >> +id/title_text"
> > >> >>                                android:textSize="10pt" 
> > >> >> android:textColor="?android:attr/
> > >> >> textColorPrimary"></TextView>
> > >> >>                        <TextView android:layout_width="wrap_content"
> > >> >>                                android:layout_height="wrap_content" 
> > >> >> android:id="@+id/xyz_text"
> > >> >>                                android:layout_below="@+id/title_text" 
> > >> >> android:text="@string/
> > >> >> xyz_text_string"
> > >> >>                                android:textSize="6pt"></TextView>
> > >> >>                </RelativeLayout>
> > >> >>        </ScrollView>
> > >> >> </LinearLayout>
>
> > >> >> Please help. Same code works fine on 1.1 but not on 1.5
>
> > >> >> On Apr 28, 8:00 pm, Romain Guy <[email protected]> wrote:
> > >> >>> TextView andScrollViewdo not have a background.
>
> > >> >>> On Tue, Apr 28, 2009 at 5:55 PM, havexz <[email protected]> 
> > >> >>> wrote:
>
> > >> >>> > When apply the whitetheme, the text views and scrollviews display
> > >> >>> > black background....and its very hard to read the text. The same 
> > >> >>> > app
> > >> >>> > works fine on the 1.1 SDK. I am running the application on the Dev
> > >> >>> > Phone (but emulator also have same symptoms)
>
> > >> >>> --
> > >> >>> Romain Guy
> > >> >>> Android framework engineer
> > >> >>> [email protected]
>
> > >> >>> Note: please don't send private questions to me, as I don't have time
> > >> >>> to provide private support.  All such questions should be posted on
> > >> >>> public forums, where I and others can see and answer them
>
> > >> > --
> > >> > Jeff Sharkey
> > >> > [email protected]
>
> > >> --
> > >> Jeff Sharkey
> > >> [email protected]
>
> > --
> > Jeff Sharkey
> > [email protected]
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to