[Q] Schriftfarbe von aktiver Benachrichtigung ändern

K

kassi

Dauergast
274
Hi Leute,
ich bin fast fertig damit, mein ICS Theme für das S5360 zu basteln. Das einzige, womit ich echt Probleme hab, ist die Schriftfarbe der aktiven Benachrichtigung, diese ist immer schwarz. Nachdem die Benachrichtigung nicht mehr aktiv ist, wird sie auch weiß. Alles andere hab ich bereits weiß.
In welcher xml muss ich welchen Wert ändern?
Danke!
Hier z.B. in Poweramp:
attachment.php
 

Anhänge

  • SC20120526-090646.png
    SC20120526-090646.png
    3,3 KB · Aufrufe: 1.118
Hab beim S+ auch Probleme die richtigen Einträge zu finden. Die Beschreibung für Ladebalken (zum Beispiel Apps installieren) ist bei mir Schwarz auf Schwarz.

Ich glaube framework-res\res\layout\status_bar_latest_event_content.xml ist die richtige Ecke
 
Zuletzt bearbeitet:
So, eindeutige Farben, die Schrift von Ladebalken ist hier wohl nicht drin, die sind noch Schwarz, ob das dein Problem löst weiß ich nicht.

Edit: offensichtlich hat mein Eintrag den Wert "bright_foreground_light", dieser wird in der Colors.xml definiert. ich hab den dort auf Grün gestellt, und es ändert sich so einiges....
Ändere dort mal alles was 000000 hat, dann weißt du nach welchem Wert du suchen musst. Reverse-Engeneering vom feinsten ;)

Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:paddingLeft="7.3299866dip" android:paddingTop="8.0dip" android:paddingRight="5.3299866dip" android:paddingBottom="6.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="25.329987dip">
        <ImageView android:id="@id/icon" android:layout_width="25.329987dip" android:layout_height="fill_parent" android:src="@drawable/arrow_down_float" android:scaleType="fitCenter" />
        <TextView android:textSize="16.0dip" android:textStyle="bold" android:textColor="#ff0000ff" android:ellipsize="marquee" android:id="@id/title" android:paddingLeft="9.329987dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="19.329987dip">
        <TextView android:textSize="14.0dip" android:textColor="#ffff0000" android:ellipsize="marquee" android:id="@id/text" android:paddingLeft="34.669983dip" android:fadingEdge="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
        <android.widget.DateTimeView android:textSize="14.0dip" android:textColor="#ff00ff00" android:gravity="right" android:id="@id/time" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </LinearLayout>
</LinearLayout>
 

Anhänge

  • SC20120528-191054.png
    SC20120528-191054.png
    11,7 KB · Aufrufe: 339
Zuletzt bearbeitet:
  • Danke
Reaktionen: kassi
Vielen Dank Weiti!
 

Ähnliche Themen

stonebe
Antworten
1
Aufrufe
1.475
stonebe
stonebe
Foh
Antworten
2
Aufrufe
1.763
Foh
Foh
Zurück
Oben Unten