I'm trying to create something that looks like this.
I can sort of get the header working, and the word cloud look-alike stuff on the right. I'm calling it from a Fragment.
But I'm struggling to get the two column thing working.
I tried to get the width of the parent like this:
parentLayout = (RelativeLayout) view.findViewById(R.id.ParentLayout);
parentLayout.getMeasuredWidth()
this returns 0, while the parentLayout has layout_width="match_parent"
I can't seem to find tutorials/example on this type of "view", or maybe the keyword I'm using for the search is wrong.
Any input is appreciated!! Thanks in advance!!
p.s. I tried to use onMeasure() as well, but got error "must override or implement a supertype method"