以下程式是改成黑色


int actionBarTitleId = Resources.getSystem().getIdentifier("action_bar_title", "id", "android");
if (actionBarTitleId > 0) {
    TextView title = (TextView) findViewById(actionBarTitleId);
    if (title != null) {
        title.setTextColor(Color.BLACK);
    }

}
arrow
arrow
    全站熱搜

    戮克 發表在 痞客邦 留言(0) 人氣()