Пример #1
0
	@Override
	public void setText(CharSequence text, BufferType type) {
		if (!TextUtils.isEmpty(text)) {
			super.setText(replace(text), type);
		} else {
			super.setText(text, type);
		}
	}
 private void init() {
   setContentView(R.layout.common_flipping_loading_diloag);
   mFivIcon = (FlippingImageView) findViewById(R.id.loadingdialog_fiv_icon);
   mHtvText = (HandyTextView) findViewById(R.id.loadingdialog_htv_text);
   mFivIcon.startAnimation();
   mHtvText.setText(mText);
 }
Пример #3
0
 public void setText(CharSequence text) {
   if (text != null) {
     mHtvText.setText(text);
   }
 }
 public void setText(String text) {
   mText = text;
   mHtvText.setText(mText);
 }