Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在滚动视图中有一个文本视图,其中有几个文本段落..
我想要做的是:基于用户单击的按钮,将textview的焦点跳转到某个文本段落..
是否可以在 Android 的文本视图中跳转到特定部分?如果是的话,你能把任何链接解释一下吗?
谢谢
使用textView.scrollBy(int x, int y)或textView.scrollTo(int x, int y)。
textView.scrollBy(int x, int y)
textView.scrollTo(int x, int y)
在我的 html 上,我有这个标签供用户从他们的计算机上浏览文件,就像这样
*<form action="SamePageUpload.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <inp