Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Notification status bar custom layout, guide lines are wrong?!? (primary color)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniele Segato  
View profile  
 More options Nov 25 2011, 4:11 pm
From: Daniele Segato <daniele.seg...@gmail.com>
Date: Fri, 25 Nov 2011 22:11:25 +0100
Local: Fri, Nov 25 2011 4:11 pm
Subject: Notification status bar custom layout, guide lines are wrong?!? (primary color)
I was following this guide lines:

http://developer.android.com/guide/topics/ui/notifiers/notifications....

which states:

"[...] to use the standard text colors on versions of Android lower than
2.3, you should use the following styles for res/values/styles.xml:"

<?xml version="1.0" encoding="utf-8"?>
<resources>
     <style name="NotificationText">
       <item name="android:textColor">?android:attr/textColorPrimary</item>
     </style>
     <style name="NotificationTitle">
       <item name="android:textColor">?android:attr/textColorPrimary</item>
       <item name="android:textStyle">bold</item>
     </style>
     <!-- If you want a slightly different color for some text,
          consider using ?android:attr/textColorSecondary -->
</resources>

Which produce a White color on a light gray background on the Android
2.1 and Android 2.2 emulator... It's obviously very hard to read...

Should I ignore this guide lines?

anyone sharing experiences about this?

ps: The secondary color is fine, but I need the primary too...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kilaka  
View profile  
 More options Dec 6 2011, 7:41 am
From: kilaka <kil...@gmail.com>
Date: Tue, 6 Dec 2011 04:41:22 -0800 (PST)
Local: Tues, Dec 6 2011 7:41 am
Subject: Re: Notification status bar custom layout, guide lines are wrong?!? (primary color)
Does NOT work for me as well. The text is white and looks bad on a
bright background.

On Nov 25, 11:11 pm, Daniele Segato <daniele.seg...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniele Segato  
View profile  
 More options Dec 8 2011, 3:49 am
From: Daniele Segato <daniele.seg...@gmail.com>
Date: Thu, 08 Dec 2011 09:49:50 +0100
Local: Thurs, Dec 8 2011 3:49 am
Subject: Re: [android-developers] Re: Notification status bar custom layout, guide lines are wrong?!? (primary color)
On 12/06/2011 01:41 PM, kilaka wrote:

> Does NOT work for me as well. The text is white and looks bad on a
> bright background.

I ended up using the guidelines for Android 2.3 and greater and set up
my custom colors for Android 2.2 and lower..

This is not the first time I found the Android documentation lacking or
wrong.

But the thing that most annoy me is the fact that lot of bugs are
completely ignored by Google even if lot of people vote for them.
But that's OT in this thread.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniele Segato  
View profile  
 More options Dec 8 2011, 8:27 am
From: Daniele Segato <daniele.seg...@gmail.com>
Date: Thu, 08 Dec 2011 14:27:58 +0100
Local: Thurs, Dec 8 2011 8:27 am
Subject: Re: [android-developers] Re: Notification status bar custom layout, guide lines are wrong?!? (primary color)
On 12/08/2011 09:49 AM, Daniele Segato wrote:

> On 12/06/2011 01:41 PM, kilaka wrote:
>> Does NOT work for me as well. The text is white and looks bad on a
>> bright background.

> I ended up using the guidelines for Android 2.3 and greater and set up
> my custom colors for Android 2.2 and lower..

> This is not the first time I found the Android documentation lacking or
> wrong.

> But the thing that most annoy me is the fact that lot of bugs are
> completely ignored by Google even if lot of people vote for them.
> But that's OT in this thread.

I opened a bug, if anyone interested to follow, hopefully google will
give us feedback:
http://code.google.com/p/android/issues/detail?id=22692

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maurizio  
View profile  
 More options Feb 21 2012, 1:57 pm
From: Maurizio <maur...@yahoo.com>
Date: Tue, 21 Feb 2012 18:57:09 +0000 (UTC)
Local: Tues, Feb 21 2012 1:57 pm
Subject: Re: Notification status bar custom layout, guide lines are wrong?!? (primary color)
Daniele Segato <daniele.segato <at> gmail.com> writes:

I've found a very simple solution directly changing the name of the attribute
provided by Android.

As you can see in this tutorial:
http://www.framentos.com/android-tutorial/2012/02/20/how-to-create-a-...

You only need to use a different attribute:

<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>

Hope this can help you!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »