remove gravity

This commit is contained in:
sonora 2016-05-30 21:09:36 +02:00
parent df46693289
commit b03b42e8f6

View file

@ -229,7 +229,6 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
public void addButton(ViewGroup layout, String description, final CommandBuilder builder){
Button button = new Button(this);
button.setGravity(Gravity.LEFT);
button.setText(description);
button.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));
button.setPadding(10, 5, 10, 2);