Relative Layout v/s Grid Layout for Android -


so i'm developing android application , need create homepage similar windows 8 start screen.

i tried grid layout , have read, there limitations type of layout.

the tile size each item should such can changed per content of blocks. case relative layout better grid one? don't want put scrolling functionality. intend tiles able expand/collapse , automatically configure sizes. , there function make tiles "live" somehow? maybe show text or images, etc.

and in terms of flexibility, 1 more versatile?

my opinion use gridlayout.because grid layout simple make text , image view similar windows 8 start screen.for relativelayout have put effort more grid.and gridlayout make widget u want live.more clarification can refer page.

https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/widget/gridlayout.java


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -