diff --git a/common/src/main/res/layout/view_home_float_banner.xml b/common/src/main/res/layout/view_home_float_banner.xml
index 21e04c5e3..c3a1c764a 100644
--- a/common/src/main/res/layout/view_home_float_banner.xml
+++ b/common/src/main/res/layout/view_home_float_banner.xml
@@ -17,27 +17,31 @@
android:paddingEnd="7dp"
android:paddingBottom="5dp" />
-
+
- android:layout_gravity="center" />
-
-
-
@@ -46,25 +50,29 @@
android:id="@+id/clip_image3"
android:layout_width="23.5dp"
android:layout_height="23.5dp"
+ android:layout_centerInParent="true"
android:layout_gravity="center" />
-
+
-
-
+
list = new ArrayList<>();
//默认定时器时间
@@ -97,18 +98,18 @@ public class FloatBannerView extends FrameLayout {
if (index == 0) {
ImgLoader.displayAvatar(getContext(), list.get(index).getAvatar(), clipImage1);
}
- TranslateAnimation animationTranslate = new TranslateAnimation(0, -35, 0, 0);
- ScaleAnimation scaleAnim = new ScaleAnimation(1f, 1.15f, 1f, 1.15f, bannerLayout3.getWidth() / 1.1f, bannerLayout3.getHeight() / 1.1f);
+ TranslateAnimation animationTranslate = new TranslateAnimation(0, -27, 0, 0.2f);
+// ScaleAnimation scaleAnim = new ScaleAnimation(1f, 1.16f, 1f, 1.16f);
AnimationSet animationSet1 = new AnimationSet(true);
animationSet1.setFillAfter(true);
- animationSet1.setDuration(750);
+ animationSet1.setDuration(700);
animationSet1.addAnimation(animationTranslate);
- animationSet1.addAnimation(scaleAnim);
+// animationSet1.addAnimation(scaleAnim);
AlphaAnimation animationAlpha = new AlphaAnimation(1, 0);
AnimationSet animationSet2 = new AnimationSet(true);
animationSet2.setFillAfter(true);
- animationSet2.setDuration(750);
+ animationSet2.setDuration(800);
animationSet2.addAnimation(animationAlpha);
animationSet2.addAnimation(animationTranslate);
bannerLayout1.startAnimation(animationSet2);
diff --git a/main/src/main/res/layout/view_search_recommend_heard.xml b/main/src/main/res/layout/view_search_recommend_heard.xml
index 4b737b602..44b439550 100644
--- a/main/src/main/res/layout/view_search_recommend_heard.xml
+++ b/main/src/main/res/layout/view_search_recommend_heard.xml
@@ -26,8 +26,8 @@