Facebook-like title in Android

I noticed that some Android apps (like Facebook, WhatsApp, Google Maps, and ShopSavvy) have a similar title bar with a button or more in the right corner. I know how to implement a custom title bar, there are many examples here, but I feel that there is a library or some kind of template for their implementation, since their sizes, icons and separators are similar. I already have a custom bar that I created myself, but I would like it to look like these. Are these custom bars? Any help?

http://www.gadgetvenue.com/wp-content/uploads/2010/08/Facebook-Android-App-300x300.jpg http://cdn1.staztic.com/screenshots/whatsapp-messenger-97-1.jpg

+3
source share
3 answers

The iosched app is a great reference for the Dashboard and ActionBar toolbar presented by Google at the 2010 I / O Conference .

In addition, you can also take a look at the GreenDroid project, an Android library project that will help you implement user interface templates such as ActionBar, QuickActions, etc. It is free and available here: http://android.cyrilmottier.com/?p=240

+5
source

It is often referred to as an action bar. Look in the source of the Google IO conference application and you will find what you need to implement it yourself. http://code.google.com/p/iosched/

+4
source

A more relevant answer is to use ActionBarSherlock. This is awesome, and you get a lot of work for getting an excellent gaming bar that switches to the native one on devices with higher speed (which is really important now that 4.0 phones are coming out)

+1
source

Source: https://habr.com/ru/post/1788837/


All Articles