| | |
| | | import android.os.Bundle; |
| | | import android.os.Handler; |
| | | import android.os.Message; |
| | | import android.text.SpannableString; |
| | | import android.text.Spanned; |
| | | import android.text.TextUtils; |
| | | import android.text.style.TextAppearanceSpan; |
| | | import android.view.View; |
| | | import android.widget.TextView; |
| | | |
| | | import com.baidu.idl.main.facesdk.model.BDFaceSDKCommon; |
| | | import com.doumee.keyCabinet.MApplication; |
| | |
| | | @Override |
| | | protected void timeChange(String djs) { |
| | | getDB().tvDjs.setText(djs); |
| | | } |
| | | |
| | | private SpannableString getErrPhoneText(){ |
| | | String phone = MApplication.getConfigBean().getLinkPhone(); |
| | | String text = "如有问题请联系管理员"+phone; |
| | | SpannableString styledText = new SpannableString(text); |
| | | styledText.setSpan(new TextAppearanceSpan(this, R.style.style_tip3), 0, text.length()-phone.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
| | | styledText.setSpan(new TextAppearanceSpan(this,R.style.style_tip1), text.length()-phone.length()+1, text.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
| | | return styledText; |
| | | } |
| | | |
| | | private void statusFsm(int toStatus){ |
| | |
| | | SingleBaseConfig.getBaseConfig().getMirrorVideoRGB() , SingleBaseConfig.getBaseConfig().isOpenGl()); |
| | | CameraPreviewManager.getInstance().startPreview(glMantleSurfacView, |
| | | SingleBaseConfig.getBaseConfig().getRgbVideoDirection() , PREFER_WIDTH, PERFER_HEIGH); |
| | | |
| | | getDB().tvJg2.setText(getErrPhoneText(), TextView.BufferType.SPANNABLE); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } else { |
| | | //优先会员 |
| | | if("0".equals(user.getGroupId())){ |
| | | 11 |
| | | |
| | | }else { |
| | | if (isCompareCheck) { |
| | | getDB().clFail.setVisibility(View.VISIBLE); |