I have two buttons one to save to sd card and other to share it ( an image )
I need them to be equal , each is to the half of the screen ..
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<Button
android:id="@+id/btnShare"
android:layout_height="50dp"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:text="Share"
android:textColor="#000000"
android:typeface="serif"
android:layout_width="wrap_content"
android:layout_alignParentLeft="true"/>
<Button
android:id="@+id/btnSD"
android:layout_width="wrap_content"
android:layout_height="50dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="Save to SD Card"
android:textColor="#000000"
android:typeface="serif"
android:layout_alignParentRight=""/>
</RelativeLayout>
atm share is more than save to sd
1 Answer