mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 15: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());
|
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());
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user