I want to create a button or image button and It will contain icon and text. The icon will locate to left side and text will located center a button.
Asked
Active
Viewed 69 times
-3
-
sorry! Android studio – Ibrahim BOLAT Feb 21 '15 at 09:11
2 Answers
1
<Button
android:id="@+id/button3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableLeft="@android:drawable/btn_star_big_on"
android:text="Drawable\nleft"/>
Here the answer :)

Ibrahim BOLAT
- 223
- 1
- 6
- 18
0
There are several examples if you search further. For instance: