how to fix the two button center and right side? im expecting the best answer without using "dp".please guide me : I'm creating login form and i would like to give back button as center and red button at right side.



        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/back"
            android:textColor="@color/white"
            android:id="@+id/button4"
            android:onClick="onBackClick"
            android:background="@color/l_green"/>
        <View
            android:layout_width="@dimen/activity_horizontal_margin"
            android:layout_height="match_parent"/>
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/reg"
            android:textColor="@color/white"
            android:minWidth="130dp"
            android:id="@+id/button3"
            android:onClick="onSigninClick"
            android:background="@color/l_blue"/>
