- filter text changed
This commit is contained in:
parent
43c34b9316
commit
c6184f1b97
2 changed files with 6 additions and 6 deletions
|
@ -85,8 +85,8 @@ public class GmapFragment extends Fragment implements OnMapReadyCallback {
|
||||||
private final String kilometer = "1 Km";
|
private final String kilometer = "1 Km";
|
||||||
private final String threeKilometer = "3 Km";
|
private final String threeKilometer = "3 Km";
|
||||||
private final String mine = "mine";
|
private final String mine = "mine";
|
||||||
private final String everyoneButMine = "all w/o me";
|
private final String others = "others";
|
||||||
private final String everyone = "everyone's";
|
private final String all = "all";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -144,6 +144,7 @@ public class GmapFragment extends Fragment implements OnMapReadyCallback {
|
||||||
dateFilter.setOnClickListener(new View.OnClickListener() {
|
dateFilter.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
// Log.d(TAG, "" + v.getId());
|
||||||
if (dateFilterIsVisible) {
|
if (dateFilterIsVisible) {
|
||||||
dateFilterIsVisible = false;
|
dateFilterIsVisible = false;
|
||||||
mapFilters.setVisibility(View.INVISIBLE);
|
mapFilters.setVisibility(View.INVISIBLE);
|
||||||
|
@ -195,8 +196,8 @@ public class GmapFragment extends Fragment implements OnMapReadyCallback {
|
||||||
|
|
||||||
// set text button in the right filter string
|
// set text button in the right filter string
|
||||||
map_small_filter.setText(mine);
|
map_small_filter.setText(mine);
|
||||||
map_medium_filter.setText(everyoneButMine);
|
map_medium_filter.setText(others);
|
||||||
map_large_filter.setText(everyone);
|
map_large_filter.setText(all);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -85,8 +85,7 @@ public class PersonalFragment extends Fragment {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||||
Bundle savedInstanceState) {
|
|
||||||
View view = inflater.inflate(R.layout.fragment_personal, container, false);
|
View view = inflater.inflate(R.layout.fragment_personal, container, false);
|
||||||
// Inflate the layout for this fragment
|
// Inflate the layout for this fragment
|
||||||
activity = (MainActivity) getActivity();
|
activity = (MainActivity) getActivity();
|
||||||
|
|
Loading…
Reference in a new issue