按钮退出屏幕android布局

问题描述

我得到了这个相对布局,并且在android studio的设计屏幕上看起来不错

enter image description here

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:padding="8dp"
    tools:context="com.checking.movi.movioperations.CartItems">


    <TextView
        android:id="@+id/txtcartprod"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Productos seleccionados:"
        />

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/recycler_cart"
        android:layout_width="match_parent"
        android:layout_height="649dp"
        android:layout_below="@+id/txtcartprod"
        />

    <Button
        android:id="@+id/btn_placeorder"
        style="?android:attr/buttonStyleSmall"
        android:layout_below="@+id/recycler_cart"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/mybutton"
        android:text="Continuar"
        android:textColor="#ffffff" />

</RelativeLayout>

但是当我在电话上进行测试时,如果我减小了recyclerview的尺寸,按钮就会出现在屏幕上,但是它确实出现了吗?你们能给我一点帮助吗?不知道告诉它保持3亮。在同一屏幕上

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)