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

Question: How to use same technique for ImageView (for preview before showing video), and allow to view in CardView? #16

Open
AndroidDeveloperLB opened this issue Jan 20, 2019 · 0 comments

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Jan 20, 2019

I've looked at your code to solve this :

https://stackoverflow.com/q/54216273/878126

Meaning not "top" or "center", but let's say "10% from the top (but centered horizontally) ...

Thing is, I've noticed that it doesn't work well for ImageView that I've set on top, as a preview before playing the video. I got a Github repo here:

https://github.com/AndroidDeveloperLB/ExoPlayerScaleCrop/

@AndroidDeveloperLB AndroidDeveloperLB changed the title Question: How to use setTransform instead? Question: How to use same technique for ImageView (for preview before showing video), and allow to view in CardView? Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant