</pre><pre name="code" class="html"><RelativeLayout
android:id="@+id/pull_to_refresh_horizontal_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<FrameLayout
android:id="@+id/pull_to_refresh_image_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical" >
<ImageView
android:id="@+id/pull_to_refresh_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:scaleT
Java代码使用LayoutParams改变RelativeLayout 中的控件布局
最新推荐文章于 2024-01-31 07:00:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)