Skip to content

Translucentstatusbar#79

Open
kqstone wants to merge 3 commits intoMohammadAG:masterfrom
kqstone:translucentstatusbar
Open

Translucentstatusbar#79
kqstone wants to merge 3 commits intoMohammadAG:masterfrom
kqstone:translucentstatusbar

Conversation

@kqstone
Copy link
Copy Markdown
Contributor

@kqstone kqstone commented Jul 8, 2014

enable user to customize translucent statusbar activity. only support KitKat

2
1
3

kqstone added 3 commits July 8, 2014 00:42
enable user to set the translucent statusbar activity.
only support KitKat
This reverts commit afeaf42.
@kqstone
Copy link
Copy Markdown
Contributor Author

kqstone commented Jul 8, 2014

There is a problem i can't fix.
As translucent statusbar, some activities layout are unsatisfied. part of the top view/viewgroup of the activity (like actionbar, textView...) is covered by statusbar. Although we can see the view/viewgroup through translucent statusbar, I think it is not beautiful. So I want to make these view shift down a little. Can you help me, or give me any suggestion? Thank you!

like this:
4

@MohammadAG
Copy link
Copy Markdown
Owner

I'll have a look at these patches in the upcoming days, for the layout issue, you need to use setFitsSystemWindows on the main layout, usually the Activity's contentView. Alternatively, you'd need the calculate the height of the bars and set those as the padding to the contentView.

@kqstone
Copy link
Copy Markdown
Contributor Author

kqstone commented Jul 9, 2014

Thank you! I'll try it!

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check what you're doing here? It seems you're repeating the same line for non KitKat devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants