mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 13:59:29 +00:00
Made bottom menu lighter.
This commit is contained in:
parent
8db27d8cca
commit
23714bdd89
@ -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());
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user