diff --git a/app/src/main/java/net/osmtracker/activity/AvailableLayouts.java b/app/src/main/java/net/osmtracker/activity/AvailableLayouts.java index 64a321e4..51b20079 100644 --- a/app/src/main/java/net/osmtracker/activity/AvailableLayouts.java +++ b/app/src/main/java/net/osmtracker/activity/AvailableLayouts.java @@ -151,10 +151,11 @@ public void setAvailableLayouts(List options) { Button layoutButton = new Button(this); layoutButton.setHeight(150); layoutButton.setText(CustomLayoutsUtils.convertFileName(option)); - layoutButton.setTextSize((float)22 ); + layoutButton.setTextSize(16f); layoutButton.setTextColor(Color.WHITE); + layoutButton.setSingleLine(false); LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT); - layoutParams.setMargins(110, 0, 110, 0); + layoutParams.setMargins(50, 10, 50, 10); layoutButton.setLayoutParams(layoutParams); layoutButton.setPadding(10,20,10,20); layoutButton.setOnClickListener(listener); diff --git a/app/src/main/res/layout-iw/waypointlist_item.xml b/app/src/main/res/layout-iw/waypointlist_item.xml index 953fc665..692226d2 100644 --- a/app/src/main/res/layout-iw/waypointlist_item.xml +++ b/app/src/main/res/layout-iw/waypointlist_item.xml @@ -5,6 +5,4 @@ - - diff --git a/app/src/main/res/layout/available_layouts.xml b/app/src/main/res/layout/available_layouts.xml index 564b8598..540744ee 100644 --- a/app/src/main/res/layout/available_layouts.xml +++ b/app/src/main/res/layout/available_layouts.xml @@ -1,13 +1,12 @@ - + android:fillViewport="true"> - \ No newline at end of file + android:orientation="vertical" + android:paddingTop="5dp" /> + diff --git a/app/src/main/res/layout/tracklist_item.xml b/app/src/main/res/layout/tracklist_item.xml index 4308c5ae..c173862d 100644 --- a/app/src/main/res/layout/tracklist_item.xml +++ b/app/src/main/res/layout/tracklist_item.xml @@ -41,53 +41,73 @@ style="@android:style/TextAppearance.Large" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:autoSizeTextType="uniform" + android:maxLines="1" android:text="{start_date}" /> - + - + - + + - + + + + + + +