161 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			161 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			XML
		
	
	
	
| <?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"
 | |
|     tools:context=".Activity_paihangbang"
 | |
|     android:fitsSystemWindows="true"
 | |
|     android:clipToPadding="true"
 | |
|     >
 | |
|     <!-- 即toolbar悬浮在statusbar之后 https://blog.csdn.net/zafir6453/article/details/51344241-->
 | |
|     <android.support.design.widget.AppBarLayout
 | |
|         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/ToolBarTheme.PopupOverlay"
 | |
| 
 | |
|             />
 | |
| 
 | |
|     </android.support.design.widget.AppBarLayout>
 | |
| 
 | |
|     <LinearLayout
 | |
|         tools:context=".ActivitySetup"
 | |
|         android:orientation="vertical"
 | |
|         style="@style/llOutside"
 | |
|         android:paddingTop="10dp"
 | |
|         android:layout_marginTop="50dp"
 | |
|         >
 | |
| 
 | |
|         <LinearLayout
 | |
|             style="@style/llSetup"
 | |
|             android:id="@+id/llAnouncement"
 | |
|             >
 | |
|             <TextView
 | |
|                 style="@style/NovelBlockTitle"
 | |
|                 android:id="@+id/tvAnnounce"
 | |
|                 android:text="@string/title_anounce"
 | |
|                 />
 | |
| 
 | |
|             <TextView
 | |
|                 style="@style/buttonRightMore"
 | |
|                 android:text="详细"
 | |
|                 android:gravity="center_vertical"
 | |
|                 android:layout_marginRight="5dp"
 | |
|                 />
 | |
|             <TextView
 | |
|             style="@style/tvRightMore"
 | |
| 
 | |
|             android:text=" "
 | |
| 
 | |
|             />
 | |
|         </LinearLayout>
 | |
| 
 | |
|         <View style="@style/llGraySplit.2dp.gray" />
 | |
| 
 | |
|         <LinearLayout
 | |
|             style="@style/llSetup"
 | |
|             android:id="@+id/llVersion"
 | |
|             >
 | |
|             <TextView
 | |
|                 style="@style/NovelBlockTitle"
 | |
| 
 | |
|                 android:text="@string/title_checkVersion"
 | |
|                 />
 | |
|             <TextView
 | |
|                 style="@style/NovelBlockTitle"
 | |
|                 android:id="@+id/tvVersion"
 | |
| 
 | |
|                 android:gravity="right"
 | |
|                 android:layout_marginRight="5dp"
 | |
|                 />
 | |
|             <TextView
 | |
|                 style="@style/tvRightMore"
 | |
| 
 | |
|                 android:text=" "
 | |
| 
 | |
|                 />
 | |
| 
 | |
|         </LinearLayout>
 | |
|         <View style="@style/llGraySplit.2dp.gray" />
 | |
| 
 | |
|         <LinearLayout
 | |
|             style="@style/llSetup"
 | |
|             android:id="@+id/llCache"
 | |
|             >
 | |
|             <TextView
 | |
|                 style="@style/NovelBlockTitle"
 | |
|                 android:text="@string/title_clearcache"
 | |
|                 />
 | |
|             <TextView
 | |
|                 style="@style/NovelBlockTitle"
 | |
|                 android:id="@+id/tvCache"
 | |
| 
 | |
|                 android:gravity="right"
 | |
|                 android:layout_marginRight="5dp"
 | |
|                 />
 | |
|             <TextView
 | |
|                 style="@style/tvRightMore"
 | |
|                 android:text=" "
 | |
| 
 | |
|                 />
 | |
| 
 | |
|         </LinearLayout>
 | |
| 
 | |
|         <View style="@style/llGraySplit.2dp.gray" />
 | |
|         <LinearLayout
 | |
|             style="@style/llSetup"
 | |
|             android:layout_height="wrap_content"
 | |
|             android:visibility="gone"
 | |
|             >
 | |
|             <TextView
 | |
|                 style="@style/NovelBlockTitle"
 | |
|                 android:layout_width ="wrap_content"
 | |
|                 android:text="@string/title_shelforder"
 | |
|                 android:layout_weight="1"
 | |
|                 />
 | |
|             <RadioGroup
 | |
|                 android:id="@+id/rgShelfOrder"
 | |
|                 android:layout_weight="1"
 | |
|                 style="@style/radioGroup"
 | |
|                 android:layout_width ="wrap_content"
 | |
|                 android:orientation ="vertical"
 | |
|                 android:layout_gravity="center_horizontal"
 | |
|                 android:gravity="center_horizontal"
 | |
|                 >
 | |
|                 <RadioButton
 | |
|                     android:id="@+id/radioButton1"
 | |
|                     android:text="按更新时间"
 | |
|                     style="@style/radioButtonNormal"
 | |
| 
 | |
|                     android:checked="true"
 | |
|                     />
 | |
|                 <RadioButton
 | |
|                     android:id="@+id/radioButton2"
 | |
|                     android:text="按最近阅读"
 | |
|                     style="@style/radioButtonNormal"
 | |
| 
 | |
|                     />
 | |
|                 <RadioButton
 | |
|                     android:id="@+id/radioButton3"
 | |
|                     android:text="按有更新+最近阅读+更新时间"
 | |
|                     style="@style/radioButtonNormal"
 | |
| 
 | |
|                     />
 | |
|             </RadioGroup>
 | |
| 
 | |
|         </LinearLayout>
 | |
| 
 | |
| 
 | |
|     </LinearLayout>
 | |
| 
 | |
| </android.support.design.widget.CoordinatorLayout >
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 |