Taskito offers simple and intuitive tools to organize your daily tasks and to-do list. It combines features of project management software with productivity and time management tools. Try it out now!
Make Action Bar Transparent
on Android
I have been working on an app which produces long exposure effect. As of now, we are almost ready with the free version of the app. For this, I got some feedback from some of the users. One of them said that we should make the action bar transparent and since it’s a camera app, it’d look great if it’s interface looked similar to that of Google Camera app. We are nowhere near that app, but we thought of giving it a try. Plus, making the Action Bar transparent gives more space for the camera preview.
To make this happen, I looked around a lot. Found many answers on stackoverflow, but none of them really worked. But it was a simple solution.
Following are some files that I changed.
styles.xml
themes.xml
I may have repeated things here.
In MainActivity
This may not have played a role in it.
AndroidManifest.xml
Now, this is the most important part. I spent over an hour to make it transparent and this was the solution.
And here’s a screenshot of the app that I am working on
Low light and low res of the front camera. Still working on the UI.
P.S. Releasing Lenx next week.
Playing around with Android UI
Articles focusing on Android UI - playing around with ViewPagers, CoordinatorLayout, meaningful motions and animations, implementing difficult customized views, etc.