/** Draws all buttons. */ private void drawButtons() { layout.removeAllViews(); Log.i("Player", bList.size() + " boutons"); for (VirtualButton b : bList) { Helper.setLayoutPosition(this, b, b.getPosX(), b.getPosY()); layout.addView(b); } }
public VirtualButton_Debug(Context context, VirtualButton b) { super(context, b.getKeyCode(), b.getCharButton(), b.getPosX(), b.getPosY()); }