FileDocCategorySizeDatePackage
LLOfButtons1.javaAPI DocAndroid 5.1 API1884Thu Mar 12 22:22:12 GMT 2015android.widget.layout.linear

LLOfButtons1

public class LLOfButtons1 extends android.app.Activity
One of two simple vertical linear layouts of buttons used to test out the transistion between touch and focus mode.

Fields Summary
private boolean
mButtonPressed
private android.widget.Button
mFirstButton
Constructors Summary
Methods Summary
public booleanbuttonClickListenerFired()

        return mButtonPressed;
    
public android.widget.ButtongetFirstButton()

        return mFirstButton;
    
public android.widget.LinearLayoutgetLayout()

        return (LinearLayout) findViewById(R.id.layout);
    
public booleanisInTouchMode()

        return mFirstButton.isInTouchMode();
    
protected voidonCreate(android.os.Bundle icicle)


    
        
        super.onCreate(icicle);
        setContentView(R.layout.linear_layout_buttons);
        mFirstButton = (Button) findViewById(R.id.button1);

        mFirstButton.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                mButtonPressed = true;
            }
        });