Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
61ed3e25
Commit
61ed3e25
authored
Nov 05, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复资源文件
parent
d9e957e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FMListItemView.java
m-fm/src/main/java/com/yidianling/fm/FMListItemView.java
+1
-1
FMListViewFragment.java
m-fm/src/main/java/com/yidianling/fm/FMListViewFragment.java
+1
-1
No files found.
m-fm/src/main/java/com/yidianling/fm/FMListItemView.java
View file @
61ed3e25
...
@@ -39,7 +39,7 @@ public class FMListItemView extends LinearLayout {
...
@@ -39,7 +39,7 @@ public class FMListItemView extends LinearLayout {
if
(!
TextUtils
.
isEmpty
(
fm
.
getImageUrl
()))
{
if
(!
TextUtils
.
isEmpty
(
fm
.
getImageUrl
()))
{
GlideApp
.
with
(
getContext
())
GlideApp
.
with
(
getContext
())
.
load
(
fm
.
getImageUrl
())
.
load
(
fm
.
getImageUrl
())
.
placeholder
(
R
.
drawable
.
default_img
)
.
placeholder
(
R
.
drawable
.
platform_
default_img
)
.
into
(
sdv_head
);
.
into
(
sdv_head
);
}
}
tv_title
.
setText
(
fm
.
getName
());
tv_title
.
setText
(
fm
.
getName
());
...
...
m-fm/src/main/java/com/yidianling/fm/FMListViewFragment.java
View file @
61ed3e25
...
@@ -74,7 +74,7 @@ public class FMListViewFragment extends BaseFragment implements PtrHandler, Load
...
@@ -74,7 +74,7 @@ public class FMListViewFragment extends BaseFragment implements PtrHandler, Load
int
color
=
getResources
().
getColor
(
R
.
color
.
google_green
);
int
color
=
getResources
().
getColor
(
R
.
color
.
google_green
);
header
.
setColorSchemeColors
(
new
int
[]{
color
});
header
.
setColorSchemeColors
(
new
int
[]{
color
});
header
.
setLayoutParams
(
new
PtrFrameLayout
.
LayoutParams
(-
1
,
-
2
));
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
.
setPadding
(
0
,
padding
,
0
,
padding
);
header
.
setPtrFrameLayout
(
store_house_ptr_frame
);
header
.
setPtrFrameLayout
(
store_house_ptr_frame
);
store_house_ptr_frame
.
setHeaderView
(
header
);
store_house_ptr_frame
.
setHeaderView
(
header
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment