mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Adjust height of tablet AllApps base on row height
- Also used hotseatQsbHeight for AllApps QSB height as they have to match to transform between each other Fix: 232907846 Test: manual on different tablets Test: atest DeviceProfileTest Change-Id: I001d0e129db2a5de6c8ace4c3302381110da03f1
This commit is contained in:
@@ -314,10 +314,10 @@ public class TaskbarView extends FrameLayout implements FolderIcon.FolderIconPar
|
||||
int qsbEnd;
|
||||
if (layoutRtl) {
|
||||
qsbStart = iconEnd + mItemMarginLeftRight;
|
||||
qsbEnd = qsbStart + deviceProfile.qsbWidth;
|
||||
qsbEnd = qsbStart + deviceProfile.hotseatQsbWidth;
|
||||
} else {
|
||||
qsbEnd = iconEnd - mItemMarginLeftRight;
|
||||
qsbStart = qsbEnd - deviceProfile.qsbWidth;
|
||||
qsbStart = qsbEnd - deviceProfile.hotseatQsbWidth;
|
||||
}
|
||||
int qsbTop = (bottom - top - deviceProfile.hotseatQsbHeight) / 2;
|
||||
int qsbBottom = qsbTop + deviceProfile.hotseatQsbHeight;
|
||||
|
||||
Reference in New Issue
Block a user