private void setSubtitle(CharSequence subtitle) {
   if (!TextUtils.equals(subtitle, mActionBar.getSubtitle())) {
     mActionBar.setSubtitle(subtitle);
   }
   if (mLegacySubTitle != null) {
     mLegacySubTitle.setText(subtitle);
   }
 }
Ejemplo n.º 2
0
 @Override
 public CharSequence getSubtitle() {
   return mActionBar.getSubtitle();
 }