Revision b600ccd9
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/helpers/MovesController.java | ||
---|---|---|
166 | 166 |
public void setupButton(final Activity act, ObjectControl control) |
167 | 167 |
{ |
168 | 168 |
final int icon = getPrevIcon( !mMoves.isEmpty() ); |
169 |
mPrevButton = new TransparentImageButton(act, icon, LinearLayout.LayoutParams.MATCH_PARENT, TransparentImageButton.GRAVITY_MIDDLE); |
|
169 |
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT,LinearLayout.LayoutParams.MATCH_PARENT,1.0f); |
|
170 |
mPrevButton = new TransparentImageButton(act, icon, TransparentImageButton.GRAVITY_MIDDLE, params); |
|
170 | 171 |
|
171 | 172 |
mPrevButton.setOnClickListener( new View.OnClickListener() |
172 | 173 |
{ |
Also available in: Unified diff
Add info pane: part 1.