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

Make function to auto fit the screen #21

Closed
Abdelsattar opened this issue Oct 26, 2017 · 3 comments
Closed

Make function to auto fit the screen #21

Abdelsattar opened this issue Oct 26, 2017 · 3 comments

Comments

@Abdelsattar
Copy link
Contributor

Abdelsattar commented Oct 26, 2017

think the lib need to add function to auto fit whole screen and it take boolean to check if make it or not

this code will get the width and height for the screen

DisplayMetrics displayMetrics = new DisplayMetrics(); ((Activity) context).getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); int height = displayMetrics.heightPixels; int width = displayMetrics.widthPixels;

i'm busy nowadays if i got free and you didn't make it yet i hope i will make it or it is already exist and i don't know

please mark this issue as enhancement i don't know how , i think it can made by the author only

@chathuralakmal
Copy link
Owner

Thank you for the idea. I'll do the implementation.

@Abdelsattar
Copy link
Contributor Author

i did it in my app and it's awesome
the pic is Here

@chathuralakmal
Copy link
Owner

Ah great. i made the changes in library. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants