79 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			79 lines
		
	
	
		
			3.3 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:orientation="vertical" | ||
|  |     android:fitsSystemWindows="true"> | ||
|  | 
 | ||
|  |     <android.support.design.widget.AppBarLayout | ||
|  |         android:id="@+id/appbar" | ||
|  |         style="@style/barLayout"> | ||
|  | 
 | ||
|  |         <android.support.v7.widget.Toolbar | ||
|  |             android:id="@+id/toolbar" | ||
|  |             android:layout_width="match_parent" | ||
|  |             android:layout_height="?attr/actionBarSize" | ||
|  |             android:background="?attr/colorPrimary" | ||
|  |             app:popupTheme="@style/AppTheme.PopupOverlay"> | ||
|  |             <ImageButton | ||
|  |                 android:id="@+id/btnRefresh" | ||
|  |                 android:layout_weight="0" | ||
|  |                 android:layout_gravity ="right|center_vertical" | ||
|  |                 android:layout_marginRight="10dp" | ||
|  |                 android:layout_marginLeft="5dp" | ||
|  |                 android:layout_width="wrap_content" | ||
|  |                 android:layout_height="wrap_content" | ||
|  |                 app:srcCompat="@drawable/ic_refresh_black_24dp" | ||
|  |                 style="@style/buttonCates"/> | ||
|  | 
 | ||
|  |             <ImageButton | ||
|  |                 android:id="@+id/btnSort" | ||
|  |                 android:layout_weight="0" | ||
|  |                 android:layout_gravity ="right|center_vertical" | ||
|  |                 android:layout_marginRight="10dp" | ||
|  |                 android:layout_width="wrap_content" | ||
|  |                 android:layout_height="wrap_content" | ||
|  |                 app:srcCompat="@drawable/ic_format_line_spacing_black_24dp" | ||
|  |                 style="@style/buttonCates"/> | ||
|  |         </android.support.v7.widget.Toolbar> | ||
|  |     </android.support.design.widget.AppBarLayout> | ||
|  | 
 | ||
|  |     <!--<ListView--> | ||
|  |         <!--android:id="@+id/lv_catalogue"--> | ||
|  |         <!--android:layout_width="match_parent"--> | ||
|  |         <!--android:layout_height="match_parent"--> | ||
|  |         <!--android:divider="@color/list_item_divider"--> | ||
|  |         <!--android:dividerHeight="1dp"--> | ||
|  |         <!--app:layout_behavior="@string/appbar_scrolling_view_behavior"/>--> | ||
|  | 
 | ||
|  |         <LinearLayout | ||
|  |              style="@style/llOutside" | ||
|  |             android:orientation="vertical" | ||
|  |             android:layout_marginTop="-20dp" | ||
|  |             app:layout_behavior="@string/appbar_scrolling_view_behavior"> | ||
|  | 
 | ||
|  | 
 | ||
|  |             <com.flyco.tablayout.SlidingTabLayout | ||
|  |                 android:id="@+id/tab_layout" | ||
|  |                 android:layout_width="match_parent" | ||
|  |                 android:layout_height="40dp" | ||
|  |                 android:background="@color/white" | ||
|  |                 app:tl_indicator_color="@color/tabSelected" | ||
|  |                 app:tl_indicator_corner_radius="1.5dp" | ||
|  |                 app:tl_indicator_height="2dp" | ||
|  |                 app:tl_indicator_width="45dp" | ||
|  |                 app:tl_textSelectColor="@color/tabSelected" | ||
|  |                 app:tl_textUnselectColor="@color/grey" | ||
|  |                 app:tl_tab_space_equal ="true" | ||
|  |                 /> | ||
|  |             <android.support.v4.view.ViewPager | ||
|  |                 android:id="@+id/pager" | ||
|  |                 android:layout_width="match_parent" | ||
|  |                 android:layout_height="wrap_content" | ||
|  |                 android:layout_below="@+id/tabs" /> | ||
|  |         </LinearLayout> | ||
|  | 
 | ||
|  | </android.support.design.widget.CoordinatorLayout> |