android - How to design layout with multiple things and borders -
I'm trying to design a sample layout that mimics a user page on the Twitter app:
I am unsure where to start So far I have designed list views or tab views, how can I design a layout with multiple blocks in it (like this sample has 4 blocks) and so on. And divide them into blocks
If someone can point out to me how to get started on the first block, then I can take it from there.
The first block I like.
Here's some brief explanation: How to use it:
The easiest way to deal with other groups ("direct message", "draft", etc.) Code> LinearLayout another vertical linear layout
which hosts these groups with some margins between each group.
For simplicity, I will make each group as a separate layout file and & lt;
& lt; LinearLayout Android: id = "@ + Id / host" android: orientation = "vertical" ..... & gt; & Lt; Layout = "@ layout / group1" /> & Lt; - Grid layout & lt; Layout = "@ layout / group2" /> & Lt; - Simple text button & lt; Layout = "@ layout / group3" /> & Lt; - Layout of vertical linear text buttons; & Lt; Layout = "@ layout / group4" /> & Lt; - etc ...... ...... & lt; / LinearLayout & gt;
Comments
Post a Comment