本文想要实现的简单效果如下(gif效果不是很清晰,大家见谅。。):
以下是如何具体实现的相关部分代码:
main.xml:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#f3f7f8" >
<LinearLayout
android:id=&#