FileDocCategorySizeDatePackage
ButtonsWithTallTextViewInBetween.javaAPI DocAndroid 1.5 API1532Wed May 06 22:42:02 BST 2009com.android.frameworktest.scroll

ButtonsWithTallTextViewInBetween

public class ButtonsWithTallTextViewInBetween extends com.android.frameworktest.util.ScrollViewScenario
Two buttons sandwiching a tall text view (good for testing panning across before getting to next button).

Fields Summary
Constructors Summary
Methods Summary
public android.widget.ButtongetBottomButton()

        LinearLayout ll = getContentChildAt(2);
        return (Button) ll.getChildAt(0);
    
public android.widget.TextViewgetMiddleFiller()

        return getContentChildAt(1);
    
public android.widget.ButtongetTopButton()

        return getContentChildAt(0);
    
protected voidinit(Params params)

        
        params.addButton("top button", 0.2f)
                .addTextView("middle filler", 1.51f)
                .addVerticalLLOfButtons("bottom", 1, 0.2f);