163 lines
		
	
	
		
			6.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			163 lines
		
	
	
		
			6.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
|  | <?xml version="1.0" encoding="utf-8"?> | ||
|  | <android.support.design.widget.CoordinatorLayout 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" | ||
|  |     android:clipToPadding="false" | ||
|  |     android:fitsSystemWindows="true"> | ||
|  | 
 | ||
|  | 
 | ||
|  |         <android.support.design.widget.AppBarLayout | ||
|  |             android:id="@+id/app_bar" | ||
|  |             android:layout_width="match_parent" | ||
|  |             android:layout_height="wrap_content" | ||
|  |             android:fitsSystemWindows="true" | ||
|  | 
 | ||
|  |             android:theme="@style/ToolBarTheme.AppBarOverlay"> | ||
|  | 
 | ||
|  |             <android.support.design.widget.CollapsingToolbarLayout | ||
|  |                 android:id="@+id/toolbar_layout" | ||
|  |                 android:layout_width="match_parent" | ||
|  |                 android:layout_height="match_parent" | ||
|  |                 android:fitsSystemWindows="true" | ||
|  |                 app:collapsedTitleGravity="center" | ||
|  |                 app:contentScrim="?attr/colorPrimary" | ||
|  |                 app:expandedTitleGravity="bottom" | ||
|  |                 app:expandedTitleTextAppearance="@style/TitleText" | ||
|  |                 app:layout_scrollFlags="scroll|enterAlways" | ||
|  |                 app:toolbarId="@+id/toolbar"> | ||
|  | 
 | ||
|  |                      <LinearLayout | ||
|  |                     android:id="@+id/llTabs" | ||
|  |                     android:layout_width="match_parent" | ||
|  |                     android:layout_height="wrap_content" | ||
|  |                     android:orientation="vertical" | ||
|  |                     android:background="@color/white" | ||
|  |                     android:paddingBottom="0dp" | ||
|  |                     android:layout_marginTop="40dp" | ||
|  |                     app:layout_collapseMode="pin" | ||
|  |                     app:layout_collapseParallaxMultiplier="0.7"> | ||
|  |                          <LinearLayout style="@style/llGraySplit.2dp" /> | ||
|  |                          <LinearLayout | ||
|  |                              android:layout_width="match_parent" | ||
|  |                              android:layout_height="wrap_content" | ||
|  |                              android:orientation="horizontal"> | ||
|  |                              <com.ixiaow.multilayout.MultiLayout | ||
|  |                                  android:id="@+id/topic_layout1" | ||
|  |                                  android:layout_width="90dp" | ||
|  |                                  android:layout_height="wrap_content" | ||
|  |                                  app:tab_indicator_color="@color/colorAccent" | ||
|  |                                  app:tab_indicator_height="0dp" | ||
|  |                                  app:tab_indicator_radius="0dp" | ||
|  |                                  app:tab_text_size="15sp" | ||
|  |                                  app:tab_text_width="40dp" | ||
|  |                                  android:layout_weight="0" | ||
|  |                                  app:tl_textUnselectColor="@color/darkgray" /> | ||
|  | 
 | ||
|  |                             <TextView | ||
|  |                                 android:layout_weight="1" | ||
|  |                                 android:layout_width="match_parent" | ||
|  |                                 android:layout_height="wrap_content" /> | ||
|  | 
 | ||
|  |                          </LinearLayout> | ||
|  | 
 | ||
|  |                     <LinearLayout style="@style/llGraySplit.2dp" /> | ||
|  | 
 | ||
|  |                     <com.ixiaow.multilayout.MultiLayout | ||
|  |                         android:id="@+id/topic_layout" | ||
|  |                         android:layout_width="match_parent" | ||
|  |                         android:layout_height="wrap_content" | ||
|  |                         app:tab_indicator_color="@color/colorAccent" | ||
|  |                         app:tab_indicator_height="0dp" | ||
|  |                         app:tab_indicator_radius="0dp" | ||
|  |                         app:tab_text_size="14sp" | ||
|  |                         app:tl_indicator_style="BLOCK" | ||
|  | 
 | ||
|  |                         app:tl_textUnselectColor="@color/darkgray" /> | ||
|  | 
 | ||
|  |                     <LinearLayout style="@style/llGraySplit.2dp" /> | ||
|  | 
 | ||
|  | 
 | ||
|  |                     <com.ixiaow.multilayout.MultiLayout | ||
|  |                         android:id="@+id/topic_layout2" | ||
|  |                         android:layout_width="match_parent" | ||
|  |                         android:layout_height="wrap_content" | ||
|  |                         app:tab_indicator_color="@color/colorAccent" | ||
|  |                         app:tab_indicator_height="0dp" | ||
|  |                         app:tab_indicator_radius="0dp" | ||
|  |                         app:tab_text_size="15sp" | ||
|  |                         app:tab_text_width="60dp" | ||
|  | 
 | ||
|  |                         app:tl_textUnselectColor="@color/darkgray" /> | ||
|  | 
 | ||
|  |                     <LinearLayout style="@style/llGraySplit.2dp" /> | ||
|  | 
 | ||
|  |                 </LinearLayout> | ||
|  | 
 | ||
|  | 
 | ||
|  |                 <android.support.v7.widget.Toolbar | ||
|  |                     android:id="@+id/toolbar" | ||
|  |                     android:layout_width="match_parent" | ||
|  |                     android:layout_height="40dp" | ||
|  |                     android:minHeight="5dp" | ||
|  |                     app:contentInsetLeft="0dp" | ||
|  |                     app:contentInsetStart="0dp" | ||
|  |                     app:layout_collapseMode="pin" | ||
|  | 
 | ||
|  |                     app:popupTheme="@style/ToolBarTheme.PopupOverlay"> | ||
|  |                     <TextView | ||
|  |                         android:id="@+id/tvHint" | ||
|  |                         android:layout_width="match_parent" | ||
|  |                         android:layout_height="40dp" | ||
|  |                         android:background="@color/white" | ||
|  |                         android:gravity="center" | ||
|  |                         android:text="" | ||
|  |                         android:textColor="@color/red" | ||
|  |                         android:textSize="15sp" | ||
|  |                         /> | ||
|  |                 </android.support.v7.widget.Toolbar> | ||
|  | 
 | ||
|  |             </android.support.design.widget.CollapsingToolbarLayout> | ||
|  |         </android.support.design.widget.AppBarLayout> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |         <android.support.v4.widget.SwipeRefreshLayout | ||
|  |             android:id="@+id/swipeLayout" | ||
|  |             android:layout_width="match_parent" | ||
|  |             android:layout_height="match_parent" | ||
|  |             android:layout_weight="1" | ||
|  |             android:layout_below ="@+id/app_bar" | ||
|  |             app:layout_behavior="@string/appbar_scrolling_view_behavior" | ||
|  |             android:orientation="vertical"> | ||
|  | 
 | ||
|  | 
 | ||
|  |             <android.support.v7.widget.RecyclerView | ||
|  |                 android:id="@+id/rvPaihang" | ||
|  |                 android:layout_width="match_parent" | ||
|  |                 android:layout_height="match_parent" | ||
|  |                 android:divider="#ffff0000" | ||
|  |                 android:dividerHeight="10dp" | ||
|  |                 android:nestedScrollingEnabled="true" | ||
|  |                 android:paddingBottom="35dp" /> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  |         </android.support.v4.widget.SwipeRefreshLayout> | ||
|  |    <TextView | ||
|  |     android:layout_width="match_parent" | ||
|  |     android:layout_height="1300dp" | ||
|  | 
 | ||
|  |     /> | ||
|  | 
 | ||
|  |     </android.support.design.widget.CoordinatorLayout> | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 |