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,6 +42,7 @@ public class MyConsultAdapter extends BaseRecyclerViewAdapter<ChannelContextBean | ||
| 42 | layoutManager.setAutoMeasureEnabled(true); | 42 | layoutManager.setAutoMeasureEnabled(true); |
| 43 | recyclerView.setLayoutManager(layoutManager); | 43 | recyclerView.setLayoutManager(layoutManager); |
| 44 | recyclerView.setHasFixedSize(true); | 44 | recyclerView.setHasFixedSize(true); |
| 45 | + recyclerView.setNestedScrollingEnabled(false); | ||
| 45 | } | 46 | } |
| 46 | 47 | ||
| 47 | @Override | 48 | @Override |
app/src/main/java/com/shunzhi/parent/views/TextAndImgShowView.java
| @@ -86,8 +86,8 @@ public class TextAndImgShowView extends LinearLayout { | @@ -86,8 +86,8 @@ public class TextAndImgShowView extends LinearLayout { | ||
| 86 | DisplayUtils.dp2px(layout_control.getPaddingLeft() + layout_control.getPaddingRight()+20 | 86 | DisplayUtils.dp2px(layout_control.getPaddingLeft() + layout_control.getPaddingRight()+20 |
| 87 | )) / 4; | 87 | )) / 4; |
| 88 | layout.setLayoutParams(params); | 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 | image.setLayoutParams(params1); | 91 | image.setLayoutParams(params1); |
| 92 | } | 92 | } |
| 93 | } | 93 | } |