核心布局:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/fragment_background"
android:orientation="horizontal"
tools:context=".fragments.SysUpdateFragment">
<com.zhy.android.percent.support.PercentRelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<me.itangqi.waveloadingview.WaveLoadingView
android:id="@+id/waveLoadingView"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_centerInParent="true"
app:layout_heightPercent="60%h"
app:layout_widthPercent="60%h"
app:wlv_borderColor="@color/color_primary"
app:wlv_borderWidth="5dp"
app:wlv_progressValue="100"
app:wlv_round_rectangle="true"
app:wlv_shapeType="circle"
app:wlv_titleBottom="0%"
app:wlv_titleBottomColor="@color/color_primary_text"
app:wlv_titleBottomSize="20sp"
app:wlv_titleCenter="Update"
app:wlv_titleCenterColor="@color/color_primary_text"
app:wlv_titleCenterSize="30sp"
app:wlv_triangle_direction="north"
app:wlv_waveAmplitude="30"
app:wlv_waveColor="@color/color_primary" />
</com.zhy.android.percent.support.PercentRelativeLayout>
</RelativeLayout>
解决方案:外面多套一个相对布局此局可破。