动态修改

This commit is contained in:
nail
2026-04-03 15:58:38 +08:00
parent cd79d348b8
commit 984824ce6c
14 changed files with 733 additions and 210 deletions

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:layout_marginBottom="50dp">
<LinearLayout
android:layout_marginLeft="@dimen/dp12"
android:id="@+id/rl_head"
android:layout_marginTop="24dp"
android:layout_width="match_parent"
android:layout_height="@dimen/dp48">
<net.lucode.hackware.magicindicator.MagicIndicator
android:id="@+id/magic_indicator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_gravity="center_vertical" />
<RelativeLayout
android:id="@+id/rl_home_search"
android:layout_width="@dimen/dp44"
android:layout_height="match_parent">
<ImageView
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_home_search" />
</RelativeLayout>
</LinearLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/dynamic_view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/rl_head" />
<ImageView
android:id="@+id/addFeedBtn"
android:layout_margin="24dp"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:src="@mipmap/feed_add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</RelativeLayout>