I have 52 images (a deck of cards) I would like to place inside a linear horizontal layout.
I want to do this programmatically (in java) if possible. Is it possible?
I am creating an android application...And I am using a linearlayout...but when I ruN my app it showing some blank space left at the bottom....
My linear layout structure..
First is root horizontal linear layout...inside that layout .....a vertical linear layout.next of that vertical layout again a horizontal linear layout....and inside that horizontal layout there are seven linear layout with fi
I've created four folders for different layouts, to make my app support all screens. Four folders, namely, layout(By Default), layout-large, layout-small, layout-xlarge, i've created. Inside all of them, i've put an xml file that has same name "activity_start.xml".
How to increase or decrease the size of imageview,textview or anyother by programmatically in linear layout in getview() of slide menu.
I got slide menu through androidhive tutorials
Exactly in slide menu I need to add a user profile pic and his name ,location as like in facebook,google and other social sites for this tried a lot with (getlayoutparams(),setheight()...) even though with a lot of
I have a horizontal linear layout which programmatically generated in code, now I want to add one fragment and one secondary linear layout at a same time.
Although I'd added the fragment first, it didn't show in the first position but the secondary linear layout.
what can I do to keep the fragment in the first position ?
I'm not sure why is this getting hard for me to do, but here's my problem, I've 3 images(star drawables) inside a horizontally oriented linearlayout, I thought setting the gravity for the linearlayout to Gravity.CENTER_VERTICAL would fix it but it did not.