2016-08-26 7 views
0

これは私のレイアウトXMLファイルです。私はリフレッシュするために、recyclerviewとコーディネーターのレイアウトを持っています。私はこれをrecyclerviewに入れました。手段を遮断しない何build.gradleファイルに私のrecyclerlerviewの最後の項目は、誰が理由を知っているのですか?

<?xml version="1.0" encoding="utf-8"?> 
<android.support.design.widget.CoordinatorLayout 
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" 
tools:context=".MainActivitys.ViewPager.Fragments.Home"> 
<com.yalantis.phoenix.PullToRefreshView 
    android:id="@+id/pull_to_refresh" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent"> 
    <android.support.v7.widget.RecyclerView 
     android:id="@+id/fragment_dashboard_recycler" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent"> 
    </android.support.v7.widget.RecyclerView> 
</com.yalantis.phoenix.PullToRefreshView> 

+0

? – sumandas

+0

完全な最後の項目は表示されず、その一部のみ – Eli

+1

いくつかのスクリーンショットとコードも追加してください。 – sumandas

答えて

0

にごrecyclerviewの依存関係を更新し、最新バージョン 、あなたのxmlファイルにrecyclerviewのための高さとして"wrap_content"を使用

関連する問題