rdy2m
This commit is contained in:
parent
c188ce38a8
commit
022669c6ee
@ -104,11 +104,11 @@ public class BlackList extends AppCompatActivity {
|
||||
.create(UserService.class);
|
||||
|
||||
if (PrefUtils.isBlackListing(this)){
|
||||
aSwitch.setText(getString(R.string.action_black_list) +" ON");
|
||||
aSwitch.setText(getString(R.string.action_black_list) + " " +getString(R.string.on));
|
||||
aSwitch.setChecked(true);
|
||||
handleChangeRequest(true);
|
||||
}else{
|
||||
aSwitch.setText(getString(R.string.action_black_list) +" OFF");
|
||||
aSwitch.setText(getString(R.string.action_black_list) + " " +getString(R.string.off) );
|
||||
aSwitch.setChecked(false);
|
||||
handleChangeRequest(false);
|
||||
}
|
||||
|
@ -229,6 +229,7 @@ public class UsersListFragment extends Fragment {
|
||||
fragmentTransaction.hide(usersListFragment);
|
||||
fragmentTransaction.commit();
|
||||
((MapActivity) getActivity()).searchUser(user.getFirstName());
|
||||
((MapActivity) getActivity()).updateNavigationBarState();
|
||||
|
||||
/* List<User> list = new ArrayList<User>();
|
||||
list.add(user);
|
||||
|
@ -88,11 +88,11 @@ public class WhiteList extends AppCompatActivity {
|
||||
.create(UserService.class);
|
||||
|
||||
if (PrefUtils.isWhiteListing(this)) {
|
||||
aSwitch.setText(getString(R.string.action_white_list) + " ON");
|
||||
aSwitch.setText(getString(R.string.action_white_list) +" "+getString(R.string.on) );
|
||||
aSwitch.setChecked(true);
|
||||
handleChangeRequest(true);
|
||||
} else {
|
||||
aSwitch.setText(getString(R.string.action_white_list) + " OFF");
|
||||
aSwitch.setText(getString(R.string.action_white_list) +" "+getString(R.string.off) );
|
||||
aSwitch.setChecked(false);
|
||||
handleChangeRequest(false);
|
||||
}
|
||||
|
@ -40,7 +40,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:text="Block the users"
|
||||
android:text="@string/block_the_users"
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<Switch
|
||||
|
@ -40,7 +40,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:text="Be visible for these users"
|
||||
android:text="@string/be_visible_for_these_users "
|
||||
android:textSize="15sp"/>
|
||||
|
||||
<Switch
|
||||
|
@ -276,6 +276,8 @@
|
||||
<!--(ENG) Blacked/Whited users -->
|
||||
<string name="add_user_to_list">Użytkownik został dodany!</string>
|
||||
<string name="user_removed">Użytkownik usunięty!</string>
|
||||
|
||||
<string name="floor">Piętro</string>
|
||||
<string name="block_the_users">Zablokuj użytkowników</string>
|
||||
<string name="be_visible_for_these_users">Bądź dostępny dla użytkowników</string>
|
||||
</resources>
|
||||
|
||||
|
@ -222,9 +222,9 @@
|
||||
<string name="nav_profile">User profile</string>
|
||||
<string name="remove_manual_location">Remove Manual location</string>
|
||||
<string name="title_activity_tutor_tab">TutorTab</string>
|
||||
<string name="manual_modal_title">Do you want to save this localization?</string>
|
||||
<string name="lbl_ok">Save!</string>
|
||||
<string name="lbl_cancel">Cancel!</string>
|
||||
<string name="manual_modal_title">Manual localization</string>
|
||||
<string name="lbl_ok">Save</string>
|
||||
<string name="lbl_cancel">Cancel</string>
|
||||
<string name="manual_marker_info">Your marker will disappear in next couple minutes</string>
|
||||
<string name="manual_location_selected">Manual Locations selected!</string>
|
||||
<string name="location_saved">Location saved!</string>
|
||||
@ -342,7 +342,7 @@
|
||||
|
||||
<string name="network_err">Network Error !</string>
|
||||
<string name="search_null">Search response is empty!</string>
|
||||
<string name="modal_manual_hint">Insert a name for this localization.</string>
|
||||
<string name="modal_manual_hint">Name the localization</string>
|
||||
<string name="online">Online</string>
|
||||
<string name="offline">Offline</string>
|
||||
<string name="inactive">Inactive</string>
|
||||
@ -351,6 +351,9 @@
|
||||
<!--(ENG) Blacked/Whited users -->
|
||||
<string name="add_user_to_list">User has been added!</string>
|
||||
<string name="user_removed">User removed!</string>
|
||||
<string name="floor">Floor</string>
|
||||
<string name="block_the_users">Block the users</string>
|
||||
<string name="be_visible_for_these_users">Be visible for these users</string>
|
||||
<string name="title_activity_scrolling">ScrollingActivity</string>
|
||||
<string name="large_text">
|
||||
"Material is the metaphor.\n\n"
|
||||
|
Loading…
Reference in New Issue
Block a user