Fix 3 dots menu in night theme
This commit is contained in:
parent
e093ed94f2
commit
227e58780a
4 changed files with 6 additions and 3 deletions
|
@ -273,7 +273,7 @@
|
|||
android:paddingLeft="16dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/ic_overflow_menu_dark"/>
|
||||
tools:src="@drawable/ic_overflow_menu_dark"/>
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:background="?attr/selectableItemBackground"
|
||||
|
|
|
@ -291,7 +291,7 @@
|
|||
android:paddingLeft="16dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/ic_overflow_menu_dark"/>
|
||||
tools:src="@drawable/ic_overflow_menu_dark"/>
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:background="?attr/selectableItemBackground"
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
android:paddingLeft="16dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/ic_overflow_menu_dark"/>
|
||||
tools:src="@drawable/ic_overflow_menu_dark"/>
|
||||
|
||||
<net.osmand.plus.widgets.TextViewEx
|
||||
android:background="?attr/selectableItemBackground"
|
||||
|
|
|
@ -1347,6 +1347,7 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
});
|
||||
}
|
||||
if (!gpxItem.group.getTrack().generalTrack) {
|
||||
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_dark));
|
||||
view.findViewById(R.id.overflow_menu).setVisibility(View.VISIBLE);
|
||||
view.findViewById(R.id.overflow_menu).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
@ -1440,6 +1441,7 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
});
|
||||
}
|
||||
if (!gpxItem.group.getTrack().generalTrack) {
|
||||
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_dark));
|
||||
view.findViewById(R.id.overflow_menu).setVisibility(View.VISIBLE);
|
||||
view.findViewById(R.id.overflow_menu).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
@ -1532,6 +1534,7 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
});
|
||||
}
|
||||
if (!gpxItem.group.getTrack().generalTrack) {
|
||||
((ImageView) view.findViewById(R.id.overflow_menu)).setImageDrawable(ic.getThemedIcon(R.drawable.ic_overflow_menu_dark));
|
||||
view.findViewById(R.id.overflow_menu).setVisibility(View.VISIBLE);
|
||||
view.findViewById(R.id.overflow_menu).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue