<RelativeLayout
android:layout_width="match_parent"
android:layout_height="200px"
android:background="#FF0000">
<com.yx.waveview.WaveView
android:id="@+id/wv"
android:layout_width="match_parent"
android:layout_height="40px"
android:layout_alignParentBottom="true" />
<ImageView
android:id="@+id/img_cursor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:src="@mipmap/ic_launcher" />
</RelativeLayout>
public class WaveView extends View {
private static final
自定义控件实现波浪效果
最新推荐文章于 2024-06-02 14:27:47 发布