亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

Cannot resolve symbol 'inputView_is_password'

private??void?init(Context?context,AttributeSet?attrs){
????if(attrs==null)?return?;
?????TypedArray?typedArray?=?context.obtainStyledAttributes(attrs,?R.styleable.inputView);
??inputIcon=???typedArray.getResourceId(R.styleable.?inputView_input_icon,R.mipmap.logo);
??inputHint=typedArray.getString(R.styleable.?inputView_input_hint);
??isPassword=typedArray.getBoolean(R.styleable.?inputView_is_password,false);
????typedArray.recycle();
}


正在回答

1 回答

檢查變量名是否一致

<resources>
????<declare-styleable?name="inputView">
????????<attr?name="input_icon"?format="reference"></attr>
????????<attr?name="input_hint"?format="string"/>
??????
????</declare-styleable>
</resources>


0 回復 有任何疑惑可以回復我~
#1

qq_東暖夏涼_0

<resources> <declare-styleable name="inputView"> <attr name="input_icon" format="reference"></attr> <attr name="input_hint" format="string"/> <attr name="is_password" format="boolean"/> </declare-styleable> </resources>
2019-09-19 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
我的云音樂(一)
  • 參與學習       15962    人
  • 解答問題       104    個

高仿網易云音樂,從零開始開發一款專屬自己的音樂APP。

進入課程

Cannot resolve symbol 'inputView_is_password'

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號