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
f1b324e6
Commit
f1b324e6
authored
5 years ago
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页资源重命名
parent
a0726ba8
Show whitespace changes
Inline
Side-by-side
Showing
288 changed files
with
362 additions
and
360 deletions
+362
-360
build.gradle
m-home/build.gradle
+8
-6
HomeBaseImpl.kt
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
+1
-1
strings.xml
m-home/src/main/res/values/strings.xml
+2
-2
YdlHomeAdapter.kt
m-home/src/xlzx/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
+1
-1
ActivityDialog.kt
m-home/src/xlzx/java/com/yidianling/home/dialog/ActivityDialog.kt
+2
-2
ActivityGuideDialog.kt
m-home/src/xlzx/java/com/yidianling/home/dialog/ActivityGuideDialog.kt
+2
-2
YdlHomeFragment.kt
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+8
-8
CouponDialog.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/CouponDialog.kt
+4
-4
HomeArticleItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeArticleItemView.kt
+2
-2
HomeArticleView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeArticleView.kt
+2
-2
HomeAssuageGriefImageItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefImageItemView.kt
+6
-6
HomeAssuageGriefItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
+7
-7
HomeAssuageGriefView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefView.kt
+2
-2
HomeButtonBannerView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeButtonBannerView.kt
+4
-4
HomeCommonTitleView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCommonTitleView.kt
+2
-2
HomeConfideExpertInfoView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConfideExpertInfoView.kt
+6
-6
HomeConfideView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConfideView.kt
+2
-2
HomeConsultItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+4
-4
HomeConsultView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultView.kt
+2
-2
HomeCourseItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCourseItemView.kt
+2
-2
HomeCourseView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCourseView.kt
+2
-2
HomeIntelligentItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeIntelligentItemView.kt
+2
-2
HomeIntelligentTopItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeIntelligentTopItemView.kt
+2
-2
HomeIntelligentView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeIntelligentView.kt
+2
-2
HomePagerBannerCategoryView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomePagerBannerCategoryView.kt
+3
-3
HomePagerBannerRealView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomePagerBannerRealView.kt
+7
-7
HomePagerBannerView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomePagerBannerView.kt
+3
-3
HomeTestItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeTestItemView.kt
+2
-2
HomeTestTopItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeTestTopItemView.kt
+2
-2
HomeTestView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeTestView.kt
+2
-2
HomeModuleCategoryView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/widget/HomeModuleCategoryView.kt
+2
-2
home_arc_bg.png
m-home/src/xlzx/res/drawable-xhdpi/home_arc_bg.png
+0
-0
home_article_item_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_article_item_icon.png
+0
-0
home_assuage_grief_item_user_type_v.png
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_user_type_v.png
+0
-0
home_assuage_grief_item_view_follow.png
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_follow.png
+0
-0
home_assuage_grief_item_view_tab_comment.png
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_comment.png
+0
-0
home_assuage_grief_item_view_tab_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_icon.png
+0
-0
home_assuage_grief_item_view_tab_warm.png
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm.png
+0
-0
home_assuage_grief_item_view_tab_warm_has_zan.png
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm_has_zan.png
+0
-0
home_assuage_grief_item_view_unfollow.png
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_unfollow.png
+0
-0
home_banner_indicator_select.png
m-home/src/xlzx/res/drawable-xhdpi/home_banner_indicator_select.png
+0
-0
home_banner_indicator_unselect.png
m-home/src/xlzx/res/drawable-xhdpi/home_banner_indicator_unselect.png
+0
-0
home_banner_tip_select.png
m-home/src/xlzx/res/drawable-xhdpi/home_banner_tip_select.png
+0
-0
home_banner_tip_unselect.png
m-home/src/xlzx/res/drawable-xhdpi/home_banner_tip_unselect.png
+0
-0
home_category_bottom_real_img.png
m-home/src/xlzx/res/drawable-xhdpi/home_category_bottom_real_img.png
+0
-0
home_comment_hot_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_comment_hot_icon.png
+0
-0
home_common_more_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_common_more_icon.png
+0
-0
home_confide_btn_bg.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_btn_bg.png
+0
-0
home_confide_free_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_free_icon.png
+0
-0
home_confide_line_1.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_1.png
+0
-0
home_confide_line_2.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_2.png
+0
-0
home_confide_line_3.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_3.png
+0
-0
home_confide_line_4.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_4.png
+0
-0
home_confide_play_state_1.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_play_state_1.png
+0
-0
home_confide_play_state_2.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_play_state_2.png
+0
-0
home_confide_play_state_3.png
m-home/src/xlzx/res/drawable-xhdpi/home_confide_play_state_3.png
+0
-0
home_counselor.png
m-home/src/xlzx/res/drawable-xhdpi/home_counselor.png
+0
-0
home_coupon_receiver.png
m-home/src/xlzx/res/drawable-xhdpi/home_coupon_receiver.png
+0
-0
home_coupon_success.png
m-home/src/xlzx/res/drawable-xhdpi/home_coupon_success.png
+0
-0
home_course_bt_bg.png
m-home/src/xlzx/res/drawable-xhdpi/home_course_bt_bg.png
+0
-0
home_dcotor_bt_bg.png
m-home/src/xlzx/res/drawable-xhdpi/home_dcotor_bt_bg.png
+0
-0
home_default_head.png
m-home/src/xlzx/res/drawable-xhdpi/home_default_head.png
+0
-0
home_delete_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_delete_icon.png
+0
-0
home_focus_en.png
m-home/src/xlzx/res/drawable-xhdpi/home_focus_en.png
+0
-0
home_focus_un.png
m-home/src/xlzx/res/drawable-xhdpi/home_focus_un.png
+0
-0
home_intelligent_first_pause_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_first_pause_icon.png
+0
-0
home_intelligent_first_play_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_first_play_icon.png
+0
-0
home_intelligent_item_listen_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_item_listen_icon.png
+0
-0
home_intelligent_item_pause_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_item_pause_icon.png
+0
-0
home_intelligent_item_play_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_item_play_icon.png
+0
-0
home_listen_bt_bg.png
m-home/src/xlzx/res/drawable-xhdpi/home_listen_bt_bg.png
+0
-0
home_near_icon.png
m-home/src/xlzx/res/drawable-xhdpi/home_near_icon.png
+0
-0
home_node_module_common_title_back_line.png
m-home/src/xlzx/res/drawable-xhdpi/home_node_module_common_title_back_line.png
+0
-0
home_pop_close.png
m-home/src/xlzx/res/drawable-xhdpi/home_pop_close.png
+0
-0
home_publish_trend.png
m-home/src/xlzx/res/drawable-xhdpi/home_publish_trend.png
+0
-0
home_sale_arrow.png
m-home/src/xlzx/res/drawable-xhdpi/home_sale_arrow.png
+0
-0
home_search.png
m-home/src/xlzx/res/drawable-xhdpi/home_search.png
+0
-0
home_test_bt_bg.png
m-home/src/xlzx/res/drawable-xhdpi/home_test_bt_bg.png
+0
-0
home_anim_confilde_play.xml
m-home/src/xlzx/res/drawable/home_anim_confilde_play.xml
+4
-4
home_assuage_grief_item_view_follow_back.xml
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_follow_back.xml
+0
-0
home_assuage_grief_item_view_hot_back.xml
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_hot_back.xml
+0
-0
home_assuage_grief_item_view_image_num_back.xml
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_image_num_back.xml
+0
-0
home_assuage_grief_item_view_tab_back.xml
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_tab_back.xml
+0
-0
home_assuage_grief_stroke_line.xml
m-home/src/xlzx/res/drawable/home_assuage_grief_stroke_line.xml
+0
-0
home_background_coupon_button.xml
m-home/src/xlzx/res/drawable/home_background_coupon_button.xml
+0
-0
home_background_home_pager_top.xml
m-home/src/xlzx/res/drawable/home_background_home_pager_top.xml
+0
-0
home_bg_home_module_input.xml
m-home/src/xlzx/res/drawable/home_bg_home_module_input.xml
+0
-0
home_button_banner_first_img.png
m-home/src/xlzx/res/drawable/home_button_banner_first_img.png
+0
-0
home_button_banner_first_img_new.png
m-home/src/xlzx/res/drawable/home_button_banner_first_img_new.png
+0
-0
home_button_banner_fourth_img.png
m-home/src/xlzx/res/drawable/home_button_banner_fourth_img.png
+0
-0
home_button_banner_fourth_img_new.png
m-home/src/xlzx/res/drawable/home_button_banner_fourth_img_new.png
+0
-0
home_button_banner_second_img.png
m-home/src/xlzx/res/drawable/home_button_banner_second_img.png
+0
-0
home_button_banner_third_img.png
m-home/src/xlzx/res/drawable/home_button_banner_third_img.png
+0
-0
home_button_banner_third_img_new.png
m-home/src/xlzx/res/drawable/home_button_banner_third_img_new.png
+0
-0
home_button_first_free_bg.xml
m-home/src/xlzx/res/drawable/home_button_first_free_bg.xml
+0
-0
home_card_view_stroke.xml
m-home/src/xlzx/res/drawable/home_card_view_stroke.xml
+0
-0
home_common_title_gradient_back.xml
m-home/src/xlzx/res/drawable/home_common_title_gradient_back.xml
+0
-0
home_confide_expert_info_coupon_background.xml
m-home/src/xlzx/res/drawable/home_confide_expert_info_coupon_background.xml
+0
-0
home_confide_free_icon_new.png
m-home/src/xlzx/res/drawable/home_confide_free_icon_new.png
+0
-0
home_consult_chat_bg.xml
m-home/src/xlzx/res/drawable/home_consult_chat_bg.xml
+0
-0
home_consult_chat_rest_bg.xml
m-home/src/xlzx/res/drawable/home_consult_chat_rest_bg.xml
+0
-0
home_consult_head_border.xml
m-home/src/xlzx/res/drawable/home_consult_head_border.xml
+0
-0
home_consult_tab_shadow.xml
m-home/src/xlzx/res/drawable/home_consult_tab_shadow.xml
+0
-0
home_icon_search.png
m-home/src/xlzx/res/drawable/home_icon_search.png
+0
-0
home_icon_search_phone.png
m-home/src/xlzx/res/drawable/home_icon_search_phone.png
+0
-0
home_image_default_back.xml
m-home/src/xlzx/res/drawable/home_image_default_back.xml
+0
-0
home_intelligent_gradient_back.xml
m-home/src/xlzx/res/drawable/home_intelligent_gradient_back.xml
+0
-0
home_intelligent_top_view_layout_back.xml
m-home/src/xlzx/res/drawable/home_intelligent_top_view_layout_back.xml
+0
-0
home_intelligent_top_view_recommend_back.xml
m-home/src/xlzx/res/drawable/home_intelligent_top_view_recommend_back.xml
+0
-0
home_music_png.png
m-home/src/xlzx/res/drawable/home_music_png.png
+0
-0
home_show_more_line.xml
m-home/src/xlzx/res/drawable/home_show_more_line.xml
+0
-0
home_test_item_go_bg.xml
m-home/src/xlzx/res/drawable/home_test_item_go_bg.xml
+0
-0
home_test_top_view_layout_back.xml
m-home/src/xlzx/res/drawable/home_test_top_view_layout_back.xml
+0
-0
home_view_shadow_bg.xml
m-home/src/xlzx/res/drawable/home_view_shadow_bg.xml
+0
-0
home_article_item_view.xml
m-home/src/xlzx/res/layout/home_article_item_view.xml
+2
-2
home_article_view.xml
m-home/src/xlzx/res/layout/home_article_view.xml
+0
-0
home_assuage_grief_image_more_five_item_view.xml
m-home/src/xlzx/res/layout/home_assuage_grief_image_more_five_item_view.xml
+6
-6
home_assuage_grief_image_under_four_item_view.xml
m-home/src/xlzx/res/layout/home_assuage_grief_image_under_four_item_view.xml
+4
-4
home_assuage_grief_image_under_two_item_view.xml
m-home/src/xlzx/res/layout/home_assuage_grief_image_under_two_item_view.xml
+1
-1
home_assuage_grief_item_view.xml
m-home/src/xlzx/res/layout/home_assuage_grief_item_view.xml
+10
-10
home_assuage_grief_view.xml
m-home/src/xlzx/res/layout/home_assuage_grief_view.xml
+0
-0
home_button_banner_view.xml
m-home/src/xlzx/res/layout/home_button_banner_view.xml
+5
-5
home_common_title_view.xml
m-home/src/xlzx/res/layout/home_common_title_view.xml
+3
-3
home_confide_expert_info_view.xml
m-home/src/xlzx/res/layout/home_confide_expert_info_view.xml
+4
-4
home_confide_view.xml
m-home/src/xlzx/res/layout/home_confide_view.xml
+2
-2
home_consult_item_view.xml
m-home/src/xlzx/res/layout/home_consult_item_view.xml
+4
-4
home_course_item_view.xml
m-home/src/xlzx/res/layout/home_course_item_view.xml
+2
-2
home_course_view.xml
m-home/src/xlzx/res/layout/home_course_view.xml
+0
-0
home_dialog_activity.xml
m-home/src/xlzx/res/layout/home_dialog_activity.xml
+0
-0
home_dialog_coupon.xml
m-home/src/xlzx/res/layout/home_dialog_coupon.xml
+5
-5
home_dialog_guide_activity.xml
m-home/src/xlzx/res/layout/home_dialog_guide_activity.xml
+1
-1
home_footer_view.xml
m-home/src/xlzx/res/layout/home_footer_view.xml
+0
-0
home_fragment_home_module.xml
m-home/src/xlzx/res/layout/home_fragment_home_module.xml
+8
-8
home_intelligent_item_view.xml
m-home/src/xlzx/res/layout/home_intelligent_item_view.xml
+2
-2
home_intelligent_top_item_view.xml
m-home/src/xlzx/res/layout/home_intelligent_top_item_view.xml
+5
-5
home_intelligent_view.xml
m-home/src/xlzx/res/layout/home_intelligent_view.xml
+1
-1
home_layout_home_module_content.xml
m-home/src/xlzx/res/layout/home_layout_home_module_content.xml
+0
-0
home_layout_home_module_head_bg.xml
m-home/src/xlzx/res/layout/home_layout_home_module_head_bg.xml
+4
-4
home_layout_home_module_head_middle.xml
m-home/src/xlzx/res/layout/home_layout_home_module_head_middle.xml
+2
-2
home_layout_home_module_input.xml
m-home/src/xlzx/res/layout/home_layout_home_module_input.xml
+3
-3
home_layout_home_module_toolbar.xml
m-home/src/xlzx/res/layout/home_layout_home_module_toolbar.xml
+1
-1
home_pager_banner_category_view.xml
m-home/src/xlzx/res/layout/home_pager_banner_category_view.xml
+0
-0
home_pager_banner_view.xml
m-home/src/xlzx/res/layout/home_pager_banner_view.xml
+3
-3
home_pager_banner_view_grid_view_item.xml
m-home/src/xlzx/res/layout/home_pager_banner_view_grid_view_item.xml
+0
-0
home_real_view_in.xml
m-home/src/xlzx/res/layout/home_real_view_in.xml
+0
-0
home_real_view_left.xml
m-home/src/xlzx/res/layout/home_real_view_left.xml
+2
-2
home_real_view_out.xml
m-home/src/xlzx/res/layout/home_real_view_out.xml
+0
-0
home_test_item_view.xml
m-home/src/xlzx/res/layout/home_test_item_view.xml
+2
-2
home_test_top_item_view.xml
m-home/src/xlzx/res/layout/home_test_top_item_view.xml
+4
-4
home_test_view.xml
m-home/src/xlzx/res/layout/home_test_view.xml
+0
-0
home_activity_guide.png
m-home/src/xlzx/res/mipmap-xhdpi/home_activity_guide.png
+0
-0
home_cotent_backgroudn.png
m-home/src/xlzx/res/mipmap-xhdpi/home_cotent_backgroudn.png
+0
-0
home_coupon_background.png
m-home/src/xlzx/res/mipmap-xhdpi/home_coupon_background.png
+0
-0
colors.xml
m-home/src/xlzx/res/values/colors.xml
+3
-3
dimens.xml
m-home/src/xlzx/res/values/dimens.xml
+8
-8
strings.xml
m-home/src/xlzx/res/values/strings.xml
+4
-4
YdlHomeAdapter.kt
m-home/src/ydl/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
+1
-1
ActivityDialog.kt
m-home/src/ydl/java/com/yidianling/home/dialog/ActivityDialog.kt
+2
-2
ActivityGuideDialog.kt
m-home/src/ydl/java/com/yidianling/home/dialog/ActivityGuideDialog.kt
+2
-2
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+3
-3
CouponDialog.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/CouponDialog.kt
+4
-4
HomeArticleItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeArticleItemView.kt
+2
-2
HomeArticleView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeArticleView.kt
+2
-2
HomeAssuageGriefImageItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefImageItemView.kt
+6
-6
HomeAssuageGriefItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
+3
-3
HomeAssuageGriefView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefView.kt
+2
-2
HomeButtonBannerView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeButtonBannerView.kt
+2
-2
HomeCategoryContainer.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCategoryContainer.kt
+4
-4
HomeCommonTitleView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCommonTitleView.kt
+2
-2
HomeConfideExpertInfoView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConfideExpertInfoView.kt
+6
-6
HomeConfideView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConfideView.kt
+2
-2
HomeConsultItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+2
-2
HomeConsultView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultView.kt
+2
-2
HomeCourseItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCourseItemView.kt
+2
-2
HomeCourseView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCourseView.kt
+2
-2
HomeIntelligentItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeIntelligentItemView.kt
+2
-2
HomeIntelligentTopItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeIntelligentTopItemView.kt
+2
-2
HomeIntelligentView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeIntelligentView.kt
+2
-2
HomeMuseView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeMuseView.kt
+2
-2
HomePagerBannerCategoryItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomePagerBannerCategoryItemView.kt
+3
-3
HomePagerBannerRealView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomePagerBannerRealView.kt
+7
-7
HomePagerBannerView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomePagerBannerView.kt
+3
-3
HomeTestItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeTestItemView.kt
+2
-2
HomeTestTopItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeTestTopItemView.kt
+2
-2
HomeTestView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeTestView.kt
+2
-2
home_article_item_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_article_item_icon.png
+0
-0
home_assuage_grief_item_user_type_v.png
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_user_type_v.png
+0
-0
home_assuage_grief_item_view_follow.png
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_follow.png
+0
-0
home_assuage_grief_item_view_tab_comment.png
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_comment.png
+0
-0
home_assuage_grief_item_view_tab_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_icon.png
+0
-0
home_assuage_grief_item_view_tab_warm.png
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm.png
+0
-0
home_assuage_grief_item_view_tab_warm_has_zan.png
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm_has_zan.png
+0
-0
home_assuage_grief_item_view_unfollow.png
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_unfollow.png
+0
-0
home_back_top.png
m-home/src/ydl/res/drawable-xhdpi/home_back_top.png
+0
-0
home_banner_tip_select.png
m-home/src/ydl/res/drawable-xhdpi/home_banner_tip_select.png
+0
-0
home_banner_tip_unselect.png
m-home/src/ydl/res/drawable-xhdpi/home_banner_tip_unselect.png
+0
-0
home_button_banner_first_img_new.png
m-home/src/ydl/res/drawable-xhdpi/home_button_banner_first_img_new.png
+0
-0
home_button_banner_fourth_img_new.png
m-home/src/ydl/res/drawable-xhdpi/home_button_banner_fourth_img_new.png
+0
-0
home_button_banner_third_img_new.png
m-home/src/ydl/res/drawable-xhdpi/home_button_banner_third_img_new.png
+0
-0
home_category_bottom_real_img.png
m-home/src/ydl/res/drawable-xhdpi/home_category_bottom_real_img.png
+0
-0
home_comment_hot_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_comment_hot_icon.png
+0
-0
home_common_more_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_common_more_icon.png
+0
-0
home_confide_free_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_confide_free_icon.png
+0
-0
home_confide_line_1.png
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_1.png
+0
-0
home_confide_line_2.png
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_2.png
+0
-0
home_confide_line_3.png
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_3.png
+0
-0
home_confide_line_4.png
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_4.png
+0
-0
home_consult_chat.png
m-home/src/ydl/res/drawable-xhdpi/home_consult_chat.png
+0
-0
home_counselor.png
m-home/src/ydl/res/drawable-xhdpi/home_counselor.png
+0
-0
home_coupon_receiver.png
m-home/src/ydl/res/drawable-xhdpi/home_coupon_receiver.png
+0
-0
home_coupon_success.png
m-home/src/ydl/res/drawable-xhdpi/home_coupon_success.png
+0
-0
home_img_0.png
m-home/src/ydl/res/drawable-xhdpi/home_img_0.png
+0
-0
home_img_1.png
m-home/src/ydl/res/drawable-xhdpi/home_img_1.png
+0
-0
home_intelligent_first_play_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_intelligent_first_play_icon.png
+0
-0
home_intelligent_item_listen_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_intelligent_item_listen_icon.png
+0
-0
home_intelligent_item_play_icon.png
m-home/src/ydl/res/drawable-xhdpi/home_intelligent_item_play_icon.png
+0
-0
home_muse_circle_first.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_circle_first.png
+0
-0
home_muse_circle_fouth.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_circle_fouth.png
+0
-0
home_muse_circle_second.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_circle_second.png
+0
-0
home_muse_circle_third.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_circle_third.png
+0
-0
home_muse_first_img.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_first_img.png
+0
-0
home_muse_fouth_img.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_fouth_img.png
+0
-0
home_muse_play.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_play.png
+0
-0
home_muse_third_img.png
m-home/src/ydl/res/drawable-xhdpi/home_muse_third_img.png
+0
-0
home_pop_close.png
m-home/src/ydl/res/drawable-xhdpi/home_pop_close.png
+0
-0
home_publish_trend.png
m-home/src/ydl/res/drawable-xhdpi/home_publish_trend.png
+0
-0
home_assuage_grief_item_view_image_num_back.xml
m-home/src/ydl/res/drawable/home_assuage_grief_item_view_image_num_back.xml
+0
-0
home_assuage_grief_item_view_tab_back.xml
m-home/src/ydl/res/drawable/home_assuage_grief_item_view_tab_back.xml
+0
-0
home_assuage_grief_stroke_line.xml
m-home/src/ydl/res/drawable/home_assuage_grief_stroke_line.xml
+0
-0
home_background_coupon_button.xml
m-home/src/ydl/res/drawable/home_background_coupon_button.xml
+0
-0
home_background_home_pager_top.xml
m-home/src/ydl/res/drawable/home_background_home_pager_top.xml
+0
-0
home_bg_home_search_input.xml
m-home/src/ydl/res/drawable/home_bg_home_search_input.xml
+0
-0
home_card_view_stroke.xml
m-home/src/ydl/res/drawable/home_card_view_stroke.xml
+0
-0
home_category_tip_select.xml
m-home/src/ydl/res/drawable/home_category_tip_select.xml
+0
-0
home_category_tip_unselect.xml
m-home/src/ydl/res/drawable/home_category_tip_unselect.xml
+0
-0
home_common_title_gradient_back.xml
m-home/src/ydl/res/drawable/home_common_title_gradient_back.xml
+0
-0
home_confide_expert_info_coupon_background.xml
m-home/src/ydl/res/drawable/home_confide_expert_info_coupon_background.xml
+0
-0
home_home_category_bg.xml
m-home/src/ydl/res/drawable/home_home_category_bg.xml
+0
-0
home_icon_search.png
m-home/src/ydl/res/drawable/home_icon_search.png
+0
-0
home_image_default_back.xml
m-home/src/ydl/res/drawable/home_image_default_back.xml
+0
-0
home_intelligent_gradient_back.xml
m-home/src/ydl/res/drawable/home_intelligent_gradient_back.xml
+0
-0
home_intelligent_top_view_layout_back.xml
m-home/src/ydl/res/drawable/home_intelligent_top_view_layout_back.xml
+0
-0
home_intelligent_top_view_recommend_back.xml
m-home/src/ydl/res/drawable/home_intelligent_top_view_recommend_back.xml
+0
-0
home_sale_info_view_bg.xml
m-home/src/ydl/res/drawable/home_sale_info_view_bg.xml
+0
-0
home_search_phone.png
m-home/src/ydl/res/drawable/home_search_phone.png
+0
-0
home_show_more_line.xml
m-home/src/ydl/res/drawable/home_show_more_line.xml
+0
-0
home_test_item_go_bg.xml
m-home/src/ydl/res/drawable/home_test_item_go_bg.xml
+0
-0
home_test_top_view_layout_back.xml
m-home/src/ydl/res/drawable/home_test_top_view_layout_back.xml
+0
-0
home_article_item_view.xml
m-home/src/ydl/res/layout/home_article_item_view.xml
+2
-2
home_article_view.xml
m-home/src/ydl/res/layout/home_article_view.xml
+0
-0
home_assuage_grief_image_more_five_item_view.xml
m-home/src/ydl/res/layout/home_assuage_grief_image_more_five_item_view.xml
+6
-6
home_assuage_grief_image_under_four_item_view.xml
m-home/src/ydl/res/layout/home_assuage_grief_image_under_four_item_view.xml
+4
-4
home_assuage_grief_image_under_two_item_view.xml
m-home/src/ydl/res/layout/home_assuage_grief_image_under_two_item_view.xml
+1
-1
home_assuage_grief_item_view.xml
m-home/src/ydl/res/layout/home_assuage_grief_item_view.xml
+10
-10
home_assuage_grief_view.xml
m-home/src/ydl/res/layout/home_assuage_grief_view.xml
+0
-0
home_button_banner_view.xml
m-home/src/ydl/res/layout/home_button_banner_view.xml
+4
-4
home_category_container.xml
m-home/src/ydl/res/layout/home_category_container.xml
+0
-0
home_common_title_view.xml
m-home/src/ydl/res/layout/home_common_title_view.xml
+3
-3
home_confide_expert_info_view.xml
m-home/src/ydl/res/layout/home_confide_expert_info_view.xml
+2
-2
home_confide_view.xml
m-home/src/ydl/res/layout/home_confide_view.xml
+0
-0
home_consult_item_view.xml
m-home/src/ydl/res/layout/home_consult_item_view.xml
+2
-2
home_course_item_view.xml
m-home/src/ydl/res/layout/home_course_item_view.xml
+2
-2
home_course_view.xml
m-home/src/ydl/res/layout/home_course_view.xml
+0
-0
home_dialog_activity.xml
m-home/src/ydl/res/layout/home_dialog_activity.xml
+0
-0
home_dialog_coupon.xml
m-home/src/ydl/res/layout/home_dialog_coupon.xml
+5
-5
home_dialog_guide_activity.xml
m-home/src/ydl/res/layout/home_dialog_guide_activity.xml
+1
-1
home_footer_view.xml
m-home/src/ydl/res/layout/home_footer_view.xml
+0
-0
home_fragment.xml
m-home/src/ydl/res/layout/home_fragment.xml
+5
-5
home_intelligent_item_view.xml
m-home/src/ydl/res/layout/home_intelligent_item_view.xml
+2
-2
home_intelligent_top_item_view.xml
m-home/src/ydl/res/layout/home_intelligent_top_item_view.xml
+5
-5
home_intelligent_view.xml
m-home/src/ydl/res/layout/home_intelligent_view.xml
+1
-1
home_muse_view.xml
m-home/src/ydl/res/layout/home_muse_view.xml
+11
-11
home_pager_banner_category_view.xml
m-home/src/ydl/res/layout/home_pager_banner_category_view.xml
+0
-0
home_pager_banner_view.xml
m-home/src/ydl/res/layout/home_pager_banner_view.xml
+3
-3
home_real_view_in.xml
m-home/src/ydl/res/layout/home_real_view_in.xml
+0
-0
home_real_view_left.xml
m-home/src/ydl/res/layout/home_real_view_left.xml
+2
-2
home_real_view_out.xml
m-home/src/ydl/res/layout/home_real_view_out.xml
+0
-0
home_test_item_view.xml
m-home/src/ydl/res/layout/home_test_item_view.xml
+2
-2
home_test_top_item_view.xml
m-home/src/ydl/res/layout/home_test_top_item_view.xml
+4
-4
home_test_view.xml
m-home/src/ydl/res/layout/home_test_view.xml
+0
-0
home_activity_guide.png
m-home/src/ydl/res/mipmap-xhdpi/home_activity_guide.png
+0
-0
home_cotent_backgroudn.png
m-home/src/ydl/res/mipmap-xhdpi/home_cotent_backgroudn.png
+0
-0
home_coupon_background.png
m-home/src/ydl/res/mipmap-xhdpi/home_coupon_background.png
+0
-0
home_ic_launcher.png
m-home/src/ydl/res/mipmap-xhdpi/home_ic_launcher.png
+0
-0
home_icon_titlebar_search.png
m-home/src/ydl/res/mipmap-xhdpi/home_icon_titlebar_search.png
+0
-0
colors.xml
m-home/src/ydl/res/values/colors.xml
+1
-1
dimens.xml
m-home/src/ydl/res/values/dimens.xml
+1
-1
strings.xml
m-home/src/ydl/res/values/strings.xml
+2
-2
No files found.
m-home/build.gradle
View file @
f1b324e6
...
...
@@ -2,6 +2,13 @@ apply plugin: 'com.android.library'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-kapt'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'resTools'
// 资源重命名插件
// 配置资源重命名插件
resConfig
{
new_prefix
=
'home_'
// 资源前缀
old_prefix
=
''
// 老前缀,可为''空字符串
}
kapt
{
arguments
{
...
...
@@ -50,12 +57,7 @@ android {
sourceSets
{
main
{
res
.
srcDirs
=
[
'src/main/res'
,
'src/main/res/layouts'
,
'src/main/res/layouts/ydlhome'
,
//壹点零用户版首页fragment所在xml
'src/main/res/layouts/ydlhome/holder'
,
//壹点零用户版首页fragment中列表ViewHolder所在xml
]
res
.
srcDirs
=
[
'src/main/res'
]
}
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
View file @
f1b324e6
...
...
@@ -185,7 +185,7 @@ open class HomeBaseImpl : IHomeBaseEvent {
return
}
var
doctorName
=
if
(
text
!=
mContext
?.
resources
?.
getString
(
R
.
string
.
search_hint
)
&&
text
!=
mContext
?.
resources
?.
getString
(
if
(
text
!=
mContext
?.
resources
?.
getString
(
R
.
string
.
home_
search_hint
)
&&
text
!=
mContext
?.
resources
?.
getString
(
R
.
string
.
platform_search
)
)
text
else
""
...
...
This diff is collapsed.
Click to expand it.
m-home/src/main/res/values/strings.xml
View file @
f1b324e6
<resources>
<string
name=
"
app_name"
>
m-home
</string>
<string
name=
"
search_hint"
>
搜索话题、咨询师姓名
</string>
<string
name=
"
home_app_name"
>
m-home
</string>
<string
name=
"
home_search_hint"
>
搜索话题、咨询师姓名
</string>
</resources>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
View file @
f1b324e6
...
...
@@ -131,7 +131,7 @@ class YdlHomeAdapter(private val mContext: Context,
}
//底部提示语模块
else
->
{
val
view
=
mInflater
.
inflate
(
R
.
layout
.
home_
module_
footer_view
,
parent
,
false
)
val
view
=
mInflater
.
inflate
(
R
.
layout
.
home_footer_view
,
parent
,
false
)
return
FooterViewViewHolder
(
view
)
}
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/dialog/ActivityDialog.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import com.ydl.webview.NewH5Activity
import
com.yidianling.home.R
import
com.ydl.ydl_image.module.GlideApp
import
com.ydl.ydl_router.manager.YDLRouterManager
import
kotlinx.android.synthetic.xlzx.dialog_activity.*
import
kotlinx.android.synthetic.xlzx.
home_
dialog_activity.*
import
java.lang.ref.WeakReference
/**
...
...
@@ -33,7 +33,7 @@ class ActivityDialog : Dialog{
window
.
setBackgroundDrawableResource
(
android
.
R
.
color
.
transparent
)
setContentView
(
R
.
layout
.
dialog_activity
)
setContentView
(
R
.
layout
.
home_
dialog_activity
)
initView
()
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/dialog/ActivityGuideDialog.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.view.Window
import
com.ydl.ydl_image.module.GlideApp
import
com.ydl.ydlcommon.utils.DisplayUtils
import
com.yidianling.home.R
import
kotlinx.android.synthetic.xlzx.dialog_guide_activity.*
import
kotlinx.android.synthetic.xlzx.
home_
dialog_guide_activity.*
import
java.util.*
/**
...
...
@@ -32,7 +32,7 @@ class ActivityGuideDialog : Dialog{
requestWindowFeature
(
Window
.
FEATURE_NO_TITLE
)
window
.
setBackgroundDrawableResource
(
android
.
R
.
color
.
transparent
)
setContentView
(
R
.
layout
.
dialog_guide_activity
)
setContentView
(
R
.
layout
.
home_
dialog_guide_activity
)
initView
()
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
f1b324e6
...
...
@@ -33,11 +33,11 @@ import com.yidianling.home.presenter.HomePresenterImpl
import
com.yidianling.home.ui.utils.Double11ActivityManagerUtils
import
com.yidianling.home.ui.view.CouponDialog
import
com.yidianling.user.api.service.IUserService
import
kotlinx.android.synthetic.xlzx.fragment_home_module.*
import
kotlinx.android.synthetic.xlzx.layout_home_module_content.*
import
kotlinx.android.synthetic.xlzx.layout_home_module_head_bg.*
import
kotlinx.android.synthetic.xlzx.layout_home_module_input.*
import
kotlinx.android.synthetic.xlzx.layout_home_module_toolbar.*
import
kotlinx.android.synthetic.xlzx.
home_
fragment_home_module.*
import
kotlinx.android.synthetic.xlzx.
home_
layout_home_module_content.*
import
kotlinx.android.synthetic.xlzx.
home_
layout_home_module_head_bg.*
import
kotlinx.android.synthetic.xlzx.
home_
layout_home_module_input.*
import
kotlinx.android.synthetic.xlzx.
home_
layout_home_module_toolbar.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -73,7 +73,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
private
var
scrollListner
:
HomeConfideRecyleSuspendListener
?
=
null
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
fragment_home_module
return
R
.
layout
.
home_
fragment_home_module
}
override
fun
initDataAndEvent
()
{
...
...
@@ -142,7 +142,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
KITKAT
)
{
//4.4以下不支持状态栏变色
val
statusBarHeight
=
StatusBarUtils
.
getStatusBarHeight
(
activity
)
var
homeTitleBarHeight
=
resources
.
getDimension
(
R
.
dimen
.
home_title_bar_height
)
var
homeTitleBarHeight
=
resources
.
getDimension
(
R
.
dimen
.
home_
home_
title_bar_height
)
val
lp1
=
view_search_toolbar_bg
.
layoutParams
as
RelativeLayout
.
LayoutParams
lp1
.
height
=
(
homeTitleBarHeight
+
statusBarHeight
).
toInt
()
view_search_toolbar_bg
.
layoutParams
=
lp1
...
...
@@ -281,7 +281,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
for
(
item
in
cacheList
)
{
imageViews
.
add
(
item
.
imageUrl
!!
)
}
banner_search
.
setImageLoader
(
GlideImageLoader
(
R
.
drawable
.
home_
module_
image_default_back
))
banner_search
.
setImageLoader
(
GlideImageLoader
(
R
.
drawable
.
home_image_default_back
))
.
setImages
(
imageViews
).
start
()
banner_search
.
setOnBannerListener
{
homeEvent
?.
bannerClick
(
cacheList
!!
[
it
])
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/CouponDialog.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.os.Bundle
import
android.text.TextUtils
import
com.yidianling.home.R
import
com.yidianling.home.model.bean.CouponBean
import
kotlinx.android.synthetic.xlzx.dialog_coupon.*
import
kotlinx.android.synthetic.xlzx.
home_
dialog_coupon.*
/**
* @author jiucheng
...
...
@@ -43,7 +43,7 @@ class CouponDialog : Dialog {
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
setContentView
(
R
.
layout
.
dialog_coupon
)
setContentView
(
R
.
layout
.
home_
dialog_coupon
)
setCanceledOnTouchOutside
(
false
)
window
.
setBackgroundDrawable
(
ColorDrawable
())
if
(
couponBean
!=
null
)
{
...
...
@@ -86,7 +86,7 @@ class CouponDialog : Dialog {
title
=
"获得新优惠券"
}
ensureText
=
"立即领取"
iamge
=
R
.
drawable
.
coupon_receiver
iamge
=
R
.
drawable
.
home_
coupon_receiver
}
STATUS_GET
->
{
if
(
list
!!
.
size
>
1
)
{
...
...
@@ -95,7 +95,7 @@ class CouponDialog : Dialog {
title
=
"恭喜您,领取成功"
}
ensureText
=
"查看我的卡券"
iamge
=
R
.
drawable
.
coupon_success
iamge
=
R
.
drawable
.
home_
coupon_success
}
}
iv_title
.
setImageResource
(
iamge
)
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeArticleItemView.kt
View file @
f1b324e6
...
...
@@ -9,7 +9,7 @@ import com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeArticleBean
import
kotlinx.android.synthetic.xlzx.home_
module_
article_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_article_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -31,7 +31,7 @@ class HomeArticleItemView(private val mContext: Context, private var homeEvent:
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
article_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_article_item_view
,
this
)
}
fun
updateData
(
bean
:
HomeArticleBean
.
Bean
?)
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeArticleView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeArticleBean
import
kotlinx.android.synthetic.xlzx.home_
module_
article_view.view.*
import
kotlinx.android.synthetic.xlzx.home_article_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -33,7 +33,7 @@ class HomeArticleView(private val mContext: Context, private var homeEvent: IHom
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
article_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_article_view
,
this
)
homeModuleArticleViewHomeCommonTitleView
.
setTitle
(
"文章·阅读"
)
homeModuleArticleViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
articleMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefImageItemView.kt
View file @
f1b324e6
...
...
@@ -8,9 +8,9 @@ import com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
kotlinx.android.synthetic.xlzx.home_
module_
assuage_grief_image_more_five_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_
module_
assuage_grief_image_under_four_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_
module_
assuage_grief_image_under_two_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_assuage_grief_image_more_five_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_assuage_grief_image_under_four_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_assuage_grief_image_under_two_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -44,7 +44,7 @@ class HomeAssuageGriefImageItemView(
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_image_under_two_item_view
,
R
.
layout
.
home_assuage_grief_image_under_two_item_view
,
this
)
...
...
@@ -61,7 +61,7 @@ class HomeAssuageGriefImageItemView(
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_image_under_four_item_view
,
R
.
layout
.
home_assuage_grief_image_under_four_item_view
,
this
)
...
...
@@ -90,7 +90,7 @@ class HomeAssuageGriefImageItemView(
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_image_more_five_item_view
,
R
.
layout
.
home_assuage_grief_image_more_five_item_view
,
this
)
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
View file @
f1b324e6
...
...
@@ -22,7 +22,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeAskBean
import
com.yidianling.user.api.service.IUserService
import
kotlinx.android.synthetic.xlzx.home_
module_
assuage_grief_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_assuage_grief_item_view.view.*
/**
...
...
@@ -56,7 +56,7 @@ class HomeAssuageGriefItemView(
,
(
16
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
()
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_assuage_grief_item_view
,
this
)
}
...
...
@@ -91,9 +91,9 @@ class HomeAssuageGriefItemView(
}
bean
.
isZan
=
if
(
bean
.
isZan
==
1
)
0
else
1
if
(
bean
.
isZan
==
1
)
{
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_
module_
assuage_grief_item_view_tab_warm_has_zan
)
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_assuage_grief_item_view_tab_warm_has_zan
)
}
else
{
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_
module_
assuage_grief_item_view_tab_warm
)
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_assuage_grief_item_view_tab_warm
)
}
bean
.
zanCount
=
if
(
bean
.
isZan
==
1
)
bean
.
zanCount
+
1
else
bean
.
zanCount
-
1
homeModuleAssuageGriefViewZanCount
.
text
=
bean
?.
zanCount
.
toString
()
...
...
@@ -148,9 +148,9 @@ class HomeAssuageGriefItemView(
* 点赞
*/
if
(
bean
?.
isZan
==
1
)
{
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_
module_
assuage_grief_item_view_tab_warm_has_zan
)
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_assuage_grief_item_view_tab_warm_has_zan
)
}
else
{
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_
module_
assuage_grief_item_view_tab_warm
)
homeModuleAssuageGriefViewZanState
.
setImageResource
(
R
.
drawable
.
home_assuage_grief_item_view_tab_warm
)
}
/**
...
...
@@ -206,7 +206,7 @@ class HomeAssuageGriefItemView(
if
(
commentBean
.
userType
==
2
)
{
setImage
(
mContext
,
homeModuleAssuageGriefViewHotViewComment
,
"vip"
,
R
.
drawable
.
home_
module_
assuage_grief_item_user_type_v
,
R
.
drawable
.
home_assuage_grief_item_user_type_v
,
RxImageTool
.
dp2px
(
13f
),
RxImageTool
.
dp2px
(
13f
)
)
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefView.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeAskBean
import
kotlinx.android.synthetic.xlzx.home_
module_
assuage_grief_view.view.*
import
kotlinx.android.synthetic.xlzx.home_assuage_grief_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -32,7 +32,7 @@ class HomeAssuageGriefView(private val mContext: Context, private var homeEvent:
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_assuage_grief_view
,
this
)
homeModuleAssuageGriefViewHomeCommonTitleView
.
setTitle
(
"解忧·问答"
)
homeModuleAssuageGriefViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
askMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeButtonBannerView.kt
View file @
f1b324e6
...
...
@@ -10,7 +10,7 @@ import com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
kotlinx.android.synthetic.xlzx.home_
module_
button_banner_view.view.*
import
kotlinx.android.synthetic.xlzx.home_button_banner_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -52,7 +52,7 @@ class HomeButtonBannerView(private val mContext: Context, private var homeEvent:
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
button_banner_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_button_banner_view
,
this
)
// initButtonView()
...
...
@@ -101,7 +101,7 @@ class HomeButtonBannerView(private val mContext: Context, private var homeEvent:
lineParam
.
leftMargin
=
dp15
lineParam
.
rightMargin
=
dp15
lineView
=
View
(
context
)
lineView
!!
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
home_
module_
category_view_test_line
))
lineView
!!
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
home_category_view_test_line
))
lineView
!!
.
layoutParams
=
lineParam
}
...
...
@@ -122,7 +122,7 @@ class HomeButtonBannerView(private val mContext: Context, private var homeEvent:
)
cutOffParams
.
height
=
RxImageTool
.
dip2px
(
10f
)
val
cutOffView
=
View
(
context
)
cutOffView
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
colorBg
))
cutOffView
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
home_
colorBg
))
cutOffView
.
layoutParams
=
cutOffParams
ll_home_module_button
.
addView
(
cutOffView
)
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCommonTitleView.kt
View file @
f1b324e6
...
...
@@ -5,7 +5,7 @@ import android.support.constraint.ConstraintLayout
import
android.util.AttributeSet
import
android.view.View
import
com.yidianling.home.R
import
kotlinx.android.synthetic.xlzx.home_
module_
common_title_view.view.*
import
kotlinx.android.synthetic.xlzx.home_common_title_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -21,7 +21,7 @@ class HomeCommonTitleView(private val mContext: Context, private val attributeSe
}
private
fun
initView
()
{
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
common_title_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_common_title_view
,
this
)
}
fun
setTitle
(
title
:
String
)
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConfideExpertInfoView.kt
View file @
f1b324e6
...
...
@@ -15,7 +15,7 @@ import com.yidianling.home.event.HomeImpl
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.event.IHomeEvent
import
com.yidianling.home.model.bean.HomeConfideBean
import
kotlinx.android.synthetic.xlzx.home_
module_
confide_expert_info_view.view.*
import
kotlinx.android.synthetic.xlzx.home_confide_expert_info_view.view.*
/**
...
...
@@ -43,7 +43,7 @@ class HomeConfideExpertInfoView(
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
confide_expert_info_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
home_confide_expert_info_view
,
this
)
}
fun
setData
(
bean
:
HomeConfideBean
.
BodyBean
?,
position
:
Int
,
isLast
:
Boolean
)
{
...
...
@@ -131,16 +131,16 @@ class HomeConfideExpertInfoView(
private
fun
setConfideButton
(
bodyBean
:
HomeConfideBean
.
BodyBean
)
{
when
(
bodyBean
.
confideLine
)
{
//1在线 2离线 3通话中 4继续倾诉
1
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_1
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_1
)
}
2
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_2
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_2
)
}
3
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_3
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_3
)
}
4
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_4
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_4
)
}
}
tv_confide
.
setOnClickListener
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConfideView.kt
View file @
f1b324e6
...
...
@@ -16,7 +16,7 @@ import com.yidianling.home.event.HomeImpl
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeConfideBean
import
com.yidianling.home.model.bean.HomeHeaderBean
import
kotlinx.android.synthetic.xlzx.home_
module_
confide_view.view.*
import
kotlinx.android.synthetic.xlzx.home_confide_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -48,7 +48,7 @@ class HomeConfideView(private val mContext: Context, private var homeEvent: Home
)
layoutParams
=
params
orientation
=
VERTICAL
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
confide_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_confide_view
,
this
)
homeModuleConfideViewHomeCommonTitleView
.
setTitle
(
"倾诉·排解"
)
homeModuleConfideViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
confideMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
f1b324e6
...
...
@@ -13,7 +13,7 @@ import com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeConsultBean
import
kotlinx.android.synthetic.xlzx.home_
module_
consult_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_consult_item_view.view.*
/**
* @author jiucheng
...
...
@@ -38,7 +38,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
consult_item_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
home_consult_item_view
,
this
)
}
fun
setData
(
bean
:
HomeConsultBean
.
ListBean
?,
position
:
Int
,
isLast
:
Boolean
,
cateId
:
String
?)
{
...
...
@@ -121,7 +121,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
)
)
tv_consult_chat
.
background
=
ContextCompat
.
getDrawable
(
context
,
R
.
drawable
.
home_
module_
consult_chat_bg
)
ContextCompat
.
getDrawable
(
context
,
R
.
drawable
.
home_consult_chat_bg
)
}
else
{
tv_consult_chat
.
text
=
bodyBean
.
chatBtnText
tv_consult_chat
.
setTextColor
(
...
...
@@ -131,7 +131,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
)
)
tv_consult_chat
.
background
=
ContextCompat
.
getDrawable
(
context
,
R
.
drawable
.
home_
module_
consult_chat_rest_bg
)
ContextCompat
.
getDrawable
(
context
,
R
.
drawable
.
home_consult_chat_rest_bg
)
}
tv_consult_chat
.
setOnClickListener
{
homeEvent
!!
.
consultChatClick
(
bodyBean
.
doctorUid
.
toString
())
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultView.kt
View file @
f1b324e6
...
...
@@ -15,7 +15,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeConsultBean
import
com.yidianling.home.model.bean.HomeHeaderBean
import
kotlinx.android.synthetic.xlzx.home_
module_
confide_view.view.*
import
kotlinx.android.synthetic.xlzx.home_confide_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -47,7 +47,7 @@ class HomeConsultView(private val mContext: Context, private var homeEvent: IHom
)
layoutParams
=
params
orientation
=
VERTICAL
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
confide_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_confide_view
,
this
)
homeModuleConfideViewHomeCommonTitleView
.
setTitle
(
"咨询·理解"
)
homeModuleConfideViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
consultMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCourseItemView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeCourseBean
import
kotlinx.android.synthetic.xlzx.home_
module_
course_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_course_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -30,7 +30,7 @@ class HomeCourseItemView(private val mContext: Context, private var homeEvent: I
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
course_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_course_item_view
,
this
)
}
/**
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCourseView.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeCourseBean
import
kotlinx.android.synthetic.xlzx.home_
module_
course_view.view.*
import
kotlinx.android.synthetic.xlzx.home_course_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -32,7 +32,7 @@ class HomeCourseView(private val mContext: Context, private var homeEvent: IHome
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
course_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_course_view
,
this
)
homeModuleCourseViewHomeCommonTitleView
.
setTitle
(
"课程·成长"
)
homeModuleCourseViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
courseMreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeIntelligentItemView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeFMBean
import
kotlinx.android.synthetic.xlzx.home_
module_
intelligent_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_intelligent_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -35,7 +35,7 @@ class HomeIntelligentItemView(
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
intelligent_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_intelligent_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeIntelligentTopItemView.kt
View file @
f1b324e6
...
...
@@ -9,7 +9,7 @@ import com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeFMBean
import
kotlinx.android.synthetic.xlzx.home_
module_
intelligent_top_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_intelligent_top_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -35,7 +35,7 @@ class HomeIntelligentTopItemView(
var
viewHeight
=
viewWidth
*
143
/
345
val
params
=
LinearLayout
.
LayoutParams
(
viewWidth
,
viewHeight
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
intelligent_top_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_intelligent_top_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeIntelligentView.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeFMBean
import
kotlinx.android.synthetic.xlzx.home_
module_
intelligent_view.view.*
import
kotlinx.android.synthetic.xlzx.home_intelligent_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -32,7 +32,7 @@ class HomeIntelligentView(private val mContext: Context, private var homeEvent:
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
intelligent_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_intelligent_view
,
this
)
homeModuleIntelligentViewHomeCommonTitleView
.
setTitle
(
"心灵·电台"
)
homeModuleIntelligentViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
fmMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomePagerBannerCategoryView.kt
View file @
f1b324e6
...
...
@@ -16,7 +16,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.event.IHomeEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
kotlinx.android.synthetic.xlzx.home_
module_
pager_banner_category_view.view.*
import
kotlinx.android.synthetic.xlzx.home_pager_banner_category_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -89,7 +89,7 @@ class HomePagerBannerCategoryView(mContext: Context, homeEvent: IHomeBaseEvent)
* 界面初始化
*/
private
fun
initView
()
{
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
pager_banner_category_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
home_pager_banner_category_view
,
this
)
val
params
=
FrameLayout
.
LayoutParams
(
FrameLayout
.
LayoutParams
.
MATCH_PARENT
,
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
...
...
@@ -277,7 +277,7 @@ class HomePagerBannerCategoryView(mContext: Context, homeEvent: IHomeBaseEvent)
lineParam
.
rightMargin
=
dp15
lineParam
.
topMargin
=
multiple
*
(
imageViewWidth
+
dp8
+
textViewHeight
)
+
dp8
lineView
=
View
(
context
)
lineView
!!
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
home_
module_
category_view_test_line
))
lineView
!!
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
home_category_view_test_line
))
lineView
!!
.
layoutParams
=
lineParam
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomePagerBannerRealView.kt
View file @
f1b324e6
...
...
@@ -13,9 +13,9 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
kotlinx.android.synthetic.xlzx.home_
module_
real_view_in.view.*
import
kotlinx.android.synthetic.xlzx.home_
module_
real_view_left.view.*
import
kotlinx.android.synthetic.xlzx.home_
module_
real_view_out.view.*
import
kotlinx.android.synthetic.xlzx.home_real_view_in.view.*
import
kotlinx.android.synthetic.xlzx.home_real_view_left.view.*
import
kotlinx.android.synthetic.xlzx.home_real_view_out.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -76,9 +76,9 @@ class HomePagerBannerRealView(mContext: Context, homeEvent: IHomeBaseEvent) :
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
real_view_left
,
this
)
view_out
=
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
real_view_out
,
null
)
view_in
=
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
real_view_in
,
null
)
View
.
inflate
(
context
,
R
.
layout
.
home_real_view_left
,
this
)
view_out
=
View
.
inflate
(
context
,
R
.
layout
.
home_real_view_out
,
null
)
view_in
=
View
.
inflate
(
context
,
R
.
layout
.
home_real_view_in
,
null
)
homeModuleRealViewLeftFrameLayout
.
addView
(
view_out
)
homeModuleRealViewLeftFrameLayout
.
addView
(
view_in
)
layoutParams
=
params
...
...
@@ -187,7 +187,7 @@ class HomePagerBannerRealView(mContext: Context, homeEvent: IHomeBaseEvent) :
nameBuffer
.
append
(
bean
?.
contentBefore
)
nameBuffer
.
append
(
" "
)
nameBuffer
.
append
(
bean
?.
nickName
)
nameBuffer
.
append
(
resources
.
getString
(
R
.
string
.
home_
module_
real_appoint
))
nameBuffer
.
append
(
resources
.
getString
(
R
.
string
.
home_real_appoint
))
return
nameBuffer
.
toString
()
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomePagerBannerView.kt
View file @
f1b324e6
...
...
@@ -9,7 +9,7 @@ import com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
kotlinx.android.synthetic.xlzx.home_
module_
pager_banner_view.view.*
import
kotlinx.android.synthetic.xlzx.home_pager_banner_view.view.*
/**
...
...
@@ -36,7 +36,7 @@ class HomePagerBannerView(private val mContext: Context, private var homeEvent:
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
pager_banner_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_pager_banner_view
,
this
)
initBannerLayout
()
// val addLayoutParams = RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
...
...
@@ -92,7 +92,7 @@ class HomePagerBannerView(private val mContext: Context, private var homeEvent:
mImageViews
.
add
(
item
.
imageUrl
!!
)
}
}
homeModulePagerBannerViewBanner
.
setImageLoader
(
GlideImageLoader
(
R
.
drawable
.
home_
module_
image_default_back
))
homeModulePagerBannerViewBanner
.
setImageLoader
(
GlideImageLoader
(
R
.
drawable
.
home_image_default_back
))
.
setImages
(
mImageViews
).
start
()
homeModulePagerBannerViewBanner
.
setOnBannerListener
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeTestItemView.kt
View file @
f1b324e6
...
...
@@ -9,7 +9,7 @@ import com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeTestItemBean
import
kotlinx.android.synthetic.xlzx.home_
module_
test_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_test_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -34,7 +34,7 @@ class HomeTestItemView(private val mContext: Context, private var homeEvent: IHo
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
test_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_test_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeTestTopItemView.kt
View file @
f1b324e6
...
...
@@ -11,7 +11,7 @@ import com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeTestItemBean
import
kotlinx.android.synthetic.xlzx.home_
module_
test_top_item_view.view.*
import
kotlinx.android.synthetic.xlzx.home_test_top_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -35,7 +35,7 @@ class HomeTestTopItemView(private val mContext: Context, private var homeEvent:
var
viewHeight
=
viewWidth
*
143
/
345
val
params
=
LinearLayout
.
LayoutParams
(
viewWidth
,
viewHeight
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
test_top_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_test_top_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeTestView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.HomeImpl
import
com.yidianling.home.event.IHomeEvent
import
com.yidianling.home.model.bean.HomeTestItemBean
import
kotlinx.android.synthetic.xlzx.home_
module_
test_view.view.*
import
kotlinx.android.synthetic.xlzx.home_test_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -29,7 +29,7 @@ class HomeTestView(private val mContext: Context, private var homeEvent: HomeImp
orientation
=
VERTICAL
val
params
=
LinearLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
test_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_test_view
,
this
)
homeModuleIntelligentViewHomeCommonTitleView
.
setTitle
(
"测试·分析"
)
homeModuleIntelligentViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
testMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/java/com/yidianling/home/ui/widget/HomeModuleCategoryView.kt
View file @
f1b324e6
...
...
@@ -16,7 +16,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
com.yidianling.home.ui.view.HomePagerBannerRealView
import
kotlinx.android.synthetic.xlzx.home_
module_
pager_banner_category_view.view.*
import
kotlinx.android.synthetic.xlzx.home_pager_banner_category_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -81,7 +81,7 @@ class HomeModuleCategoryView : FrameLayout {
* 界面初始化
*/
private
fun
initView
()
{
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
pager_banner_category_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
home_pager_banner_category_view
,
this
)
val
params
=
FrameLayout
.
LayoutParams
(
FrameLayout
.
LayoutParams
.
MATCH_PARENT
,
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
arc_bg.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_arc_bg.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
article_item_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_article_item_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
assuage_grief_item_user_type_v.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_user_type_v.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_follow.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_follow.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_comment.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_comment.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_warm.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_warm_has_zan.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm_has_zan.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_unfollow.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_assuage_grief_item_view_unfollow.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/banner_indicator_select.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
banner_indicator_select.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/banner_indicator_unselect.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
banner_indicator_unselect.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
banner_tip_select.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_banner_tip_select.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
banner_tip_unselect.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_banner_tip_unselect.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
category_bottom_real_img.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_category_bottom_real_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
comment_hot_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_comment_hot_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
common_more_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_common_more_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
confide_btn_bg.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_confide_btn_bg.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
confide_free_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_confide_free_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
confide_line_1.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_1.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
confide_line_2.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_2.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
confide_line_3.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_3.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
confide_line_4.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_confide_line_4.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/confide_play_state_1.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
confide_play_state_1.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/confide_play_state_2.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
confide_play_state_2.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/confide_play_state_3.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
confide_play_state_3.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
counselor.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_counselor.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/coupon_receiver.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
coupon_receiver.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/coupon_success.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
coupon_success.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
course_bt_bg.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_course_bt_bg.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
dcotor_bt_bg.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_dcotor_bt_bg.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
default_head.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_default_head.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
delete_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_delete_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
focus_en.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_focus_en.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
focus_un.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_focus_un.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
intelligent_first_pause_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_first_pause_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
intelligent_first_play_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_first_play_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
intelligent_item_listen_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_item_listen_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
intelligent_item_pause_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_item_pause_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
intelligent_item_play_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_intelligent_item_play_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
listen_bt_bg.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_listen_bt_bg.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
near_icon.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_near_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/node_module_common_title_back_line.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
node_module_common_title_back_line.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/pop_close.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
pop_close.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/publish_trend.png
→
m-home/src/xlzx/res/drawable-xhdpi/
home_
publish_trend.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
sale_arrow.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_sale_arrow.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
search.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_search.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable-xhdpi/home_
module_
test_bt_bg.png
→
m-home/src/xlzx/res/drawable-xhdpi/home_test_bt_bg.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/anim_confilde_play.xml
→
m-home/src/xlzx/res/drawable/
home_
anim_confilde_play.xml
View file @
f1b324e6
...
...
@@ -4,16 +4,16 @@
android:oneshot=
"false"
>
<item
android:drawable=
"@drawable/
confide_play_state_3"
android:drawable=
"@drawable/
home_confide_play_state_3"
android:duration=
"0"
/>
<item
android:drawable=
"@drawable/
confide_play_state_1"
android:drawable=
"@drawable/
home_confide_play_state_1"
android:duration=
"300"
/>
<item
android:drawable=
"@drawable/
confide_play_state_2"
android:drawable=
"@drawable/
home_confide_play_state_2"
android:duration=
"300"
/>
<item
android:drawable=
"@drawable/
confide_play_state_3"
android:drawable=
"@drawable/
home_confide_play_state_3"
android:duration=
"300"
/>
</animation-list>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
assuage_grief_item_view_follow_back.xml
→
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_follow_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
assuage_grief_item_view_hot_back.xml
→
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_hot_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
assuage_grief_item_view_image_num_back.xml
→
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_image_num_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
assuage_grief_item_view_tab_back.xml
→
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_tab_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
assuage_grief_stroke_line.xml
→
m-home/src/xlzx/res/drawable/home_assuage_grief_stroke_line.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/background_coupon_button.xml
→
m-home/src/xlzx/res/drawable/
home_
background_coupon_button.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/background_home_pager_top.xml
→
m-home/src/xlzx/res/drawable/
home_
background_home_pager_top.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/bg_home_module_input.xml
→
m-home/src/xlzx/res/drawable/
home_
bg_home_module_input.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_banner_first_img.png
→
m-home/src/xlzx/res/drawable/home_button_banner_first_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_banner_first_img_new.png
→
m-home/src/xlzx/res/drawable/home_button_banner_first_img_new.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_banner_fourth_img.png
→
m-home/src/xlzx/res/drawable/home_button_banner_fourth_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_banner_fourth_img_new.png
→
m-home/src/xlzx/res/drawable/home_button_banner_fourth_img_new.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_banner_second_img.png
→
m-home/src/xlzx/res/drawable/home_button_banner_second_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_banner_third_img.png
→
m-home/src/xlzx/res/drawable/home_button_banner_third_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_banner_third_img_new.png
→
m-home/src/xlzx/res/drawable/home_button_banner_third_img_new.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
button_first_free_bg.xml
→
m-home/src/xlzx/res/drawable/home_button_first_free_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
card_view_stroke.xml
→
m-home/src/xlzx/res/drawable/home_card_view_stroke.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
common_title_gradient_back.xml
→
m-home/src/xlzx/res/drawable/home_common_title_gradient_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
confide_expert_info_coupon_background.xml
→
m-home/src/xlzx/res/drawable/home_confide_expert_info_coupon_background.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
confide_free_icon_new.png
→
m-home/src/xlzx/res/drawable/home_confide_free_icon_new.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
consult_chat_bg.xml
→
m-home/src/xlzx/res/drawable/home_consult_chat_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
consult_chat_rest_bg.xml
→
m-home/src/xlzx/res/drawable/home_consult_chat_rest_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
consult_head_border.xml
→
m-home/src/xlzx/res/drawable/home_consult_head_border.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
consult_tab_shadow.xml
→
m-home/src/xlzx/res/drawable/home_consult_tab_shadow.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/icon_search.png
→
m-home/src/xlzx/res/drawable/
home_
icon_search.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/icon_search_phone.png
→
m-home/src/xlzx/res/drawable/
home_
icon_search_phone.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
image_default_back.xml
→
m-home/src/xlzx/res/drawable/home_image_default_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
intelligent_gradient_back.xml
→
m-home/src/xlzx/res/drawable/home_intelligent_gradient_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
intelligent_top_view_layout_back.xml
→
m-home/src/xlzx/res/drawable/home_intelligent_top_view_layout_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
intelligent_top_view_recommend_back.xml
→
m-home/src/xlzx/res/drawable/home_intelligent_top_view_recommend_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/music_png.png
→
m-home/src/xlzx/res/drawable/
home_
music_png.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
show_more_line.xml
→
m-home/src/xlzx/res/drawable/home_show_more_line.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
test_item_go_bg.xml
→
m-home/src/xlzx/res/drawable/home_test_item_go_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
test_top_view_layout_back.xml
→
m-home/src/xlzx/res/drawable/home_test_top_view_layout_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/drawable/home_
module_
view_shadow_bg.xml
→
m-home/src/xlzx/res/drawable/home_view_shadow_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
article_item_view.xml
→
m-home/src/xlzx/res/layout/home_article_item_view.xml
View file @
f1b324e6
...
...
@@ -20,7 +20,7 @@
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:id=
"@+id/homeModuleArticleItemViewImg"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
</android.support.v7.widget.CardView>
<TextView
...
...
@@ -68,7 +68,7 @@
android:id=
"@+id/homeModuleArticleItemViewIcon"
android:layout_width=
"@dimen/platform_dp_12"
android:layout_height=
"@dimen/platform_dp_12"
android:src=
"@drawable/home_
module_article_item_icon"
android:src=
"@drawable/home_
article_item_icon"
android:layout_marginTop=
"1dp"
android:layout_alignParentLeft=
"true"
/>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
article_view.xml
→
m-home/src/xlzx/res/layout/home_article_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
assuage_grief_image_more_five_item_view.xml
→
m-home/src/xlzx/res/layout/home_assuage_grief_image_more_five_item_view.xml
View file @
f1b324e6
...
...
@@ -20,7 +20,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"118"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
...
...
@@ -36,7 +36,7 @@
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"104"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
...
...
@@ -48,7 +48,7 @@
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"104"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
</LinearLayout>
</LinearLayout>
...
...
@@ -69,7 +69,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"118"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
...
...
@@ -84,7 +84,7 @@
android:scaleType=
"centerCrop"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefUnderFiveItemViewTag"
...
...
@@ -94,7 +94,7 @@
android:layout_alignParentRight=
"true"
android:layout_marginBottom=
"@dimen/platform_dp_5"
android:layout_marginRight=
"@dimen/platform_dp_5"
android:background=
"@drawable/home_
module_assuage_grief_item_view_image_num_back"
android:background=
"@drawable/home_
assuage_grief_item_view_image_num_back"
android:gravity=
"center"
tools:text=
"9图"
android:textColor=
"@color/platform_color_242424"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
assuage_grief_image_under_four_item_view.xml
→
m-home/src/xlzx/res/layout/home_assuage_grief_image_under_four_item_view.xml
View file @
f1b324e6
...
...
@@ -14,7 +14,7 @@
android:layout_weight=
"156"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"0dp"
android:layout_weight=
"2"
...
...
@@ -31,7 +31,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"88"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
...
...
@@ -47,7 +47,7 @@
android:scaleType=
"centerCrop"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefUnderFourthItemViewTag"
android:layout_width=
"30dp"
...
...
@@ -56,7 +56,7 @@
tools:text=
"9图"
android:textSize=
"@dimen/platform_dp_10"
android:textColor=
"@color/platform_color_242424"
android:background=
"@drawable/home_
module_assuage_grief_item_view_image_num_back"
android:background=
"@drawable/home_
assuage_grief_item_view_image_num_back"
android:layout_alignParentBottom=
"true"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"@dimen/platform_dp_5"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
assuage_grief_image_under_two_item_view.xml
→
m-home/src/xlzx/res/layout/home_assuage_grief_image_under_two_item_view.xml
View file @
f1b324e6
...
...
@@ -11,7 +11,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
</RelativeLayout>
</merge>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
assuage_grief_item_view.xml
→
m-home/src/xlzx/res/layout/home_assuage_grief_item_view.xml
View file @
f1b324e6
...
...
@@ -10,7 +10,7 @@
android:paddingTop=
"@dimen/platform_dp_18"
android:paddingLeft=
"@dimen/platform_dp_15"
android:paddingRight=
"@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_view_shadow_bg"
>
android:background=
"@drawable/home_
view_shadow_bg"
>
<RelativeLayout
android:layout_width=
"match_parent"
...
...
@@ -21,7 +21,7 @@
android:id=
"@+id/homeModuleAssuageGriefViewPersonCardView"
android:layout_width=
"38dp"
android:layout_height=
"38dp"
android:background=
"@drawable/home_
module_assuage_grief_stroke_line"
>
android:background=
"@drawable/home_
assuage_grief_stroke_line"
>
<android.support.v7.widget.CardView
android:layout_width=
"@dimen/platform_dp_36"
android:layout_height=
"@dimen/platform_dp_36"
...
...
@@ -74,7 +74,7 @@
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:src=
"@drawable/home_
module_focus_en"
android:src=
"@drawable/home_
focus_en"
android:layout_centerInParent=
"true"
/>
<ImageView
...
...
@@ -82,7 +82,7 @@
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:src=
"@drawable/home_
module_focus_un"
android:src=
"@drawable/home_
focus_un"
android:layout_centerInParent=
"true"
/>
</RelativeLayout>
...
...
@@ -123,13 +123,13 @@
android:layout_height=
"wrap_content"
android:paddingBottom=
"@dimen/platform_dp_12"
android:layout_marginTop=
"@dimen/platform_dp_16"
android:background=
"@drawable/home_
module_assuage_grief_item_view_tab_back"
>
android:background=
"@drawable/home_
assuage_grief_item_view_tab_back"
>
<ImageView
android:id=
"@+id/homeModuleAssuageGriefViewHotView"
android:layout_height=
"@dimen/platform_dp_14"
android:layout_width=
"@dimen/platform_dp_28"
android:src=
"@drawable/home_
module_comment_hot_icon"
/>
android:src=
"@drawable/home_
comment_hot_icon"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefViewHotViewComment"
...
...
@@ -179,11 +179,11 @@
android:paddingTop=
"@dimen/platform_dp_4"
android:paddingBottom=
"@dimen/platform_dp_4"
android:gravity=
"center_vertical"
android:background=
"@drawable/home_
module_assuage_grief_item_view_tab_back"
>
android:background=
"@drawable/home_
assuage_grief_item_view_tab_back"
>
<ImageView
android:layout_width=
"11.36dp"
android:layout_height=
"10.72dp"
android:src=
"@drawable/home_
module_assuage_grief_item_view_tab_icon"
/>
android:src=
"@drawable/home_
assuage_grief_item_view_tab_icon"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefViewTag"
android:layout_width=
"wrap_content"
...
...
@@ -200,7 +200,7 @@
<ImageView
android:layout_width=
"@dimen/platform_dp_18"
android:layout_height=
"@dimen/platform_dp_18"
android:src=
"@drawable/home_
module_assuage_grief_item_view_tab_comment"
/>
android:src=
"@drawable/home_
assuage_grief_item_view_tab_comment"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefViewCommentsCount"
android:layout_width=
"wrap_content"
...
...
@@ -227,7 +227,7 @@
android:id=
"@+id/homeModuleAssuageGriefViewZanState"
android:layout_width=
"@dimen/platform_dp_18"
android:layout_height=
"@dimen/platform_dp_18"
android:src=
"@drawable/home_
module_assuage_grief_item_view_tab_warm"
/>
android:src=
"@drawable/home_
assuage_grief_item_view_tab_warm"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefViewZanCount"
android:layout_width=
"wrap_content"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
assuage_grief_view.xml
→
m-home/src/xlzx/res/layout/home_assuage_grief_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
button_banner_view.xml
→
m-home/src/xlzx/res/layout/home_button_banner_view.xml
View file @
f1b324e6
...
...
@@ -32,7 +32,7 @@
android:layout_marginEnd=
"8dp"
android:layout_marginRight=
"8dp"
android:layout_weight=
"1"
android:background=
"@drawable/home_
module_dcotor_bt_bg"
android:background=
"@drawable/home_
dcotor_bt_bg"
android:gravity=
"center"
>
...
...
@@ -62,7 +62,7 @@
android:layout_marginEnd=
"8dp"
android:layout_marginRight=
"8dp"
android:layout_weight=
"1"
android:background=
"@drawable/home_
module_listen_bt_bg"
android:background=
"@drawable/home_
listen_bt_bg"
>
<RelativeLayout
...
...
@@ -73,7 +73,7 @@
android:paddingBottom=
"1dp"
android:paddingLeft=
"5dp"
android:paddingRight=
"5dp"
android:background=
"@drawable/home_
module_button_first_free_bg"
>
android:background=
"@drawable/home_
button_first_free_bg"
>
</RelativeLayout>
<LinearLayout
...
...
@@ -126,7 +126,7 @@
android:layout_marginEnd=
"8dp"
android:layout_marginRight=
"8dp"
android:layout_weight=
"1"
android:background=
"@drawable/home_
module_course_bt_bg"
android:background=
"@drawable/home_
course_bt_bg"
android:gravity=
"center"
android:orientation=
"vertical"
>
...
...
@@ -154,7 +154,7 @@
android:layout_width=
"0dp"
android:layout_height=
"78dp"
android:layout_weight=
"1"
android:background=
"@drawable/home_
module_test_bt_bg"
android:background=
"@drawable/home_
test_bt_bg"
android:gravity=
"center"
>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
common_title_view.xml
→
m-home/src/xlzx/res/layout/home_common_title_view.xml
View file @
f1b324e6
...
...
@@ -10,7 +10,7 @@
<View
android:layout_width=
"0dp"
android:layout_height=
"5dp"
android:background=
"@drawable/home_
module_common_title_gradient_back"
android:background=
"@drawable/home_
common_title_gradient_back"
app:layout_constraintLeft_toLeftOf=
"@+id/homeModuleCommonTitleViewTitle"
app:layout_constraintRight_toRightOf=
"@+id/homeModuleCommonTitleViewTitle"
app:layout_constraintBottom_toBottomOf=
"@+id/homeModuleCommonTitleViewTitle"
...
...
@@ -37,7 +37,7 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
android:layout_marginRight=
"@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_show_more_line"
>
android:background=
"@drawable/home_
show_more_line"
>
<TextView
android:layout_width=
"wrap_content"
...
...
@@ -51,7 +51,7 @@
<ImageView
android:layout_height=
"8dp"
android:layout_width=
"4dp"
android:src=
"@drawable/home_
module_sale_arrow"
android:src=
"@drawable/home_
sale_arrow"
android:layout_marginLeft=
"3dp"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
confide_expert_info_view.xml
→
m-home/src/xlzx/res/layout/home_confide_expert_info_view.xml
View file @
f1b324e6
...
...
@@ -19,7 +19,7 @@
android:layout_alignRight=
"@id/img_head"
android:layout_width=
"22dp"
android:layout_height=
"22dp"
android:src=
"@drawable/
anim_confilde_play"
android:src=
"@drawable/
home_anim_confilde_play"
android:layout_alignEnd=
"@id/img_head"
/>
<TextView
...
...
@@ -31,7 +31,7 @@
android:layout_marginTop=
"@dimen/platform_dp_13"
android:layout_marginEnd=
"@dimen/platform_dp_15"
android:gravity=
"center"
android:background=
"@drawable/home_
module_confide_line_1"
android:background=
"@drawable/home_
confide_line_1"
/>
<LinearLayout
...
...
@@ -61,7 +61,7 @@
android:layout_height=
"13dp"
android:layout_marginStart=
"6dp"
android:layout_marginLeft=
"3dp"
android:background=
"@drawable/home_
module_counselor"
/>
android:background=
"@drawable/home_
counselor"
/>
</LinearLayout>
...
...
@@ -184,7 +184,7 @@
android:layout_marginTop=
"3dp"
android:layout_marginBottom=
"2dp"
android:layout_toRightOf=
"@+id/tvOriginalPrice"
android:background=
"@drawable/home_
module_confide_expert_info_coupon_background"
android:background=
"@drawable/home_
confide_expert_info_coupon_background"
android:gravity=
"center"
android:paddingLeft=
"6dp"
android:paddingRight=
"6dp"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
confide_view.xml
→
m-home/src/xlzx/res/layout/home_confide_view.xml
View file @
f1b324e6
...
...
@@ -35,7 +35,7 @@
<View
android:layout_alignParentRight=
"true"
android:background=
"@drawable/home_
module_consult_head_border"
android:background=
"@drawable/home_
consult_head_border"
android:layout_width=
"20dp"
android:layout_height=
"match_parent"
/>
...
...
@@ -46,7 +46,7 @@
android:layout_height=
"10dp"
android:layout_marginLeft=
"20dp"
android:layout_marginRight=
"20dp"
android:src=
"@drawable/home_
module_sale_arrow"
/>
android:src=
"@drawable/home_
sale_arrow"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
consult_item_view.xml
→
m-home/src/xlzx/res/layout/home_consult_item_view.xml
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@
android:layout_marginLeft=
"@dimen/platform_dp_15"
android:layout_marginRight=
"@dimen/platform_dp_15"
android:layout_marginBottom=
"@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_view_shadow_bg"
android:background=
"@drawable/home_
view_shadow_bg"
android:padding=
"@dimen/platform_dp_15"
>
...
...
@@ -21,7 +21,7 @@
<View
android:layout_width=
"103dp"
android:layout_height=
"105dp"
android:background=
"@drawable/home_
module_consult_head_border"
android:background=
"@drawable/home_
consult_head_border"
/>
<android.support.v7.widget.CardView
android:layout_width=
"102dp"
...
...
@@ -68,7 +68,7 @@
android:layout_height=
"13dp"
android:layout_marginStart=
"6dp"
android:layout_marginLeft=
"3dp"
android:background=
"@drawable/home_
module_counselor"
/>
android:background=
"@drawable/home_
counselor"
/>
</LinearLayout>
...
...
@@ -172,7 +172,7 @@
android:layout_height=
"@dimen/platform_dp_22"
android:layout_alignBottom=
"@+id/tv_consult_price"
android:layout_alignParentRight=
"true"
android:background=
"@drawable/home_
module_consult_chat_bg"
android:background=
"@drawable/home_
consult_chat_bg"
android:gravity=
"center"
android:paddingLeft=
"17dp"
android:paddingTop=
"3dp"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
course_item_view.xml
→
m-home/src/xlzx/res/layout/home_course_item_view.xml
View file @
f1b324e6
...
...
@@ -9,7 +9,7 @@
android:layout_marginBottom=
"@dimen/platform_dp_13"
android:layout_marginTop=
"@dimen/platform_dp_3"
android:padding=
"@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_view_shadow_bg"
>
android:background=
"@drawable/home_
view_shadow_bg"
>
<android.support.v7.widget.CardView
android:id=
"@+id/homeModuleCourseItemViewImgCardView"
...
...
@@ -22,7 +22,7 @@
android:layout_width=
"127dp"
android:layout_height=
"69dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/home_
module_image_default_back"
/>
android:src=
"@drawable/home_
image_default_back"
/>
</android.support.v7.widget.CardView>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
course_view.xml
→
m-home/src/xlzx/res/layout/home_course_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/dialog_activity.xml
→
m-home/src/xlzx/res/layout/
home_
dialog_activity.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/dialog_coupon.xml
→
m-home/src/xlzx/res/layout/
home_
dialog_coupon.xml
View file @
f1b324e6
...
...
@@ -21,7 +21,7 @@
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"119dp"
android:background=
"@mipmap/
coupon_background"
android:background=
"@mipmap/
home_coupon_background"
android:gravity=
"center_horizontal|center_vertical"
android:orientation=
"vertical"
>
...
...
@@ -29,7 +29,7 @@
android:id=
"@+id/iv_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:src=
"@drawable/
coupon_receiver"
/>
tools:src=
"@drawable/
home_coupon_receiver"
/>
<TextView
android:id=
"@+id/tv_status"
...
...
@@ -48,7 +48,7 @@
android:layout_height=
"90dp"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"-16dp"
android:background=
"@mipmap/
cotent_backgroudn"
android:background=
"@mipmap/
home_cotent_backgroudn"
android:paddingLeft=
"14dp"
android:paddingRight=
"14dp"
android:paddingTop=
"16dp"
>
...
...
@@ -115,7 +115,7 @@
android:layout_height=
"42dp"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"30dp"
android:background=
"@drawable/
background_coupon_button"
android:background=
"@drawable/
home_background_coupon_button"
android:gravity=
"center"
android:textColor=
"@color/platform_white"
android:textSize=
"15sp"
...
...
@@ -131,6 +131,6 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginTop=
"37dp"
android:background=
"@drawable/
pop_close"
android:background=
"@drawable/
home_pop_close"
android:padding=
"10dp"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/dialog_guide_activity.xml
→
m-home/src/xlzx/res/layout/
home_
dialog_guide_activity.xml
View file @
f1b324e6
...
...
@@ -18,7 +18,7 @@
android:id=
"@+id/img_line"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@mipmap/
activity_guide"
android:src=
"@mipmap/
home_activity_guide"
app:layout_constraintTop_toBottomOf=
"@+id/img_activity"
app:layout_constraintLeft_toLeftOf=
"@+id/img_activity"
app:layout_constraintRight_toRightOf=
"@+id/img_activity"
/>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
footer_view.xml
→
m-home/src/xlzx/res/layout/home_footer_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/fragment_home_module.xml
→
m-home/src/xlzx/res/layout/
home_
fragment_home_module.xml
View file @
f1b324e6
...
...
@@ -12,7 +12,7 @@
android:id=
"@+id/container"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/
colorBg"
android:background=
"@color/
home_colorBg"
android:clipChildren=
"false"
android:clipToPadding=
"false"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
...
...
@@ -22,7 +22,7 @@
android:id=
"@+id/appbar_layout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/
colorBg"
android:background=
"@color/
home_colorBg"
android:clipChildren=
"false"
android:clipToPadding=
"false"
android:theme=
"@style/ThemeOverlay.AppCompat.Dark.ActionBar"
...
...
@@ -36,15 +36,15 @@
app:layout_scrollFlags=
"scroll|exitUntilCollapsed"
>
<include
layout=
"@layout/
layout_home_module_head_bg"
/>
<include
layout=
"@layout/
home_layout_home_module_head_bg"
/>
<include
layout=
"@layout/
layout_home_module_head_middle"
/>
layout=
"@layout/
home_layout_home_module_head_middle"
/>
<android.support.v7.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/home_
title_bar_height"
android:layout_height=
"@dimen/home_
home_title_bar_height"
android:alpha=
"0"
android:background=
"@android:color/white"
android:tag=
"toolbar"
...
...
@@ -52,14 +52,14 @@
app:layout_collapseMode=
"pin"
app:popupTheme=
"@style/Widget.AppCompat.Toolbar"
/>
<include
layout=
"@layout/
layout_home_module_toolbar"
/>
<include
layout=
"@layout/
home_layout_home_module_toolbar"
/>
</android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
<include
layout=
"@layout/
layout_home_module_content"
/>
<include
layout=
"@layout/
home_layout_home_module_content"
/>
<include
layout=
"@layout/
layout_home_module_input"
/>
<include
layout=
"@layout/
home_layout_home_module_input"
/>
</android.support.design.widget.CoordinatorLayout>
</android.support.v4.widget.SwipeRefreshLayout>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
intelligent_item_view.xml
→
m-home/src/xlzx/res/layout/home_intelligent_item_view.xml
View file @
f1b324e6
...
...
@@ -14,7 +14,7 @@
android:id=
"@+id/iv_fm_play"
android:layout_height=
"@dimen/platform_dp_22"
android:layout_width=
"@dimen/platform_dp_22"
android:src=
"@drawable/home_
module_intelligent_item_play_icon"
android:src=
"@drawable/home_
intelligent_item_play_icon"
android:layout_marginRight=
"@dimen/platform_dp_7"
/>
<TextView
...
...
@@ -43,7 +43,7 @@
<ImageView
android:layout_height=
"@dimen/platform_dp_11"
android:layout_width=
"@dimen/platform_dp_12"
android:src=
"@drawable/home_
module_intelligent_item_listen_icon"
android:src=
"@drawable/home_
intelligent_item_listen_icon"
android:layout_marginLeft=
"@dimen/platform_dp_4"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
intelligent_top_item_view.xml
→
m-home/src/xlzx/res/layout/home_intelligent_top_item_view.xml
View file @
f1b324e6
...
...
@@ -20,7 +20,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:id=
"@+id/homeModuleIntelligentTopViewImage"
android:background=
"@drawable/home_
module_image_default_back"
android:background=
"@drawable/home_
image_default_back"
android:scaleType=
"centerCrop"
/>
<LinearLayout
...
...
@@ -35,7 +35,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"55"
android:background=
"@drawable/home_
module_intelligent_gradient_back"
/>
android:background=
"@drawable/home_
intelligent_gradient_back"
/>
</LinearLayout>
</RelativeLayout>
...
...
@@ -67,7 +67,7 @@
android:gravity=
"center_vertical"
android:paddingLeft=
"@dimen/platform_dp_10"
android:paddingRight=
"@dimen/platform_dp_10"
android:background=
"@drawable/home_
module_intelligent_top_view_layout_back"
android:background=
"@drawable/home_
intelligent_top_view_layout_back"
android:layout_alignLeft=
"@+id/homeModuleIntelligentTopViewTitle"
android:layout_alignParentBottom=
"true"
android:layout_marginBottom=
"@dimen/platform_dp_14"
>
...
...
@@ -110,7 +110,7 @@
android:id=
"@+id/iv_play_fm"
android:layout_width=
"@dimen/platform_dp_36"
android:layout_height=
"@dimen/platform_dp_36"
android:src=
"@drawable/home_
module_intelligent_first_play_icon"
android:src=
"@drawable/home_
intelligent_first_play_icon"
android:layout_alignParentRight=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginRight=
"@dimen/platform_dp_14"
...
...
@@ -120,7 +120,7 @@
android:layout_width=
"@dimen/platform_dp_64"
android:layout_height=
"@dimen/platform_dp_20"
android:layout_alignParentRight=
"true"
android:background=
"@drawable/home_
module_intelligent_top_view_recommend_back"
>
android:background=
"@drawable/home_
intelligent_top_view_recommend_back"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
intelligent_view.xml
→
m-home/src/xlzx/res/layout/home_intelligent_view.xml
View file @
f1b324e6
...
...
@@ -17,7 +17,7 @@
android:layout_marginRight=
"@dimen/platform_dp_15"
android:layout_marginTop=
"@dimen/platform_dp_2"
android:layout_marginBottom=
"@dimen/platform_dp_20"
android:background=
"@drawable/home_
module_card_view_stroke"
android:background=
"@drawable/home_
card_view_stroke"
android:orientation=
"vertical"
></LinearLayout>
</merge>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/layout_home_module_content.xml
→
m-home/src/xlzx/res/layout/
home_
layout_home_module_content.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/layout_home_module_head_bg.xml
→
m-home/src/xlzx/res/layout/
home_
layout_home_module_head_bg.xml
View file @
f1b324e6
...
...
@@ -18,10 +18,10 @@
<com.ydl.ydlcommon.view.banner.Banner
android:id=
"@+id/banner_search"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/h
ead_bg_height"
android:layout_height=
"@dimen/h
ome_head_bg_height"
app:pa_indicator_different_width=
"14dp"
app:pa_indicator_drawable_selected=
"@drawable/home_
module_banner_tip_select"
app:pa_indicator_drawable_unselected=
"@drawable/home_
module_banner_tip_unselect"
app:pa_indicator_drawable_selected=
"@drawable/home_
banner_tip_select"
app:pa_indicator_drawable_unselected=
"@drawable/home_
banner_tip_unselect"
app:pa_indicator_height=
"5dp"
app:pa_indicator_margin=
"1.25dp"
app:pa_is_selected_same_unselected=
"false"
...
...
@@ -33,7 +33,7 @@
android:layout_alignBottom=
"@+id/banner_search"
android:layout_width=
"match_parent"
android:layout_height=
"16dp"
android:background=
"@drawable/home_
module_arc_bg"
/>
android:background=
"@drawable/home_
arc_bg"
/>
</RelativeLayout>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/layout_home_module_head_middle.xml
→
m-home/src/xlzx/res/layout/
home_
layout_home_module_head_middle.xml
View file @
f1b324e6
...
...
@@ -5,8 +5,8 @@
android:id=
"@+id/middle_but_layout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/h
ead_bg_height"
android:background=
"@color/
colorBg"
android:layout_marginTop=
"@dimen/h
ome_head_bg_height"
android:background=
"@color/
home_colorBg"
android:tag=
"middle_but_layout"
app:layout_collapseMode=
"parallax"
app:layout_collapseParallaxMultiplier=
"0.13"
>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/layout_home_module_input.xml
→
m-home/src/xlzx/res/layout/
home_
layout_home_module_input.xml
View file @
f1b324e6
...
...
@@ -29,7 +29,7 @@
android:id=
"@+id/view_search_input_bg"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/
bg_home_module_input"
android:background=
"@drawable/
home_bg_home_module_input"
android:tag=
"tag_search_input_bg"
/>
...
...
@@ -42,7 +42,7 @@
android:scaleType=
"centerCrop"
android:layout_centerVertical=
"true"
android:tag=
"tag_search_input_img"
android:src=
"@drawable/home_
module_search"
/>
android:src=
"@drawable/home_
search"
/>
<EditText
android:editable=
"false"
...
...
@@ -60,7 +60,7 @@
android:singleLine=
"true"
android:textColor=
"@color/platform_color_444444"
android:textColorHint=
"#999999"
android:textCursorDrawable=
"@color/
color_0CACF4"
android:textCursorDrawable=
"@color/
home_color_0CACF4"
android:tag=
"tag_search_input_edit"
android:textSize=
"12sp"
/>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/layout_home_module_toolbar.xml
→
m-home/src/xlzx/res/layout/
home_
layout_home_module_toolbar.xml
View file @
f1b324e6
...
...
@@ -13,7 +13,7 @@
<View
android:id=
"@+id/view_search_toolbar_bg"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/home_
title_bar_height"
android:layout_height=
"@dimen/home_
home_title_bar_height"
android:background=
"#FFDD33"
android:tag=
"toolbar_bg"
/>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
pager_banner_category_view.xml
→
m-home/src/xlzx/res/layout/home_pager_banner_category_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
pager_banner_view.xml
→
m-home/src/xlzx/res/layout/home_pager_banner_view.xml
View file @
f1b324e6
...
...
@@ -14,8 +14,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"180dp"
app:pa_indicator_different_width=
"14dp"
app:pa_indicator_drawable_selected=
"@drawable/home_
module_banner_tip_select"
app:pa_indicator_drawable_unselected=
"@drawable/home_
module_banner_tip_unselect"
app:pa_indicator_drawable_selected=
"@drawable/home_
banner_tip_select"
app:pa_indicator_drawable_unselected=
"@drawable/home_
banner_tip_unselect"
app:pa_indicator_height=
"5dp"
app:pa_indicator_margin=
"1.25dp"
app:pa_is_selected_same_unselected=
"false"
...
...
@@ -26,7 +26,7 @@
android:layout_alignBottom=
"@+id/homeModulePagerBannerViewBanner"
android:layout_width=
"match_parent"
android:layout_height=
"15dp"
android:background=
"@drawable/home_
module_arc_bg"
/>
android:background=
"@drawable/home_
arc_bg"
/>
</RelativeLayout>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
pager_banner_view_grid_view_item.xml
→
m-home/src/xlzx/res/layout/home_pager_banner_view_grid_view_item.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
real_view_in.xml
→
m-home/src/xlzx/res/layout/home_real_view_in.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
real_view_left.xml
→
m-home/src/xlzx/res/layout/home_real_view_left.xml
View file @
f1b324e6
...
...
@@ -13,7 +13,7 @@
android:layout_gravity=
"center_vertical"
android:layout_marginLeft=
"15dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/home_
module_near_icon"
/>
android:src=
"@drawable/home_
near_icon"
/>
<FrameLayout
android:id=
"@+id/homeModuleRealViewLeftFrameLayout"
...
...
@@ -26,6 +26,6 @@
android:layout_height=
"8dp"
android:layout_gravity=
"center_vertical"
android:layout_marginRight=
"15dp"
android:background=
"@drawable/home_
module_sale_arrow"
android:background=
"@drawable/home_
sale_arrow"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
real_view_out.xml
→
m-home/src/xlzx/res/layout/home_real_view_out.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
test_item_view.xml
→
m-home/src/xlzx/res/layout/home_test_item_view.xml
View file @
f1b324e6
...
...
@@ -28,7 +28,7 @@
android:id=
"@+id/iv_test_item"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
android:background=
"@drawable/home_
image_default_back"
android:scaleType=
"centerCrop"
/>
</android.support.v7.widget.CardView>
...
...
@@ -102,7 +102,7 @@
<TextView
android:layout_width=
"@dimen/platform_dp_32"
android:layout_height=
"@dimen/platform_dp_32"
android:background=
"@drawable/home_
module_test_item_go_bg"
android:background=
"@drawable/home_
test_item_go_bg"
android:gravity=
"center"
android:text=
"GO"
android:textSize=
"13sp"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
test_top_item_view.xml
→
m-home/src/xlzx/res/layout/home_test_top_item_view.xml
View file @
f1b324e6
...
...
@@ -21,7 +21,7 @@
android:id=
"@+id/homeModuleIntelligentTopViewImage"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
android:background=
"@drawable/home_
image_default_back"
android:scaleType=
"centerCrop"
/>
<LinearLayout
...
...
@@ -38,7 +38,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"55"
android:background=
"@drawable/home_
module_intelligent_gradient_back"
/>
android:background=
"@drawable/home_
intelligent_gradient_back"
/>
</LinearLayout>
</RelativeLayout>
...
...
@@ -69,7 +69,7 @@
android:layout_alignLeft=
"@+id/homeModuleIntelligentTopViewTitle"
android:layout_alignParentBottom=
"true"
android:layout_marginBottom=
"@dimen/platform_dp_14"
android:background=
"@drawable/home_
module_test_top_view_layout_back"
android:background=
"@drawable/home_
test_top_view_layout_back"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
android:paddingLeft=
"@dimen/platform_dp_10"
...
...
@@ -117,7 +117,7 @@
android:layout_width=
"@dimen/platform_dp_64"
android:layout_height=
"@dimen/platform_dp_20"
android:layout_alignParentRight=
"true"
android:background=
"@drawable/home_
module_intelligent_top_view_recommend_back"
>
android:background=
"@drawable/home_
intelligent_top_view_recommend_back"
>
<TextView
android:layout_width=
"wrap_content"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/layout/home_
module_
test_view.xml
→
m-home/src/xlzx/res/layout/home_test_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/mipmap-xhdpi/activity_guide.png
→
m-home/src/xlzx/res/mipmap-xhdpi/
home_
activity_guide.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/mipmap-xhdpi/cotent_backgroudn.png
→
m-home/src/xlzx/res/mipmap-xhdpi/
home_
cotent_backgroudn.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/mipmap-xhdpi/coupon_background.png
→
m-home/src/xlzx/res/mipmap-xhdpi/
home_
coupon_background.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/values/colors.xml
View file @
f1b324e6
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"home_
module_category_view_test_line"
>
#F0F0F0
</color>
<color
name=
"
colorBg"
>
#f5f5f5
</color>
<color
name=
"
color_0CACF4"
>
#0CACF4
</color>
<color
name=
"home_
category_view_test_line"
>
#F0F0F0
</color>
<color
name=
"
home_colorBg"
>
#f5f5f5
</color>
<color
name=
"
home_color_0CACF4"
>
#0CACF4
</color>
</resources>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/values/dimens.xml
View file @
f1b324e6
<resources>
<dimen
name=
"
dp_60"
>
60dp
</dimen>
<dimen
name=
"home_
title_bar_height"
>
48dp
</dimen>
<dimen
name=
"
bg_height"
>
300dp
</dimen>
<dimen
name=
"
text_margin"
>
16dp
</dimen>
<dimen
name=
"h
ead_bg_height"
>
180dp
</dimen>
<dimen
name=
"
search_input_margin"
>
160dp
</dimen>
<dimen
name=
"
home_dp_60"
>
60dp
</dimen>
<dimen
name=
"home_
home_title_bar_height"
>
48dp
</dimen>
<dimen
name=
"
home_bg_height"
>
300dp
</dimen>
<dimen
name=
"
home_text_margin"
>
16dp
</dimen>
<dimen
name=
"h
ome_head_bg_height"
>
180dp
</dimen>
<dimen
name=
"
home_search_input_margin"
>
160dp
</dimen>
<!--分割线粗细-->
<dimen
name=
"home_
card_corner_radius"
>
10dp
</dimen>
<dimen
name=
"home_
card_elevation"
>
2dp
</dimen>
<dimen
name=
"home_
home_card_corner_radius"
>
10dp
</dimen>
<dimen
name=
"home_
home_card_elevation"
>
2dp
</dimen>
</resources>
This diff is collapsed.
Click to expand it.
m-home/src/xlzx/res/values/strings.xml
View file @
f1b324e6
<resources>
<string
name=
"
app_name"
>
home-module
</string>
<string
name=
"home_
module_real_test_just"
>
刚刚
</string>
<string
name=
"home_
module_real_test"
>
测试了
</string>
<string
name=
"home_
module_real_appoint"
>
预约了
</string>
<string
name=
"
home_app_name"
>
home-module
</string>
<string
name=
"home_
real_test_just"
>
刚刚
</string>
<string
name=
"home_
real_test"
>
测试了
</string>
<string
name=
"home_
real_appoint"
>
预约了
</string>
</resources>
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
View file @
f1b324e6
...
...
@@ -154,7 +154,7 @@ class YdlHomeAdapter(private val mContext: Context,
}
//底部提示语模块
else
->
{
val
view
=
mInflater
.
inflate
(
R
.
layout
.
home_
module_
footer_view
,
parent
,
false
)
val
view
=
mInflater
.
inflate
(
R
.
layout
.
home_footer_view
,
parent
,
false
)
return
FooterViewViewHolder
(
view
)
}
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/dialog/ActivityDialog.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import com.ydl.webview.NewH5Activity
import
com.ydl.ydl_image.module.GlideApp
import
com.ydl.ydl_router.manager.YDLRouterManager
import
com.yidianling.home.R
import
kotlinx.android.synthetic.ydl.dialog_activity.*
import
kotlinx.android.synthetic.ydl.
home_
dialog_activity.*
import
java.lang.ref.WeakReference
/**
...
...
@@ -36,7 +36,7 @@ class ActivityDialog : Dialog {
window
.
setBackgroundDrawableResource
(
android
.
R
.
color
.
transparent
)
setContentView
(
R
.
layout
.
dialog_activity
)
setContentView
(
R
.
layout
.
home_
dialog_activity
)
initView
()
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/dialog/ActivityGuideDialog.kt
View file @
f1b324e6
...
...
@@ -6,7 +6,7 @@ import android.os.Bundle
import
android.view.Window
import
com.yidianling.home.R
import
com.ydl.ydl_image.module.GlideApp
import
kotlinx.android.synthetic.ydl.dialog_guide_activity.*
import
kotlinx.android.synthetic.ydl.
home_
dialog_guide_activity.*
import
java.util.*
/**
...
...
@@ -30,7 +30,7 @@ class ActivityGuideDialog : Dialog {
requestWindowFeature
(
Window
.
FEATURE_NO_TITLE
)
window
.
setBackgroundDrawableResource
(
android
.
R
.
color
.
transparent
)
setContentView
(
R
.
layout
.
dialog_guide_activity
)
setContentView
(
R
.
layout
.
home_
dialog_guide_activity
)
initView
()
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
f1b324e6
...
...
@@ -39,7 +39,7 @@ import com.yidianling.home.ui.view.CouponDialog
import
com.yidianling.home.ui.utils.Double11ActivityManagerUtils
import
com.yidianling.home.utils.HomeAnimUtils
import
com.yidianling.user.api.service.IUserService
import
kotlinx.android.synthetic.ydl.home_
module_
fragment.*
import
kotlinx.android.synthetic.ydl.home_fragment.*
/**
...
...
@@ -85,7 +85,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
private
var
searchContent
:
String
=
"搜索话题、咨询师姓名"
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
home_
module_
fragment
return
R
.
layout
.
home_fragment
}
override
fun
initDataAndEvent
()
{
...
...
@@ -159,7 +159,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
private
fun
initStatus
()
{
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
KITKAT
)
{
//4.4以下不支持状态栏变色
val
statusBarHeight
=
StatusBarUtils
.
getStatusBarHeight
(
activity
)
var
homeTitleBarHeight
=
resources
.
getDimension
(
R
.
dimen
.
home_title_bar_height
)
var
homeTitleBarHeight
=
resources
.
getDimension
(
R
.
dimen
.
home_
home_
title_bar_height
)
val
lp1
=
view_rl_top_bg
.
layoutParams
as
RelativeLayout
.
LayoutParams
lp1
.
height
=
(
homeTitleBarHeight
+
statusBarHeight
).
toInt
()
view_rl_top_bg
.
layoutParams
=
lp1
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/CouponDialog.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.os.Bundle
import
android.text.TextUtils
import
com.yidianling.home.R
import
com.yidianling.home.model.bean.CouponBean
import
kotlinx.android.synthetic.ydl.dialog_coupon.*
import
kotlinx.android.synthetic.ydl.
home_
dialog_coupon.*
/**
* @author jiucheng
...
...
@@ -43,7 +43,7 @@ class CouponDialog : Dialog {
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
setContentView
(
R
.
layout
.
dialog_coupon
)
setContentView
(
R
.
layout
.
home_
dialog_coupon
)
setCanceledOnTouchOutside
(
false
)
window
.
setBackgroundDrawable
(
ColorDrawable
())
if
(
couponBean
!=
null
)
{
...
...
@@ -86,7 +86,7 @@ class CouponDialog : Dialog {
title
=
"获得新优惠券"
}
ensureText
=
"立即领取"
iamge
=
R
.
drawable
.
coupon_receiver
iamge
=
R
.
drawable
.
home_
coupon_receiver
}
STATUS_GET
->
{
if
(
list
!!
.
size
>
1
)
{
...
...
@@ -95,7 +95,7 @@ class CouponDialog : Dialog {
title
=
"恭喜您,领取成功"
}
ensureText
=
"查看我的卡券"
iamge
=
R
.
drawable
.
coupon_success
iamge
=
R
.
drawable
.
home_
coupon_success
}
}
iv_title
.
setImageResource
(
iamge
)
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeArticleItemView.kt
View file @
f1b324e6
...
...
@@ -10,7 +10,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.event.IHomeEvent
import
com.yidianling.home.model.bean.HomeArticleBean
import
kotlinx.android.synthetic.ydl.home_
module_
article_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_article_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -32,7 +32,7 @@ class HomeArticleItemView(private val mContext: Context, private var homeEvent:
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
article_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_article_item_view
,
this
)
}
fun
updateData
(
bean
:
HomeArticleBean
.
Bean
?)
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeArticleView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeArticleBean
import
kotlinx.android.synthetic.ydl.home_
module_
article_view.view.*
import
kotlinx.android.synthetic.ydl.home_article_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -29,7 +29,7 @@ class HomeArticleView(private val mContext: Context, private var homeEvent: IHom
orientation
=
VERTICAL
val
params
=
RecyclerView
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
article_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_article_view
,
this
)
homeModuleArticleViewHomeCommonTitleView
.
setTitle
(
"文章·阅读"
)
homeModuleArticleViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
articleMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefImageItemView.kt
View file @
f1b324e6
...
...
@@ -8,9 +8,9 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.common.tools.RxDeviceTool
import
kotlinx.android.synthetic.ydl.home_
module_
assuage_grief_image_more_five_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_
module_
assuage_grief_image_under_four_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_
module_
assuage_grief_image_under_two_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_assuage_grief_image_more_five_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_assuage_grief_image_under_four_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_assuage_grief_image_under_two_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -38,7 +38,7 @@ class HomeAssuageGriefImageItemView(private val mContext: Context, private val u
params
=
LinearLayout
.
LayoutParams
(
viewWidth
,
viewHeight
)
params
.
bottomMargin
=
(
20
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
()
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_image_under_two_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_assuage_grief_image_under_two_item_view
,
this
)
YDLImageCacheManager
.
showImage
(
mContext
,
urlList
[
0
],
homeModuleAssuageGriefUnderTwoItemViewImg
)
...
...
@@ -47,7 +47,7 @@ class HomeAssuageGriefImageItemView(private val mContext: Context, private val u
params
=
LinearLayout
.
LayoutParams
(
viewWidth
,
viewHeight
)
params
.
bottomMargin
=
(
20
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
()
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_image_under_four_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_assuage_grief_image_under_four_item_view
,
this
)
YDLImageCacheManager
.
showImage
(
mContext
,
urlList
[
0
],
homeModuleAssuageGriefUnderFourItemViewFirstImg
)
YDLImageCacheManager
.
showImage
(
mContext
,
urlList
[
1
],
homeModuleAssuageGriefUnderFourItemViewSecondImg
)
...
...
@@ -60,7 +60,7 @@ class HomeAssuageGriefImageItemView(private val mContext: Context, private val u
params
=
LinearLayout
.
LayoutParams
(
viewWidth
,
viewHeight
)
params
.
bottomMargin
=
(
20
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
()
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_image_more_five_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_assuage_grief_image_more_five_item_view
,
this
)
YDLImageCacheManager
.
showImage
(
mContext
,
urlList
[
0
],
homeModuleAssuageGriefUnderFiveItemViewFirstImg
)
YDLImageCacheManager
.
showImage
(
mContext
,
urlList
[
1
],
homeModuleAssuageGriefUnderFiveItemViewSecondImg
)
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
View file @
f1b324e6
...
...
@@ -23,7 +23,7 @@ import com.ydl.ydlcommon.utils.Utils
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
import
com.yidianling.user.api.service.IUserService
import
kotlinx.android.synthetic.ydl.home_
module_
assuage_grief_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_assuage_grief_item_view.view.*
/**
...
...
@@ -49,7 +49,7 @@ class HomeAssuageGriefItemView(private val mContext: Context, private var homeEv
,
(
15
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
()
,
(
16
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
())
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_assuage_grief_item_view
,
this
)
}
...
...
@@ -199,7 +199,7 @@ class HomeAssuageGriefItemView(private val mContext: Context, private var homeEv
// userType为2 ,专家
if
(
commentBean
.
userType
==
2
)
{
setImage
(
mContext
,
homeModuleAssuageGriefViewHotViewComment
,
"vip"
,
R
.
drawable
.
home_
module_
assuage_grief_item_user_type_v
,
R
.
drawable
.
home_assuage_grief_item_user_type_v
,
RxImageTool
.
dp2px
(
13f
),
RxImageTool
.
dp2px
(
13f
))
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefView.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeAskBean
import
kotlinx.android.synthetic.ydl.home_
module_
assuage_grief_view.view.*
import
kotlinx.android.synthetic.ydl.home_assuage_grief_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -28,7 +28,7 @@ class HomeAssuageGriefView(private val mContext: Context, private var homeEvent:
orientation
=
VERTICAL
val
params
=
LinearLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
assuage_grief_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_assuage_grief_view
,
this
)
homeModuleAssuageGriefViewHomeCommonTitleView
.
setTitle
(
"解忧·问答"
)
homeModuleAssuageGriefViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
askMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeButtonBannerView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.common.tools.RxDeviceTool
import
kotlinx.android.synthetic.ydl.home_
module_
button_banner_view.view.*
import
kotlinx.android.synthetic.ydl.home_button_banner_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -28,7 +28,7 @@ class HomeButtonBannerView(private val mContext: Context, private var homeEvent:
private
fun
initView
()
{
val
params
=
RecyclerView
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
button_banner_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_button_banner_view
,
this
)
initButtonView
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCategoryContainer.kt
View file @
f1b324e6
...
...
@@ -12,7 +12,7 @@ import com.yidianling.home.adapter.HomeCategoryAdapter
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
category_container.view.*
import
kotlinx.android.synthetic.ydl.home_category_container.view.*
/**
...
...
@@ -24,8 +24,8 @@ class HomeCategoryContainer(private val mContext: Context, private var homeEvent
private
var
mHomeCategoryAdapter
:
HomeCategoryAdapter
?
=
null
private
var
indicatorImages
:
MutableList
<
ImageView
>?
=
ArrayList
()
private
var
mIndicatorSelectedResId
=
R
.
drawable
.
home_
module_
category_tip_select
private
var
mIndicatorUnselectedResId
=
R
.
drawable
.
home_
module_
category_tip_unselect
private
var
mIndicatorSelectedResId
=
R
.
drawable
.
home_category_tip_select
private
var
mIndicatorUnselectedResId
=
R
.
drawable
.
home_category_tip_unselect
private
var
lastPosition
=
0
private
var
count
=
0
...
...
@@ -43,7 +43,7 @@ class HomeCategoryContainer(private val mContext: Context, private var homeEvent
}
private
fun
initView
()
{
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
category_container
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_category_container
,
this
)
initViewPager
()
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCommonTitleView.kt
View file @
f1b324e6
...
...
@@ -5,7 +5,7 @@ import android.support.constraint.ConstraintLayout
import
android.util.AttributeSet
import
android.view.View
import
com.yidianling.home.R
import
kotlinx.android.synthetic.ydl.home_
module_
common_title_view.view.*
import
kotlinx.android.synthetic.ydl.home_common_title_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -21,7 +21,7 @@ class HomeCommonTitleView(private val mContext: Context, private val attributeSe
}
private
fun
initView
()
{
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
common_title_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_common_title_view
,
this
)
}
fun
setTitle
(
title
:
String
)
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConfideExpertInfoView.kt
View file @
f1b324e6
...
...
@@ -13,7 +13,7 @@ import com.yidianling.home.model.bean.HomeConfideBean
import
com.ydl.ydl_image.config.SimpleImageOpConfiger
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
confide_expert_info_view.view.*
import
kotlinx.android.synthetic.ydl.home_confide_expert_info_view.view.*
/**
* @author jiucheng
...
...
@@ -34,7 +34,7 @@ class HomeConfideExpertInfoView(private var mContext: Context, private var homeE
private
fun
initView
()
{
var
params
=
FrameLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
confide_expert_info_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
home_confide_expert_info_view
,
this
)
}
fun
setData
(
bean
:
HomeConfideBean
.
BodyBean
?,
position
:
Int
,
isLast
:
Boolean
)
{
...
...
@@ -114,16 +114,16 @@ class HomeConfideExpertInfoView(private var mContext: Context, private var homeE
private
fun
setConfideButton
(
bodyBean
:
HomeConfideBean
.
BodyBean
)
{
when
(
bodyBean
.
confideLine
)
{
//1在线 2离线 3通话中 4继续倾诉
1
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_1
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_1
)
}
2
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_2
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_2
)
}
3
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_3
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_3
)
}
4
->
{
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_
module_
confide_line_4
)
tv_confide
.
setBackgroundResource
(
R
.
drawable
.
home_confide_line_4
)
}
}
tv_confide
.
setOnClickListener
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConfideView.kt
View file @
f1b324e6
...
...
@@ -15,7 +15,7 @@ import com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeConfideBean
import
com.yidianling.home.model.bean.HomeHeaderBean
import
com.yidianling.common.tools.LogUtil
import
kotlinx.android.synthetic.ydl.home_
module_
confide_view.view.*
import
kotlinx.android.synthetic.ydl.home_confide_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -43,7 +43,7 @@ class HomeConfideView(private val mContext: Context, private var homeEvent: IHom
val
params
=
RecyclerView
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
orientation
=
VERTICAL
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
confide_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_confide_view
,
this
)
homeModuleConfideViewHomeCommonTitleView
.
setTitle
(
"倾诉·排解"
)
homeModuleConfideViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
confideMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
f1b324e6
...
...
@@ -13,7 +13,7 @@ import com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.ydl.ydlcommon.utils.StringUtils
import
com.ydl.ydlcommon.utils.URLUtils
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
consult_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_consult_item_view.view.*
/**
* @author jiucheng
...
...
@@ -34,7 +34,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
private
fun
initView
()
{
val
params
=
FrameLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
consult_item_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
home_consult_item_view
,
this
)
}
fun
setData
(
bean
:
HomeConsultBean
.
ListBean
?,
position
:
Int
,
isLast
:
Boolean
,
cateId
:
String
?)
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultView.kt
View file @
f1b324e6
...
...
@@ -15,7 +15,7 @@ import com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeConsultBean
import
com.yidianling.home.model.bean.HomeHeaderBean
import
com.yidianling.common.tools.LogUtil
import
kotlinx.android.synthetic.ydl.home_
module_
confide_view.view.*
import
kotlinx.android.synthetic.ydl.home_confide_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -48,7 +48,7 @@ class HomeConsultView(private val mContext: Context, private var homeEvent: IHom
val
params
=
RecyclerView
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
orientation
=
VERTICAL
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
confide_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_confide_view
,
this
)
homeModuleConfideViewHomeCommonTitleView
.
setTitle
(
"咨询·理解"
)
homeModuleConfideViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
consultMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCourseItemView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeCourseBean
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
kotlinx.android.synthetic.ydl.home_
module_
course_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_course_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -26,7 +26,7 @@ class HomeCourseItemView(private val mContext: Context, private var homeEvent: I
private
fun
initView
()
{
val
params
=
RelativeLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
course_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_course_item_view
,
this
)
}
/**
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeCourseView.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeCourseBean
import
kotlinx.android.synthetic.ydl.home_
module_
course_view.view.*
import
kotlinx.android.synthetic.ydl.home_course_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -28,7 +28,7 @@ class HomeCourseView(private val mContext: Context, private var homeEvent: IHome
orientation
=
VERTICAL
val
params
=
LinearLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
course_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_course_view
,
this
)
homeModuleCourseViewHomeCommonTitleView
.
setTitle
(
"课程·成长"
)
homeModuleCourseViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
courseMreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeIntelligentItemView.kt
View file @
f1b324e6
...
...
@@ -8,7 +8,7 @@ import com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeFMBean
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
intelligent_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_intelligent_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -29,7 +29,7 @@ class HomeIntelligentItemView(private val mContext: Context, private var homeEve
orientation
=
VERTICAL
params
=
LinearLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
intelligent_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_intelligent_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeIntelligentTopItemView.kt
View file @
f1b324e6
...
...
@@ -11,7 +11,7 @@ import com.ydl.ydl_image.config.SimpleImageOpConfiger
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
intelligent_top_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_intelligent_top_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -34,7 +34,7 @@ class HomeIntelligentTopItemView(private val mContext: Context, private var home
var
viewHeight
=
viewWidth
*
143
/
345
val
params
=
LinearLayout
.
LayoutParams
(
viewWidth
,
viewHeight
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
intelligent_top_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_intelligent_top_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeIntelligentView.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeFMBean
import
kotlinx.android.synthetic.ydl.home_
module_
intelligent_view.view.*
import
kotlinx.android.synthetic.ydl.home_intelligent_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -28,7 +28,7 @@ class HomeIntelligentView(private val mContext: Context, private var homeEvent:
orientation
=
VERTICAL
val
params
=
LinearLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
intelligent_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_intelligent_view
,
this
)
homeModuleIntelligentViewHomeCommonTitleView
.
setTitle
(
"心灵·电台"
)
homeModuleIntelligentViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
fmMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeMuseView.kt
View file @
f1b324e6
...
...
@@ -10,7 +10,7 @@ import com.google.gson.Gson
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeEvent
import
com.yidianling.home.model.bean.MuseModuleBean
import
kotlinx.android.synthetic.ydl.home_m
odule_m
use_view.view.*
import
kotlinx.android.synthetic.ydl.home_muse_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -36,7 +36,7 @@ class HomeMuseView(private val mContext: Context, private var homeEvent: IHomeEv
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_m
odule_m
use_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_muse_view
,
this
)
homeModuleMuseViewHomeCommonTitleView
.
setTitle
(
"助眠·冥想"
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomePagerBannerCategoryItemView.kt
View file @
f1b324e6
...
...
@@ -15,7 +15,7 @@ import com.yidianling.home.model.bean.HomeHeaderBean
import
com.ydl.ydl_image.module.GlideApp
import
com.ydl.ydlcommon.utils.ScreenUtil
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
pager_banner_category_view.view.*
import
kotlinx.android.synthetic.ydl.home_pager_banner_category_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -80,7 +80,7 @@ class HomePagerBannerCategoryItemView(mContext: Context, homeEvent: IHomeBaseEve
* 界面初始化
*/
private
fun
initView
()
{
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
pager_banner_category_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
home_pager_banner_category_view
,
this
)
val
params
=
FrameLayout
.
LayoutParams
(
FrameLayout
.
LayoutParams
.
MATCH_PARENT
,
FrameLayout
.
LayoutParams
.
WRAP_CONTENT
)
// params.topMargin = ScreenUtil.screenHeight * (356f / 750f).toInt()
layoutParams
=
params
...
...
@@ -242,7 +242,7 @@ class HomePagerBannerCategoryItemView(mContext: Context, homeEvent: IHomeBaseEve
lineParam
.
rightMargin
=
dp15
lineParam
.
topMargin
=
multiple
*
(
imageViewWidth
+
dp8
+
textViewHeight
)
+
dp8
lineView
=
View
(
context
)
lineView
!!
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
home_
module_
category_view_test_line
))
lineView
!!
.
setBackgroundColor
(
resources
.
getColor
(
R
.
color
.
home_category_view_test_line
))
lineView
!!
.
layoutParams
=
lineParam
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomePagerBannerRealView.kt
View file @
f1b324e6
...
...
@@ -15,9 +15,9 @@ import com.yidianling.consultant.constants.HomeBIConstants
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
kotlinx.android.synthetic.ydl.home_
module_
real_view_in.view.*
import
kotlinx.android.synthetic.ydl.home_
module_
real_view_left.view.*
import
kotlinx.android.synthetic.ydl.home_
module_
real_view_out.view.*
import
kotlinx.android.synthetic.ydl.home_real_view_in.view.*
import
kotlinx.android.synthetic.ydl.home_real_view_left.view.*
import
kotlinx.android.synthetic.ydl.home_real_view_out.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -74,9 +74,9 @@ class HomePagerBannerRealView(mContext : Context,homeEvent : IHomeBaseEvent) : L
private
fun
initView
()
{
orientation
=
HORIZONTAL
var
params
=
ViewGroup
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
real_view_left
,
this
)
view_out
=
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
real_view_out
,
null
)
view_in
=
View
.
inflate
(
context
,
R
.
layout
.
home_
module_
real_view_in
,
null
)
View
.
inflate
(
context
,
R
.
layout
.
home_real_view_left
,
this
)
view_out
=
View
.
inflate
(
context
,
R
.
layout
.
home_real_view_out
,
null
)
view_in
=
View
.
inflate
(
context
,
R
.
layout
.
home_real_view_in
,
null
)
homeModuleRealViewLeftFrameLayout
.
addView
(
view_out
)
homeModuleRealViewLeftFrameLayout
.
addView
(
view_in
)
layoutParams
=
params
...
...
@@ -185,7 +185,7 @@ class HomePagerBannerRealView(mContext : Context,homeEvent : IHomeBaseEvent) : L
nameBuffer
.
append
(
bean
?.
contentBefore
)
nameBuffer
.
append
(
" "
)
nameBuffer
.
append
(
bean
?.
nickName
)
nameBuffer
.
append
(
resources
.
getString
(
R
.
string
.
home_
module_
real_appoint
))
nameBuffer
.
append
(
resources
.
getString
(
R
.
string
.
home_real_appoint
))
return
nameBuffer
.
toString
()
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomePagerBannerView.kt
View file @
f1b324e6
...
...
@@ -12,7 +12,7 @@ import com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeHeaderBean
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
pager_banner_view.view.*
import
kotlinx.android.synthetic.ydl.home_pager_banner_view.view.*
/**
...
...
@@ -38,7 +38,7 @@ class HomePagerBannerView(private val mContext: Context, private var homeEvent:
var
screenWidth
=
RxDeviceTool
.
getScreenWidth
(
mContext
)
val
params
=
RelativeLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
pager_banner_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_pager_banner_view
,
this
)
initBannerLayout
()
// val addLayoutParams = RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
...
...
@@ -114,7 +114,7 @@ class HomePagerBannerView(private val mContext: Context, private var homeEvent:
mImageViews
.
add
(
item
.
imageUrl
!!
)
}
}
homeModulePagerBannerViewBanner
.
setImageLoader
(
GlideImageLoader
(
R
.
drawable
.
home_
module_
image_default_back
)).
setImages
(
mImageViews
).
start
()
homeModulePagerBannerViewBanner
.
setImageLoader
(
GlideImageLoader
(
R
.
drawable
.
home_image_default_back
)).
setImages
(
mImageViews
).
start
()
homeModulePagerBannerViewBanner
.
setOnBannerListener
{
if
(
it
<
cacheList
?.
size
)
{
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeTestItemView.kt
View file @
f1b324e6
...
...
@@ -9,7 +9,7 @@ import com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeTestItemBean
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
test_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_test_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -30,7 +30,7 @@ class HomeTestItemView(private val mContext: Context, private var homeEvent: IHo
orientation
=
VERTICAL
params
=
LinearLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
test_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_test_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeTestTopItemView.kt
View file @
f1b324e6
...
...
@@ -11,7 +11,7 @@ import com.ydl.ydl_image.config.SimpleImageOpConfiger
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_
module_
test_top_item_view.view.*
import
kotlinx.android.synthetic.ydl.home_test_top_item_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -34,7 +34,7 @@ class HomeTestTopItemView(private val mContext: Context, private var homeEvent:
var
viewHeight
=
viewWidth
*
143
/
345
val
params
=
LinearLayout
.
LayoutParams
(
viewWidth
,
viewHeight
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
test_top_item_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_test_top_item_view
,
this
)
}
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeTestView.kt
View file @
f1b324e6
...
...
@@ -7,7 +7,7 @@ import android.widget.LinearLayout
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeTestItemBean
import
kotlinx.android.synthetic.ydl.home_
module_
test_view.view.*
import
kotlinx.android.synthetic.ydl.home_test_view.view.*
/**
* @author <a href="https://www.jianshu.com/u/c1e5310dd724">xujian</a>
...
...
@@ -28,7 +28,7 @@ class HomeTestView(private val mContext: Context, private var homeEvent: IHomeBa
orientation
=
VERTICAL
val
params
=
LinearLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
MATCH_PARENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
layoutParams
=
params
View
.
inflate
(
mContext
,
R
.
layout
.
home_
module_
test_view
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
home_test_view
,
this
)
homeModuleIntelligentViewHomeCommonTitleView
.
setTitle
(
"测试·分析"
)
homeModuleIntelligentViewHomeCommonTitleView
.
setOnClickListener
{
homeEvent
?.
testMoreClick
()
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
article_item_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_article_item_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
assuage_grief_item_user_type_v.png
→
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_user_type_v.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_follow.png
→
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_follow.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_comment.png
→
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_comment.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_warm.png
→
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_tab_warm_has_zan.png
→
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_tab_warm_has_zan.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
assuage_grief_item_view_unfollow.png
→
m-home/src/ydl/res/drawable-xhdpi/home_assuage_grief_item_view_unfollow.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
back_top.png
→
m-home/src/ydl/res/drawable-xhdpi/home_back_top.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
banner_tip_select.png
→
m-home/src/ydl/res/drawable-xhdpi/home_banner_tip_select.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
banner_tip_unselect.png
→
m-home/src/ydl/res/drawable-xhdpi/home_banner_tip_unselect.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
button_banner_first_img_new.png
→
m-home/src/ydl/res/drawable-xhdpi/home_button_banner_first_img_new.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
button_banner_fourth_img_new.png
→
m-home/src/ydl/res/drawable-xhdpi/home_button_banner_fourth_img_new.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
button_banner_third_img_new.png
→
m-home/src/ydl/res/drawable-xhdpi/home_button_banner_third_img_new.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
category_bottom_real_img.png
→
m-home/src/ydl/res/drawable-xhdpi/home_category_bottom_real_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
comment_hot_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_comment_hot_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
common_more_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_common_more_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
confide_free_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_confide_free_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
confide_line_1.png
→
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_1.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
confide_line_2.png
→
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_2.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
confide_line_3.png
→
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_3.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
confide_line_4.png
→
m-home/src/ydl/res/drawable-xhdpi/home_confide_line_4.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
consult_chat.png
→
m-home/src/ydl/res/drawable-xhdpi/home_consult_chat.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
counselor.png
→
m-home/src/ydl/res/drawable-xhdpi/home_counselor.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/coupon_receiver.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
coupon_receiver.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/coupon_success.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
coupon_success.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/img_0.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
img_0.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/img_1.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
img_1.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
intelligent_first_play_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_intelligent_first_play_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
intelligent_item_listen_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_intelligent_item_listen_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/home_
module_
intelligent_item_play_icon.png
→
m-home/src/ydl/res/drawable-xhdpi/home_intelligent_item_play_icon.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_circle_first.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_circle_first.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_circle_fouth.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_circle_fouth.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_circle_second.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_circle_second.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_circle_third.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_circle_third.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_first_img.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_first_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_fouth_img.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_fouth_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_play.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_play.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/muse_third_img.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
muse_third_img.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/pop_close.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
pop_close.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable-xhdpi/publish_trend.png
→
m-home/src/ydl/res/drawable-xhdpi/
home_
publish_trend.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
assuage_grief_item_view_image_num_back.xml
→
m-home/src/ydl/res/drawable/home_assuage_grief_item_view_image_num_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
assuage_grief_item_view_tab_back.xml
→
m-home/src/ydl/res/drawable/home_assuage_grief_item_view_tab_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
assuage_grief_stroke_line.xml
→
m-home/src/ydl/res/drawable/home_assuage_grief_stroke_line.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/background_coupon_button.xml
→
m-home/src/ydl/res/drawable/
home_
background_coupon_button.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/background_home_pager_top.xml
→
m-home/src/ydl/res/drawable/
home_
background_home_pager_top.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/bg_home_search_input.xml
→
m-home/src/ydl/res/drawable/
home_
bg_home_search_input.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
card_view_stroke.xml
→
m-home/src/ydl/res/drawable/home_card_view_stroke.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
category_tip_select.xml
→
m-home/src/ydl/res/drawable/home_category_tip_select.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
category_tip_unselect.xml
→
m-home/src/ydl/res/drawable/home_category_tip_unselect.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
common_title_gradient_back.xml
→
m-home/src/ydl/res/drawable/home_common_title_gradient_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
confide_expert_info_coupon_background.xml
→
m-home/src/ydl/res/drawable/home_confide_expert_info_coupon_background.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_category_bg.xml
→
m-home/src/ydl/res/drawable/home_
home_
category_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/icon_search.png
→
m-home/src/ydl/res/drawable/
home_
icon_search.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
image_default_back.xml
→
m-home/src/ydl/res/drawable/home_image_default_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
intelligent_gradient_back.xml
→
m-home/src/ydl/res/drawable/home_intelligent_gradient_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
intelligent_top_view_layout_back.xml
→
m-home/src/ydl/res/drawable/home_intelligent_top_view_layout_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
intelligent_top_view_recommend_back.xml
→
m-home/src/ydl/res/drawable/home_intelligent_top_view_recommend_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
sale_info_view_bg.xml
→
m-home/src/ydl/res/drawable/home_sale_info_view_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
search_phone.png
→
m-home/src/ydl/res/drawable/home_search_phone.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
show_more_line.xml
→
m-home/src/ydl/res/drawable/home_show_more_line.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
test_item_go_bg.xml
→
m-home/src/ydl/res/drawable/home_test_item_go_bg.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/drawable/home_
module_
test_top_view_layout_back.xml
→
m-home/src/ydl/res/drawable/home_test_top_view_layout_back.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
article_item_view.xml
→
m-home/src/ydl/res/layout/home_article_item_view.xml
View file @
f1b324e6
...
...
@@ -20,7 +20,7 @@
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:id=
"@+id/homeModuleArticleItemViewImg"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
</android.support.v7.widget.CardView>
<TextView
...
...
@@ -68,7 +68,7 @@
android:id=
"@+id/homeModuleArticleItemViewIcon"
android:layout_width=
"@@dimen/platform_dp_12"
android:layout_height=
"@@dimen/platform_dp_12"
android:src=
"@drawable/home_
module_article_item_icon"
android:src=
"@drawable/home_
article_item_icon"
android:layout_alignParentLeft=
"true"
/>
<TextView
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
article_view.xml
→
m-home/src/ydl/res/layout/home_article_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
assuage_grief_image_more_five_item_view.xml
→
m-home/src/ydl/res/layout/home_assuage_grief_image_more_five_item_view.xml
View file @
f1b324e6
...
...
@@ -20,7 +20,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"118"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
...
...
@@ -36,7 +36,7 @@
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"104"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
...
...
@@ -48,7 +48,7 @@
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"104"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
</LinearLayout>
</LinearLayout>
...
...
@@ -69,7 +69,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"118"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
...
...
@@ -84,7 +84,7 @@
android:scaleType=
"centerCrop"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefUnderFiveItemViewTag"
...
...
@@ -94,7 +94,7 @@
android:layout_alignParentRight=
"true"
android:layout_marginBottom=
"@@dimen/platform_dp_5"
android:layout_marginRight=
"@@dimen/platform_dp_5"
android:background=
"@drawable/home_
module_assuage_grief_item_view_image_num_back"
android:background=
"@drawable/home_
assuage_grief_item_view_image_num_back"
android:gravity=
"center"
tools:text=
"9图"
android:textColor=
"@color/platform_color_242424"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
assuage_grief_image_under_four_item_view.xml
→
m-home/src/ydl/res/layout/home_assuage_grief_image_under_four_item_view.xml
View file @
f1b324e6
...
...
@@ -14,7 +14,7 @@
android:layout_weight=
"156"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"0dp"
android:layout_weight=
"2"
...
...
@@ -31,7 +31,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"88"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
...
...
@@ -47,7 +47,7 @@
android:scaleType=
"centerCrop"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefUnderFourthItemViewTag"
android:layout_width=
"30dp"
...
...
@@ -56,7 +56,7 @@
tools:text=
"9图"
android:textSize=
"@@dimen/platform_dp_10"
android:textColor=
"@color/platform_color_242424"
android:background=
"@drawable/home_
module_assuage_grief_item_view_image_num_back"
android:background=
"@drawable/home_
assuage_grief_item_view_image_num_back"
android:layout_alignParentBottom=
"true"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"@@dimen/platform_dp_5"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
assuage_grief_image_under_two_item_view.xml
→
m-home/src/ydl/res/layout/home_assuage_grief_image_under_two_item_view.xml
View file @
f1b324e6
...
...
@@ -11,7 +11,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:background=
"@drawable/home_
module_image_default_back"
/>
android:background=
"@drawable/home_
image_default_back"
/>
</RelativeLayout>
</merge>
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
assuage_grief_item_view.xml
→
m-home/src/ydl/res/layout/home_assuage_grief_item_view.xml
View file @
f1b324e6
...
...
@@ -10,7 +10,7 @@
android:paddingTop=
"@@dimen/platform_dp_18"
android:paddingLeft=
"@@dimen/platform_dp_15"
android:paddingRight=
"@@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_card_view_stroke"
>
android:background=
"@drawable/home_
card_view_stroke"
>
<RelativeLayout
android:layout_width=
"match_parent"
...
...
@@ -21,7 +21,7 @@
android:id=
"@+id/homeModuleAssuageGriefViewPersonCardView"
android:layout_width=
"38dp"
android:layout_height=
"38dp"
android:background=
"@drawable/home_
module_assuage_grief_stroke_line"
>
android:background=
"@drawable/home_
assuage_grief_stroke_line"
>
<android.support.v7.widget.CardView
android:layout_width=
"@@dimen/platform_dp_36"
android:layout_height=
"@@dimen/platform_dp_36"
...
...
@@ -73,14 +73,14 @@
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:src=
"@drawable/home_
module_assuage_grief_item_view_follow"
android:src=
"@drawable/home_
assuage_grief_item_view_follow"
android:layout_centerInParent=
"true"
/>
<ImageView
android:id=
"@+id/homeModuleAssuageGriefItemViewUnFollow"
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:src=
"@drawable/home_
module_assuage_grief_item_view_unfollow"
android:src=
"@drawable/home_
assuage_grief_item_view_unfollow"
android:layout_centerInParent=
"true"
/>
</RelativeLayout>
...
...
@@ -121,13 +121,13 @@
android:layout_height=
"wrap_content"
android:paddingBottom=
"@@dimen/platform_dp_12"
android:layout_marginTop=
"@@dimen/platform_dp_16"
android:background=
"@drawable/home_
module_assuage_grief_item_view_tab_back"
>
android:background=
"@drawable/home_
assuage_grief_item_view_tab_back"
>
<ImageView
android:id=
"@+id/homeModuleAssuageGriefViewHotView"
android:layout_height=
"@@dimen/platform_dp_14"
android:layout_width=
"@@dimen/platform_dp_28"
android:src=
"@drawable/home_
module_comment_hot_icon"
/>
android:src=
"@drawable/home_
comment_hot_icon"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefViewHotViewComment"
...
...
@@ -177,11 +177,11 @@
android:paddingTop=
"@@dimen/platform_dp_4"
android:paddingBottom=
"@@dimen/platform_dp_4"
android:gravity=
"center_vertical"
android:background=
"@drawable/home_
module_assuage_grief_item_view_tab_back"
>
android:background=
"@drawable/home_
assuage_grief_item_view_tab_back"
>
<ImageView
android:layout_width=
"11.36dp"
android:layout_height=
"10.72dp"
android:src=
"@drawable/home_
module_assuage_grief_item_view_tab_icon"
/>
android:src=
"@drawable/home_
assuage_grief_item_view_tab_icon"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefViewTag"
android:layout_width=
"wrap_content"
...
...
@@ -198,7 +198,7 @@
<ImageView
android:layout_width=
"@@dimen/platform_dp_18"
android:layout_height=
"@@dimen/platform_dp_18"
android:src=
"@drawable/home_
module_assuage_grief_item_view_tab_comment"
/>
android:src=
"@drawable/home_
assuage_grief_item_view_tab_comment"
/>
<TextView
android:id=
"@+id/homeModuleAssuageGriefViewCommentsCount"
android:layout_width=
"wrap_content"
...
...
@@ -225,7 +225,7 @@
android:id=
"@+id/homeModuleAssuageGriefViewIsNotZan"
android:layout_width=
"@@dimen/platform_dp_18"
android:layout_height=
"@@dimen/platform_dp_18"
android:src=
"@drawable/home_
module_assuage_grief_item_view_tab_warm"
/>
android:src=
"@drawable/home_
assuage_grief_item_view_tab_warm"
/>
<com.airbnb.lottie.LottieAnimationView
android:id=
"@+id/homeModuleAssuageGriefViewIsZan"
android:layout_width=
"@@dimen/platform_dp_18"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
assuage_grief_view.xml
→
m-home/src/ydl/res/layout/home_assuage_grief_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
button_banner_view.xml
→
m-home/src/ydl/res/layout/home_button_banner_view.xml
View file @
f1b324e6
...
...
@@ -12,7 +12,7 @@
android:id=
"@+id/homeModuleButtonBannerFirst"
android:layout_width=
"80dp"
android:layout_height=
"78dp"
android:background=
"@drawable/home_
module_button_banner_first_img_new"
android:background=
"@drawable/home_
button_banner_first_img_new"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/homeModuleButtonBannerFirstTitle"
...
...
@@ -35,7 +35,7 @@
android:id=
"@+id/homeModuleButtonBannerSecond"
android:layout_width=
"80dp"
android:layout_height=
"78dp"
android:background=
"@drawable/home_
module_confide_free_icon"
android:background=
"@drawable/home_
confide_free_icon"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/homeModuleButtonBannerSecondTitle"
...
...
@@ -59,7 +59,7 @@
android:layout_width=
"80dp"
android:layout_height=
"78dp"
android:orientation=
"vertical"
android:background=
"@drawable/home_
module_button_banner_third_img_new"
android:background=
"@drawable/home_
button_banner_third_img_new"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/homeModuleButtonBannerThirdTitle"
...
...
@@ -82,7 +82,7 @@
android:id=
"@+id/homeModuleButtonBannerFourth"
android:layout_width=
"80dp"
android:layout_height=
"78dp"
android:background=
"@drawable/home_
module_button_banner_fourth_img_new"
android:background=
"@drawable/home_
button_banner_fourth_img_new"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/homeModuleButtonBannerFourthTitle"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
category_container.xml
→
m-home/src/ydl/res/layout/home_category_container.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
common_title_view.xml
→
m-home/src/ydl/res/layout/home_common_title_view.xml
View file @
f1b324e6
...
...
@@ -10,7 +10,7 @@
<View
android:layout_width=
"0dp"
android:layout_height=
"@dimen/platform_dp_7"
android:background=
"@drawable/home_
module_common_title_gradient_back"
android:background=
"@drawable/home_
common_title_gradient_back"
app:layout_constraintLeft_toLeftOf=
"@+id/homeModuleCommonTitleViewTitle"
app:layout_constraintRight_toRightOf=
"@+id/homeModuleCommonTitleViewTitle"
app:layout_constraintBottom_toBottomOf=
"@+id/homeModuleCommonTitleViewTitle"
...
...
@@ -37,7 +37,7 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
android:layout_marginRight=
"@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_show_more_line"
>
android:background=
"@drawable/home_
show_more_line"
>
<TextView
android:layout_width=
"wrap_content"
...
...
@@ -52,7 +52,7 @@
<ImageView
android:layout_height=
"@dimen/platform_dp_10"
android:layout_width=
"@dimen/platform_dp_6"
android:src=
"@drawable/home_
module_common_more_icon"
android:src=
"@drawable/home_
common_more_icon"
android:layout_marginLeft=
"3dp"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
confide_expert_info_view.xml
→
m-home/src/ydl/res/layout/home_confide_expert_info_view.xml
View file @
f1b324e6
...
...
@@ -50,7 +50,7 @@
android:layout_height=
"13dp"
android:layout_marginStart=
"6dp"
android:layout_marginLeft=
"3dp"
android:background=
"@drawable/home_
module_counselor"
/>
android:background=
"@drawable/home_
counselor"
/>
</LinearLayout>
...
...
@@ -172,7 +172,7 @@
android:layout_marginTop=
"3dp"
android:layout_marginBottom=
"2dp"
android:layout_toRightOf=
"@+id/tvOriginalPrice"
android:background=
"@drawable/home_
module_confide_expert_info_coupon_background"
android:background=
"@drawable/home_
confide_expert_info_coupon_background"
android:gravity=
"center"
android:paddingLeft=
"6dp"
android:paddingRight=
"6dp"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
confide_view.xml
→
m-home/src/ydl/res/layout/home_confide_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
consult_item_view.xml
→
m-home/src/ydl/res/layout/home_consult_item_view.xml
View file @
f1b324e6
...
...
@@ -21,7 +21,7 @@
android:layout_alignTop=
"@+id/img_consult_head"
android:layout_marginTop=
"@dimen/platform_dp_13"
android:layout_marginEnd=
"@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_consult_chat"
android:background=
"@drawable/home_
consult_chat"
android:gravity=
"center"
/>
<LinearLayout
...
...
@@ -51,7 +51,7 @@
android:layout_height=
"13dp"
android:layout_marginStart=
"6dp"
android:layout_marginLeft=
"3dp"
android:background=
"@drawable/home_
module_counselor"
/>
android:background=
"@drawable/home_
counselor"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
course_item_view.xml
→
m-home/src/ydl/res/layout/home_course_item_view.xml
View file @
f1b324e6
...
...
@@ -9,7 +9,7 @@
android:layout_marginBottom=
"@dimen/platform_dp_13"
android:layout_marginTop=
"@dimen/platform_dp_3"
android:padding=
"@dimen/platform_dp_15"
android:background=
"@drawable/home_
module_card_view_stroke"
>
android:background=
"@drawable/home_
card_view_stroke"
>
<android.support.v7.widget.CardView
android:id=
"@+id/homeModuleCourseItemViewImgCardView"
...
...
@@ -22,7 +22,7 @@
android:layout_width=
"127dp"
android:layout_height=
"69dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/home_
module_image_default_back"
/>
android:src=
"@drawable/home_
image_default_back"
/>
</android.support.v7.widget.CardView>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
course_view.xml
→
m-home/src/ydl/res/layout/home_course_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/dialog_activity.xml
→
m-home/src/ydl/res/layout/
home_
dialog_activity.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/dialog_coupon.xml
→
m-home/src/ydl/res/layout/
home_
dialog_coupon.xml
View file @
f1b324e6
...
...
@@ -21,7 +21,7 @@
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"119dp"
android:background=
"@mipmap/
coupon_background"
android:background=
"@mipmap/
home_coupon_background"
android:gravity=
"center_horizontal|center_vertical"
android:orientation=
"vertical"
>
...
...
@@ -29,7 +29,7 @@
android:id=
"@+id/iv_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:src=
"@drawable/
coupon_receiver"
/>
tools:src=
"@drawable/
home_coupon_receiver"
/>
<TextView
android:id=
"@+id/tv_status"
...
...
@@ -48,7 +48,7 @@
android:layout_height=
"90dp"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"-16dp"
android:background=
"@mipmap/
cotent_backgroudn"
android:background=
"@mipmap/
home_cotent_backgroudn"
android:paddingLeft=
"14dp"
android:paddingRight=
"14dp"
android:paddingTop=
"16dp"
>
...
...
@@ -115,7 +115,7 @@
android:layout_height=
"42dp"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"30dp"
android:background=
"@drawable/
background_coupon_button"
android:background=
"@drawable/
home_background_coupon_button"
android:gravity=
"center"
android:textColor=
"@color/white"
android:textSize=
"15sp"
...
...
@@ -131,6 +131,6 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginTop=
"37dp"
android:background=
"@drawable/
pop_close"
android:background=
"@drawable/
home_pop_close"
android:padding=
"10dp"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/dialog_guide_activity.xml
→
m-home/src/ydl/res/layout/
home_
dialog_guide_activity.xml
View file @
f1b324e6
...
...
@@ -20,7 +20,7 @@
android:id=
"@+id/img_line"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@mipmap/
activity_guide"
android:src=
"@mipmap/
home_activity_guide"
app:layout_constraintTop_toBottomOf=
"@+id/img_activity"
app:layout_constraintLeft_toLeftOf=
"@+id/img_activity"
app:layout_constraintRight_toRightOf=
"@+id/img_activity"
/>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
footer_view.xml
→
m-home/src/ydl/res/layout/home_footer_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
fragment.xml
→
m-home/src/ydl/res/layout/home_fragment.xml
View file @
f1b324e6
...
...
@@ -30,7 +30,7 @@
android:id=
"@+id/view_rl_top_bg"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:background=
"@drawable/
background_home_pager_top"
/>
android:background=
"@drawable/
home_background_home_pager_top"
/>
<RelativeLayout
android:id=
"@+id/rl_top"
...
...
@@ -106,7 +106,7 @@
android:layout_width=
"14dp"
android:layout_height=
"9dp"
android:layout_centerHorizontal=
"true"
android:background=
"@drawable/home_
module_back_top"
/>
android:background=
"@drawable/home_
back_top"
/>
<TextView
android:id=
"@+id/tv_returnTop"
...
...
@@ -142,7 +142,7 @@
android:id=
"@+id/view_search_input_bg"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/
bg_home_search_input"
android:background=
"@drawable/
home_bg_home_search_input"
android:tag=
"tag_search_input_bg"
/>
<LinearLayout
...
...
@@ -156,7 +156,7 @@
android:layout_height=
"12dp"
android:layout_gravity=
"center_vertical"
android:layout_marginLeft=
"12dp"
android:src=
"@drawable/
icon_search"
/>
android:src=
"@drawable/
home_icon_search"
/>
<TextView
android:id=
"@+id/home_tv"
...
...
@@ -185,7 +185,7 @@
android:layout_toRightOf=
"@+id/rl_search"
android:background=
"?android:attr/selectableItemBackground"
android:contentDescription=
"@null"
android:src=
"@drawable/home_
module_search_phone"
android:src=
"@drawable/home_
search_phone"
android:visibility=
"gone"
/>
</RelativeLayout>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
intelligent_item_view.xml
→
m-home/src/ydl/res/layout/home_intelligent_item_view.xml
View file @
f1b324e6
...
...
@@ -14,7 +14,7 @@
android:id=
"@+id/iv_fm_play"
android:layout_height=
"@dimen/platform_dp_22"
android:layout_width=
"@dimen/platform_dp_22"
android:src=
"@drawable/home_
module_intelligent_item_play_icon"
android:src=
"@drawable/home_
intelligent_item_play_icon"
android:layout_marginRight=
"@dimen/platform_dp_7"
/>
<TextView
...
...
@@ -43,7 +43,7 @@
<ImageView
android:layout_height=
"@dimen/platform_dp_11"
android:layout_width=
"@dimen/platform_dp_12"
android:src=
"@drawable/home_
module_intelligent_item_listen_icon"
android:src=
"@drawable/home_
intelligent_item_listen_icon"
android:layout_marginLeft=
"@dimen/platform_dp_4"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
intelligent_top_item_view.xml
→
m-home/src/ydl/res/layout/home_intelligent_top_item_view.xml
View file @
f1b324e6
...
...
@@ -20,7 +20,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:id=
"@+id/homeModuleIntelligentTopViewImage"
android:background=
"@drawable/home_
module_image_default_back"
android:background=
"@drawable/home_
image_default_back"
android:scaleType=
"centerCrop"
/>
<LinearLayout
...
...
@@ -35,7 +35,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"55"
android:background=
"@drawable/home_
module_intelligent_gradient_back"
/>
android:background=
"@drawable/home_
intelligent_gradient_back"
/>
</LinearLayout>
</RelativeLayout>
...
...
@@ -67,7 +67,7 @@
android:gravity=
"center_vertical"
android:paddingLeft=
"@dimen/platform_dp_10"
android:paddingRight=
"@dimen/platform_dp_10"
android:background=
"@drawable/home_
module_intelligent_top_view_layout_back"
android:background=
"@drawable/home_
intelligent_top_view_layout_back"
android:layout_alignLeft=
"@+id/homeModuleIntelligentTopViewTitle"
android:layout_alignParentBottom=
"true"
android:layout_marginBottom=
"@dimen/platform_dp_14"
>
...
...
@@ -110,7 +110,7 @@
android:id=
"@+id/iv_play_fm"
android:layout_width=
"@dimen/platform_dp_36"
android:layout_height=
"@dimen/platform_dp_36"
android:src=
"@drawable/home_
module_intelligent_first_play_icon"
android:src=
"@drawable/home_
intelligent_first_play_icon"
android:layout_alignParentRight=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginRight=
"@dimen/platform_dp_14"
...
...
@@ -120,7 +120,7 @@
android:layout_width=
"@dimen/platform_dp_64"
android:layout_height=
"@dimen/platform_dp_20"
android:layout_alignParentRight=
"true"
android:background=
"@drawable/home_
module_intelligent_top_view_recommend_back"
>
android:background=
"@drawable/home_
intelligent_top_view_recommend_back"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
intelligent_view.xml
→
m-home/src/ydl/res/layout/home_intelligent_view.xml
View file @
f1b324e6
...
...
@@ -17,7 +17,7 @@
android:layout_marginRight=
"@dimen/platform_dp_15"
android:layout_marginTop=
"@dimen/platform_dp_2"
android:layout_marginBottom=
"@dimen/platform_dp_20"
android:background=
"@drawable/home_
module_card_view_stroke"
android:background=
"@drawable/home_
card_view_stroke"
android:orientation=
"vertical"
></LinearLayout>
</merge>
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_m
odule_m
use_view.xml
→
m-home/src/ydl/res/layout/home_muse_view.xml
View file @
f1b324e6
...
...
@@ -36,7 +36,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
muse_first_img"
/>
android:src=
"@drawable/
home_muse_first_img"
/>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -61,7 +61,7 @@
android:layout_width=
"18dp"
android:layout_height=
"@dimen/platform_dp_18"
android:layout_marginLeft=
"@dimen/platform_dp_4"
android:src=
"@drawable/
muse_play"
/>
android:src=
"@drawable/
home_muse_play"
/>
</LinearLayout>
</RelativeLayout>
</android.support.v7.widget.CardView>
...
...
@@ -113,7 +113,7 @@
android:layout_width=
"18dp"
android:layout_height=
"@dimen/platform_dp_18"
android:layout_marginLeft=
"@dimen/platform_dp_4"
android:src=
"@drawable/
muse_play"
/>
android:src=
"@drawable/
home_muse_play"
/>
</LinearLayout>
</RelativeLayout>
</android.support.v7.widget.CardView>
...
...
@@ -143,7 +143,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
muse_third_img"
/>
android:src=
"@drawable/
home_muse_third_img"
/>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -168,7 +168,7 @@
android:layout_width=
"18dp"
android:layout_height=
"@dimen/platform_dp_18"
android:layout_marginLeft=
"@dimen/platform_dp_4"
android:src=
"@drawable/
muse_play"
/>
android:src=
"@drawable/
home_muse_play"
/>
</LinearLayout>
</RelativeLayout>
</android.support.v7.widget.CardView>
...
...
@@ -191,7 +191,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
muse_fouth_img"
/>
android:src=
"@drawable/
home_muse_fouth_img"
/>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -216,7 +216,7 @@
android:layout_width=
"18dp"
android:layout_height=
"@dimen/platform_dp_18"
android:layout_marginLeft=
"@dimen/platform_dp_4"
android:src=
"@drawable/
muse_play"
/>
android:src=
"@drawable/
home_muse_play"
/>
</LinearLayout>
</RelativeLayout>
</android.support.v7.widget.CardView>
...
...
@@ -241,7 +241,7 @@
android:layout_width=
"72dp"
android:layout_height=
"72dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
muse_circle_first"
android:src=
"@drawable/
home_muse_circle_first"
android:layout_centerInParent=
"true"
app:pa_type=
"pa_circle"
></com.ydl.ydlcommon.view.widgets.RoundImageView>
...
...
@@ -266,7 +266,7 @@
android:layout_width=
"72dp"
android:layout_height=
"72dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
muse_circle_second"
android:src=
"@drawable/
home_muse_circle_second"
android:layout_centerInParent=
"true"
app:pa_type=
"pa_circle"
></com.ydl.ydlcommon.view.widgets.RoundImageView>
...
...
@@ -291,7 +291,7 @@
android:layout_width=
"72dp"
android:layout_height=
"72dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
muse_circle_third"
android:src=
"@drawable/
home_muse_circle_third"
android:layout_centerInParent=
"true"
app:pa_type=
"pa_circle"
></com.ydl.ydlcommon.view.widgets.RoundImageView>
...
...
@@ -316,7 +316,7 @@
android:layout_width=
"72dp"
android:layout_height=
"72dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
muse_circle_fouth"
android:src=
"@drawable/
home_muse_circle_fouth"
android:layout_centerInParent=
"true"
app:pa_type=
"pa_circle"
></com.ydl.ydlcommon.view.widgets.RoundImageView>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
pager_banner_category_view.xml
→
m-home/src/ydl/res/layout/home_pager_banner_category_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
pager_banner_view.xml
→
m-home/src/ydl/res/layout/home_pager_banner_view.xml
View file @
f1b324e6
...
...
@@ -11,8 +11,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"180dp"
app:pa_indicator_different_width=
"14dp"
app:pa_indicator_drawable_selected=
"@drawable/home_
module_banner_tip_select"
app:pa_indicator_drawable_unselected=
"@drawable/home_
module_banner_tip_unselect"
app:pa_indicator_drawable_selected=
"@drawable/home_
banner_tip_select"
app:pa_indicator_drawable_unselected=
"@drawable/home_
banner_tip_unselect"
app:pa_indicator_height=
"5dp"
app:pa_indicator_margin=
"1.25dp"
app:pa_is_selected_same_unselected=
"false"
/>
...
...
@@ -22,7 +22,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"175dp"
android:background=
"@drawable/home_
category_bg"
android:background=
"@drawable/home_
home_category_bg"
android:orientation=
"vertical"
android:paddingTop=
"20dp"
>
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
real_view_in.xml
→
m-home/src/ydl/res/layout/home_real_view_in.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
real_view_left.xml
→
m-home/src/ydl/res/layout/home_real_view_left.xml
View file @
f1b324e6
...
...
@@ -4,7 +4,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:background=
"@drawable/home_
module_sale_info_view_bg"
android:background=
"@drawable/home_
sale_info_view_bg"
android:paddingRight=
"@dimen/platform_dp_10"
android:paddingTop=
"@dimen/platform_dp_10"
android:paddingBottom=
"@dimen/platform_dp_10"
...
...
@@ -19,7 +19,7 @@
android:layout_height=
"15dp"
android:layout_gravity=
"center_vertical"
android:scaleType=
"centerCrop"
android:src=
"@drawable/home_
module_category_bottom_real_img"
/>
android:src=
"@drawable/home_
category_bottom_real_img"
/>
<FrameLayout
android:id=
"@+id/homeModuleRealViewLeftFrameLayout"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
real_view_out.xml
→
m-home/src/ydl/res/layout/home_real_view_out.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
test_item_view.xml
→
m-home/src/ydl/res/layout/home_test_item_view.xml
View file @
f1b324e6
...
...
@@ -28,7 +28,7 @@
android:id=
"@+id/iv_test_item"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
android:background=
"@drawable/home_
image_default_back"
android:scaleType=
"centerCrop"
/>
</android.support.v7.widget.CardView>
...
...
@@ -102,7 +102,7 @@
<TextView
android:layout_width=
"62dp"
android:layout_height=
"@dimen/platform_dp_24"
android:background=
"@drawable/home_
module_test_item_go_bg"
android:background=
"@drawable/home_
test_item_go_bg"
android:gravity=
"center"
android:text=
"去测试"
android:textSize=
"12dp"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
test_top_item_view.xml
→
m-home/src/ydl/res/layout/home_test_top_item_view.xml
View file @
f1b324e6
...
...
@@ -21,7 +21,7 @@
android:id=
"@+id/homeModuleIntelligentTopViewImage"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/home_
module_image_default_back"
android:background=
"@drawable/home_
image_default_back"
android:scaleType=
"centerCrop"
/>
<LinearLayout
...
...
@@ -38,7 +38,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"55"
android:background=
"@drawable/home_
module_intelligent_gradient_back"
/>
android:background=
"@drawable/home_
intelligent_gradient_back"
/>
</LinearLayout>
</RelativeLayout>
...
...
@@ -69,7 +69,7 @@
android:layout_alignLeft=
"@+id/homeModuleIntelligentTopViewTitle"
android:layout_alignParentBottom=
"true"
android:layout_marginBottom=
"43dp"
android:background=
"@drawable/home_
module_test_top_view_layout_back"
android:background=
"@drawable/home_
test_top_view_layout_back"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
android:paddingLeft=
"@dimen/platform_dp_10"
...
...
@@ -117,7 +117,7 @@
android:layout_width=
"@dimen/platform_dp_64"
android:layout_height=
"@dimen/platform_dp_20"
android:layout_alignParentRight=
"true"
android:background=
"@drawable/home_
module_intelligent_top_view_recommend_back"
>
android:background=
"@drawable/home_
intelligent_top_view_recommend_back"
>
<TextView
android:layout_width=
"wrap_content"
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/layout/home_
module_
test_view.xml
→
m-home/src/ydl/res/layout/home_test_view.xml
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/mipmap-xhdpi/activity_guide.png
→
m-home/src/ydl/res/mipmap-xhdpi/
home_
activity_guide.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/mipmap-xhdpi/cotent_backgroudn.png
→
m-home/src/ydl/res/mipmap-xhdpi/
home_
cotent_backgroudn.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/mipmap-xhdpi/coupon_background.png
→
m-home/src/ydl/res/mipmap-xhdpi/
home_
coupon_background.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/mipmap-xhdpi/ic_launcher.png
→
m-home/src/ydl/res/mipmap-xhdpi/
home_
ic_launcher.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/mipmap-xhdpi/icon_titlebar_search.png
→
m-home/src/ydl/res/mipmap-xhdpi/
home_
icon_titlebar_search.png
View file @
f1b324e6
File moved
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/values/colors.xml
View file @
f1b324e6
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"home_
module_category_view_test_line"
>
#F0F0F0
</color>
<color
name=
"home_
category_view_test_line"
>
#F0F0F0
</color>
</resources>
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/values/dimens.xml
View file @
f1b324e6
<?xml version="1.0" encoding="UTF-8" ?>
<resources>
<!--分割线粗细-->
<dimen
name=
"home_
title_bar_height"
>
54dp
</dimen>
<dimen
name=
"home_
home_title_bar_height"
>
54dp
</dimen>
</resources>
This diff is collapsed.
Click to expand it.
m-home/src/ydl/res/values/strings.xml
View file @
f1b324e6
<resources>
<string
name=
"
app_name"
>
home-module
</string>
<string
name=
"home_
module_real_appoint"
>
预约了
</string>
<string
name=
"
home_app_name"
>
home-module
</string>
<string
name=
"home_
real_appoint"
>
预约了
</string>
</resources>
This diff is collapsed.
Click to expand it.
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