Закрепить кнопку внизу экрана так, чтобы она не смещалась вверх при открытии клавиатуры
<!--accept button...-->
<Button android:layout_width="fill_parent"
android:layout_height="@dimen/common_small_button_height"
android:text="@string/button_request_promo_code"
android:gravity="center"
android:textSize="@dimen/common_font_butt_1_size"
android:textColor="@color/common_color_tl"
android:background="@drawable/green_button"
android:id="@+id/okButton"
android:layout_alignParentBottom="true"/>
Есть RelativeLayout с кнопкой внизу экрана. При тапе на editText выезжает клавиатура и кнопка перемещается над клавиатурой. Как сделать так, чтобы такого эффекта не было.
Источник: Stack Overflow на русском