remove gravity
This commit is contained in:
parent
df46693289
commit
b03b42e8f6
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue