mirror of
				https://github.com/SimpleMobileTools/Simple-Launcher.git
				synced 2025-06-05 21:59:15 +02:00 
			
		
		
		
	use 1x1 for app icon size
This commit is contained in:
		| @@ -137,7 +137,7 @@ class AllAppsFragment(context: Context, attributeSet: AttributeSet) : MyFragment | ||||
|  | ||||
|     override fun onAppLauncherLongPressed(x: Float, y: Float, appLauncher: AppLauncher) { | ||||
|         val gridItem = | ||||
|             HomeScreenGridItem(null, -1, -1, -1, -1, 1, 1, appLauncher.packageName, appLauncher.title, ITEM_TYPE_ICON, "", -1, appLauncher.drawable, null) | ||||
|             HomeScreenGridItem(null, -1, -1, -1, -1, appLauncher.packageName, appLauncher.title, ITEM_TYPE_ICON, "", -1, appLauncher.drawable) | ||||
|         activity?.showHomeIconMenu(x, y, gridItem, true) | ||||
|         ignoreTouches = true | ||||
|     } | ||||
|   | ||||
| @@ -255,8 +255,8 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel | ||||
|                     draggedHomeGridItem.apply { | ||||
|                         left = xIndex | ||||
|                         top = yIndex | ||||
|                         right = xIndex + 1 | ||||
|                         bottom = yIndex + 1 | ||||
|                         right = xIndex | ||||
|                         bottom = yIndex | ||||
|  | ||||
|                         ensureBackgroundThread { | ||||
|                             context.homeScreenGridItemsDB.updateItemPosition(left, top, right, bottom, id!!) | ||||
| @@ -269,8 +269,8 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel | ||||
|                         null, | ||||
|                         xIndex, | ||||
|                         yIndex, | ||||
|                         xIndex + 1, | ||||
|                         yIndex + 1, | ||||
|                         xIndex, | ||||
|                         yIndex, | ||||
|                         draggedItem!!.packageName, | ||||
|                         draggedItem!!.title, | ||||
|                         draggedItem!!.type, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user