mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Adding support for determining split layout for launcher.
> Simulating the windo wmanager API to get available device profiles until final API > When a device has multiple internal displays, and with both tablet and phone possibilities, it uses a split workspace layout Bug: 186160341 Bug: 175782275 Test: Manual Change-Id: Ieff2329acac7cdd6b9abe6f96cd459cd45bd0efe
This commit is contained in:
@@ -44,7 +44,7 @@ public class DeferredAppWidgetHostView extends LauncherAppWidgetHostView {
|
||||
mPaint = new TextPaint();
|
||||
mPaint.setColor(Color.WHITE);
|
||||
mPaint.setTextSize(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX,
|
||||
mLauncher.getDeviceProfile().getFullScreenProfile().iconTextSizePx,
|
||||
mLauncher.getDeviceProfile().iconTextSizePx,
|
||||
getResources().getDisplayMetrics()));
|
||||
setBackgroundResource(R.drawable.bg_deferred_app_widget);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user