Pooya1 Active Member Licensed User Jun 16, 2018 #1 Hi I use MapFragment customview I can change position or size this view in designer but it is needing change view's size programmatically When i try use mapfragment,it have only 4 function that not is looklike to view object Also i add MapFragment into panel and change panel position and size Changing position is OK But when i resize panel,MapFragment is fixed Thanks a lot
Hi I use MapFragment customview I can change position or size this view in designer but it is needing change view's size programmatically When i try use mapfragment,it have only 4 function that not is looklike to view object Also i add MapFragment into panel and change panel position and size Changing position is OK But when i resize panel,MapFragment is fixed Thanks a lot
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2018 #2 Add MapFragment to a panel with the designer. You can then access the map view with: Code: Copy Dim v As View = Panel1.GetView(0) v.SetLayoutAnimated(0, 10dip, 10dip, 300dip, 200dip) Last edited: Jun 17, 2018 Upvote 0
Add MapFragment to a panel with the designer. You can then access the map view with: Code: Copy Dim v As View = Panel1.GetView(0) v.SetLayoutAnimated(0, 10dip, 10dip, 300dip, 200dip)
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2018 #3 Thread was cleaned to make it more clear. Please start a new thread for any other question or comment. Upvote 0
Thread was cleaned to make it more clear. Please start a new thread for any other question or comment.