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 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 <[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 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 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">
>
> >>        <ScrollView android: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 and ScrollView do not have a background.
>
> >>> On Tue, Apr 28, 2009 at 5:55 PM, havexz <[email protected]> wrote:
>
> >>> > When apply the white theme, 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]
--~--~---------~--~----~------------~-------~--~----~
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