本文整理了Java中android.widget.ScrollView.fullScroll()
方法的一些代码示例,展示了ScrollView.fullScroll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ScrollView.fullScroll()
方法的具体详情如下:
包路径:android.widget.ScrollView
类名称:ScrollView
方法名:fullScroll
暂无
代码示例来源:origin: lingochamp/FileDownloader
@Override
public void run() {
if (scrollView != null) {
scrollView.fullScroll(View.FOCUS_DOWN);
}
}
};
代码示例来源:origin: lingochamp/FileDownloader
@Override
public void run() {
if (scrollView != null) {
scrollView.fullScroll(View.FOCUS_DOWN);
}
}
});
代码示例来源:origin: stackoverflow.com
final ScrollView scrollview = ((ScrollView) findViewById(R.id.scrollview));
scrollview.post(new Runnable() {
@Override
public void run() {
scrollview.fullScroll(ScrollView.FOCUS_DOWN);
}
});
代码示例来源:origin: stackoverflow.com
final ScrollView scrollView = (ScrollView) findViewById(R.id.scroll_view);
scrollView.post(new Runnable()
{
public void run()
{
scrollView.fullScroll(View.FOCUS_DOWN);
}
});
代码示例来源:origin: commonsguy/cw-omnibus
private void logToTranscript(String msg) {
transcript.append(msg + "\n");
scroll.fullScroll(View.FOCUS_DOWN);
}
代码示例来源:origin: commonsguy/cw-omnibus
private void logToTranscript(String msg) {
if (client != null) {
String sessionId=client.getSessionId();
if (sessionId != null) {
msg="(" + sessionId + ") " + msg;
}
}
transcript.setText(transcript.getText().toString() + msg + "\n");
scroll.fullScroll(View.FOCUS_DOWN);
}
代码示例来源:origin: commonsguy/cw-omnibus
private void logToTranscript(String msg) {
if (client != null) {
String sessionId=client.getSessionId();
if (sessionId != null) {
msg="(" + sessionId + ") " + msg;
}
}
transcript.setText(transcript.getText().toString() + msg + "\n");
scroll.fullScroll(View.FOCUS_DOWN);
}
代码示例来源:origin: cSploit/android
@Override
public void run() {
mOutput.append(Html.fromHtml("\n<font color=\"green\">Enter Command:></font> "));
mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
mScrollView.scrollBy(0, -mInput.getLineHeight());
mInput.setText("");
mInput.requestFocus();
}
}); } catch (InterruptedException e) {
代码示例来源:origin: uccmawei/FingerprintIdentify
@Override
public void run() {
mScrollView.fullScroll(View.FOCUS_DOWN);
}
});
代码示例来源:origin: ukanth/afwall
public void run()
{
mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
}
});
代码示例来源:origin: chrisk44/Hijacker
@Override
public void run() {
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}
});
代码示例来源:origin: chrisk44/Hijacker
@Override
public void run() {
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}
});
代码示例来源:origin: chaychan/TouTiao
@Override
public void run() {
scrollView.fullScroll(ScrollView.FOCUS_DOWN);
}
});
代码示例来源:origin: chrisk44/Hijacker
@Override
public void onAnimationEnd(Animator animation) {
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}
@Override
代码示例来源:origin: chrisk44/Hijacker
@Override
public void run() {
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}
});
代码示例来源:origin: chrisk44/Hijacker
@Override
public void onAnimationEnd(Animator animation) {
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}
@Override
代码示例来源:origin: chrisk44/Hijacker
@Override
protected void onProgressUpdate(String... text){
text[0] += '\n';
if(currentFragment==FRAGMENT_REAVER && !background){
consoleView.append(text[0]);
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}else{
console_text += text[0];
}
}
@Override
代码示例来源:origin: chrisk44/Hijacker
@Override
protected void onProgressUpdate(String... progress){
progress[0] += '\n';
if(currentFragment==FRAGMENT_CRACK && !background){
consoleView.append(progress[0]);
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}else{
console_text += progress[0];
}
}
@Override
代码示例来源:origin: chrisk44/Hijacker
@Override
protected void onProgressUpdate(String... text){
text[0] += '\n';
if(currentFragment==FRAGMENT_CUSTOM && !background){
consoleView.append(text[0]);
consoleScrollView.fullScroll(View.FOCUS_DOWN);
}else{
console_text += text[0];
}
}
@Override
代码示例来源:origin: chrisk44/Hijacker
@Override
protected void onCancelled(){
done();
consoleView.append("Interrupted"); //publishProgress doesn't work here
consoleScrollView.fullScroll(View.FOCUS_DOWN);
stop(PROCESS_AIRCRACK);
}
void done(){
内容来源于网络,如有侵权,请联系作者删除!