TextAppearance.StatusBar.EventContentのおぼえがき

2011年12月27日 by
カテゴリ: Android, 開発のこと 

おぼえがき

/system/framework/framework-res/res/values/styles.xml

MOTOACTV(ro.build.version.release=2.3.4)

    <style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
        <item name="textColor">@color/primary_text_light</item>
    </style>
    <style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
        <item name="textSize">16.0sp</item>
        <item name="textStyle">bold</item>
        <item name="textColor">@color/primary_text_light</item>
    </style>

/system/framework/framework-res/res/color/primary_text_light.xml

<?xml version="1.0" encoding="utf-8"?>
<selector
  xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_window_focused="false" android:state_enabled="false" android:color="@color/bright_foreground_light_disabled" />
    <item android:state_enabled="false" android:state_selected="true" android:color="@color/bright_foreground_light_disabled" />
    <item android:state_enabled="false" android:state_pressed="true" android:color="@color/bright_foreground_light_disabled" />
    <item android:state_selected="true" android:color="@color/bright_foreground_light" />
    <item android:state_pressed="true" android:color="@color/bright_foreground_light" />
    <item android:state_enabled="false" android:color="@color/bright_foreground_light_disabled" />
    <item android:state_window_focused="false" android:color="@color/bright_foreground_light" />
    <item android:color="@color/bright_foreground_light" />
</selector>

SC-02C(ro.build.version.release=2.3.6)

    <style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
        <item name="textColor">@color/status_bar_event_secondary_text</item>
    </style>
    <style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
        <item name="textSize">16.0sp</item>
        <item name="textStyle">bold</item>
        <item name="textColor">@color/status_bar_event_primary_text</item>
    </style>

/system/framework/framework-res/res/values/colors.xml

    <color name="status_bar_event_primary_text">#ffffffff</color>
    <color name="status_bar_event_secondary_text">#ffb6cad6</color>

S51SE(ro.build.version.release=2.3.4)

    <style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
        <item name="textColor">#ff3d3d3d</item>
    </style>
    <style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
        <item name="textSize">16.0sp</item>
        <item name="textStyle">bold</item>
        <item name="textColor">?textColorPrimaryInverse</item>
    </style>

IS11S(ro.build.version.release=2.3.4)

    <style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
        <item name="textColor">#ff3d3d3d</item>
    </style>
    <style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
        <item name="textSize">16.0sp</item>
        <item name="textStyle">bold</item>
        <item name="textColor">?textColorPrimaryInverse</item>
    </style>

Galaxy Nexus

    <style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
        <item name="textSize">13.0sp</item>
        <item name="textColor">?textColorSecondary</item>
    </style>
    <style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
        <item name="textSize">16.0sp</item>
        <item name="textStyle">bold</item>
        <item name="textColor">?textColorPrimary</item>
    </style>

メーカーでいろいろですね。さて?

コメント

2 件のコメント on TextAppearance.StatusBar.EventContentのおぼえがき

    […] 続きましておぼえがき […]

    […] TextAppearance.StatusBar.EventContentのおぼえがき […]