标签用于指定屏幕内的焦点View。

例如我们点击tab键或enter键焦点自动进入下一个输入框
用法: 将标签置于Views标签内部

            <EditText id="@+id/text"
                         android:layout_width="fill_parent"
                         android:layout_height="wrap_content"
                         android:layout_weight="0"
                         android:paddingBottom="4">
                   <requestFocus />
            </EditText>

 

 

相关文章:

  • 2021-06-21
  • 2021-12-25
  • 2022-12-23
  • 2022-02-06
  • 2021-06-30
  • 2022-12-23
  • 2021-06-21
  • 2021-08-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2021-11-03
  • 2021-09-05
  • 2022-01-16
  • 2022-01-25
相关资源
相似解决方案