Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +5 −5 Original line number Diff line number Diff line Loading @@ -287,19 +287,19 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { public void showHideNotificationIconArea(boolean isHide){ ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); //ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); if(isHide){ notificationIconArea.setVisibility(View.GONE); // notificationIconArea.setVisibility(View.GONE); // isLayoutRtl()=false; for (int i = 0; i < childCount; i++) { for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); state.xTranslation = getWidth() - state.xTranslation - child.getWidth(); } } else { notificationIconArea.setVisibility(View.INVISIBLE); //notificationIconArea.setVisibility(View.INVISIBLE); //isLayoutRtl()=true; } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +5 −5 Original line number Diff line number Diff line Loading @@ -287,19 +287,19 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { public void showHideNotificationIconArea(boolean isHide){ ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); //ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area); if(isHide){ notificationIconArea.setVisibility(View.GONE); // notificationIconArea.setVisibility(View.GONE); // isLayoutRtl()=false; for (int i = 0; i < childCount; i++) { for (int i = 0; i < getChildCount(); i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); state.xTranslation = getWidth() - state.xTranslation - child.getWidth(); } } else { notificationIconArea.setVisibility(View.INVISIBLE); //notificationIconArea.setVisibility(View.INVISIBLE); //isLayoutRtl()=true; } Loading