Lines Matching refs:button
102 Button button = new MyButton(this);
103 button.setText(label);
104 button.setLayoutParams(new LinearLayout.LayoutParams(
107 return button;
111 * Add a skinny button that takes up just less than half of the screen
113 * @param root The layout to add the button to.
114 * @param label The label of the button.
115 * @param atRight Which side to put the button on.
116 * @return The newly created button.
119 Button button = new MyButton(this);
120 button.setText(label);
121 button.setLayoutParams(new LinearLayout.LayoutParams(
141 ll.addView(button);
144 ll.addView(button);
148 return button;