Commit 88c7d7d2bfaaeda067109c893b6dc29d271a7cd7
1 parent
a5bec9bb
Exists in
yxb_dev
and in
2 other branches
no message
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
app/src/main/java/com/shunzhi/parent/adapter/MyConsultAdapter.java
... | ... | @@ -42,6 +42,7 @@ public class MyConsultAdapter extends BaseRecyclerViewAdapter<ChannelContextBean |
42 | 42 | layoutManager.setAutoMeasureEnabled(true); |
43 | 43 | recyclerView.setLayoutManager(layoutManager); |
44 | 44 | recyclerView.setHasFixedSize(true); |
45 | + recyclerView.setNestedScrollingEnabled(false); | |
45 | 46 | } |
46 | 47 | |
47 | 48 | @Override | ... | ... |
app/src/main/java/com/shunzhi/parent/views/TextAndImgShowView.java
... | ... | @@ -86,8 +86,8 @@ public class TextAndImgShowView extends LinearLayout { |
86 | 86 | DisplayUtils.dp2px(layout_control.getPaddingLeft() + layout_control.getPaddingRight()+20 |
87 | 87 | )) / 4; |
88 | 88 | layout.setLayoutParams(params); |
89 | - LayoutParams params1 = new LayoutParams(DisplayUtils.px2dp(110), DisplayUtils.px2dp(110)); | |
90 | - ToastUtils.showToast(DisplayUtils.px2dp(110)+""); | |
89 | + LayoutParams params1 = new LayoutParams(DisplayUtils.dp2px(45), DisplayUtils.dp2px(45)); | |
90 | + ToastUtils.showToast(DisplayUtils.dp2px(55)+""); | |
91 | 91 | image.setLayoutParams(params1); |
92 | 92 | } |
93 | 93 | } | ... | ... |