xref: /aosp_15_r20/development/samples/browseable/ElevationBasic/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="ElevationBasic"
3*90c8c64dSAndroid Build Coastguard Workersample.group=UI
4*90c8c64dSAndroid Build Coastguard Worker@jd:body
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker            This sample demonstrates two alternative ways to move a view in the z-axis. The
9*90c8c64dSAndroid Build Coastguard Worker            first view has a fixed elevation using XML and the second one is raised when the user
10*90c8c64dSAndroid Build Coastguard Worker            taps on it, using setTranslationZ().
11*90c8c64dSAndroid Build Coastguard Worker
12*90c8c64dSAndroid Build Coastguard Worker        </p>
13