Commit 61ed3e25 by 徐健

修复资源文件

parent d9e957e8
......@@ -39,7 +39,7 @@ public class FMListItemView extends LinearLayout {
if (!TextUtils.isEmpty(fm.getImageUrl())) {
GlideApp.with(getContext())
.load(fm.getImageUrl())
.placeholder(R.drawable.default_img)
.placeholder(R.drawable.platform_default_img)
.into(sdv_head);
}
tv_title.setText(fm.getName());
......
......@@ -74,7 +74,7 @@ public class FMListViewFragment extends BaseFragment implements PtrHandler, Load
int color = getResources().getColor(R.color.google_green);
header.setColorSchemeColors(new int[]{color});
header.setLayoutParams(new PtrFrameLayout.LayoutParams(-1, -2));
int padding = (int) getActivity().getResources().getDimension(R.dimen.default_dis_size);
int padding = (int) getActivity().getResources().getDimension(R.dimen.platform_default_dis_size);
header.setPadding(0, padding, 0, padding);
header.setPtrFrameLayout(store_house_ptr_frame);
store_house_ptr_frame.setHeaderView(header);
......
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