• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps FrameLayout: 2D-weight Simulation

Fabiow

Lurker
Jan 5, 2015
1
0
I have a image of a specific graph as a background of a FrameLayout. The FrameLayout has a few views in it representing the (animated) nodes of the background graph. I can get that using a fixed-position strategy, but the problem arises when I go to a different device, since I'm not using a relative position strategy.

I need the (animated) nodes to match the background graph nodes, something like layout_wight in a LinearLayout, but in two dimensions.

Does anyone know how to do it?

Thanks in advance!
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones