У каждого элемента есть изображение и 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>
он может прокручиваться.
Прежде чем вы получите несколько голосов против, опубликуйте весь код вашего layout.xml. Поскольку я не могу видеть начало RelativeLayout и также показать макет элемента просмотра вашего ресайклера.
@Khemraj обновлен
@JoeyDalu он может прокручивать
Также не отображается макет элемента?
<?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>
прокручивается?