【开源】WindowView
WindowView
- https://github.com/justasm/WindowView
介绍:
WindowView中的图像能根据手机的重力感应移动自己的位置,从不同的角度可以看到不同的视野范围,就如同从窗户往外看,因此叫做WindowView。运行效果:
![]()
使用说明:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <com.jmedeisis.windowview.WindowView android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/my_image" app:orientationMode="Relative" app:translateMode="Proportional"/></FrameLayout> |
posted on 2015-04-06 11:00 wasdchenhao 阅读(132) 评论(0) 收藏 举报

浙公网安备 33010602011771号