Could anyone give me a hint how to avoid the following problem?
I have these buttons and I would like to leave them in a fixed size, so they do not rotate when the cell phone is rotated.
I'musingRelativeLayout:
<RelativeLayoutandroid:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
>
Button Settings:
<Button
android:text="Onde ir?"
android:layout_width="wrap_content"
android:id="@+id/button9"
android:background="@drawable/mapabutton"
android:textColor="@color/TextoBotao"
android:textSize="20sp"
android:layout_height="60dp"
android:layout_weight="0.5"
android:fontFamily="sans-serif-condensed"
tools:fontFamily="serif"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />