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()); getActivity().setTitle(userInfo.getDisplayFullName());
//Update activity menu dock //Update activity menu dock
if(AccountUtils.getID(getActivity()) == userID) //if(AccountUtils.getID(getActivity()) == userID)
((MainActivity) getActivity()).setSelectedNavigationItem( ((MainActivity) getActivity()).setSelectedNavigationItem(
R.id.main_bottom_navigation_me_view); R.id.main_bottom_navigation_me_view);
else /*else
((MainActivity) getActivity()).setSelectedNavigationItem( ((MainActivity) getActivity()).setSelectedNavigationItem(
R.id.main_bottom_navigation_users_view); R.id.main_bottom_navigation_users_view);*/
//Update user name and account image //Update user name and account image
user_name.setText(userInfo.getDisplayFullName()); user_name.setText(userInfo.getDisplayFullName());

View File

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