2015-11-30 88 views

回答

1

試着這麼做:

<RelativeLayout 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" > 

    <RecyclerView 
     ... /> 

    <!-- This is the view you will use to show the loading message --> 
    <View 
     android:id="@+id/loading_view" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent" 
     .... /> 

然後只需撥動相應的loading_view的知名度。

+0

好的,會這樣做的。想到一個適配器的方式來做到這一點,雖然。 –