ScrollView scroll to bottom to View.FOCUS_DOWN - Android User Interface

Android examples for User Interface:ScrollView

Description

ScrollView scroll to bottom to View.FOCUS_DOWN

Demo Code


//package com.java2s;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.ScrollView;

public class Main {
    public static void bottom(@NonNull final ScrollView scrollView) {
        scrollView.fullScroll(View.FOCUS_DOWN);
    }/*  www  . j a v  a 2s . co m*/
}

Related Tutorials