This commit is contained in:
PavelRatushnyi 2017-09-21 08:50:48 +03:00
parent 426dcdce85
commit 29aca30b2e
2 changed files with 7 additions and 3 deletions

View file

@ -3,11 +3,12 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="48dp" android:layout_height="48dp"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:orientation="horizontal" android:orientation="horizontal"
android:background="?attr/bg_color" android:background="?attr/bg_color"
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<android.support.v7.widget.AppCompatTextView <net.osmand.plus.widgets.TextViewEx
android:id="@+id/show_hide_history_title" android:id="@+id/show_hide_history_title"
android:background="?attr/selectableItemBackground" android:background="?attr/selectableItemBackground"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -16,6 +17,9 @@
android:paddingStart="56dp" android:paddingStart="56dp"
android:textAllCaps="true" android:textAllCaps="true"
android:gravity="center_vertical" android:gravity="center_vertical"
tools:text="Show passed"/> tools:text="Show passed"
android:textSize="12sp"
osmand:typeface="@string/font_roboto_medium"
android:textColor="@color/dashboard_blue"/>
</LinearLayout> </LinearLayout>

View file

@ -298,7 +298,7 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter<RecyclerView.V
} }
} else if (header instanceof GroupHeader) { } else if (header instanceof GroupHeader) {
GroupHeader groupHeader = (GroupHeader) header; GroupHeader groupHeader = (GroupHeader) header;
headerString = groupHeader.getGroupName() + " - " headerString = groupHeader.getGroupName() + " \u2014 "
+ groupHeader.getActiveMarkersCount() + groupHeader.getActiveMarkersCount()
+ "/" + (groupHeader.getMarkersCount()); + "/" + (groupHeader.getMarkersCount());
headerViewHolder.icon.setVisibility(View.VISIBLE); headerViewHolder.icon.setVisibility(View.VISIBLE);