Code example for ScrollView

Methods: fullScroll

0
      outputText.append("Finished!\n");
       
      // Ensure scroll to end of text 
      scroller.post(new Runnable() {
        public void run() { 
          scroller.fullScroll(ScrollView.FOCUS_DOWN);
        } 
      }); 
    } 
 
    /** Calls into C/C++ code */ 
    public void nativeCall() 
    { 
      // ----- Object creation ----- 
 
      outputText.append( "Creating some objects:\n" );
      Circle c = new Circle(10);
      outputText.append( "    Created circle " + c + "\n");
      Square s = new Square(10);
      outputText.append( "    Created square " + s + "\n");
Contextual code suggestions in your IDE  Get Codota for Java