mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-nodpi/updates_grid_widget_preview.webp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-nodpi/updates_grid_widget_preview.webp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 410 KiB | 
							
								
								
									
										6
									
								
								app/src/main/res/drawable/appwidget_background.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								app/src/main/res/drawable/appwidget_background.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <shape xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:shape="rectangle"> | ||||
|     <solid android:color="@color/appwidget_secondary_container" /> | ||||
|     <corners android:radius="@dimen/appwidget_background_radius" /> | ||||
| </shape> | ||||
| @@ -0,0 +1,9 @@ | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|     <path | ||||
|         android:fillColor="@color/appwidget_background" | ||||
|         android:pathData="M10,6L8.59,7.41 13.17,12l-4.58,4.59L10,18l6,-6z" /> | ||||
| </vector> | ||||
							
								
								
									
										14
									
								
								app/src/main/res/layout/appwidget_loading.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								app/src/main/res/layout/appwidget_loading.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent" | ||||
|     android:background="@drawable/appwidget_background"> | ||||
|  | ||||
|     <TextView | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_gravity="center" | ||||
|         android:text="@string/loading" | ||||
|         android:textColor="?android:attr/textColorPrimary" /> | ||||
|  | ||||
| </FrameLayout> | ||||
							
								
								
									
										9
									
								
								app/src/main/res/values-night-v31/colors_appwidget.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/values-night-v31/colors_appwidget.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <resources> | ||||
|     <color name="appwidget_background">@color/m3_sys_color_dynamic_dark_surface</color> | ||||
|     <color name="appwidget_on_background">@color/m3_sys_color_dynamic_dark_on_surface</color> | ||||
|     <color name="appwidget_surface_variant">@color/m3_sys_color_dynamic_dark_surface_variant</color> | ||||
|     <color name="appwidget_on_surface_variant">@color/m3_sys_color_dynamic_dark_on_surface_variant</color> | ||||
|     <color name="appwidget_secondary_container">@color/m3_sys_color_dynamic_dark_secondary_container</color> | ||||
|     <color name="appwidget_on_secondary_container">@color/m3_sys_color_dynamic_dark_on_secondary_container</color> | ||||
| </resources> | ||||
							
								
								
									
										9
									
								
								app/src/main/res/values-v31/colors_appwidget.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/values-v31/colors_appwidget.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <resources> | ||||
|     <color name="appwidget_background">@color/m3_sys_color_dynamic_light_surface</color> | ||||
|     <color name="appwidget_on_background">@color/m3_sys_color_dynamic_light_on_surface</color> | ||||
|     <color name="appwidget_surface_variant">@color/m3_sys_color_dynamic_light_surface_variant</color> | ||||
|     <color name="appwidget_on_surface_variant">@color/m3_sys_color_dynamic_light_on_surface_variant</color> | ||||
|     <color name="appwidget_secondary_container">@color/m3_sys_color_dynamic_light_secondary_container</color> | ||||
|     <color name="appwidget_on_secondary_container">@color/m3_sys_color_dynamic_light_on_secondary_container</color> | ||||
| </resources> | ||||
							
								
								
									
										3
									
								
								app/src/main/res/values-v31/dimens.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								app/src/main/res/values-v31/dimens.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <resources> | ||||
|     <dimen name="appwidget_background_radius">@android:dimen/system_app_widget_background_radius</dimen> | ||||
| </resources> | ||||
							
								
								
									
										9
									
								
								app/src/main/res/values/colors_appwidget.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/values/colors_appwidget.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <resources> | ||||
|     <color name="appwidget_background">@color/tachiyomi_surface</color> | ||||
|     <color name="appwidget_on_background">@color/tachiyomi_onSurface</color> | ||||
|     <color name="appwidget_surface_variant">@color/tachiyomi_surfaceVariant</color> | ||||
|     <color name="appwidget_on_surface_variant">@color/tachiyomi_onSurfaceVariant</color> | ||||
|     <color name="appwidget_secondary_container">@color/tachiyomi_secondaryContainer</color> | ||||
|     <color name="appwidget_on_secondary_container">@color/tachiyomi_onSecondaryContainer</color> | ||||
| </resources> | ||||
| @@ -15,4 +15,7 @@ | ||||
|  | ||||
|     <dimen name="tablet_horizontal_cover_margin">128dp</dimen> | ||||
|     <dimen name="tablet_sidebar_max_width">450dp</dimen> | ||||
|  | ||||
|     <dimen name="appwidget_background_radius">16dp</dimen> | ||||
|     <dimen name="appwidget_inner_radius">12dp</dimen> | ||||
| </resources> | ||||
|   | ||||
| @@ -853,4 +853,8 @@ | ||||
|     <!-- S Pen actions --> | ||||
|     <string name="spen_previous_page">Previous page</string> | ||||
|     <string name="spen_next_page">Next page</string> | ||||
|  | ||||
|     <!-- App widget --> | ||||
|     <string name="appwidget_updates_description">See your recently updated manga</string> | ||||
|     <string name="appwidget_unavailable_locked">Widget not available when app lock is enabled</string> | ||||
| </resources> | ||||
|   | ||||
							
								
								
									
										15
									
								
								app/src/main/res/xml/updates_grid_glance_widget_info.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								app/src/main/res/xml/updates_grid_glance_widget_info.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:description="@string/appwidget_updates_description" | ||||
|     android:previewImage="@drawable/updates_grid_widget_preview" | ||||
|     android:initialLayout="@layout/appwidget_loading" | ||||
|     android:minWidth="240dp" | ||||
|     android:minHeight="80dp" | ||||
|     android:minResizeWidth="80dp" | ||||
|     android:minResizeHeight="110dp" | ||||
|     android:maxResizeWidth="600dp" | ||||
|     android:maxResizeHeight="600dp" | ||||
|     android:targetCellWidth="4" | ||||
|     android:targetCellHeight="2" | ||||
|     android:resizeMode="horizontal|vertical" | ||||
|     android:widgetCategory="home_screen" /> | ||||
		Reference in New Issue
	
	Block a user