Commit cf58da56 authored by wanglei's avatar wanglei

...

parent 5ecf6b0f
...@@ -87,10 +87,12 @@ class MyApplication : BaseApplication() { ...@@ -87,10 +87,12 @@ class MyApplication : BaseApplication() {
WeatherUtils.requestWeatherData() WeatherUtils.requestWeatherData()
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {
//接口配置初始化 //接口配置初始化
LinkPlaySdk.init(this, "https://feedapihk.zhangxinhulian.com", "com.unamzo.pdfreader.badcc", "1qd6f41dgpjsep9t") // LinkPlaySdk.init(this, "https://feedapihk.zhangxinhulian.com", "com.unamzo.pdfreader.badcc", "1qd6f41dgpjsep9t")
LinkPlaySdk.init(this, GlobalConfig.URL_EVENT, GlobalConfig.PACKAGE_NAME, GlobalConfig.KEY_AES)
} else { } else {
LinkPlaySdk.init(this, GlobalConfig.URL_EVENT, GlobalConfig.PACKAGE_NAME, GlobalConfig.KEY_AES) LinkPlaySdk.init(this, GlobalConfig.URL_EVENT, GlobalConfig.PACKAGE_NAME, GlobalConfig.KEY_AES)
} }
} }
if (ifAgreePrivacy) { if (ifAgreePrivacy) {
......
...@@ -88,7 +88,7 @@ class SettingActivity : BaseActivity<ActivitySettingBinding>() { ...@@ -88,7 +88,7 @@ class SettingActivity : BaseActivity<ActivitySettingBinding>() {
binding.tvToken.text = token binding.tvToken.text = token
binding.tvToken.setOnClickListener { binding.tvToken.setOnClickListener {
copyText(this, "aa") copyText(this, token)
} }
} }
......
...@@ -475,7 +475,29 @@ ...@@ -475,7 +475,29 @@
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:layout_marginTop="16dp" /> android:layout_marginTop="16dp">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</FrameLayout> </FrameLayout>
......
...@@ -47,9 +47,31 @@ ...@@ -47,9 +47,31 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -11,63 +11,8 @@ ...@@ -11,63 +11,8 @@
<androidx.viewpager2.widget.ViewPager2 <androidx.viewpager2.widget.ViewPager2
android:id="@+id/viewpager2" android:id="@+id/viewpager2"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="match_parent"
app:layout_constraintBottom_toTopOf="@+id/id_fl_native"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@id/iv"
app:layout_constraintTop_toTopOf="parent">
<com.zhpan.indicator.IndicatorView
android:id="@+id/indicator_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" />
</FrameLayout>
<ImageView
android:id="@+id/iv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/yindaoye1"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.25"
tools:ignore="ContentDescription" />
<View
android:id="@+id/ll"
android:layout_width="wrap_content"
android:layout_height="120dp"
android:layout_marginTop="50dp"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="@id/iv"
app:layout_constraintStart_toStartOf="@id/iv"
app:layout_constraintTop_toBottomOf="@id/iv" />
<View
android:id="@+id/tv_btn"
android:layout_width="164dp"
android:layout_height="45dp"
android:layout_marginBottom="100dp"
android:visibility="invisible"
app:layout_constraintBottom_toTopOf="@+id/id_fl_native"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="MissingConstraints" />
<FrameLayout
android:id="@+id/id_fl_native"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -52,9 +52,31 @@ ...@@ -52,9 +52,31 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -103,11 +103,11 @@ first scan may take a little time" ...@@ -103,11 +103,11 @@ first scan may take a little time"
android:background="@drawable/shape_c9c9c9_r50" android:background="@drawable/shape_c9c9c9_r50"
android:paddingHorizontal="18dp" android:paddingHorizontal="18dp"
android:paddingVertical="8dp" android:paddingVertical="8dp"
android:visibility="gone"
android:text="Skip" android:text="Skip"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="17sp" android:textSize="17sp"
android:textStyle="bold" android:textStyle="bold"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
...@@ -115,6 +115,27 @@ first scan may take a little time" ...@@ -115,6 +115,27 @@ first scan may take a little time"
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -128,10 +128,33 @@ ...@@ -128,10 +128,33 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<pokercc.android.expandablerecyclerview.ExpandableRecyclerView <pokercc.android.expandablerecyclerview.ExpandableRecyclerView
android:id="@+id/ex_rv" android:id="@+id/ex_rv"
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -157,5 +157,26 @@ ...@@ -157,5 +157,26 @@
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:background="@mipmap/bg" android:background="@mipmap/bg"
android:orientation="vertical"> android:orientation="vertical">
...@@ -43,5 +44,27 @@ ...@@ -43,5 +44,27 @@
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -120,7 +120,29 @@ ...@@ -120,7 +120,29 @@
<FrameLayout <FrameLayout
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">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -32,10 +32,33 @@ ...@@ -32,10 +32,33 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/lottie" app:layout_constraintTop_toBottomOf="@id/lottie"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -118,7 +118,28 @@ ...@@ -118,7 +118,28 @@
<FrameLayout <FrameLayout
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" >
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -45,9 +45,32 @@ ...@@ -45,9 +45,32 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/lottie" app:layout_constraintTop_toBottomOf="@id/lottie"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -171,7 +171,28 @@ ...@@ -171,7 +171,28 @@
android:id="@+id/id_fl_ad" android:id="@+id/id_fl_ad"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@+id/id_ll_today_weather" /> app:layout_constraintTop_toBottomOf="@+id/id_ll_today_weather">
<io.supercharge.shimmerlayout.ShimmerLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<LinearLayout <LinearLayout
android:id="@+id/id_ll_weak" android:id="@+id/id_ll_weak"
...@@ -242,7 +263,29 @@ ...@@ -242,7 +263,29 @@
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" /> android:layout_gravity="bottom">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</FrameLayout> </FrameLayout>
......
...@@ -11,7 +11,29 @@ ...@@ -11,7 +11,29 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="20dp" android:layout_marginBottom="20dp"
app:layout_constraintBottom_toTopOf="@+id/iv" /> app:layout_constraintBottom_toTopOf="@+id/iv">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -85,7 +85,29 @@ ...@@ -85,7 +85,29 @@
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="345dp" android:layout_width="345dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_gravity="center_horizontal"
android:layout_gravity="center_horizontal" /> android:layout_marginTop="10dp">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file
...@@ -74,7 +74,29 @@ ...@@ -74,7 +74,29 @@
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:layout_marginBottom="8dp" /> android:layout_marginBottom="8dp">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<TextView <TextView
android:id="@+id/tv_btn" android:id="@+id/tv_btn"
......
...@@ -371,7 +371,29 @@ ...@@ -371,7 +371,29 @@
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
......
...@@ -31,11 +31,34 @@ ...@@ -31,11 +31,34 @@
android:textSize="15sp" android:textSize="15sp"
android:textStyle="bold" android:textStyle="bold"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<FrameLayout <FrameLayout
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:layout_marginTop="5dp" /> android:layout_marginTop="5dp">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<androidx.cardview.widget.CardView <androidx.cardview.widget.CardView
android:id="@+id/card_ry_photos" android:id="@+id/card_ry_photos"
......
...@@ -45,7 +45,29 @@ ...@@ -45,7 +45,29 @@
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
<FrameLayout <FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -68,8 +68,31 @@ ...@@ -68,8 +68,31 @@
app:drawableEndCompat="@mipmap/jian" /> app:drawableEndCompat="@mipmap/jian" />
</androidx.appcompat.widget.LinearLayoutCompat> </androidx.appcompat.widget.LinearLayoutCompat>
<FrameLayout <FrameLayout
android:id="@+id/id_fl_native" android:id="@+id/id_fl_native"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content">
<io.supercharge.shimmerlayout.ShimmerLayout
android:id="@+id/shimmerLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="10dp"
app:shimmer_angle="25"
app:shimmer_animation_duration="2000"
app:shimmer_auto_start="true"
app:shimmer_color="#33ffffff"
app:shimmer_mask_width="0.2">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@mipmap/adzhanweitu" />
</io.supercharge.shimmerlayout.ShimmerLayout>
</FrameLayout>
</LinearLayout> </LinearLayout>
\ No newline at end of file
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