On Nov 17, 2:45 pm, Nithin wrote:
> Hi,
>
> I created a textview and also MarginlayoutParams. Then i put setMargin
> for the MarginLayoutParams and inserted that to textview using
> tv.setLayoutparams(), but its not working.
>
> The code is,
>
> MarginLayoutParams compParams = new MarginLayoutPa
Hi,
now, I am trying in this, still its not working...
LinearLayout layout = new LinearLayout(this);
LayoutParams layoutParams = new LayoutParams(
LinearLayout.LayoutParams.FILL_PARENT,
LinearLayout.LayoutParams.FILL_PARENT);
layout.
any idea
On Nov 18, 12:23 pm, Nithin wrote:
> Padding can't do. I want to implement margin, itself.
>
> On Nov 18, 12:09 pm, GPU wrote:
>
> > use the padding
>
> > On Nov 18, 10:20 am, Nithin wrote:
>
> > > Hi,
>
> > > I tried in this way too, still no success
>
> > > MarginLayoutParams com
Padding can't do. I want to implement margin, itself.
On Nov 18, 12:09 pm, GPU wrote:
> use the padding
>
> On Nov 18, 10:20 am, Nithin wrote:
>
> > Hi,
>
> > I tried in this way too, still no success
>
> > MarginLayoutParams compParams = new MarginLayoutParams
> > (MarginLayoutParams.WRAP_CONT
use the padding
On Nov 18, 10:20 am, Nithin wrote:
> Hi,
>
> I tried in this way too, still no success
>
> MarginLayoutParams compParams = new MarginLayoutParams
> (MarginLayoutParams.WRAP_CONTENT,
> MarginLayoutParams.WRAP_CONTENT);
> compParams.topMargin=100;
> c
Hi,
I tried in this way too, still no success
MarginLayoutParams compParams = new MarginLayoutParams
(MarginLayoutParams.WRAP_CONTENT,
MarginLayoutParams.WRAP_CONTENT);
compParams.topMargin=100;
compParams.leftMargin=100;
compParams.bottomMargin=0;
compParams.righ
anybody know this.. I googled alot, but cant get the exact thing..
Thanks
On Nov 17, 6:45 pm, Nithin wrote:
> Hi,
>
> I created a textview and also MarginlayoutParams. Then i put setMargin
> for the MarginLayoutParams and inserted that to textview using
> tv.setLayoutparams(), but its not worki
7 matches
Mail list logo