设置一个view是否能在touch模式下获取焦点。
Boolean that controls whether a view can take focus while in touch mode.
required属性用于表单验证(下面将详细介绍)过程中,autofocus属性允许选择页面上的元素以获取焦点。
The required attribute is used during form validation (more on that below) and the autofocus attribute lets you pick the element on the page too get focus.
如果设置为true,当点击这个view时能获取焦点,如果别的焦点没有对这个属性(focusableInTouchMode)设置为true的话,这个view可以继续保持焦点。
If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have this attribute set to true.
应用推荐