Home
last modified time | relevance | path

Searched refs:newButton (Results 1 – 4 of 4) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsByDefault.java49 Button newButton = new Button(LayoutAnimationsByDefault.this); in onCreate()
50 newButton.setText(String.valueOf(numButtons++)); in onCreate()
51 newButton.setOnClickListener(new View.OnClickListener() { in onCreate()
56 gridContainer.addView(newButton, Math.min(1, gridContainer.getChildCount())); in onCreate()
DLayoutAnimationsHideShow.java64 Button newButton = new Button(this); in onCreate() local
65 newButton.setText(String.valueOf(i)); in onCreate()
66 container.addView(newButton); in onCreate()
67 newButton.setOnClickListener(new View.OnClickListener() { in onCreate()
DLayoutAnimations.java84 Button newButton = new Button(LayoutAnimations.this); in onCreate()
85 newButton.setText(String.valueOf(numButtons++)); in onCreate()
86 newButton.setOnClickListener(new View.OnClickListener() { in onCreate()
91 container.addView(newButton, Math.min(1, container.getChildCount())); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRedirectMain.java46 Button newButton = (Button)findViewById(R.id.newView); in onCreate() local
47 newButton.setOnClickListener(mNewListener); in onCreate()