3d - Is it possible to use android.graphics.Camera on ViewGroup? -


my purpose: have relativelayout acting button (clickable) , has multiple views inside of it: textview, image. want transform relativelayout alltogether (as if single object) in 3d coordinates.

what know: know using camera , modifiying matrix, can transform image view in 3d. however, can't on viewgroup relativelayout can't modify it's matrix.

question: possible , if yes, how?

well android isn't built work way, each view in android responsible drawing self, can't put render logic in parent view , expect child views cope it.

easiest thing can think of create own big view , draw child views manually inside it, believe can achieve desired effect using camera object canvas.

or can go opengl make sense if have performance issue in above approach


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -