Click here to Skip to main content
15,899,559 members

Comments by Sepehr Mahmoudi (Top 3 by date)

Sepehr Mahmoudi 15-Oct-14 5:55am View    
sry i didnt understand :/
Sepehr Mahmoudi 6-Oct-14 12:34pm View    
this code is correct right now...and all 3 button in a same line like thw way i want...but once i change the top layout margin of button3 the other buttons move either...whats the problem?
Sepehr Mahmoudi 6-Oct-14 12:33pm View    
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<Button
android:id="@+id/button3"
android:layout_width="78dp"
android:layout_height="wrap_content"
android:text="Enter" android:layout_marginLeft="145dp" android:layout_marginTop="490dp"/>

<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Previous" android:layout_marginTop="-50dp"/>


<Button
android:id="@+id/button1"
android:layout_width="78dp"
android:layout_height="wrap_content"
android:layout_marginLeft="280dp"
android:text=" Next " android:layout_marginTop="-50dp"/>

</LinearLayout>