Hey Guys,
I recently started developing applications for android and stumbled upon Basic4Android. I took a course a few years ago for visual basic and the code is similar and easy to learn. I have a few general questions though.
1) How to you program a button to exit or quit the application? For example:
2) How do i switch between multiple layouts. For example, i have layout1 open with the application and when a button is clicked, it switches to layout2.
3) How do i set the background of a layout to a picture and does it need to be a specific format?
I know they are really easy questions but your help is much appreciated, thanks!
(Sorry for putting in wrong section!)
I recently started developing applications for android and stumbled upon Basic4Android. I took a course a few years ago for visual basic and the code is similar and easy to learn. I have a few general questions though.
1) How to you program a button to exit or quit the application? For example:
B4X:
Sub Button1_Click
'code that closes application
End Sub
2) How do i switch between multiple layouts. For example, i have layout1 open with the application and when a button is clicked, it switches to layout2.
3) How do i set the background of a layout to a picture and does it need to be a specific format?
I know they are really easy questions but your help is much appreciated, thanks!
(Sorry for putting in wrong section!)
Last edited: