Commit 9034cbcc authored by wanglei's avatar wanglei

...

parent 9ffe3182
...@@ -71,7 +71,7 @@ class DocumentPageFragment() : BaseFragment<FragmentDocumentPageBinding>(), Docu ...@@ -71,7 +71,7 @@ class DocumentPageFragment() : BaseFragment<FragmentDocumentPageBinding>(), Docu
binding.swipeRefreshLayout.isRefreshing = false binding.swipeRefreshLayout.isRefreshing = false
documentFragment?.changeProgressVisibility(true) documentFragment?.changeProgressVisibility(true)
delay(600) delay(800)
documentFragment?.changeProgressVisibility(false) documentFragment?.changeProgressVisibility(false)
binding.llEmpty.isVisible = isEmpty binding.llEmpty.isVisible = isEmpty
} }
......
...@@ -3,12 +3,14 @@ ...@@ -3,12 +3,14 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fl_ad" android:id="@+id/fl_ad"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
android:background="#F4F5FA">
<ImageView <ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginVertical="8dp"
android:src="@mipmap/zhanweitu3" android:src="@mipmap/zhanweitu3"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
</FrameLayout> </FrameLayout>
\ No newline at end of file
<com.google.android.gms.ads.nativead.NativeAdView xmlns:android="http://schemas.android.com/apk/res/android" <com.google.android.gms.ads.nativead.NativeAdView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:background="#F4F5FA">
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="99dp" android:layout_height="wrap_content"
android:layout_margin="10dp" android:background="#F4F5FA">
android:background="@drawable/bg_stroke_ffffff_10">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="99dp"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_margin="8dp" android:layout_marginHorizontal="10dp"
android:layout_marginVertical="10dp"
android:background="@drawable/bg_stroke_ffffff_10"
android:baselineAligned="false" android:baselineAligned="false"
tools:ignore="UselessParent"> tools:ignore="UselessParent">
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="2" android:maxLines="2"
android:singleLine="true"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="13sp" android:textSize="13sp"
android:textStyle="bold" android:textStyle="bold"
...@@ -82,11 +83,12 @@ ...@@ -82,11 +83,12 @@
<androidx.appcompat.widget.AppCompatButton <androidx.appcompat.widget.AppCompatButton
android:id="@+id/ad_call_to_action" android:id="@+id/ad_call_to_action"
android:layout_width="82dp" android:layout_width="82dp"
android:layout_height="wrap_content" android:layout_height="30dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginHorizontal="12dp" android:layout_marginHorizontal="12dp"
android:background="@drawable/bg_00b8de_10" android:background="@drawable/bg_00b8de_10"
android:gravity="center" android:gravity="center"
android:maxHeight="28dp"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="15sp" /> android:textSize="15sp" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment