4

I would like to see how they setup their layouts esp for a Google made app so I'm trying to use apktool to decompile it. However the framework is messed up and I can't apktool decompile the Play Store. Any ideas?

Mostly I just want to know how they setup layouts where the screen space is so perfectly divided up. Especially since the layouts have to handle different screen sizes, so how does Google setup their layouts to achieve this result, without bugs, when new devices and screen sizes are released on a frequent basis.

Examples:

enter image description here enter image description here

Rawr
  • 2,206
  • 3
  • 25
  • 53
  • Ouch!! Talk about _borrowing_ ideas. ;-) – Siddharth Lele Sep 27 '12 at 07:20
  • LOL. I don't want to steal anything. I just want THE GOOGLE OFFICIAL way to divide up content area by percentage. I mean the first image has 3 content boxes perfectly consistent in size and space...HOW DID THEY DO THAT?!?! – Rawr Sep 27 '12 at 07:23
  • No no. I said borrowing. ;-) And I suppose, to each his own. This is one way to find out. I would much rather falter a few times getting my hands dirty though. No clue how to help you on this. Never tried the apktool. Good luck fella. – Siddharth Lele Sep 27 '12 at 07:29

1 Answers1

0

In the end I used this question/answer to go on...

Percentage width in a RelativeLayout

I had seen the weight property before, but this is the first time I'd seen weightSum, which actually makes a difference.

Community
  • 1
  • 1
Rawr
  • 2,206
  • 3
  • 25
  • 53