diff --git a/live/src/main/java/com/yunbao/live/views/LiveEndViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveEndViewHolder.java
index be2b6a43e..dc104115e 100644
--- a/live/src/main/java/com/yunbao/live/views/LiveEndViewHolder.java
+++ b/live/src/main/java/com/yunbao/live/views/LiveEndViewHolder.java
@@ -117,10 +117,11 @@ public class LiveEndViewHolder extends AbsViewHolder implements View.OnClickList
}
if (data.getList().size()>2){
listShow.setVisibility(View.VISIBLE);
- }else {
- listShow.setVisibility(View.GONE);
//组装搜索历史数据
adapter.showData(data.getList());
+ }else {
+ listShow.setVisibility(View.GONE);
+
}
diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java
index 953a5192a..80f233bdb 100644
--- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java
+++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java
@@ -669,7 +669,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
//获取指导员引导逻辑
NoviceInstructorManager.get(mContext).getNoviceInstructor();
NoviceInstructorManager.get(mContext).checktHomeZdyPop();
-
+ initAnchorRecommendBanner();
}
diff --git a/main/src/main/java/com/yunbao/main/views/SearchRecommendHeardViewHolder.java b/main/src/main/java/com/yunbao/main/views/SearchRecommendHeardViewHolder.java
index 3a4b22404..fd056391e 100644
--- a/main/src/main/java/com/yunbao/main/views/SearchRecommendHeardViewHolder.java
+++ b/main/src/main/java/com/yunbao/main/views/SearchRecommendHeardViewHolder.java
@@ -37,7 +37,7 @@ public class SearchRecommendHeardViewHolder extends RecyclerView.ViewHolder {
searchHistory.removeAllViews();
LinearLayout.LayoutParams layoutParams =
new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
- layoutParams.setMargins(17, 10, 0, 7);
+ layoutParams.setMargins(15, 10, 15, 7);
int i = 0;
for (String key : historyMap.keySet()) {
i = i + 1;
diff --git a/main/src/main/res/drawable/tablayout_indicator_bg.xml b/main/src/main/res/drawable/tablayout_indicator_bg.xml
index 66677ed6b..b51f91a8a 100644
--- a/main/src/main/res/drawable/tablayout_indicator_bg.xml
+++ b/main/src/main/res/drawable/tablayout_indicator_bg.xml
@@ -2,7 +2,7 @@
-
-
diff --git a/main/src/main/res/layout/view_anchor_search_results_item_holder.xml b/main/src/main/res/layout/view_anchor_search_results_item_holder.xml
index c59684010..af1b5f8d0 100644
--- a/main/src/main/res/layout/view_anchor_search_results_item_holder.xml
+++ b/main/src/main/res/layout/view_anchor_search_results_item_holder.xml
@@ -1,27 +1,22 @@
-
-
-
+ android:layout_marginRight="20dp"
+ android:layout_marginBottom="-7dp">
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical">
+ android:text="@string/anchor"
+ android:textSize="16sp" />
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/main/src/main/res/layout/view_search_recommend_body.xml b/main/src/main/res/layout/view_search_recommend_body.xml
index 8a1a856ca..2fb77eb71 100644
--- a/main/src/main/res/layout/view_search_recommend_body.xml
+++ b/main/src/main/res/layout/view_search_recommend_body.xml
@@ -36,7 +36,7 @@
diff --git a/main/src/main/res/layout/view_search_results_item_holder.xml b/main/src/main/res/layout/view_search_results_item_holder.xml
index a0f71819d..8f4378e8f 100644
--- a/main/src/main/res/layout/view_search_results_item_holder.xml
+++ b/main/src/main/res/layout/view_search_results_item_holder.xml
@@ -1,9 +1,9 @@
+ android:paddingTop="25dp">
+ android:layout_height="19dp" />
diff --git a/main/src/main/res/layout/view_user_search_results_item_holder.xml b/main/src/main/res/layout/view_user_search_results_item_holder.xml
index 660ea6d3b..94d7bf3d2 100644
--- a/main/src/main/res/layout/view_user_search_results_item_holder.xml
+++ b/main/src/main/res/layout/view_user_search_results_item_holder.xml
@@ -1,26 +1,21 @@
-
-
-
+ android:layout_marginTop="30dp"
+ android:layout_marginBottom="-7dp"
+ android:layout_marginRight="20dp">
@@ -40,11 +36,11 @@
@@ -52,8 +48,8 @@
android:id="@+id/anchor_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
+ android:layout_below="@id/type_title"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:fadingEdge="none" />
-
\ No newline at end of file
+
\ No newline at end of file