<Button

android:id=”@+id/mapViewBtn”

android:layout_width=”0dp”

android:layout_height=”wrap_content”

android:layout_weight=”1″

android:text=”test” <– add text to the button

android:textSize=”12sp”

android:onClick=”mapClick”

android:drawableTop=”@drawable/btm_map_btn_small”   <– add icon on the top of the button

style=”?android:attr/buttonBarButtonStyle” <– remove the border of the button

/>

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>