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
045e6811
Commit
045e6811
authored
Nov 05, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component
into dev
parents
c2a4f935
61ed3e25
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
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
fragment_fm_list_view.xml
m-fm/src/main/res/layout/fragment_fm_list_view.xml
+1
-1
ui_fm_list_item.xml
m-fm/src/main/res/layout/ui_fm_list_item.xml
+9
-9
ui_music_notification.xml
m-fm/src/main/res/layout/ui_music_notification.xml
+2
-2
No files found.
m-fm/src/main/java/com/yidianling/fm/FMListItemView.java
View file @
045e6811
...
...
@@ -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
());
...
...
m-fm/src/main/java/com/yidianling/fm/FMListViewFragment.java
View file @
045e6811
...
...
@@ -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
);
...
...
m-fm/src/main/res/layout/fragment_fm_list_view.xml
View file @
045e6811
...
...
@@ -40,7 +40,7 @@
android:id=
"@+id/ll_empty_txt"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:text=
"还没有喜欢的电台内容"
android:textColor=
"#D6D6D6"
/>
...
...
m-fm/src/main/res/layout/ui_fm_list_item.xml
View file @
045e6811
...
...
@@ -2,7 +2,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:padding=
"@dimen/default_dis_size"
>
android:padding=
"@dimen/
platform_
default_dis_size"
>
<ImageView
android:id=
"@+id/sdv_head"
...
...
@@ -18,9 +18,9 @@
android:layout_height=
"wrap_content"
android:layout_toLeftOf=
"@+id/iv_next"
android:layout_toRightOf=
"@+id/sdv_head"
android:padding=
"@dimen/default_dis_size_small"
android:padding=
"@dimen/
platform_
default_dis_size_small"
android:text=
""
android:textSize=
"@dimen/default_text_size_big"
/>
android:textSize=
"@dimen/
platform_
default_text_size_big"
/>
<TextView
android:id=
"@+id/tv_anchor"
...
...
@@ -28,10 +28,10 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_title"
android:layout_toRightOf=
"@+id/sdv_head"
android:drawablePadding=
"@dimen/default_dis_size_micro"
android:padding=
"@dimen/default_dis_size_small"
android:drawablePadding=
"@dimen/
platform_
default_dis_size_micro"
android:padding=
"@dimen/
platform_
default_dis_size_small"
android:text=
"主播:"
android:textColor=
"@color/default_text_color_hint"
/>
android:textColor=
"@color/
platform_
default_text_color_hint"
/>
<TextView
android:id=
"@+id/tv_listen_num"
...
...
@@ -40,10 +40,10 @@
android:layout_below=
"@+id/tv_title"
android:layout_toLeftOf=
"@+id/iv_next"
android:layout_toRightOf=
"@+id/tv_anchor"
android:drawablePadding=
"@dimen/default_dis_size_micro"
android:padding=
"@dimen/default_dis_size_small"
android:drawablePadding=
"@dimen/
platform_
default_dis_size_micro"
android:padding=
"@dimen/
platform_
default_dis_size_small"
android:text=
"收听:0"
android:textColor=
"@color/default_text_color_hint"
/>
android:textColor=
"@color/
platform_
default_text_color_hint"
/>
<ImageView
android:id=
"@+id/iv_next"
...
...
m-fm/src/main/res/layout/ui_music_notification.xml
View file @
045e6811
...
...
@@ -12,7 +12,7 @@
android:layout_width=
"60dp"
android:layout_height=
"60dp"
android:contentDescription=
"@string/platform_header"
android:src=
"@drawable/default_img"
/>
android:src=
"@drawable/
platform_
default_img"
/>
<TextView
android:id=
"@+id/tv_title"
...
...
@@ -25,7 +25,7 @@
android:ellipsize=
"end"
android:gravity=
"center_vertical"
android:maxLines=
"2"
android:textColor=
"@color/default_text_color"
android:textColor=
"@color/
platform_
default_text_color"
android:textSize=
"14sp"
tools:text=
"课课程名称课程名称课程名称课程名称课程名称课"
/>
...
...
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