In your screen1.xml file, add android:layout_marginTop="5dp",
android:layout_marginBottom="5dp" .. etc for top, bottom, left and
right spacing. This is added as an attribute to ur Button tag.
so you can have somthing like
to have 5dp space on top of your button.
Try it =)
On Sep 5, 2:57 am, s
Try
android:layout_marginRight="5dp" attribute in ur xml file to get
spacing on the right of the button.
So somthing lik
On Sep 5, 2:57 am, sam wrote:
> I got it fixed Ratheesh , i had a mistake in ma manifest file ..
>
> Can u please guide me how to set the space between the buttons ???
>
>
set the margin property of buttoneg:android:layout_margin=''
2011/9/5 sam
> I got it fixed Ratheesh , i had a mistake in ma manifest file ..
>
> Can u please guide me how to set the space between the buttons ???
>
> Regards,
> Sam
>
> On Sep 5, 11:53 am, Ratheesh Valamchuzhy wrote:
> > hi S
I got it fixed Ratheesh , i had a mistake in ma manifest file ..
Can u please guide me how to set the space between the buttons ???
Regards,
Sam
On Sep 5, 11:53 am, Ratheesh Valamchuzhy wrote:
> hi SAM
>
> public void onClick(View v)
> {
> switch(v.getId())
>
hi SAM
public void onClick(View v)
{
switch(v.getId())
{
case R.id.button1:
startActivity(new Intent(Screen1.this,Screen2.
class));
break;
case R.id.button3:
Hi Michael ,
i was able to create two screen using Intent but i'm having a problem
I have Screen1,Screen2,Screen3
In Screen1 i have two button, were clicking the button1 will take to
the second screen and clicking the button2 will take to the third
screen.
When i click on the first button it ta
6 matches
Mail list logo