Simple implementation of the android top toolbar and bottom Toolbar
The two toolbars are implemented by layout. Code for bottom toolbar layout:
<? XML version = "1.0" encoding = "UTF-8"?>
<Relativelayout
Xmlns: Android = "http://schemas.android.com/apk/res/android"
Android: Background = "@ drawable/bottom"
Android: layout_width = "fill_parent"
Android: layout_height = "wrap_content"
>
<Textview
Android: Id = "@ + ID/edit"
Android: text = "test"
Android: gravity = "center_horizontal"
Android: drawabletop = "@ drawable/ic_dialog_alert"
Android: layout_alignparentleft = "true"
Android: layout_width = "80dip"
Android: layout_height = "wrap_content"
>
</Textview>
<Textview
Android: Id = "@ + ID/menu2"
Android: text = "test"
Android: gravity = "center_horizontal"
Android: drawabletop = "@ drawable/ic_dialog_dialer"
Android: layout_torightof = "@ ID/edit"
Android: layout_width = "80dip"
Android: layout_height = "wrap_content"
>
</Textview>
<Textview
Android: Id = "@ + ID/effect"
Android: text = "test"
Android: gravity = "center_horizontal"
Android: drawabletop = "@ drawable/ic_dialog_email"
Android: layout_torightof = "@ ID/menu2"
Android: layout_width = "80dip"
Android: layout_height = "wrap_content"