Android Question i have some small problem

ibra939

Active Member
Licensed User
Longtime User
example i creat new program also this program have more Layout
example
*main
Layout 1
Layout 2
Layout 3
Layout 4

the main i create ImageView1 and text if i want ImageView1 when some body click go to Layout 1 and hide the *main ???? what the code for this

i use this code but not working :


End Sub
Sub ImageView1_Click
Activity.LoadLayout("Layout 1.bal")
End Sub

what the code is different for ImageView1 , button , text ?
 

jsanchezc

Member
Licensed User
Longtime User
really i try to use but i get same problem when i use ImageView1_Click ? why?

If you name imageview of each activity with same name: imageview1
then how you know into your app what object fires event imageview1_click?

The sample i upload has different names for each imageview, so you can put code for
each event.

hope this help and could be a start point to solve the problem.
 
Upvote 0

ibra939

Active Member
Licensed User
Longtime User
If you name imageview of each activity with same name: imageview1
then how you know into your app what object fires event imageview1_click?

The sample i upload has different names for each imageview, so you can put code for
each event.

hope this help and could be a start point to solve the problem.
Yap thanks what i want ....really helpful finally so thanks for all
 
Upvote 0
Top