1:添加快速点击出现的打开多次

This commit is contained in:
2025-09-11 11:06:29 +08:00
parent c7d4c447dd
commit 1157e8a545
12 changed files with 424 additions and 35 deletions

View File

@@ -30,10 +30,10 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_12"
android:layout_weight="1"
tools:text="开始日期"
android:hint="开始日期"
android:textColor="@color/color_FF999999"
android:textSize="12sp" />
android:textSize="12sp"
tools:text="开始日期" />
<ImageView
android:id="@+id/iv1"
@@ -51,10 +51,10 @@
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:layout_weight="1"
tools:text="结束日期"
android:hint="结束日期"
android:textColor="@color/color_FF999999"
android:textSize="12sp" />
android:textSize="12sp"
tools:text="结束日期" />
<ImageView
android:id="@+id/iv2"
@@ -66,43 +66,44 @@
android:src="@mipmap/data2" />
</LinearLayout>
<!-- <androidx.core.widget.NestedScrollView-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent">-->
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/smart_refresh_layout"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
app:srlEnableLoadMore="true"
app:srlEnableRefresh="true">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/smart_refresh_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
app:srlEnableLoadMore="true"
app:srlEnableRefresh="true">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/revenue_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/dp_16"
android:layout_marginTop="@dimen/dp_10"
android:layout_marginEnd="@dimen/dp_16"
android:paddingBottom="@dimen/dp_30"
android:layout_marginBottom="@dimen/dp_10"
android:background="@color/color_FFF5F5F5"
android:orientation="vertical"
tools:listitem="@layout/item_revenue" />
<View
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp_45"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/revenue_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_16"
android:layout_marginTop="@dimen/dp_10"
android:layout_marginEnd="@dimen/dp_16"
android:layout_marginBottom="@dimen/dp_10"
android:background="@color/color_FFF5F5F5"
android:orientation="vertical"
android:clipToPadding="false"
android:paddingBottom="0dp"
tools:listitem="@layout/item_revenue" />
<View
android:layout_width="match_parent"
android:layout_height="@dimen/dp_45" />
</LinearLayout>
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
<!-- </androidx.core.widget.NestedScrollView>-->
</LinearLayout>
</layout>