!privacy_agreement!
!privacy_agree!

Announcement

[Announcement] Important Notice about Minor Adjustments to MIUI Status Bar

2017-07-12 04:42:59
5812 15
Hello, Mi Fans!
With MIUI we always think about how little changes can make your user experience better and following that direction we are bringing some minor but important changes in the MIUI status bar, we would like you to notice them in order to have a clear understanding of the new setup,

1. Below Android 6.0
Users will be able to change the color of the status bar only, not the text color shown in the status bar and so we made our own interface in MIUI to change the color of the text to black.

2. Android 6.0 & Up
Android has a way for users to give the ability to customize both the color and text color of the status bar. Although there seems to be a conflict between MIUI and Android approach and so caused trouble to overseas developers with the adjustments.


MIUI Status Bar Changes
Because of the problem stated above, we have decided to use Android's API and dropping our own MIUI interface. The change will take effect from 7.7.13 Global developer ROM and onwards, it has been already implemented in closed beta ROM and will be followed by the stable version too. We are sorry for any inconvenience caused.


Some affected applications are UC, instant, curiosity and other applications (mostly Chinese apps). We'll inform app developers regarding this minor adjustment soon, please be patient.

1. In the new MIUI version (based on Android 6.0, developer ROM 7.7.13 and later):
- Use View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR To set the" status bar black character "effect
- Set WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS,
- and no WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS

Reference:
    Window window = getWindow();
    window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
    window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
    window.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);

2. In older version of MIUI
    Window window = getWindow();
    window.addExtraFlags(MiuiWindowManager.LayoutParams.EXTRA_FLAG_STATUS_BAR_DARK_MODE);

That's it for now folks! Do leave your thoughts in the comment section below.
2017-07-12 04:42:59
Favorites7 RateRate

Master Bunny

Shankhadip_Sardar1997 | from Redmi Note 3

#1

Thanks for implementing this since this will help to read what's on statusbar while using those apps like UC(which I use mostly)!!!!!
2017-07-12 10:48:15

Advanced Bunny

FAROOQUI | from Redmi 4A

#2

Keshe chenge hoga ye
2017-07-12 23:58:28

Advanced Bunny

FAROOQUI | from Redmi 4A

#3

Plzzz help me
2017-07-12 23:58:47

Master Bunny

Abdul muqeem | from MI MAX

#4

thanks again
2017-07-13 12:18:08

Semi Pro Bunny

1672831869 | from Redmi Note 4

#5

Amazing fact
2017-07-13 20:40:31

Master Bunny

FF8 | from app

#6

thanks....noted !
2017-07-16 00:20:56

Master Bunny

wittwicky69 | from mobile

#7

Thank you... Very useful information.
2017-07-23 16:32:26
Always Happy With Mi
No Sacrifice, No Victory!

Grandmaster Bunny

Vatsal Vala | from Redmi 3S

#8

Finally seen some hope about this issue
2017-07-25 08:35:40

Advanced Bunny

shubham shaw | from Redmi 4A

#9

i have a same problem too , on my redmi 4a miui8.5 global stable
2017-08-02 08:35:59

Master Bunny

karthi80 | from Redmi Note 4

#10

super sharing
2017-08-02 17:36:19
nkarthikeyan
please sign in to reply.
Sign In Sign Up

R0user

Mi Comm team

Beta Tester
MIUI 8
Power At Last
AP2 Livestream
2016 Diwali with Mi
3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
Shake!!Shake!!
Lucky Draw No.
500K Members
2016 Christmas
Mi Explorers
2016 #ThrowbackwithMiComm
1 million members
Xiaomi 7th Birthday
Fitness Guru
June-100 replies in a month
Тема мая 2017
1st Anniversary
Columnist
71st Independence Day
MIUI 9
MIUI 7th Anniversary
2 million registered members
Mi A1 Review Contest
Newbie Member
Diwali
Twitter Medal
Android O Tester
Mi Apps
Christmas 2017
2018 New Year Medal
ThrowBackWithMiCommunity
MIUI Instagram
MIUI Beta Tester
Mi Community Updater
STAR Bug Hunter
5-Star Motivator
MIUI 10

Read moreGet new
Copyright©2016-2018 Xiaomi.com, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list