M mehdimf20 Member Licensed User Mar 28, 2018 #1 Hi All, i use two panel view in activity . i need panel that be automatic resized height and second panel automatic set top compared to the first panel . i really want the panels to be relative. many thanks
Hi All, i use two panel view in activity . i need panel that be automatic resized height and second panel automatic set top compared to the first panel . i really want the panels to be relative. many thanks
Eme Fibonacci Well-Known Member Licensed User Longtime User Mar 28, 2018 #2 Are you using layout? Or by code?. Explain a little better what you want. Upvote 0
M mehdimf20 Member Licensed User Mar 29, 2018 #3 i mean like this picture . Attachments test.png 30.1 KB · Views: 302 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 29, 2018 #4 If you are resizing Panel A in your code then you need to update Panel B position: B4X: PanelB.Top = PanelA.Top + PanelA.Height + 5dip Upvote 0
If you are resizing Panel A in your code then you need to update Panel B position: B4X: PanelB.Top = PanelA.Top + PanelA.Height + 5dip
M mehdimf20 Member Licensed User Mar 29, 2018 #5 Erel said: If you are resizing Panel A in your code then you need to update Panel B position: B4X: PanelB.Top = PanelA.Top + PanelA.Height + 5dip Click to expand... I know , but is there an automated solution? Upvote 0
Erel said: If you are resizing Panel A in your code then you need to update Panel B position: B4X: PanelB.Top = PanelA.Top + PanelA.Height + 5dip Click to expand... I know , but is there an automated solution?
Eme Fibonacci Well-Known Member Licensed User Longtime User Mar 29, 2018 #6 mehdimf20 said: I know , but is there an automated solution? Click to expand... You mean something like this? https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#content Upvote 0
mehdimf20 said: I know , but is there an automated solution? Click to expand... You mean something like this? https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#content
M mehdimf20 Member Licensed User Mar 30, 2018 #7 Eme Fibonacci said: You mean something like this? https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#content Click to expand... no !! Upvote 0
Eme Fibonacci said: You mean something like this? https://www.b4x.com/android/forum/threads/b4x-anchors-demonstrated.64112/#content Click to expand... no !!