Exemplo n.º 1
0
 @Override
 public void onThemeChanged() {
   Theme theme = Singleton.of(Theme.class);
   TU.setTextColor(ColorId.main_text_color, mContent);
   TU.setTextColor(ColorId.highlight_color, mTitle);
   mImage.setBackgroundResource(R.drawable.title_image);
 }
Exemplo n.º 2
0
 @Override
 public void onThemeChanged() {
   Theme theme = Singleton.of(Theme.class);
   TU.setTextColor(ColorId.main_text_color, mTalkEdit, mShareText);
   TU.setTextColor(ColorId.highlight_color);
   mTalkEdit.setBackgroundColor(Color.WHITE);
   setBackgroundColor(theme.color(ColorId.main_page_bottom_bg));
   TU.setImageBitmap(BitmapId.hongbao_share_weixinquan, mShareIcon);
   TU.setImageDrawable(DrawableId.main_face, mLeftIcon);
 }