Fullscreen pages (e.g. Now) are focusable via keyboard.

Change-Id: I962551651aeb9ac7b57bb51b195adc3140db30d8
This commit is contained in:
Tony Wickham
2015-11-13 17:32:20 -08:00
parent af78b59af1
commit 0fa5ada226
2 changed files with 45 additions and 1 deletions

View File

@@ -651,6 +651,8 @@ public class Workspace extends PagedView
parent.removeView(customContent);
}
customScreen.removeAllViews();
customContent.setFocusable(true);
customContent.setOnKeyListener(new FullscreenKeyEventListener());
customScreen.addViewToCellLayout(customContent, 0, 0, lp, true);
mCustomContentDescription = description;