Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include smaller tablets #266

Open
SUPERCILEX opened this issue Sep 11, 2019 · 0 comments
Open

Include smaller tablets #266

SUPERCILEX opened this issue Sep 11, 2019 · 0 comments
Labels
bug Something isn't working feature:home Involves the home screen

Comments

@SUPERCILEX
Copy link
Owner

SUPERCILEX commented Sep 11, 2019

Should be:

(resources.getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) > Configuration.SCREENLAYOUT_SIZE_LARGE ||
  (configuration.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) <= Configuration.SCREENLAYOUT_SIZE_LARGE && configuration.smallestScreenWidthDp >= 600;

But is:

val size: Int = configuration.screenLayout and Configuration.SCREENLAYOUT_SIZE_MASK
return size == Configuration.SCREENLAYOUT_SIZE_LARGE && configuration.landscape ||
size > Configuration.SCREENLAYOUT_SIZE_LARGE

@SUPERCILEX SUPERCILEX added bug Something isn't working feature:home Involves the home screen labels Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature:home Involves the home screen
Projects
None yet
Development

No branches or pull requests

1 participant