<?xml version="1.0" encoding="utf-8"?> <resources> <declare-styleable name="inputview"> <attr name="input_icon" format="reference"></attr> <attr name="input_hint" format="string"></attr> <attr name="is_pass" format="boolean"></attr> </declare-styleable> <declare-styleable name="ItemView"> <attr name="left_text" format="string"></attr>//左侧标题文字 <attr name="right_text" format="string"></attr>//右侧文字说明 <attr name="pass" format="boolean"></attr> <attr name="show_right_icon" format="reference"></attr>//右侧箭头 </declare-styleable> </resources>