From 40491f2944f9f087b0ff842ee1eff25bc89a011f Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 30 May 2016 20:43:55 +0200 Subject: [PATCH] Leftalign text --- OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java b/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java index b327d563b7..c323e95959 100644 --- a/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java +++ b/OsmAnd/src/net/osmand/plus/development/TestVoiceActivity.java @@ -229,6 +229,7 @@ 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);