|
@@ -28,6 +28,7 @@ import com.ynstkz.shitu.android.event.LogoutEvent;
|
|
|
import com.ynstkz.shitu.android.event.RegisterSuccessEvent;
|
|
|
import com.ynstkz.shitu.android.fragment.ConfirmationDialogFragment;
|
|
|
import com.ynstkz.shitu.android.fragment.OrgListFragment;
|
|
|
+import com.ynstkz.shitu.android.utils.StatusBarUtil;
|
|
|
|
|
|
import org.greenrobot.eventbus.EventBus;
|
|
|
import org.greenrobot.eventbus.Subscribe;
|
|
@@ -158,14 +159,17 @@ public class HomeActivity extends TitleBarActivity implements AMapLocationListen
|
|
|
case 0:
|
|
|
ivLabHome.setImageResource(R.drawable.lab_home_icon_press);
|
|
|
tvLabHome.setTextColor(getResources().getColor(R.color.main_color));
|
|
|
+ StatusBarUtil.setColorNoTranslucent(this, getResources().getColor(R.color.colorPrimary));
|
|
|
break;
|
|
|
case 1:
|
|
|
ivLabNearby.setImageResource(R.drawable.lab_neayby_icon_press);
|
|
|
tvLabNearby.setTextColor(getResources().getColor(R.color.main_color));
|
|
|
+ StatusBarUtil.setColorNoTranslucent(this, getResources().getColor(R.color.colorPrimary));
|
|
|
break;
|
|
|
case 2:
|
|
|
ivLabUsercenter.setImageResource(R.drawable.lab_usercenter_icon_press);
|
|
|
tvLabUsercenter.setTextColor(getResources().getColor(R.color.main_color));
|
|
|
+ StatusBarUtil.setColorNoTranslucent(this, getResources().getColor(R.color.usercenter_primary));
|
|
|
break;
|
|
|
}
|
|
|
}
|