Add a new string for widget configuration drop target

Test: manual. See screenshot in b/201286923
Fix: 201286923
Change-Id: I5be4f723523befe359b922273d11f57fb9f0b3fd
This commit is contained in:
Steven Ng committed 2021-09-29 12:15:07 +01:00
1 parent 9c871ae7b6
commit 29f46c9628
2 files changed
+6 -3

No files matched your search

@@ -268,8 +268,8 @@ public class PendingAppWidgetHostView extends LauncherAppWidgetHostView
if (availableWidth > 0) {
// Recreate the setup text.
mSetupTextLayout = new StaticLayout(
getResources().getText(R.string.gadget_setup_text), mPaint, availableWidth,
Layout.Alignment.ALIGN_CENTER, 1, 0, true);
getResources().getText(R.string.gadget_complete_setup_text), mPaint,
availableWidth, Layout.Alignment.ALIGN_CENTER, 1, 0, true);
int textHeight = mSetupTextLayout.getHeight();
// Extra icon size due to the setting icon