Merge branch 'master' of github.com:sagidayan/TheSocialNotework-Android

This commit is contained in:
Sagi Dayan 2016-07-09 19:14:12 +03:00
commit 2eff535e7e
2 changed files with 6 additions and 6 deletions

View file

@ -85,8 +85,8 @@ public class GmapFragment extends Fragment implements OnMapReadyCallback {
private final String kilometer = "1 Km";
private final String threeKilometer = "3 Km";
private final String mine = "mine";
private final String everyoneButMine = "all w/o me";
private final String everyone = "everyone's";
private final String others = "others";
private final String all = "all";
@ -144,6 +144,7 @@ public class GmapFragment extends Fragment implements OnMapReadyCallback {
dateFilter.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// Log.d(TAG, "" + v.getId());
if (dateFilterIsVisible) {
dateFilterIsVisible = false;
mapFilters.setVisibility(View.INVISIBLE);
@ -195,8 +196,8 @@ public class GmapFragment extends Fragment implements OnMapReadyCallback {
// set text button in the right filter string
map_small_filter.setText(mine);
map_medium_filter.setText(everyoneButMine);
map_large_filter.setText(everyone);
map_medium_filter.setText(others);
map_large_filter.setText(all);
}
}
});

View file

@ -85,8 +85,7 @@ public class PersonalFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_personal, container, false);
// Inflate the layout for this fragment
activity = (MainActivity) getActivity();