A
A
Anton2016-04-15 21:33:48
Android
Anton, 2016-04-15 21:33:48

How to implement parallax effect in new activity?

A new activity is opened.
The image is in the background. On top of it I want to place a LinearLayout with marginTop (and there are several TextViews). On HTML / CSS I know how to implement all this, but here the situation is completely different, the solution of which I don’t even know how to implement.
Help, please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2016-04-15
@hummingbird

hmm, from the activity you have access to all the views.
you can do it through animation, you can calculate the offset of the views with your hands, you can
use ready-made controls
, type "android parallax example" in Google,
look at examples
javatechig.com/android/listview-header-parallax-in...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question