Update ui

This commit is contained in:
Victor Shcherb 2015-04-17 02:22:34 +02:00
parent a3657b65a1
commit 0236bf66d6
3 changed files with 12 additions and 8 deletions

View file

@ -1,9 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<View xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider"
android:focusable="false"
android:visibility="gone" />
android:layout_height="wrap_content" >
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider"
android:focusable="false" />
</LinearLayout>

View file

@ -26,7 +26,7 @@
android:textColor="@color/wpt_distance_color"
android:maxLines="2"
android:textStyle="bold"
android:textSize="@dimen/default_list_text_size"/>
android:textSize="@dimen/default_desc_text_size"/>
<TextView
android:id="@+id/waypoint_text"

View file

@ -85,7 +85,6 @@ public class DashWaypointsFragment extends DashLocationFragment {
for(int i = 0; i < 3 && i < allPoints.size(); i++) {
LocationPointWrapper ps = allPoints.get(i);
View dv = getActivity().getLayoutInflater().inflate(R.layout.divider, null);
dv.setVisibility(View.VISIBLE);
favorites.addView(dv);
View v = WaypointDialogHelper.updateWaypointItemView(false, null, getMyApplication(), getActivity(), null, ps, null);
favorites.addView(v);