Fix waypoint header

This commit is contained in:
Victor Shcherb 2014-08-20 02:16:17 +02:00
parent 0ca6655231
commit 193abb9e11
2 changed files with 6 additions and 3 deletions

View file

@ -3,7 +3,10 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:layout_marginTop="3dp"
android:layout_marginBottom="3dp"
android:layout_marginRight="3dp">
<TextView android:id="@+id/header_text"
android:layout_width="0dp"
@ -13,7 +16,7 @@
android:ellipsize="end"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:textSize="22sp"/>
android:textSize="20sp"/>
<include layout="@layout/check_item_rel"/>
</LinearLayout>

View file

@ -54,7 +54,7 @@ public class WaypointHelper {
public static final int POI = 2;
public static final int FAVORITES = 3;
public static final int ALARMS = 4;
public static final int MAX = 4;
public static final int MAX = 5;
private List<List<LocationPointWrapper>> locationPoints = new ArrayList<List<LocationPointWrapper>>();
private ConcurrentHashMap<LocationPoint, Integer> locationPointsStates = new ConcurrentHashMap<LocationPoint, Integer>();