change visibility to invisible
This commit is contained in:
parent
2a507d01f3
commit
05d5e2fa39
7 changed files with 7 additions and 7 deletions
|
@ -166,7 +166,7 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
|
|||
if (Build.VERSION.SDK_INT >= 18) {
|
||||
emptyImageView.setImageResource(app.getSettings().isLightContent() ? R.drawable.ic_empty_state_favorites_day : R.drawable.ic_empty_state_favorites_night);
|
||||
} else {
|
||||
emptyImageView.setVisibility(View.GONE);
|
||||
emptyImageView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
Button importButton = (Button) emptyView.findViewById(R.id.import_button);
|
||||
importButton.setOnClickListener(new View.OnClickListener() {
|
||||
|
|
|
@ -108,7 +108,7 @@ public class NotesFragment extends OsmAndListFragment {
|
|||
? R.drawable.ic_empty_state_av_notes_day : R.drawable.ic_empty_state_av_notes_night;
|
||||
emptyImageView.setImageResource(icRes);
|
||||
} else {
|
||||
emptyImageView.setVisibility(View.GONE);
|
||||
emptyImageView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
return view;
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ public class MapMarkersActiveFragment extends Fragment implements OsmAndCompassL
|
|||
if (Build.VERSION.SDK_INT >= 18) {
|
||||
emptyImageView.setImageResource(mapActivity.getMyApplication().getSettings().isLightContent() ? R.drawable.ic_empty_state_marker_list_day : R.drawable.ic_empty_state_marker_list_night);
|
||||
} else {
|
||||
emptyImageView.setVisibility(View.GONE);
|
||||
emptyImageView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
recyclerView.setEmptyView(emptyView);
|
||||
recyclerView.setAdapter(adapter);
|
||||
|
|
|
@ -308,7 +308,7 @@ public class MapMarkersGroupsFragment extends Fragment implements OsmAndCompassL
|
|||
if (Build.VERSION.SDK_INT >= 18) {
|
||||
emptyImageView.setImageResource(night ? R.drawable.ic_empty_state_marker_group_night : R.drawable.ic_empty_state_marker_group_day);
|
||||
} else {
|
||||
emptyImageView.setVisibility(View.GONE);
|
||||
emptyImageView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
recyclerView.setEmptyView(emptyView);
|
||||
recyclerView.setAdapter(adapter);
|
||||
|
|
|
@ -207,7 +207,7 @@ public class MapMarkersHistoryFragment extends Fragment implements MapMarkersHel
|
|||
if (Build.VERSION.SDK_INT >= 18) {
|
||||
emptyImageView.setImageResource(night ? R.drawable.ic_empty_state_marker_history_night : R.drawable.ic_empty_state_marker_history_day);
|
||||
} else {
|
||||
emptyImageView.setVisibility(View.GONE);
|
||||
emptyImageView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
recyclerView.setEmptyView(emptyView);
|
||||
recyclerView.setAdapter(adapter);
|
||||
|
|
|
@ -336,7 +336,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
|
|||
if (Build.VERSION.SDK_INT >= 18) {
|
||||
emptyImageView.setImageResource(app.getSettings().isLightContent() ? R.drawable.ic_empty_state_trip_day : R.drawable.ic_empty_state_trip_night);
|
||||
} else {
|
||||
emptyImageView.setVisibility(View.GONE);
|
||||
emptyImageView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
Button importButton = (Button) emptyView.findViewById(R.id.import_button);
|
||||
importButton.setOnClickListener(new View.OnClickListener() {
|
||||
|
|
|
@ -149,7 +149,7 @@ public class OsmEditsFragment extends OsmAndListFragment implements SendPoiDialo
|
|||
? R.drawable.ic_empty_state_osm_edits_day : R.drawable.ic_empty_state_osm_edits_night;
|
||||
emptyImageView.setImageResource(icRes);
|
||||
} else {
|
||||
emptyImageView.setVisibility(View.GONE);
|
||||
emptyImageView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
FragmentManager fm = getChildFragmentManager();
|
||||
Fragment optionsFragment = fm.findFragmentByTag(OsmEditOptionsBottomSheetDialogFragment.TAG);
|
||||
|
|
Loading…
Reference in a new issue