On Tue, Jan 10, 2012 at 10:22 PM, Shruthi Varma
wrote:
> To use layout_weight, I need LinearLayout.
>
Correct.
> I have so many other items placed in random order inside GridLayout.
>
OK.
> So, I am not able to use LinearLayout.
>
What's stopping you from adding more?
> But my actual prob
To use layout_weight, I need LinearLayout.
I have so many other items placed in random order inside GridLayout.
So, I am not able to use LinearLayout.
But my actual problem is GridLayout is not filling the screen width.
Even if I give, layout_width as fill_parent for GridLayout... It only
covers
On Mon, Jan 9, 2012 at 3:36 AM, Shruthi Varma wrote:
> I can achieve this by giving layout_weight in Linear Layout.
> But I have to use GridLayout as per my requirements.
>
Use a LinearLayout inside a GridLayout.
Or change your requirements.
--
Hi All,
I have to place 2 EditText fields horizontally in a row in GridLayout, so
that it occupies the whole screen.
That means, I want to divide the screen into half and place one EditText in
first half and the second EditText in the other half.
I can achieve this by giving layout_weight in Line
4 matches
Mail list logo