fix padding

This commit is contained in:
sonora 2017-06-15 21:37:14 +02:00
parent f669e085a2
commit 592ea3dd4d

View file

@ -295,9 +295,9 @@ public class TestVoiceActivity extends OsmandActionBarActivity {
button.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); button.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));
if (!description.startsWith("\u25BA (")) { if (!description.startsWith("\u25BA (")) {
// Section headline buttons // Section headline buttons
button.setPadding(80, 20, 80, 5); button.setPadding(10, 20, 10, 5);
} else { } else {
button.setPadding(10, 5, 10, 5); button.setPadding(50, 5, 10, 5);
} }
if (description.startsWith("\u25BA (11.1)")) { if (description.startsWith("\u25BA (11.1)")) {
infoButton = button; infoButton = button;