AIDE Tutorial - 6 Button
Watch the below video 🤗
Normal Button
This is the example of normal button.
<Button
android:text="Android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
Image button
This is the example of image button. In this image button i have choosen the ic_launcher i.e. auto generated android icon on AIDE application.
<ImageButton
android:src="@drawable/ic_launcher"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
Text + Image Button
This is the example of text plus image button.In this i have choosen the ic_launcher i.e. auto generated android icon on AIDE application.
<Button
android:text="android"
android:drawableLeft="@drawable/ic_launcher"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<Button
android:text="android"
android:drawableLeft="@drawable/ic_launcher"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
Note: all the text in red are code. For more please watch the video embeded above.
0 comments:
Post a Comment