Made bottom menu lighter.

This commit is contained in:
Pierre 2018-03-14 18:23:45 +01:00
parent 8db27d8cca
commit 23714bdd89
2 changed files with 9 additions and 8 deletions

View File

@ -201,12 +201,12 @@ public class UserPageFragment extends Fragment {
getActivity().setTitle(userInfo.getDisplayFullName());
//Update activity menu dock
if(AccountUtils.getID(getActivity()) == userID)
//if(AccountUtils.getID(getActivity()) == userID)
((MainActivity) getActivity()).setSelectedNavigationItem(
R.id.main_bottom_navigation_me_view);
else
/*else
((MainActivity) getActivity()).setSelectedNavigationItem(
R.id.main_bottom_navigation_users_view);
R.id.main_bottom_navigation_users_view);*/
//Update user name and account image
user_name.setText(userInfo.getDisplayFullName());

View File

@ -6,17 +6,18 @@
android:icon="@drawable/ic_menu_allfriends"
/>
<item
<!--<item
android:id="@+id/main_bottom_navigation_users_view"
android:title="@string/navigation_bottom_user_item"
android:icon="@drawable/perm_group_personal_info"
android:visible="false" />
android:visible="false" />-->
<item
android:id="@+id/main_bottom_navigation_me_view"
android:title="@string/navigation_bottom_me_item"
android:icon="@drawable/ic_menu_home"
/>
android:title="@string/navigation_bottom_user_item"
android:icon="@drawable/perm_group_personal_info"
/> <!--android:icon="@drawable/ic_menu_home"
android:title="@string/navigation_bottom_me_item"-->
<item
android:id="@+id/main_bottom_navigation_conversations"