pull/2424/head
			
			
		
		
							parent
							
								
									74d6e90124
								
							
						
					
					
						commit
						bbac3e59d8
					
				| @ -1,7 +1,115 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <androidx.constraintlayout.widget.ConstraintLayout 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:layout_height="match_parent" | ||||
|     android:background="@color/background"> | ||||
| 
 | ||||
|     <androidx.appcompat.widget.Toolbar | ||||
|         android:id="@+id/tool_bar" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:background="@color/background_menu" | ||||
|         android:elevation="5dp" | ||||
|         android:theme="?attr/actionBarStyle" | ||||
|         app:displayHomeAsUp="false" | ||||
|         app:fitStatusBar="false" | ||||
|         app:layout_constraintTop_toTopOf="parent" | ||||
|         app:popupTheme="@style/AppTheme.PopupOverlay" | ||||
|         app:title="@string/search_scope" | ||||
|         app:titleTextAppearance="@style/ToolbarTitle" /> | ||||
| 
 | ||||
|     <RadioGroup | ||||
|         android:id="@+id/rg_scope" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_marginHorizontal="11dp" | ||||
|         android:gravity="center" | ||||
|         android:orientation="horizontal" | ||||
|         app:layout_constraintTop_toBottomOf="@+id/tool_bar"> | ||||
| 
 | ||||
|         <io.legado.app.lib.theme.view.ThemeRadioNoButton | ||||
|             android:id="@+id/rb_group" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_margin="4dp" | ||||
|             android:layout_weight="1" | ||||
|             android:button="@null" | ||||
|             android:gravity="center" | ||||
|             android:padding="5dp" | ||||
|             android:singleLine="true" | ||||
|             android:checked="true" | ||||
|             android:text="@string/group" | ||||
|             app:isBottomBackground="true" /> | ||||
| 
 | ||||
|         <io.legado.app.lib.theme.view.ThemeRadioNoButton | ||||
|             android:id="@+id/rb_source" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_margin="4dp" | ||||
|             android:layout_weight="1" | ||||
|             android:button="@null" | ||||
|             android:gravity="center" | ||||
|             android:padding="5dp" | ||||
|             android:singleLine="true" | ||||
|             android:text="@string/book_source" | ||||
|             app:isBottomBackground="true" /> | ||||
| 
 | ||||
|     </RadioGroup> | ||||
| 
 | ||||
|     <io.legado.app.ui.widget.recycler.scroller.FastScrollRecyclerView | ||||
|         android:id="@+id/recycler_view" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="0dp" | ||||
|         app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" | ||||
|         app:layout_constraintBottom_toTopOf="@+id/ll_bottom_bar" | ||||
|         app:layout_constraintTop_toBottomOf="@+id/rg_scope" /> | ||||
| 
 | ||||
|     <LinearLayout | ||||
|         android:id="@+id/ll_bottom_bar" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:background="@color/background" | ||||
|         android:gravity="center_vertical" | ||||
|         android:orientation="horizontal" | ||||
|         android:paddingLeft="10dp" | ||||
|         android:paddingRight="10dp" | ||||
|         app:layout_constraintBottom_toBottomOf="parent"> | ||||
| 
 | ||||
|         <TextView | ||||
|             android:id="@+id/tv_all_source" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:padding="12dp" | ||||
|             android:text="@string/all_source" | ||||
|             tools:ignore="RtlHardcoded" /> | ||||
| 
 | ||||
|         <Space | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_weight="1" /> | ||||
| 
 | ||||
|         <TextView | ||||
|             android:id="@+id/tv_cancel" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:padding="12dp" | ||||
|             android:text="@string/cancel" | ||||
|             tools:ignore="RtlHardcoded" /> | ||||
| 
 | ||||
|         <io.legado.app.ui.widget.text.AccentTextView | ||||
|             android:id="@+id/tv_ok" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:padding="12dp" | ||||
|             android:text="@string/ok" | ||||
|             tools:ignore="RtlHardcoded" /> | ||||
| 
 | ||||
|     </LinearLayout> | ||||
| 
 | ||||
| 
 | ||||
| </androidx.constraintlayout.widget.ConstraintLayout> | ||||
					Loading…
					
					
				
		Reference in new issue