I want to add two buttons one below another in a FrameLayout but they should be touching. However, I am not managing to do this. Here is my code:
<FrameLayout
android:id="@+id/lytOptions"
android:layout_below="@id/imgLine"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<Button
android:id="@+id/btnLogin"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/action_via_email"
android:textColor="@android:color/white"
android:textStyle="bold" />
<Button
android:id="@+id/btnSignUp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/action_sign_up"
android:textColor="@android:color/white"
android:textStyle="bold" />
</FrameLayout>