Просмотр корзины не показывает все

Просмотр корзины не показывает все

У каждого элемента есть изображение и 3 данных, как вы видите, последняя часть не показана. Нижний вид навигации заблокировал некоторую информацию, мне нужно показать все это.

Кто-нибудь поможет?

Вот мой макет.

<?xml version = "1.0" encoding = "utf-8"?>
<RelativeLayout 
    xmlns:android = "http://schemas.android.com/apk/res/android"
    xmlns:app = "http://schemas.android.com/apk/res-auto"
    xmlns:tools = "http://schemas.android.com/tools"
    android:layout_width = "match_parent"
    android:layout_height = "match_parent"
    tools:context = ".Recycleview">

    <ProgressBar
        android:id = "@+id/progress_circle"
        android:layout_width = "wrap_content"
        android:layout_height = "wrap_content"
        android:layout_centerInParent = "true"/>

    <LinearLayout
        android:layout_width = "match_parent"
        android:layout_height = "530dp">

        <android.support.v7.widget.RecyclerView
            android:id = "@+id/recycler_view"
            android:layout_width = "match_parent"
            android:layout_height = "match_parent" />
    </LinearLayout>

    <LinearLayout
        android:layout_width = "match_parent"
        android:layout_height = "wrap_content"
        android:orientation = "vertical"
        android:layout_alignParentBottom = "true">

        <android.support.design.widget.BottomNavigationView
            android:id = "@+id/bottom_navigation"
            android:layout_width = "match_parent"
            android:layout_height = "wrap_content"
            app:menu = "@menu/bottom"
            android:background = "?android:attr/windowBackground">

        </android.support.design.widget.BottomNavigationView>
    </LinearLayout>
</RelativeLayout>

он может прокручиваться.

прокручивается?

Joey Dalu 03.06.2018 19:56

Прежде чем вы получите несколько голосов против, опубликуйте весь код вашего layout.xml. Поскольку я не могу видеть начало RelativeLayout и также показать макет элемента просмотра вашего ресайклера.

Khemraj Sharma 03.06.2018 19:58

@Khemraj обновлен

Choy 03.06.2018 20:00

@JoeyDalu он может прокручивать

Choy 03.06.2018 20:00

Также не отображается макет элемента?

Khemraj Sharma 03.06.2018 20:01
0
5
34
1
Перейти к ответу Данный вопрос помечен как решенный

Ответы 1

Ответ принят как подходящий
<?xml version = "1.0" encoding = "utf-8"?>

<LinearLayout xmlns:android = "http://schemas.android.com/apk/res/android"
    xmlns:app = "http://schemas.android.com/apk/res-auto"
    android:layout_width = "match_parent"
    android:layout_height = "match_parent"
    android:orientation = "vertical">

    <FrameLayout
        android:layout_width = "match_parent"
        android:layout_height = "0dp"
        android:layout_weight = "1">

        <ProgressBar
            android:id = "@+id/progress_circle"
            android:layout_width = "wrap_content"
            android:layout_height = "wrap_content"
            android:layout_gravity = "center" />

        <android.support.v7.widget.RecyclerView
            android:id = "@+id/recycler_view"
            android:layout_width = "match_parent"
            android:layout_height = "match_parent" />

    </FrameLayout>

    <android.support.design.widget.BottomNavigationView
        android:id = "@+id/bottom_navigation"
        android:layout_width = "match_parent"
        android:layout_height = "wrap_content"
        android:background = "?android:attr/windowBackground"
        app:menu = "@menu/bottom" />

</LinearLayout>

Другие вопросы по теме