android:duplicateParentState复制父控件状态

 When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.

原文地址:https://www.cnblogs.com/jianglijs/p/7953617.html