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
494c0d63
Commit
494c0d63
authored
5 years ago
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增资源文件前缀
parent
ae6cc69a
Show whitespace changes
Inline
Side-by-side
Showing
276 changed files
with
1172 additions
and
1321 deletions
+1172
-1321
build.gradle
app/build.gradle
+9
-1
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+2
-2
MainActivity.kt
app/src/main/java/com/ydl/component/MainActivity.kt
+2
-2
activity_main.xml
app/src/main/res/layout/activity_main.xml
+4
-4
colors.xml
app/src/main/res/values/colors.xml
+4
-1
AndroidManifest.xml
m-consultant/src/main/AndroidManifest.xml
+3
-2
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+5
-5
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+2
-2
RegionRecyclerViewAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/RegionRecyclerViewAdapter.kt
+1
-1
SubRecyclerViewAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/SubRecyclerViewAdapter.kt
+1
-1
bg_radius_gray_2.xml
m-consultant/src/main/res/drawable/bg_radius_gray_2.xml
+3
-2
bg_radius_gray_6.xml
m-consultant/src/main/res/drawable/bg_radius_gray_6.xml
+3
-2
bg_radius_line_gray_05.xml
m-consultant/src/main/res/drawable/bg_radius_line_gray_05.xml
+2
-1
bg_radius_line_gray_1.xml
m-consultant/src/main/res/drawable/bg_radius_line_gray_1.xml
+3
-2
bg_radius_line_gray_16.xml
m-consultant/src/main/res/drawable/bg_radius_line_gray_16.xml
+2
-1
bg_radius_line_green_5.xml
m-consultant/src/main/res/drawable/bg_radius_line_green_5.xml
+1
-1
bg_search_filter_selector.xml
m-consultant/src/main/res/drawable/bg_search_filter_selector.xml
+1
-1
bg_search_filter_selector_radius11.xml
m-consultant/src/main/res/drawable/bg_search_filter_selector_radius11.xml
+1
-1
expert_search_chat.xml
m-consultant/src/main/res/drawable/expert_search_chat.xml
+2
-1
expert_search_menu.xml
m-consultant/src/main/res/drawable/expert_search_menu.xml
+2
-1
activity_hot_search.xml
m-consultant/src/main/res/layout/activity_hot_search.xml
+15
-15
expert_search_feedbackrate.xml
m-consultant/src/main/res/layout/expert_search_feedbackrate.xml
+1
-1
expert_search_item_view.xml
m-consultant/src/main/res/layout/expert_search_item_view.xml
+39
-39
expert_search_products_item.xml
m-consultant/src/main/res/layout/expert_search_products_item.xml
+9
-8
item_consult_type.xml
m-consultant/src/main/res/layout/item_consult_type.xml
+1
-1
item_empty.xml
m-consultant/src/main/res/layout/item_empty.xml
+3
-3
item_hot_search.xml
m-consultant/src/main/res/layout/item_hot_search.xml
+3
-3
item_price_range.xml
m-consultant/src/main/res/layout/item_price_range.xml
+1
-1
item_region.xml
m-consultant/src/main/res/layout/item_region.xml
+2
-2
item_sort.xml
m-consultant/src/main/res/layout/item_sort.xml
+1
-1
item_tag.xml
m-consultant/src/main/res/layout/item_tag.xml
+2
-1
layout_search_content.xml
m-consultant/src/main/res/layout/layout_search_content.xml
+27
-27
layout_search_head_bg.xml
m-consultant/src/main/res/layout/layout_search_head_bg.xml
+9
-8
layout_search_toolbar.xml
m-consultant/src/main/res/layout/layout_search_toolbar.xml
+3
-3
ui_filter_popup.xml
m-consultant/src/main/res/layout/ui_filter_popup.xml
+25
-25
ui_region_popup_window.xml
m-consultant/src/main/res/layout/ui_region_popup_window.xml
+2
-2
ui_sort_popup_window.xml
m-consultant/src/main/res/layout/ui_sort_popup_window.xml
+1
-1
ui_subject_popup_window.xml
m-consultant/src/main/res/layout/ui_subject_popup_window.xml
+5
-5
build.gradle
m-user/build.gradle
+2
-2
modular.gradle
m-user/modular.gradle
+2
-2
GlideImageLoader.java
m-user/src/main/java/com/yidianling/user/GlideImageLoader.java
+2
-2
FingerPrintCheckActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/FingerPrintCheckActivity.kt
+5
-5
HandUnlockCheckActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/HandUnlockCheckActivity.kt
+2
-2
SetFingerPrintActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/SetFingerPrintActivity.kt
+2
-2
SetHandUnLockActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/SetHandUnLockActivity.kt
+3
-3
CountryListActivity.java
m-user/src/main/java/com/yidianling/user/ui/CountryListActivity.java
+2
-2
FillInfoActivity.java
m-user/src/main/java/com/yidianling/user/ui/FillInfoActivity.java
+2
-2
H5Activity.java
m-user/src/main/java/com/yidianling/user/ui/login/H5Activity.java
+3
-3
InputPassWordActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
+1
-1
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+5
-5
VerificationCodeActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
+3
-3
PrivacyDialog.kt
m-user/src/main/java/com/yidianling/user/widget/PrivacyDialog.kt
+1
-1
bg__choose_country_radius.xml
m-user/src/main/res/drawable/bg__choose_country_radius.xml
+3
-2
bg_radius_transparent.xml
m-user/src/main/res/drawable/bg_radius_transparent.xml
+2
-1
country_list_item_select.xml
m-user/src/main/res/drawable/country_list_item_select.xml
+2
-2
user_privacy_agree_background.xml
m-user/src/main/res/drawable/user_privacy_agree_background.xml
+3
-2
user_privacy_disagree_background.xml
m-user/src/main/res/drawable/user_privacy_disagree_background.xml
+3
-2
activity_ali_auth_demo.xml
m-user/src/main/res/layout/activity_ali_auth_demo.xml
+2
-2
activity_check_password.xml
m-user/src/main/res/layout/activity_check_password.xml
+5
-5
activity_country_list.xml
m-user/src/main/res/layout/activity_country_list.xml
+1
-1
activity_fill_info.xml
m-user/src/main/res/layout/activity_fill_info.xml
+21
-20
activity_finger_print_check.xml
m-user/src/main/res/layout/activity_finger_print_check.xml
+2
-2
activity_finger_print_set.xml
m-user/src/main/res/layout/activity_finger_print_set.xml
+2
-2
activity_get_identifying_code.xml
m-user/src/main/res/layout/activity_get_identifying_code.xml
+31
-31
activity_hand_unlock.xml
m-user/src/main/res/layout/activity_hand_unlock.xml
+12
-12
activity_hand_unlock_set.xml
m-user/src/main/res/layout/activity_hand_unlock_set.xml
+12
-12
activity_input_password.xml
m-user/src/main/res/layout/activity_input_password.xml
+2
-2
activity_input_phone.xml
m-user/src/main/res/layout/activity_input_phone.xml
+35
-34
activity_login.xml
m-user/src/main/res/layout/activity_login.xml
+40
-40
activity_me_privacy.xml
m-user/src/main/res/layout/activity_me_privacy.xml
+7
-7
activity_register_and_login.xml
m-user/src/main/res/layout/activity_register_and_login.xml
+1
-1
activity_verification_code.xml
m-user/src/main/res/layout/activity_verification_code.xml
+3
-3
dialog_privacy.xml
m-user/src/main/res/layout/dialog_privacy.xml
+5
-5
item_country_phone_code.xml
m-user/src/main/res/layout/item_country_phone_code.xml
+1
-1
gradle.properties
ydl-platform/gradle.properties
+2
-2
AndroidManifest.xml
ydl-platform/src/main/AndroidManifest.xml
+0
-16
YdlImageLoader.java
ydl-platform/src/main/java/com/ydl/ydlcommon/actions/imagepicker/YdlImageLoader.java
+2
-2
ThrowableConsumer.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/data/http/ThrowableConsumer.kt
+1
-1
ThrowableUtil.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/data/http/ThrowableUtil.kt
+7
-6
YDLStateView.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/mvp/lce/view/YDLStateView.kt
+1
-1
LogoLoadingView.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/ui/LogoLoadingView.kt
+1
-1
ApkUpdateDialog.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/ApkUpdateDialog.kt
+2
-2
MoonUtil.java
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/MoonUtil.java
+7
-9
StatusBarUtils.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/StatusBarUtils.kt
+2
-2
HttpErrorUtils.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/remind/HttpErrorUtils.kt
+2
-3
BaseViewHolder.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/BaseViewHolder.java
+4
-5
DeleteEditTextView.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/DeleteEditTextView.java
+2
-2
FootViewLoadMore.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/FootViewLoadMore.kt
+1
-1
FootViewMore.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/FootViewMore.kt
+1
-1
JumpTextView.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/JumpTextView.kt
+28
-28
ListNoCancelDialog.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/ListNoCancelDialog.java
+1
-1
LoopViewPager.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/LoopViewPager.java
+4
-4
MoreClickView.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/MoreClickView.kt
+2
-2
MyToggleButton.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/MyToggleButton.java
+4
-4
NoBindPhoneDialog.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/NoBindPhoneDialog.java
+1
-1
ProgressView.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/ProgressView.java
+6
-6
RoundCornerButton.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/RoundCornerButton.java
+8
-8
TagView.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/TagView.kt
+2
-2
TitleBar.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/TitleBar.java
+15
-15
Banner.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/banner/Banner.java
+22
-22
CommonDialog.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/CommonDialog.java
+3
-3
CustomShareDialog.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/CustomShareDialog.kt
+4
-4
ListDialog.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/ListDialog.java
+1
-3
NormalDialog.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/NormalDialog.java
+1
-1
ThreeLinesDialog.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/ThreeLinesDialog.java
+1
-1
YDLShareDialog.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/YDLShareDialog.kt
+1
-1
Lock9View.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/shoushi/Lock9View.java
+18
-21
LockIndicator.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/shoushi/LockIndicator.java
+2
-2
YDLAdapterWrapper.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/swapelayout/YDLAdapterWrapper.kt
+2
-2
VerticalTabLayout.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/verticaltablayout/VerticalTabLayout.java
+10
-10
BorderCircleImageView.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/widgets/BorderCircleImageView.java
+3
-3
RoundImageView.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/widgets/RoundImageView.java
+3
-3
TopTabSelectLayout.java
ydl-platform/src/main/java/com/ydl/ydlcommon/view/widgets/TopTabSelectLayout.java
+8
-8
platform_activity_anim_out.xml
ydl-platform/src/main/res/anim/platform_activity_anim_out.xml
+0
-0
platform_bottom_dialog_slide_hide.xml
ydl-platform/src/main/res/anim/platform_bottom_dialog_slide_hide.xml
+0
-0
platform_bottom_dialog_slide_show.xml
ydl-platform/src/main/res/anim/platform_bottom_dialog_slide_show.xml
+0
-0
platform_shake_smail.xml
ydl-platform/src/main/res/anim/platform_shake_smail.xml
+0
-0
platform_share_dialog_in_anim.xml
ydl-platform/src/main/res/anim/platform_share_dialog_in_anim.xml
+0
-0
platform_share_dialog_out_anim.xml
ydl-platform/src/main/res/anim/platform_share_dialog_out_anim.xml
+0
-0
platform_slide_in_from_bottom.xml
ydl-platform/src/main/res/anim/platform_slide_in_from_bottom.xml
+0
-0
platform_slide_out_to_bottom.xml
ydl-platform/src/main/res/anim/platform_slide_out_to_bottom.xml
+0
-0
platform_default_img.png
ydl-platform/src/main/res/drawable-xhdpi/platform_default_img.png
+0
-0
platform_delete.png
ydl-platform/src/main/res/drawable-xhdpi/platform_delete.png
+0
-0
platform_head_place_hold_pic.png
ydl-platform/src/main/res/drawable-xhdpi/platform_head_place_hold_pic.png
+0
-0
platform_ic_arrow_drop_down_grey_500_18dp.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ic_arrow_drop_down_grey_500_18dp.png
+0
-0
platform_ic_close_orange_18dp.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ic_close_orange_18dp.png
+0
-0
platform_ic_pop_home.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ic_pop_home.png
+0
-0
platform_ic_pop_kefu.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ic_pop_kefu.png
+0
-0
platform_ic_pop_news.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ic_pop_news.png
+0
-0
platform_ic_pop_phone.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ic_pop_phone.png
+0
-0
platform_ico_course_play.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_course_play.png
+0
-0
platform_ico_img_zixun_empty.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_img_zixun_empty.png
+0
-0
platform_ico_info.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_info.png
+0
-0
platform_ico_play_float_pause.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_play_float_pause.png
+0
-0
platform_ico_play_float_pic.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_play_float_pic.png
+0
-0
platform_ico_spfc_play.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_spfc_play.png
+0
-0
platform_ico_yyfc_pause.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_yyfc_pause.png
+0
-0
platform_ico_yyfc_play.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ico_yyfc_play.png
+0
-0
platform_icon_country.png
ydl-platform/src/main/res/drawable-xhdpi/platform_icon_country.png
+0
-0
platform_icon_download.png
ydl-platform/src/main/res/drawable-xhdpi/platform_icon_download.png
+0
-0
platform_img_no_bind.png
ydl-platform/src/main/res/drawable-xhdpi/platform_img_no_bind.png
+0
-0
platform_loading_logo.gif
ydl-platform/src/main/res/drawable-xhdpi/platform_loading_logo.gif
+0
-0
platform_lock_btn_shoushi_error.png
ydl-platform/src/main/res/drawable-xhdpi/platform_lock_btn_shoushi_error.png
+0
-0
platform_lock_img_dot_gray.png
ydl-platform/src/main/res/drawable-xhdpi/platform_lock_img_dot_gray.png
+0
-0
platform_lock_img_dot_green.png
ydl-platform/src/main/res/drawable-xhdpi/platform_lock_img_dot_green.png
+0
-0
platform_logo_bottom_text.png
ydl-platform/src/main/res/drawable-xhdpi/platform_logo_bottom_text.png
+0
-0
platform_mine_next.png
ydl-platform/src/main/res/drawable-xhdpi/platform_mine_next.png
+0
-0
platform_more12r.png
ydl-platform/src/main/res/drawable-xhdpi/platform_more12r.png
+0
-0
platform_more12x.png
ydl-platform/src/main/res/drawable-xhdpi/platform_more12x.png
+0
-0
platform_more_green.png
ydl-platform/src/main/res/drawable-xhdpi/platform_more_green.png
+0
-0
platform_msg_notification.png
ydl-platform/src/main/res/drawable-xhdpi/platform_msg_notification.png
+0
-0
platform_no_banner.png
ydl-platform/src/main/res/drawable-xhdpi/platform_no_banner.png
+0
-0
platform_pop_pengyouquan.png
ydl-platform/src/main/res/drawable-xhdpi/platform_pop_pengyouquan.png
+0
-0
platform_pop_qq.png
ydl-platform/src/main/res/drawable-xhdpi/platform_pop_qq.png
+0
-0
platform_pop_qqzone.png
ydl-platform/src/main/res/drawable-xhdpi/platform_pop_qqzone.png
+0
-0
platform_pop_weixin.png
ydl-platform/src/main/res/drawable-xhdpi/platform_pop_weixin.png
+0
-0
platform_share.png
ydl-platform/src/main/res/drawable-xhdpi/platform_share.png
+0
-0
platform_share_yellow.png
ydl-platform/src/main/res/drawable-xhdpi/platform_share_yellow.png
+0
-0
platform_simple_player_arrow_white_24dp.png
ydl-platform/src/main/res/drawable-xhdpi/platform_simple_player_arrow_white_24dp.png
+0
-0
platform_simple_player_icon_media_pause.png
ydl-platform/src/main/res/drawable-xhdpi/platform_simple_player_icon_media_pause.png
+0
-0
platform_tip_select.png
ydl-platform/src/main/res/drawable-xhdpi/platform_tip_select.png
+0
-0
platform_tip_unselect.png
ydl-platform/src/main/res/drawable-xhdpi/platform_tip_unselect.png
+0
-0
platform_toolbar_back.png
ydl-platform/src/main/res/drawable-xhdpi/platform_toolbar_back.png
+0
-0
platform_toolbar_back_yellow.png
ydl-platform/src/main/res/drawable-xhdpi/platform_toolbar_back_yellow.png
+0
-0
platform_umeng_socialize_menu_default.png
ydl-platform/src/main/res/drawable-xhdpi/platform_umeng_socialize_menu_default.png
+0
-0
platform_ydl_net_loss.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ydl_net_loss.png
+0
-0
platform_ydlcommon_blank.png
ydl-platform/src/main/res/drawable-xhdpi/platform_ydlcommon_blank.png
+0
-0
umeng_socialize_qq.png
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_qq.png
+0
-0
umeng_socialize_qzone.png
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_qzone.png
+0
-0
umeng_socialize_wechat.png
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_wechat.png
+0
-0
umeng_socialize_wxcircle.png
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_wxcircle.png
+0
-0
normaldialog_btn_select.xml
ydl-platform/src/main/res/drawable/normaldialog_btn_select.xml
+0
-10
normaldialog_right_btn_select.xml
ydl-platform/src/main/res/drawable/normaldialog_right_btn_select.xml
+0
-10
normaldialog_top_btn_select.xml
ydl-platform/src/main/res/drawable/normaldialog_top_btn_select.xml
+5
-4
platform_bg_btn_dis.xml
ydl-platform/src/main/res/drawable/platform_bg_btn_dis.xml
+0
-0
platform_bg_btn_nor.xml
ydl-platform/src/main/res/drawable/platform_bg_btn_nor.xml
+0
-0
platform_bg_btn_pre.xml
ydl-platform/src/main/res/drawable/platform_bg_btn_pre.xml
+0
-0
platform_bg_radius_bottom_white_10.xml
ydl-platform/src/main/res/drawable/platform_bg_radius_bottom_white_10.xml
+2
-1
platform_bg_radius_f3_10.xml
ydl-platform/src/main/res/drawable/platform_bg_radius_f3_10.xml
+0
-0
platform_bg_radius_green_20.xml
ydl-platform/src/main/res/drawable/platform_bg_radius_green_20.xml
+3
-2
platform_bg_radius_green_5.xml
ydl-platform/src/main/res/drawable/platform_bg_radius_green_5.xml
+0
-0
platform_bg_radius_line_green_20.xml
ydl-platform/src/main/res/drawable/platform_bg_radius_line_green_20.xml
+3
-2
platform_bg_radius_line_green_5.xml
ydl-platform/src/main/res/drawable/platform_bg_radius_line_green_5.xml
+3
-2
platform_black_background.xml
ydl-platform/src/main/res/drawable/platform_black_background.xml
+0
-0
platform_course_video_bottom_background.xml
ydl-platform/src/main/res/drawable/platform_course_video_bottom_background.xml
+0
-0
platform_dialog_list_bg.xml
ydl-platform/src/main/res/drawable/platform_dialog_list_bg.xml
+1
-1
platform_gray_radius.xml
ydl-platform/src/main/res/drawable/platform_gray_radius.xml
+0
-0
platform_ic_vector_check.xml
ydl-platform/src/main/res/drawable/platform_ic_vector_check.xml
+0
-0
platform_net_loss_back_bg.xml
ydl-platform/src/main/res/drawable/platform_net_loss_back_bg.xml
+3
-2
platform_net_loss_reset_bg.xml
ydl-platform/src/main/res/drawable/platform_net_loss_reset_bg.xml
+4
-3
platform_normaldialog_bg.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_bg.xml
+0
-0
platform_normaldialog_btn.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_btn.xml
+0
-0
platform_normaldialog_btn_select.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_btn_select.xml
+10
-0
platform_normaldialog_check_btn.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_check_btn.xml
+0
-0
platform_normaldialog_check_right_btn.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_check_right_btn.xml
+0
-0
platform_normaldialog_check_top_btn.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_check_top_btn.xml
+0
-0
platform_normaldialog_layout_bg.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_layout_bg.xml
+0
-0
platform_normaldialog_right_btn.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_right_btn.xml
+0
-0
platform_normaldialog_right_btn_select.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_right_btn_select.xml
+10
-0
platform_normaldialog_top_btn.xml
ydl-platform/src/main/res/drawable/platform_normaldialog_top_btn.xml
+0
-0
platform_play_float_background.xml
ydl-platform/src/main/res/drawable/platform_play_float_background.xml
+2
-1
platform_progressbar_update_style.xml
ydl-platform/src/main/res/drawable/platform_progressbar_update_style.xml
+0
-0
platform_round_corner_white_bg_red_line.xml
ydl-platform/src/main/res/drawable/platform_round_corner_white_bg_red_line.xml
+1
-1
platform_round_left_green.xml
ydl-platform/src/main/res/drawable/platform_round_left_green.xml
+3
-2
platform_round_left_white.xml
ydl-platform/src/main/res/drawable/platform_round_left_white.xml
+3
-2
platform_round_right_green.xml
ydl-platform/src/main/res/drawable/platform_round_right_green.xml
+3
-2
platform_round_right_white.xml
ydl-platform/src/main/res/drawable/platform_round_right_white.xml
+3
-2
platform_share_choose_bg.xml
ydl-platform/src/main/res/drawable/platform_share_choose_bg.xml
+0
-0
platform_tag_bg.xml
ydl-platform/src/main/res/drawable/platform_tag_bg.xml
+5
-4
platform_web_progressbar.xml
ydl-platform/src/main/res/drawable/platform_web_progressbar.xml
+8
-8
platform_white_radius.xml
ydl-platform/src/main/res/drawable/platform_white_radius.xml
+0
-0
applestyle.ttf
ydl-platform/src/main/res/font/applestyle.ttf
+0
-0
platform_din_bold.otf
ydl-platform/src/main/res/font/platform_din_bold.otf
+0
-0
platform_dincond_bold.ttf
ydl-platform/src/main/res/font/platform_dincond_bold.ttf
+0
-0
platform_dincond_medium.ttf
ydl-platform/src/main/res/font/platform_dincond_medium.ttf
+0
-0
platform_banner.xml
ydl-platform/src/main/res/layout/platform_banner.xml
+1
-1
platform_dialog_common_layout.xml
ydl-platform/src/main/res/layout/platform_dialog_common_layout.xml
+5
-5
platform_dialog_list_no_cancle_layout.xml
ydl-platform/src/main/res/layout/platform_dialog_list_no_cancle_layout.xml
+1
-1
platform_dialog_no_bind_phone.xml
ydl-platform/src/main/res/layout/platform_dialog_no_bind_phone.xml
+9
-8
platform_dialog_share.xml
ydl-platform/src/main/res/layout/platform_dialog_share.xml
+43
-43
platform_dialog_trend_layout.xml
ydl-platform/src/main/res/layout/platform_dialog_trend_layout.xml
+3
-3
platform_dialog_update_layout.xml
ydl-platform/src/main/res/layout/platform_dialog_update_layout.xml
+15
-17
platform_fragment_loading_dialog.xml
ydl-platform/src/main/res/layout/platform_fragment_loading_dialog.xml
+2
-2
platform_item_custom_share_ui.xml
ydl-platform/src/main/res/layout/platform_item_custom_share_ui.xml
+3
-2
platform_item_dialog_list.xml
ydl-platform/src/main/res/layout/platform_item_dialog_list.xml
+2
-2
platform_item_playing_float_btn.xml
ydl-platform/src/main/res/layout/platform_item_playing_float_btn.xml
+14
-14
platform_layout_root.xml
ydl-platform/src/main/res/layout/platform_layout_root.xml
+2
-1
platform_logo_loading_view.xml
ydl-platform/src/main/res/layout/platform_logo_loading_view.xml
+12
-12
platform_share_custom_ui.xml
ydl-platform/src/main/res/layout/platform_share_custom_ui.xml
+11
-11
platform_socialize_share_menu_item.xml
ydl-platform/src/main/res/layout/platform_socialize_share_menu_item.xml
+1
-1
platform_top_select_layout.xml
ydl-platform/src/main/res/layout/platform_top_select_layout.xml
+5
-4
platform_ui_jump_text_view.xml
ydl-platform/src/main/res/layout/platform_ui_jump_text_view.xml
+7
-7
platform_ui_new_more.xml
ydl-platform/src/main/res/layout/platform_ui_new_more.xml
+5
-5
platform_ui_private_safe_hint.xml
ydl-platform/src/main/res/layout/platform_ui_private_safe_hint.xml
+7
-6
platform_ui_title_bar.xml
ydl-platform/src/main/res/layout/platform_ui_title_bar.xml
+10
-9
platform_videoplay_view.xml
ydl-platform/src/main/res/layout/platform_videoplay_view.xml
+5
-5
platform_view_foot_view_more.xml
ydl-platform/src/main/res/layout/platform_view_foot_view_more.xml
+5
-5
platform_view_footview_loadmore.xml
ydl-platform/src/main/res/layout/platform_view_footview_loadmore.xml
+1
-1
platform_course_dot_seekbar.xml
ydl-platform/src/main/res/layouts/music_player/drawable/platform_course_dot_seekbar.xml
+3
-2
platform_course_layer_progress.xml
ydl-platform/src/main/res/layouts/music_player/drawable/platform_course_layer_progress.xml
+1
-1
platform_string_redpacket.xml
ydl-platform/src/main/res/layouts/redpacket/values/platform_string_redpacket.xml
+0
-0
platform_share_icon_backhome.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_backhome.png
+0
-0
platform_share_icon_delete.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_delete.png
+0
-0
platform_share_icon_download.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_download.png
+0
-0
platform_share_icon_dynamic.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_dynamic.png
+0
-0
platform_share_icon_friends.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_friends.png
+0
-0
platform_share_icon_poster.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_poster.png
+0
-0
platform_share_icon_qq.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_qq.png
+0
-0
platform_share_icon_qqzone.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_qqzone.png
+0
-0
platform_share_icon_report.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_report.png
+0
-0
platform_share_icon_weixin.png
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/platform_share_icon_weixin.png
+0
-0
platform_share_dialog_bg.xml
ydl-platform/src/main/res/layouts/share/drawable/platform_share_dialog_bg.xml
+4
-3
platform_swipelayout_item_load_more.xml
ydl-platform/src/main/res/layouts/swipe/layout/platform_swipelayout_item_load_more.xml
+0
-0
platform_ic_launcher.png
ydl-platform/src/main/res/mipmap-xhdpi/platform_ic_launcher.png
+0
-0
platform_ic_launcher_round.png
ydl-platform/src/main/res/mipmap-xhdpi/platform_ic_launcher_round.png
+0
-0
dimens.xml
ydl-platform/src/main/res/values-hdpi/dimens.xml
+10
-10
dimens.xml
ydl-platform/src/main/res/values-xhdpi/dimens.xml
+11
-11
arrays.xml
ydl-platform/src/main/res/values/arrays.xml
+1
-1
attrs.xml
ydl-platform/src/main/res/values/attrs.xml
+106
-192
colors.xml
ydl-platform/src/main/res/values/colors.xml
+52
-79
dimens.xml
ydl-platform/src/main/res/values/dimens.xml
+32
-50
ids.xml
ydl-platform/src/main/res/values/ids.xml
+3
-2
strings.xml
ydl-platform/src/main/res/values/strings.xml
+28
-42
styles.xml
ydl-platform/src/main/res/values/styles.xml
+23
-23
umeng_socialize_colors.xml
ydl-platform/src/main/res/values/umeng_socialize_colors.xml
+0
-3
umeng_socialize_strings.xml
ydl-platform/src/main/res/values/umeng_socialize_strings.xml
+0
-6
umeng_socialize_style.xml
ydl-platform/src/main/res/values/umeng_socialize_style.xml
+0
-21
build.gradle
ydl-webview/build.gradle
+1
-1
gradle.properties
ydl-webview/gradle.properties
+2
-2
AndroidManifest.xml
ydl-webview/src/main/AndroidManifest.xml
+2
-1
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+13
-13
ProgressWebView.java
ydl-webview/src/main/java/com/ydl/webview/ProgressWebView.java
+2
-2
SafeTipView.kt
ydl-webview/src/main/java/com/ydl/webview/SafeTipView.kt
+2
-2
web_progress_bar.xml
ydl-webview/src/main/res/drawable/web_progress_bar.xml
+8
-8
web_activity_h5_new.xml
ydl-webview/src/main/res/layout/web_activity_h5_new.xml
+3
-3
web_ui_private_safe_hint.xml
ydl-webview/src/main/res/layout/web_ui_private_safe_hint.xml
+7
-6
No files found.
app/build.gradle
View file @
494c0d63
...
...
@@ -158,9 +158,17 @@ dependencies {
androidTestImplementation
'com.android.support.test.espresso:espresso-core:3.0.2'
kapt
rootProject
.
ext
.
dependencies
[
"dagger2-compiler"
]
implementation
project
(
':m-consultant'
)
// api 'com.ydl:m-user-module-ydl:0.0.6'
// api 'com.ydl:ydl-webview:0.0.3@aar'
// api 'com.ydl:m-user-api:0.0.4'
//
// api('com.ydl:ydl-platform:0.0.5@aar') {
// transitive = true
// }
api
project
(
':m-user'
)
implementation
project
(
':ydl-platform'
)
implementation
project
(
':ydl-webview'
)
//
implementation project(':ydl-webview')
implementation
rootProject
.
ext
.
dependencies
[
"retrofit-url-manager"
]
kapt
'com.alibaba:arouter-compiler:1.2.2'
}
...
...
This diff is collapsed.
Click to expand it.
app/src/main/AndroidManifest.xml
View file @
494c0d63
...
...
@@ -19,12 +19,12 @@
android:roundIcon=
"@mipmap/ic_launcher_round"
android:supportsRtl=
"true"
tools:replace=
"android:allowBackup, android:icon, android:label"
android:theme=
"@style/CommonTheme"
android:theme=
"@style/
platform_
CommonTheme"
tools:ignore=
"GoogleAppIndexingWarning"
>
<!--<activity android:name="com.yidianling.user.ui.login.RegisterAndLoginActivity"-->
<!--<activity android:name=".MainActivity"/>-->
<activity
android:name=
".MainActivity"
android:theme=
"@style/NoTitleTheme"
android:theme=
"@style/
platform_
NoTitleTheme"
>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
...
...
This diff is collapsed.
Click to expand it.
app/src/main/java/com/ydl/component/MainActivity.kt
View file @
494c0d63
...
...
@@ -52,7 +52,7 @@ class MainActivity : BaseLceActivity<DemoContract.View, DemoContract.Presenter>(
bt_to_consultant
.
setOnClickListener
{
ARouter
.
getInstance
()
.
build
(
"/consult/hot_search"
)
.
withString
(
HOT_SEARCH_DOCTOR_NAME
,
this
.
resources
?.
getString
(
R
.
string
.
search_hint
))
.
withString
(
HOT_SEARCH_DOCTOR_NAME
,
this
.
resources
?.
getString
(
R
.
string
.
platform_
search_hint
))
.
navigation
()
}
}
...
...
@@ -72,7 +72,7 @@ class MainActivity : BaseLceActivity<DemoContract.View, DemoContract.Presenter>(
}
else
if
(
permission
.
shouldShowRequestPermissionRationale
)
{
requestPermission
()
}
else
{
ToastUtil
.
toastLong
(
this
,
getString
(
R
.
string
.
need_storage_permission_hint
))
ToastUtil
.
toastLong
(
this
,
getString
(
R
.
string
.
platform_
need_storage_permission_hint
))
val
intent
=
Intent
(
Settings
.
ACTION_APPLICATION_DETAILS_SETTINGS
)
val
uri
=
Uri
.
fromParts
(
"package"
,
packageName
,
null
)
intent
.
data
=
uri
...
...
This diff is collapsed.
Click to expand it.
app/src/main/res/layout/activity_main.xml
View file @
494c0d63
...
...
@@ -19,9 +19,9 @@
android:paddingLeft=
"30dp"
android:textSize=
"14dp"
android:gravity=
"center_vertical"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:text=
"Multiple Base Url Request Test"
android:background=
"@color/google_blue"
android:background=
"@color/
platform_
google_blue"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
/>
...
...
@@ -62,9 +62,9 @@
android:paddingLeft=
"30dp"
android:textSize=
"14dp"
android:gravity=
"center_vertical"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:text=
"Component Module Test"
android:background=
"@color/google_blue"
android:background=
"@color/
platform_
google_blue"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
/>
<LinearLayout
...
...
This diff is collapsed.
Click to expand it.
app/src/main/res/values/colors.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<color
name=
"text_user"
tools:ignore=
"MissingDefaultResource"
>
#5195cb
</color>
<color
name=
"black"
tools:ignore=
"MissingDefaultResource"
>
#FF000000
</color>
</resources>
This diff is collapsed.
Click to expand it.
m-consultant/src/main/AndroidManifest.xml
View file @
494c0d63
...
...
@@ -7,12 +7,12 @@
android:name=
".ExpertSearchActivity"
android:launchMode=
"singleTask"
android:screenOrientation=
"portrait"
android:theme=
"@style/NoTitleTheme"
/>
android:theme=
"@style/
platform_
NoTitleTheme"
/>
<activity
android:name=
".HotSearchActivity"
android:screenOrientation=
"portrait"
android:theme=
"@style/NoTitleTheme"
/>
android:theme=
"@style/
platform_
NoTitleTheme"
/>
</application>
</manifest>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
494c0d63
...
...
@@ -862,7 +862,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
tv_reload
.
visibility
=
View
.
GONE
tv_reload_hint
.
text
=
msg
ll_network_error
.
visibility
=
View
.
VISIBLE
iv_exception
.
setImageResource
(
R
.
drawable
.
ico_img_zixun_empty
)
iv_exception
.
setImageResource
(
R
.
drawable
.
platform_
ico_img_zixun_empty
)
rvExperts
.
visibility
=
View
.
GONE
dismissProgressDialog
()
...
...
@@ -1419,17 +1419,17 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
when
(
status
)
{
FILTER_STATUS_NORMAL
->
{
tv
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
NORMAL
)
tv
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
colorTextDefault
))
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
R
.
drawable
.
ic_arrow_drop_down_grey_500_18dp
,
0
)
tv
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
platform_
colorTextDefault
))
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
R
.
drawable
.
platform_
ic_arrow_drop_down_grey_500_18dp
,
0
)
}
FILTER_STATUS_FILTERED
->
{
tv
.
typeface
=
Typeface
.
DEFAULT_BOLD
tv
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
main_theme
))
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
R
.
drawable
.
ic_arrow_drop_down_grey_500_18dp
,
0
)
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
R
.
drawable
.
platform_
ic_arrow_drop_down_grey_500_18dp
,
0
)
}
FILTER_STATUS_OPEN
->
{
tv
.
typeface
=
Typeface
.
DEFAULT_BOLD
tv
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
colorTextDefault
))
tv
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
platform_
colorTextDefault
))
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
R
.
drawable
.
ic_arrow_drop_down
,
0
)
}
}
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
494c0d63
...
...
@@ -206,7 +206,7 @@ class ExpertSearchAdapter(private val context: Context, private val expertSearch
val
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
expert_search_products_item
,
holder
.
ll_tags
,
false
)
if
(
1
==
item
.
isPackage
){
view
.
tvTitle
.
text
=
"单次"
view
.
tvTitle
.
setTextColor
(
context
.
resources
.
getColor
(
R
.
color
.
color_1DA1F2
))
view
.
tvTitle
.
setTextColor
(
context
.
resources
.
getColor
(
R
.
color
.
platform_
color_1DA1F2
))
view
.
tvTitle
.
background
=
context
.
resources
.
getDrawable
(
R
.
drawable
.
expert_search_single
)
view
.
tvContent
.
text
=
item
.
name
holder
.
ll_products
.
addView
(
view
)
...
...
@@ -228,7 +228,7 @@ class ExpertSearchAdapter(private val context: Context, private val expertSearch
holder
.
tvHint
.
text
=
context
.
getString
(
R
.
string
.
loading
)
}
else
{
holder
.
pbLoading
.
visibility
=
View
.
GONE
holder
.
tvHint
.
text
=
context
.
getString
(
R
.
string
.
no_more
)
holder
.
tvHint
.
text
=
context
.
getString
(
R
.
string
.
platform_
no_more
)
}
}
}
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/adapter/RegionRecyclerViewAdapter.kt
View file @
494c0d63
...
...
@@ -37,7 +37,7 @@ class RegionRecyclerViewAdapter(val context: Context, val regionList: ArrayList<
//未选中状态
holder
.
itemView
.
tvRegionName
.
setTypeface
(
Typeface
.
DEFAULT
)
// holder.itemView.tvRegionName.setBackgroundColor(Color.rgb(245, 245, 245))
holder
.
itemView
.
tvRegionName
.
setTextColor
(
context
.
resources
.
getColor
(
R
.
color
.
default_text_color
))
holder
.
itemView
.
tvRegionName
.
setTextColor
(
context
.
resources
.
getColor
(
R
.
color
.
platform_
default_text_color
))
holder
.
itemView
.
view_select
.
visibility
=
View
.
INVISIBLE
}
}
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/adapter/SubRecyclerViewAdapter.kt
View file @
494c0d63
...
...
@@ -35,7 +35,7 @@ class SubRecyclerViewAdapter(val context: Context, val subList: ArrayList<SubIte
}
else
{
//未选中状态
holder
.
itemView
.
tvConsultTypeName
.
setTypeface
(
Typeface
.
DEFAULT
)
holder
.
itemView
.
tvConsultTypeName
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
default_text_color
))
holder
.
itemView
.
tvConsultTypeName
.
setTextColor
(
ContextCompat
.
getColor
(
context
,
R
.
color
.
platform_
default_text_color
))
// holder.itemView.ivCheckCircle.visibility = View.INVISIBLE
}
}
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_radius_gray_2.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"2dp"
></corners>
<solid
android:color=
"@color/color_FAFAFA"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/color_FAFAFA"
/>
<solid
android:color=
"@color/
platform_
color_FAFAFA"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/
platform_
color_FAFAFA"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_radius_gray_6.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"6dp"
></corners>
<solid
android:color=
"@color/color_F7F7F7"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/color_E0E0E0"
/>
<solid
android:color=
"@color/
platform_
color_F7F7F7"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/
platform_
color_E0E0E0"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_radius_line_gray_05.xml
View file @
494c0d63
...
...
@@ -3,7 +3,7 @@
android:shape=
"rectangle"
>
<corners
android:radius=
"4dp"
></corners>
<solid
android:color=
"@color/white"
/>
<solid
android:color=
"@color/
platform_
white"
/>
<stroke
android:width=
"0.5dp"
android:color=
"#10000000"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_radius_line_gray_1.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"1dp"
></corners>
<solid
android:color=
"@color/white"
/>
<stroke
android:width=
"0.5dp"
android:color=
"@color/color_E0E0E0"
/>
<solid
android:color=
"@color/
platform_
white"
/>
<stroke
android:width=
"0.5dp"
android:color=
"@color/
platform_
color_E0E0E0"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_radius_line_gray_16.xml
View file @
494c0d63
...
...
@@ -4,5 +4,5 @@
tools:ignore=
"MissingDefaultResource"
>
<corners
android:radius=
"16dp"
/>
<solid
android:color=
"@color/color_F7F7F7"
/>
<solid
android:color=
"@color/
platform_
color_F7F7F7"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_radius_line_green_5.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"5dp"
/>
<solid
android:color=
"@color/white"
/>
<solid
android:color=
"@color/
platform_
white"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/main_theme"
/>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_search_filter_selector.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
</item>
<item
android:state_enabled=
"true"
>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"@color/color_F7F7F7"
/>
<solid
android:color=
"@color/
platform_
color_F7F7F7"
/>
<corners
android:radius=
"4dp"
/>
</shape>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/bg_search_filter_selector_radius11.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
</item>
<item
android:state_enabled=
"true"
>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"@color/color_F7F7F7"
/>
<solid
android:color=
"@color/
platform_
color_F7F7F7"
/>
<corners
android:radius=
"11dp"
/>
</shape>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/expert_search_chat.xml
View file @
494c0d63
...
...
@@ -4,5 +4,5 @@
android:angle=
"180"
android:startColor=
"#FFDB14"
android:endColor=
"#FFDB26"
/>
<corners
android:radius=
"@dimen/dp_13"
/>
<corners
android:radius=
"@dimen/
platform_
dp_13"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/drawable/expert_search_menu.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#FFF5E8"
/>
<corners
android:radius=
"@dimen/dp_1"
/>
<corners
android:radius=
"@dimen/
platform_
dp_1"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/activity_hot_search.xml
View file @
494c0d63
...
...
@@ -4,7 +4,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
>
android:background=
"@color/
platform_
white"
>
<LinearLayout
android:id=
"@+id/clContainer"
...
...
@@ -71,7 +71,7 @@
android:layout_centerVertical=
"true"
android:layout_marginRight=
"12dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/delete"
android:src=
"@drawable/
platform_
delete"
android:visibility=
"invisible"
/>
<TextView
...
...
@@ -92,8 +92,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"1px"
android:layout_below=
"@+id/rl_search"
android:layout_marginTop=
"@dimen/dp_6"
android:background=
"@color/color_E0E0E0"
/>
android:layout_marginTop=
"@dimen/
platform_
dp_6"
android:background=
"@color/
platform_
color_E0E0E0"
/>
<LinearLayout
android:id=
"@+id/ll_search_history"
...
...
@@ -202,11 +202,11 @@
android:layout_width=
"match_parent"
android:layout_height=
"80dp"
android:layout_below=
"@+id/llHotExpert"
android:layout_marginLeft=
"@dimen/dp_15"
android:layout_marginTop=
"@dimen/dp_28"
android:layout_marginRight=
"@dimen/dp_15"
android:layout_marginBottom=
"@dimen/dp_28"
app:cardCornerRadius=
"@dimen/dp_4"
android:layout_marginLeft=
"@dimen/
platform_
dp_15"
android:layout_marginTop=
"@dimen/
platform_
dp_28"
android:layout_marginRight=
"@dimen/
platform_
dp_15"
android:layout_marginBottom=
"@dimen/
platform_
dp_28"
app:cardCornerRadius=
"@dimen/
platform_
dp_4"
app:cardElevation=
"0px"
>
<com.ydl.ydlcommon.view.banner.Banner
...
...
@@ -215,12 +215,12 @@
android:layout_height=
"80dp"
android:scaleType=
"centerCrop"
android:tag=
"overScroll"
app:indicator_different_width=
"14dp"
app:indicator_drawable_selected=
"@drawable/banner_indicator_select"
app:indicator_drawable_unselected=
"@drawable/banner_indicator_unselect"
app:indicator_height=
"5dp"
app:indicator_margin=
"1.25dp"
app:is_selected_same_unselected=
"false"
/>
app:
pa_
indicator_different_width=
"14dp"
app:
pa_
indicator_drawable_selected=
"@drawable/banner_indicator_select"
app:
pa_
indicator_drawable_unselected=
"@drawable/banner_indicator_unselect"
app:
pa_
indicator_height=
"5dp"
app:
pa_
indicator_margin=
"1.25dp"
app:
pa_
is_selected_same_unselected=
"false"
/>
</android.support.v7.widget.CardView>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/expert_search_feedbackrate.xml
View file @
494c0d63
...
...
@@ -3,7 +3,7 @@
android:id=
"@+id/imgRate"
android:layout_width=
"@dimen/dp_11"
android:layout_height=
"@dimen/dp_11"
android:layout_marginRight=
"@dimen/dp_2"
android:layout_marginRight=
"@dimen/
platform_
dp_2"
android:scaleType=
"fitXY"
android:background=
"@drawable/expert_search_full_star"
>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/expert_search_item_view.xml
View file @
494c0d63
...
...
@@ -3,16 +3,16 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingLeft=
"@dimen/dp_13"
android:paddingRight=
"@dimen/dp_15"
android:paddingBottom=
"@dimen/dp_8"
android:paddingLeft=
"@dimen/
platform_
dp_13"
android:paddingRight=
"@dimen/
platform_
dp_15"
android:paddingBottom=
"@dimen/
platform_
dp_8"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
<!--头像-->
<LinearLayout
android:id=
"@+id/cvHead"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_15"
android:layout_marginTop=
"@dimen/
platform_
dp_15"
android:layout_marginLeft=
"1.5dp"
android:padding=
"0.5dp"
android:background=
"@drawable/bg_radius_line_gray_05"
...
...
@@ -62,8 +62,8 @@
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_12"
android:layout_marginLeft=
"@dimen/dp_12"
android:textSize=
"@dimen/dp_18"
android:textColor=
"@color/color_242424"
android:textSize=
"@dimen/
platform_
dp_18"
android:textColor=
"@color/
platform_
color_242424"
android:layout_marginStart=
"@dimen/dp_12"
android:textStyle=
"bold"
tools:ignore=
"SpUsage"
...
...
@@ -73,42 +73,42 @@
android:layout_toRightOf=
"@+id/tvName"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_2"
android:layout_marginLeft=
"@dimen/
platform_
dp_2"
android:orientation=
"horizontal"
android:paddingLeft=
"10dp"
android:gravity=
"center_vertical"
android:layout_alignTop=
"@+id/tvName"
android:layout_alignBottom=
"@+id/tvName"
android:layout_toEndOf=
"@+id/tvName"
android:layout_marginStart=
"@dimen/dp_2"
>
android:layout_marginStart=
"@dimen/
platform_
dp_2"
>
<!--优质图标-->
<ImageView
android:id=
"@+id/imgAbilityLevel"
android:layout_width=
"37dp"
android:layout_height=
"@dimen/dp_12"
android:layout_marginLeft=
"@dimen/dp_4"
android:layout_marginLeft=
"@dimen/
platform_
dp_4"
android:scaleType=
"fitCenter"
tools:background=
"@drawable/ability_level"
android:layout_marginStart=
"@dimen/dp_4"
android:layout_marginStart=
"@dimen/
platform_
dp_4"
android:visibility=
"gone"
/>
<!--公益图标-->
<ImageView
android:id=
"@+id/imgServiceFree"
android:layout_width=
"26dp"
android:layout_height=
"@dimen/dp_12"
android:layout_marginLeft=
"@dimen/dp_4"
android:layout_marginLeft=
"@dimen/
platform_
dp_4"
android:scaleType=
"centerCrop"
tools:background=
"@drawable/service_free"
android:layout_marginStart=
"@dimen/dp_4"
/>
android:layout_marginStart=
"@dimen/
platform_
dp_4"
/>
<!--新驻图标-->
<ImageView
android:id=
"@+id/imgNewEnter"
android:layout_width=
"26dp"
android:layout_height=
"@dimen/dp_12"
android:layout_marginLeft=
"@dimen/dp_4"
android:layout_marginLeft=
"@dimen/
platform_
dp_4"
android:scaleType=
"fitCenter"
tools:background=
"@drawable/new_enter"
android:layout_marginStart=
"@dimen/dp_4"
/>
android:layout_marginStart=
"@dimen/
platform_
dp_4"
/>
</LinearLayout>
...
...
@@ -121,9 +121,9 @@
android:layout_marginLeft=
"@dimen/dp_12"
android:layout_toRightOf=
"@+id/cvHead"
android:layout_toEndOf=
"@+id/cvHead"
android:layout_marginTop=
"@dimen/dp_4"
android:layout_marginTop=
"@dimen/
platform_
dp_4"
android:textSize=
"@dimen/dp_12"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:lines=
"1"
android:ellipsize=
"end"
tools:text=
"一级婚姻家庭咨询师,二级心理咨询师"
/>
...
...
@@ -149,7 +149,7 @@
android:layout_below=
"@+id/tvTeamCertifications"
android:layout_marginLeft=
"@dimen/dp_12"
android:layout_marginStart=
"@dimen/dp_12"
android:layout_marginTop=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_5"
android:orientation=
"horizontal"
>
<!--好评率-->
<LinearLayout
...
...
@@ -168,7 +168,7 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:textSize=
"@dimen/dp_12"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
tools:text=
"61234"
android:textStyle=
"bold"
/>
<TextView
...
...
@@ -176,7 +176,7 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:textSize=
"@dimen/dp_12"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:text=
"条评价"
/>
<TextView
android:id=
"@+id/tvCity"
...
...
@@ -185,7 +185,7 @@
tools:text=
"浙江.杭州"
android:layout_weight=
"1"
android:gravity=
"right"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -200,7 +200,7 @@
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/dp_12"
android:layout_marginTop=
"5dp"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
tools:ignore=
"SpUsage"
android:text=
"帮助"
/>
<TextView
...
...
@@ -212,7 +212,7 @@
android:textSize=
"@dimen/dp_12"
android:layout_marginLeft=
"1dp"
android:layout_marginRight=
"1dp"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textStyle=
"bold"
tools:text=
"2648"
tools:ignore=
"SpUsage"
/>
...
...
@@ -222,7 +222,7 @@
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@+id/tvOrderNumContent"
android:textSize=
"@dimen/dp_12"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
tools:ignore=
"SpUsage"
android:text=
"人"
/>
<!--月售时长-->
...
...
@@ -230,11 +230,11 @@
android:id=
"@+id/tvSaleDurationForMonthContent"
android:layout_toRightOf=
"@+id/tvOrderNum"
android:layout_alignTop=
"@+id/tvOrderNumContent"
android:layout_marginLeft=
"@dimen/dp_20"
android:layout_marginLeft=
"@dimen/
platform_
dp_20"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/dp_12"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
tools:ignore=
"SpUsage"
android:text=
"月售"
/>
...
...
@@ -247,7 +247,7 @@
android:textSize=
"@dimen/dp_12"
android:layout_marginLeft=
"1dp"
android:layout_marginRight=
"1dp"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textStyle=
"bold"
android:gravity=
"center"
tools:text=
"134"
...
...
@@ -258,7 +258,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/dp_12"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
tools:ignore=
"SpUsage"
android:text=
"小时"
/>
...
...
@@ -269,7 +269,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/dp_12"
android:textColor=
"@color/color_FF5040"
android:textColor=
"@color/
platform_
color_FF5040"
tools:ignore=
"SpUsage"
tools:text=
"多人在问询"
android:visibility=
"gone"
...
...
@@ -294,8 +294,8 @@
android:layout_alignTop=
"@+id/tvName"
android:layout_toLeftOf=
"@+id/tvPriceContent"
android:textColor=
"#FF5040"
android:textSize=
"@dimen/dp_20"
android:fontFamily=
"@font/din_bold"
android:textSize=
"@dimen/
platform_
dp_20"
android:fontFamily=
"@font/
platform_
din_bold"
tools:text=
"250"
/>
<TextView
android:id=
"@+id/tvPriceContent"
...
...
@@ -326,7 +326,7 @@
android:layout_marginStart=
"104dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_5"
android:orientation=
"vertical"
android:visibility=
"gone"
>
...
...
@@ -335,14 +335,14 @@
<TextView
android:id=
"@+id/tvChat"
android:layout_width=
"58dp"
android:layout_height=
"@dimen/dp_24"
android:layout_height=
"@dimen/
platform_
dp_24"
android:layout_alignBottom=
"@+id/cvHead"
android:layout_alignParentRight=
"true"
android:gravity=
"center"
android:textSize=
"@dimen/dp_13"
android:textSize=
"@dimen/
platform_
dp_13"
android:textStyle=
"bold"
android:background=
"@drawable/expert_search_chat"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:text=
"私聊"
/>
<!--描述-->
...
...
@@ -350,17 +350,17 @@
android:id=
"@+id/group_desc"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_10"
android:layout_marginTop=
"@dimen/
platform_
dp_10"
android:layout_below=
"@+id/tvChat"
android:layout_toRightOf=
"@+id/cvHead"
android:layout_marginLeft=
"@dimen/dp_15"
android:layout_marginLeft=
"@dimen/
platform_
dp_15"
android:visibility=
"gone"
android:background=
"@drawable/bg_radius_gray_2"
>
<ImageView
android:layout_width=
"12dp"
android:layout_height=
"11dp"
android:layout_marginTop=
"@dimen/dp_6"
android:layout_marginLeft=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_6"
android:layout_marginLeft=
"@dimen/
platform_
dp_8"
android:src=
"@drawable/bg_item_desc"
/>
<TextView
android:id=
"@+id/tvDesc"
...
...
@@ -373,7 +373,7 @@
android:layout_marginBottom=
"8dp"
android:maxLines=
"2"
tools:text=
"的客人能够黄偶尔烦人呢日工俄日给你额鞥你让个汇入你哦个人会儿个黄胡蓉呢你个人给哦 而归黑人更换二给"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:textSize=
"@dimen/dp_11"
/>
</RelativeLayout>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/expert_search_products_item.xml
View file @
494c0d63
...
...
@@ -4,31 +4,31 @@
android:orientation=
"horizontal"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_7"
>
android:layout_marginTop=
"@dimen/
platform_
dp_7"
>
<TextView
android:id=
"@+id/tvTitle"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/expert_search_single"
android:textColor=
"@color/color_1DA1F2"
android:textColor=
"@color/
platform_
color_1DA1F2"
android:layout_gravity=
"center_vertical"
android:paddingRight=
"@dimen/dp_3"
android:paddingLeft=
"@dimen/dp_3"
android:paddingRight=
"@dimen/
platform_
dp_3"
android:paddingLeft=
"@dimen/
platform_
dp_3"
android:paddingTop=
"@dimen/dp_0.5"
android:paddingBottom=
"@dimen/dp_0.5"
android:textSize=
"@dimen/dp_9"
android:textSize=
"@dimen/
platform_
dp_9"
tools:text=
"单次"
/>
<TextView
android:id=
"@+id/tvContent"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_6"
android:layout_marginLeft=
"@dimen/
platform_
dp_6"
android:layout_gravity=
"center_vertical"
android:lines=
"1"
android:ellipsize=
"end"
android:textColor=
"@color/color_666666"
android:textColor=
"@color/
platform_
color_666666"
android:textSize=
"@dimen/dp_11"
tools:text=
"职业发展,个人成长主题倾诉"
android:layout_marginStart=
"@dimen/dp_6"
android:layout_marginStart=
"@dimen/
platform_
dp_6"
tools:ignore=
"SpUsage"
/>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/item_consult_type.xml
View file @
494c0d63
...
...
@@ -14,7 +14,7 @@
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:textColor=
"@color/color_black_333333"
android:textColor=
"@color/
platform_
color_black_333333"
android:textSize=
"14sp"
tools:text=
"咨询方式"
/>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/item_empty.xml
View file @
494c0d63
...
...
@@ -18,8 +18,8 @@
android:layout_marginTop=
"16dp"
android:gravity=
"center"
android:orientation=
"vertical"
android:text=
"@string/no_search_result"
android:textColor=
"@color/text_gray"
android:text=
"@string/
platform_
no_search_result"
android:textColor=
"@color/
platform_
text_gray"
android:textSize=
"@dimen/sp_14"
/>
<Button
...
...
@@ -31,7 +31,7 @@
android:background=
"@drawable/bg_radius_line_green_5"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:text=
"@string/search_by_category"
android:text=
"@string/
platform_
search_by_category"
android:textColor=
"@color/main_theme"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/item_hot_search.xml
View file @
494c0d63
...
...
@@ -11,11 +11,11 @@
android:gravity=
"center"
android:maxEms=
"9"
android:paddingLeft=
"@dimen/dp_16"
android:paddingTop=
"@dimen/dp_7"
android:paddingTop=
"@dimen/
platform_
dp_7"
android:paddingRight=
"@dimen/dp_16"
android:paddingBottom=
"@dimen/dp_7"
android:paddingBottom=
"@dimen/
platform_
dp_7"
android:singleLine=
"true"
android:textColor=
"#242424"
android:textSize=
"@dimen/dp_14"
android:textSize=
"@dimen/
platform_
dp_14"
tools:text=
"自闭症电视都是范德萨"
/>
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/item_price_range.xml
View file @
494c0d63
...
...
@@ -9,7 +9,7 @@
>
<LinearLayout
android:layout_marginLeft=
"@dimen/dp_5"
android:layout_marginLeft=
"@dimen/
platform_
dp_5"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/item_region.xml
View file @
494c0d63
...
...
@@ -4,7 +4,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical"
android:background=
"@color/white"
>
android:background=
"@color/
platform_
white"
>
<View
android:id=
"@+id/view_select"
android:layout_width=
"4dp"
...
...
@@ -18,7 +18,7 @@
android:layout_height=
"40dp"
android:gravity=
"center"
android:text=
"地区"
android:textColor=
"@color/default_text_color"
android:textColor=
"@color/
platform_
default_text_color"
android:textSize=
"14sp"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/item_sort.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:gravity=
"center"
android:textSize=
"@dimen/dp_15"
android:textSize=
"@dimen/
platform_
dp_15"
tools:text=
"智能排序"
/>
<ImageView
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/item_tag.xml
View file @
494c0d63
...
...
@@ -8,7 +8,7 @@
android:gravity=
"center"
android:paddingLeft=
"4dp"
android:layout_marginRight=
"6dp"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:paddingRight=
"4dp"
android:textSize=
"10dp"
tools:text=
"恋爱情感"
/>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/layout_search_content.xml
View file @
494c0d63
...
...
@@ -5,7 +5,7 @@
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
>
<com.yidianling.consultant.ui.view.DisInterceptNestedScrollView
...
...
@@ -20,7 +20,7 @@
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"horizontal"
>
<com.ydl.ydlcommon.view.DrawableRightTextView
...
...
@@ -29,10 +29,10 @@
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:width=
"0dp"
android:textColor=
"@color/color_242424"
android:drawableEnd=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/theme"
/>
android:textColor=
"@color/
platform_
color_242424"
android:drawableEnd=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/
platform_
theme"
/>
<com.ydl.ydlcommon.view.DrawableRightTextView
android:id=
"@+id/tvArea"
...
...
@@ -40,10 +40,10 @@
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:width=
"0dp"
android:textColor=
"@color/color_242424"
android:drawableEnd=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/area"
/>
android:textColor=
"@color/
platform_
color_242424"
android:drawableEnd=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/
platform_
area"
/>
<com.ydl.ydlcommon.view.DrawableRightTextView
android:id=
"@+id/tvSort"
...
...
@@ -51,10 +51,10 @@
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:width=
"0dp"
android:textColor=
"@color/color_242424"
android:drawableEnd=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/sort"
/>
android:textColor=
"@color/
platform_
color_242424"
android:drawableEnd=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/
platform_
sort"
/>
<com.ydl.ydlcommon.view.DrawableRightTextView
android:id=
"@+id/tvFilter"
...
...
@@ -62,10 +62,10 @@
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:width=
"0dp"
android:textColor=
"@color/color_242424"
android:drawableEnd=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/filter"
/>
android:textColor=
"@color/
platform_
color_242424"
android:drawableEnd=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:drawableRight=
"@drawable/
platform_
ic_arrow_drop_down_grey_500_18dp"
android:text=
"@string/
platform_
filter"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -80,7 +80,7 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/line"
/>
android:background=
"@color/
platform_
line"
/>
</LinearLayout>
</com.yidianling.consultant.ui.view.DisInterceptNestedScrollView>
...
...
@@ -93,7 +93,7 @@
android:id=
"@+id/viewSep2"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:background=
"@color/divide_color"
android:background=
"@color/
platform_
divide_color"
/>
<android.support.v4.widget.SwipeRefreshLayout
...
...
@@ -105,7 +105,7 @@
android:id=
"@+id/rvExperts"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:overScrollMode=
"never"
/>
</android.support.v4.widget.SwipeRefreshLayout>
...
...
@@ -121,7 +121,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"400dp"
android:orientation=
"vertical"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:gravity=
"center_horizontal"
android:visibility=
"gone"
>
...
...
@@ -144,10 +144,10 @@
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_16"
android:background=
"@drawable/bg_blue_but"
android:paddingLeft=
"@dimen/dp_32"
android:paddingTop=
"@dimen/dp_8"
android:paddingRight=
"@dimen/dp_32"
android:paddingBottom=
"@dimen/dp_8"
android:paddingLeft=
"@dimen/
platform_
dp_32"
android:paddingTop=
"@dimen/
platform_
dp_8"
android:paddingRight=
"@dimen/
platform_
dp_32"
android:paddingBottom=
"@dimen/
platform_
dp_8"
android:text=
"重新加载"
android:textColor=
"@color/main_theme"
/>
</LinearLayout>
...
...
@@ -160,7 +160,7 @@
android:layout_alignParentBottom=
"true"
android:layout_marginRight=
"20dp"
android:layout_marginBottom=
"20dp"
android:background=
"@color/transparent"
android:background=
"@color/
platform_
transparent"
android:padding=
"0dp"
android:src=
"@drawable/ico_totop"
android:visibility=
"gone"
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/layout_search_head_bg.xml
View file @
494c0d63
...
...
@@ -4,7 +4,7 @@
android:id=
"@+id/search_head_bg"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:clipChildren=
"false"
android:clipToPadding=
"false"
app:layout_collapseMode=
"parallax"
...
...
@@ -27,13 +27,13 @@
android:layout_width=
"match_parent"
android:layout_height=
"99dp"
android:scaleType=
"centerCrop"
app:indicator_different_width=
"14dp"
app:indicator_drawable_selected=
"@drawable/banner_indicator_select"
app:indicator_drawable_unselected=
"@drawable/banner_indicator_unselect"
app:indicator_height=
"5dp"
app:indicator_margin=
"1.25dp"
app:is_selected_same_unselected=
"false"
app:is_show_indicator=
"false"
/>
app:
pa_
indicator_different_width=
"14dp"
app:
pa_
indicator_drawable_selected=
"@drawable/banner_indicator_select"
app:
pa_
indicator_drawable_unselected=
"@drawable/banner_indicator_unselect"
app:
pa_
indicator_height=
"5dp"
app:
pa_
indicator_margin=
"1.25dp"
app:
pa_
is_selected_same_unselected=
"false"
app:
pa_
is_show_indicator=
"false"
/>
</android.support.v7.widget.CardView>
</com.yidianling.consultant.ui.view.DisInterceptNestedScrollView>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/layout_search_toolbar.xml
View file @
494c0d63
...
...
@@ -43,7 +43,7 @@
android:gravity=
"center_vertical"
android:hint=
"搜索心理问题或咨询师姓名"
android:maxLines=
"1"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:textSize=
"12dp"
/>
...
...
@@ -59,7 +59,7 @@
android:gravity=
"center"
android:paddingTop=
"7dp"
android:text=
"客服"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"9sp"
/>
<TextView
...
...
@@ -72,6 +72,6 @@
android:gravity=
"center"
android:paddingTop=
"7dp"
android:text=
"咨询指南"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"9sp"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/ui_filter_popup.xml
View file @
494c0d63
...
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"vertical"
>
<ScrollView
...
...
@@ -11,23 +11,23 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:overScrollMode=
"never"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"11dp"
android:layout_marginTop=
"@dimen/dp_20"
android:layout_marginTop=
"@dimen/
platform_
dp_20"
android:orientation=
"vertical"
>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/dp_20"
android:layout_marginLeft=
"@dimen/
platform_
dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_20"
android:text=
"显示方式"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_16"
android:textStyle=
"bold"
android:visibility=
"gone"
/>
...
...
@@ -42,10 +42,10 @@
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/dp_28"
android:layout_marginLeft=
"@dimen/
platform_
dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_28"
android:text=
"咨询方式"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_16"
android:textStyle=
"bold"
/>
...
...
@@ -58,10 +58,10 @@
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/dp_28"
android:layout_marginLeft=
"@dimen/
platform_
dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_28"
android:text=
"服务均价"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_16"
android:textStyle=
"bold"
/>
...
...
@@ -74,10 +74,10 @@
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/dp_28"
android:layout_marginLeft=
"@dimen/
platform_
dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_28"
android:text=
"年龄选择"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_16"
android:textStyle=
"bold"
/>
...
...
@@ -90,10 +90,10 @@
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/dp_28"
android:layout_marginLeft=
"@dimen/
platform_
dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_28"
android:text=
"资质选择"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_16"
android:textStyle=
"bold"
/>
...
...
@@ -108,10 +108,10 @@
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_5"
android:layout_marginTop=
"@dimen/dp_28"
android:layout_marginLeft=
"@dimen/
platform_
dp_5"
android:layout_marginTop=
"@dimen/
platform_
dp_28"
android:text=
"其他选择"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_16"
android:textStyle=
"bold"
/>
...
...
@@ -134,7 +134,7 @@
android:layout_marginRight=
"15dp"
android:layout_marginBottom=
"15dp"
android:layout_marginTop=
"10dp"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"horizontal"
>
<TextView
...
...
@@ -144,8 +144,8 @@
android:layout_weight=
"1"
android:background=
"@drawable/bg_radius_gray_6"
android:gravity=
"center"
android:text=
"@string/reset"
android:textColor=
"@color/color_999999"
android:text=
"@string/
platform_
reset"
android:textColor=
"@color/
platform_
color_999999"
android:textSize=
"16sp"
/>
<TextView
...
...
@@ -158,7 +158,7 @@
android:background=
"@drawable/bg_radius_5_light"
android:gravity=
"center"
android:hint=
"暂无匹配咨询师"
android:textColorHint=
"@color/color_E0E0E0"
android:textColorHint=
"@color/
platform_
color_E0E0E0"
android:textColor=
"@color/confirm_text_color"
android:textSize=
"16sp"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/ui_region_popup_window.xml
View file @
494c0d63
...
...
@@ -8,7 +8,7 @@
android:id=
"@+id/rvRegion"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:layout_weight=
"1"
android:paddingTop=
"10dp"
android:overScrollMode=
"never"
/>
...
...
@@ -17,7 +17,7 @@
android:id=
"@+id/rvSub"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:background=
"@color/color_F7F7F7"
android:background=
"@color/
platform_
color_F7F7F7"
android:layout_weight=
"2"
android:paddingTop=
"10dp"
android:overScrollMode=
"never"
/>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/ui_sort_popup_window.xml
View file @
494c0d63
...
...
@@ -3,7 +3,7 @@
android:id=
"@+id/rvSortItem"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:overScrollMode=
"never"
android:paddingTop=
"10dp"
android:paddingBottom=
"10dp"
/>
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/res/layout/ui_subject_popup_window.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"vertical"
>
<TextView
...
...
@@ -10,10 +10,10 @@
android:layout_height=
"wrap_content"
android:text=
"服务类型"
android:textSize=
"@dimen/dp_16"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textStyle=
"bold"
android:layout_marginTop=
"@dimen/dp_24"
android:layout_marginLeft=
"@dimen/dp_15"
android:layout_marginTop=
"@dimen/
platform_
dp_24"
android:layout_marginLeft=
"@dimen/
platform_
dp_15"
android:layout_marginBottom=
"7dp"
/>
<android.support.v7.widget.RecyclerView
...
...
@@ -34,7 +34,7 @@
android:layout_marginTop=
"19dp"
android:background=
"@drawable/bg_radius_5_dark"
android:gravity=
"center"
android:text=
"@string/confirm"
android:text=
"@string/
platform_
confirm"
android:textSize=
"17dp"
android:textColor=
"@color/confirm_text_color"
/>
...
...
This diff is collapsed.
Click to expand it.
m-user/build.gradle
View file @
494c0d63
...
...
@@ -70,8 +70,8 @@ dependencies {
implementation
"org.jetbrains.kotlin:kotlin-script-runtime:1.3.41"
compileOnly
'com.ydl:m-user-api:0.0.4'
api
'com.ydl:router:1.0.0-SNAPSHOT@aar'
// api 'com.ydl:ydl-webview:0.0.
2
@aar'
// api('com.ydl:ydl-platform:0.0.
4
@aar') {
// api 'com.ydl:ydl-webview:0.0.
3
@aar'
// api('com.ydl:ydl-platform:0.0.
5
@aar') {
// transitive = true
// }
api
project
(
':ydl-webview'
)
...
...
This diff is collapsed.
Click to expand it.
m-user/modular.gradle
View file @
494c0d63
...
...
@@ -8,7 +8,7 @@ modular {
groupId
=
"com.ydl"
artifactId
=
"m-user-module-xlzx"
// 上报的业务模块 aar 包的版本号
version
=
"0.0.
5
"
version
=
"0.0.
6
"
}
ydl
{
...
...
@@ -16,7 +16,7 @@ modular {
groupId
=
"com.ydl"
artifactId
=
"m-user-module-ydl"
// 上报的业务模块 aar 包的版本号
version
=
"0.0.
5
"
version
=
"0.0.
6
"
}
}
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/GlideImageLoader.java
View file @
494c0d63
...
...
@@ -25,8 +25,8 @@ public class GlideImageLoader implements ImageLoader {
private
void
showImage
(
Activity
activity
,
String
path
,
ImageView
imageView
,
int
width
,
int
height
){
SimpleImageOpConfiger
sp
=
new
SimpleImageOpConfiger
();
sp
.
loadingPic
=
R
.
drawable
.
default_img
;
sp
.
errorPic
=
R
.
drawable
.
default_img
;
sp
.
loadingPic
=
R
.
drawable
.
platform_
default_img
;
sp
.
errorPic
=
R
.
drawable
.
platform_
default_img
;
sp
.
scaleType
=
ISimpleImageOpConfig
.
CENTER_CROP
;
sp
.
isCacheOnDisk
=
false
;
YDLImageCacheManager
.
showImage
(
activity
,
path
,
imageView
,
width
,
height
,
sp
);
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/safePrivate/FingerPrintCheckActivity.kt
View file @
494c0d63
...
...
@@ -103,7 +103,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
if
(
error_num
<
1
)
{
CommonDialog
(
mContext
)
.
setMessage
(
FingerPrintUtil
.
errorLogin
)
.
setMessageColor
(
R
.
color
.
price_color
)
.
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
.
setRightClick
(
"确定"
)
{
//跳转登录
RegisterAndLoginActivity
.
start
(
this
)
...
...
@@ -119,7 +119,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
CommonDialog
(
mContext
)
.
setImageCenter
(
R
.
drawable
.
lock_ico_zhiwen
)
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
)
.
setMessageColor
(
R
.
color
.
price_color
)
.
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
.
setRightClick
(
"取消"
)
{
//停止指纹监听
FingerPrintUtil
.
instance
().
cancelFingerListener
()
...
...
@@ -158,7 +158,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
override
fun
onAuthenticationFailed
()
{
if
(
dia
!=
null
)
{
dia
.
setMessage
(
FingerPrintUtil
.
errorMessage
).
setMessageColor
(
R
.
color
.
price_color
)
dia
.
setMessage
(
FingerPrintUtil
.
errorMessage
).
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
//设置抖动动画
dia
.
setMessageShake
(
true
)
}
...
...
@@ -172,7 +172,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
}
CommonDialog
(
mContext
)
.
setMessage
(
FingerPrintUtil
.
errorLogin
)
.
setMessageColor
(
R
.
color
.
price_color
)
.
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
.
setRightClick
(
"确定"
)
{
//跳转登录
//跳转登录
...
...
@@ -185,7 +185,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
override
fun
onAuthenticationError
()
{
if
(
dia
!=
null
)
{
dia
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
).
setMessageColor
(
R
.
color
.
price_color
)
dia
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
).
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
}
}
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/safePrivate/HandUnlockCheckActivity.kt
View file @
494c0d63
...
...
@@ -202,7 +202,7 @@ class HandUnlockCheckActivity : BaseActivity(), android.view.View.OnClickListene
//判断系统指纹是否被禁用
if
(!
FingerPrintUtil
.
getFingerPrintIsAviable
())
{
if
(
dia
!=
null
)
{
dia
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
).
setMessageColor
(
R
.
color
.
price_color
)
dia
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
).
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
}
return
}
...
...
@@ -239,7 +239,7 @@ class HandUnlockCheckActivity : BaseActivity(), android.view.View.OnClickListene
override
fun
onAuthenticationFailed
()
{
if
(
dia
!=
null
)
{
dia
.
setMessage
(
FingerPrintUtil
.
errorMessage
).
setMessageColor
(
R
.
color
.
price_color
)
dia
.
setMessage
(
FingerPrintUtil
.
errorMessage
).
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
//设置抖动动画
dia
.
setMessageShake
(
true
)
}
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/safePrivate/SetFingerPrintActivity.kt
View file @
494c0d63
...
...
@@ -69,7 +69,7 @@ class SetFingerPrintActivity : BaseActivity(), View.OnClickListener {
//判断系统指纹是否可用
if
(!
FingerPrintUtil
.
getFingerPrintIsAviable
())
{
if
(
dia
!=
null
)
{
dia
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
).
setMessageColor
(
R
.
color
.
price_color
)
dia
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
).
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
FingerPrintUtil
.
instance
().
cancelFingerListener
()
}
...
...
@@ -89,7 +89,7 @@ class SetFingerPrintActivity : BaseActivity(), View.OnClickListener {
override
fun
onAuthenticationFailed
()
{
if
(
dia
!=
null
)
{
dia
.
setMessage
(
FingerPrintUtil
.
errorMessage
).
setMessageColor
(
R
.
color
.
price_color
)
dia
.
setMessage
(
FingerPrintUtil
.
errorMessage
).
setMessageColor
(
R
.
color
.
p
latform_p
rice_color
)
//设置抖动动画
dia
.
setMessageShake
(
true
)
}
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/safePrivate/SetHandUnLockActivity.kt
View file @
494c0d63
...
...
@@ -63,7 +63,7 @@ class SetHandUnLockActivity : BaseActivity() {
override
fun
onStart
()
{
if
(
first_pass
!=
null
)
{
tipText
?.
setText
(
""
)
tipText
?.
setTextColor
(
ContextCompat
.
getColor
(
this
@SetHandUnLockActivity
,
R
.
color
.
tag_text
))
tipText
?.
setTextColor
(
ContextCompat
.
getColor
(
this
@SetHandUnLockActivity
,
R
.
color
.
platform_
tag_text
))
}
}
...
...
@@ -78,7 +78,7 @@ class SetHandUnLockActivity : BaseActivity() {
lock9
?.
setSuccessPass
(
password
)
tipText
?.
visibility
=
View
.
VISIBLE
tipText
?.
setText
(
"再次绘制图案进行确认"
)
tipText
?.
setTextColor
(
ContextCompat
.
getColor
(
this
@SetHandUnLockActivity
,
R
.
color
.
tag_text
))
tipText
?.
setTextColor
(
ContextCompat
.
getColor
(
this
@SetHandUnLockActivity
,
R
.
color
.
platform_
tag_text
))
titleBar
?.
setRightTextVisiable
(
View
.
VISIBLE
)
first_pass
=
password
tip_bar
?.
setPath
(
password
)
...
...
@@ -103,7 +103,7 @@ class SetHandUnLockActivity : BaseActivity() {
}
else
{
//与上次密码不一致,请重新绘制
tipText
?.
text
=
"与上次输入不一致,请重新绘制"
tipText
?.
setTextColor
(
ContextCompat
.
getColor
(
this
@SetHandUnLockActivity
,
R
.
color
.
price_color
))
tipText
?.
setTextColor
(
ContextCompat
.
getColor
(
this
@SetHandUnLockActivity
,
R
.
color
.
p
latform_p
rice_color
))
}
}
}
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/ui/CountryListActivity.java
View file @
494c0d63
...
...
@@ -52,7 +52,7 @@ public class CountryListActivity extends BaseActivity {
mListView
=
findViewById
(
R
.
id
.
country_lv
);
iv_close
=
findViewById
(
R
.
id
.
iv_close
);
iv_close
.
setOnClickListener
(
view
->
{
overridePendingTransition
(
0
,
R
.
anim
.
slide_out_to_bottom
);
overridePendingTransition
(
0
,
R
.
anim
.
platform_
slide_out_to_bottom
);
finish
();
});
init
();
...
...
@@ -131,7 +131,7 @@ public class CountryListActivity extends BaseActivity {
i
.
putExtra
(
"name"
,
c
.
getName
());
i
.
putExtra
(
"en_name"
,
c
.
getEn_name
());
setResult
(
45
,
i
);
overridePendingTransition
(
0
,
R
.
anim
.
slide_out_to_bottom
);
overridePendingTransition
(
0
,
R
.
anim
.
platform_
slide_out_to_bottom
);
finish
();
});
return
view
;
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/ui/FillInfoActivity.java
View file @
494c0d63
...
...
@@ -184,7 +184,7 @@ public class FillInfoActivity extends BaseActivity implements View.OnClickListen
ActivityManager
.
Companion
.
finishActivity
(
LoginActivity
.
class
);
finish
();
}
ToastHelper
.
Companion
.
show
(
R
.
string
.
register_success
);
ToastHelper
.
Companion
.
show
(
R
.
string
.
platform_
register_success
);
LogHelper
.
Companion
.
getInstance
().
writeLogSync
(
"完善资料页退出"
);
})
.
setRightClick
(
"继续"
,
(
view1
->
{
...
...
@@ -356,7 +356,7 @@ public class FillInfoActivity extends BaseActivity implements View.OnClickListen
ActivityManager
.
Companion
.
finishActivity
(
LoginActivity
.
class
);
finish
();
}
ToastHelper
.
Companion
.
show
(
R
.
string
.
register_success
);
ToastHelper
.
Companion
.
show
(
R
.
string
.
platform_
register_success
);
LogHelper
.
Companion
.
getInstance
().
writeLogSync
(
"完善资料成功"
);
},
new
ThrowableConsumer
()
{
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/ui/login/H5Activity.java
View file @
494c0d63
...
...
@@ -32,13 +32,13 @@ public class H5Activity extends Activity {
protected
void
onCreate
(
@Nullable
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_h5
);
StatusBarUtils
.
Companion
.
setWindowStatusBarColor
(
this
,
R
.
color
.
white
);
StatusBarUtils
.
Companion
.
setWindowStatusBarColor
(
this
,
R
.
color
.
platform_
white
);
WebView
web_view
=
findViewById
(
R
.
id
.
web_view
);
ImageView
iv_pop
=
findViewById
(
R
.
id
.
iv_pop
);
iv_pop
.
setOnClickListener
(
view
->
{
finish
();
overridePendingTransition
(
0
,
R
.
anim
.
slide_out_to_bottom
);
overridePendingTransition
(
0
,
R
.
anim
.
platform_
slide_out_to_bottom
);
});
web_view
.
setWebViewClient
(
new
WebViewClient
()
{
//覆盖shouldOverrideUrlLoading 方法
...
...
@@ -76,7 +76,7 @@ public class H5Activity extends Activity {
@Override
public
void
onBackPressed
()
{
finish
();
overridePendingTransition
(
0
,
R
.
anim
.
slide_out_to_bottom
);
overridePendingTransition
(
0
,
R
.
anim
.
platform_
slide_out_to_bottom
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
View file @
494c0d63
...
...
@@ -96,7 +96,7 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
}
private
fun
setWindowStatusBarColor
()
{
StatusBarUtils
.
setWindowStatusBarColor
(
this
,
R
.
color
.
color_075b66
)
StatusBarUtils
.
setWindowStatusBarColor
(
this
,
R
.
color
.
platform_
color_075b66
)
}
private
fun
initView
()
{
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
494c0d63
...
...
@@ -128,7 +128,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
private
fun
setWindowStatusBarColor
()
{
StatusBarUtils
.
Companion
.
setWindowStatusBarColor
(
this
,
R
.
color
.
color_075b66
)
StatusBarUtils
.
Companion
.
setWindowStatusBarColor
(
this
,
R
.
color
.
platform_
color_075b66
)
}
private
fun
requestPermission
()
{
...
...
@@ -148,7 +148,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
}
else
->
{
// 用户拒绝了该权限,而且选中『不再询问』
ToastUtil
.
toastLong
(
this
,
getString
(
R
.
string
.
need_storage_permission_hint
))
ToastUtil
.
toastLong
(
this
,
getString
(
R
.
string
.
platform_
need_storage_permission_hint
))
val
intent
=
Intent
(
Settings
.
ACTION_APPLICATION_DETAILS_SETTINGS
)
val
uri
=
Uri
.
fromParts
(
"package"
,
packageName
,
null
)
intent
.
data
=
uri
...
...
@@ -264,7 +264,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
override
fun
onClick
(
widget
:
View
)
{
if
(!
isUmengLoginState
)
{
H5Activity
.
start
(
this
@RegisterAndLoginActivity
,
false
)
overridePendingTransition
(
R
.
anim
.
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
overridePendingTransition
(
R
.
anim
.
platform_
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
}
}
},
3
,
9
,
Spannable
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
...
...
@@ -278,7 +278,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
override
fun
onClick
(
widget
:
View
)
{
if
(!
isUmengLoginState
)
{
H5Activity
.
start
(
this
@RegisterAndLoginActivity
,
true
)
overridePendingTransition
(
R
.
anim
.
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
overridePendingTransition
(
R
.
anim
.
platform_
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
}
}
},
10
,
str
.
length
,
Spannable
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
...
...
@@ -371,7 +371,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
val
intent
=
Intent
(
this
,
CountryListActivity
::
class
.
java
)
intent
.
putExtra
(
"userCountryCode"
,
countryCode
)
startActivityForResult
(
intent
,
REQUEST_CODE_COUNTRY
)
overridePendingTransition
(
R
.
anim
.
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
overridePendingTransition
(
R
.
anim
.
platform_
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
}
//下一步
iv_next
.
setOnClickListener
{
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
View file @
494c0d63
...
...
@@ -113,7 +113,7 @@ class VerificationCodeActivity : BaseMvpActivity<IVerificationCodeContract.View,
}
private
fun
setWindowStatusBarColor
()
{
StatusBarUtils
.
setWindowStatusBarColor
(
this
,
R
.
color
.
color_075b66
)
StatusBarUtils
.
setWindowStatusBarColor
(
this
,
R
.
color
.
platform_
color_075b66
)
}
private
fun
getIntentData
()
{
...
...
@@ -307,7 +307,7 @@ class VerificationCodeActivity : BaseMvpActivity<IVerificationCodeContract.View,
@SuppressLint
(
"SetTextI18n"
)
override
fun
startCountdown
(
remainTime
:
Int
)
{
tv_countdown_time
.
isEnabled
=
false
tv_countdown_time
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
white
))
tv_countdown_time
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
platform_
white
))
msgCodeDispoable
=
Observable
.
interval
(
0
,
1
,
TimeUnit
.
SECONDS
)
.
subscribeOn
(
Schedulers
.
computation
())
...
...
@@ -323,7 +323,7 @@ class VerificationCodeActivity : BaseMvpActivity<IVerificationCodeContract.View,
},
{
tv_countdown_time
.
isEnabled
=
true
tv_countdown_time
.
text
=
"重新发送"
tv_countdown_time
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
color_2EB0FF
))
tv_countdown_time
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
platform_
color_2EB0FF
))
})
}
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/widget/PrivacyDialog.kt
View file @
494c0d63
...
...
@@ -65,7 +65,7 @@ class PrivacyDialog : Dialog {
override
fun
onClick
(
widget
:
View
)
{
H5Activity
.
start
(
activity
,
true
)
activity
!!
.
overridePendingTransition
(
R
.
anim
.
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
activity
!!
.
overridePendingTransition
(
R
.
anim
.
platform_
slide_in_from_bottom
,
R
.
anim
.
slide_null
)
}
},
index
,
index
+
9
,
Spannable
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/drawable/bg__choose_country_radius.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"4dp"
></corners>
<solid
android:color=
"@color/color_f3f3f3"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/color_f3f3f3"
/>
<solid
android:color=
"@color/
platform_
color_f3f3f3"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/
platform_
color_f3f3f3"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-user/src/main/res/drawable/bg_radius_transparent.xml
View file @
494c0d63
...
...
@@ -2,5 +2,5 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"10dp"
/>
<solid
android:color=
"@color/color_33000000"
/>
<solid
android:color=
"@color/
platform_
color_33000000"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-user/src/main/res/drawable/country_list_item_select.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:color=
"@color/color_1DA1F2"
<item
android:color=
"@color/
platform_
color_1DA1F2"
android:state_pressed=
"true"
/>
<item
android:color=
"@color/black_deep"
<item
android:color=
"@color/
platform_
black_deep"
android:state_pressed=
"false"
/>
</selector>
This diff is collapsed.
Click to expand it.
m-user/src/main/res/drawable/user_privacy_agree_background.xml
View file @
494c0d63
...
...
@@ -3,7 +3,7 @@
<corners
android:radius=
"20dp"
/>
<gradient
android:endColor=
"@color/color_1DA1F2"
android:startColor=
"@color/color_42C1FF"
/>
android:endColor=
"@color/
platform_
color_1DA1F2"
android:startColor=
"@color/
platform_
color_42C1FF"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-user/src/main/res/drawable/user_privacy_disagree_background.xml
View file @
494c0d63
...
...
@@ -3,8 +3,8 @@
<stroke
android:width=
"1dp"
android:color=
"@color/color_999999"
/>
android:color=
"@color/
platform_
color_999999"
/>
<corners
android:radius=
"20dp"
/>
<solid
android:color=
"@color/white"
/>
<solid
android:color=
"@color/
platform_
white"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_ali_auth_demo.xml
View file @
494c0d63
...
...
@@ -45,7 +45,7 @@
android:layout_margin=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_weight=
"1"
android:background=
"@color/gray7"
android:background=
"@color/
platform_
gray7"
android:text=
"获取登录Token"
/>
<Button
...
...
@@ -55,7 +55,7 @@
android:layout_gravity=
"center"
android:layout_margin=
"10dp"
android:layout_weight=
"1"
android:background=
"@color/gray7"
android:background=
"@color/
platform_
gray7"
android:text=
"获取认证token"
/>
</LinearLayout>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_check_password.xml
View file @
494c0d63
...
...
@@ -16,8 +16,8 @@
android:id=
"@+id/title_bar"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:left_start_icon=
"@drawable/nav_close_green"
app:title_text=
"登录验证"
/>
app:
pa_
left_start_icon=
"@drawable/nav_close_green"
app:
pa_
title_text=
"登录验证"
/>
<TextView
android:id=
"@+id/text_phoneNumber"
...
...
@@ -30,12 +30,12 @@
android:id=
"@+id/edit_pass"
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:hint=
"输入登录密码"
android:inputType=
"textPassword"
android:maxLines=
"1"
android:paddingLeft=
"10dp"
android:textColorHint=
"@color/place_holder_color"
/>
android:textColorHint=
"@color/pla
tform_pla
ce_holder_color"
/>
<TextView
android:id=
"@+id/btn_next"
...
...
@@ -47,7 +47,7 @@
android:background=
"@drawable/bg_radius_green_20"
android:gravity=
"center"
android:text=
"下一步"
android:textColor=
"@color/white"
/>
android:textColor=
"@color/
platform_
white"
/>
</LinearLayout>
<ProgressBar
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_country_list.xml
View file @
494c0d63
...
...
@@ -20,7 +20,7 @@
android:layout_marginLeft=
"15dp"
android:layout_marginTop=
"10dp"
android:text=
"选择国家/地区"
android:textColor=
"@color/color_444444"
android:textColor=
"@color/
platform_
color_444444"
android:textSize=
"28sp"
android:textStyle=
"bold"
/>
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_fill_info.xml
View file @
494c0d63
...
...
@@ -10,8 +10,8 @@
android:id=
"@+id/tb_title"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/title_bar_height"
app:left_text=
"退出"
app:title_text=
"完善资料"
/>
app:
pa_
left_text=
"退出"
app:
pa_
title_text=
"完善资料"
/>
<com.ydl.ydlcommon.view.CircleImageView
android:id=
"@+id/sdv_head"
...
...
@@ -25,53 +25,53 @@
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:layout_marginTop=
"36dp"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<TextView
android:id=
"@+id/tv_sex"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:gravity=
"center"
android:hint=
"@string/please_select_gender"
android:padding=
"@dimen/default_dis_size_huge"
android:hint=
"@string/pl
atform_pl
ease_select_gender"
android:padding=
"@dimen/
platform_
default_dis_size_huge"
android:textColorHint=
"#777777"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<EditText
android:id=
"@+id/et_nick"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:gravity=
"center"
android:hint=
"@string/nickname_hint"
android:hint=
"@string/
platform_
nickname_hint"
android:maxLength=
"10"
android:padding=
"@dimen/default_dis_size_huge"
android:padding=
"@dimen/
platform_
default_dis_size_huge"
android:singleLine=
"true"
android:textColorHint=
"#777777"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<com.ydl.ydlcommon.view.RoundCornerButton
android:id=
"@+id/rcb_submit"
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/default_dis_size_big"
android:layout_marginRight=
"@dimen/default_dis_size_big"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:text=
"@string/finish"
android:textColor=
"@color/white"
android:textSize=
"@dimen/default_text_size_big"
app:
round_btn_active_bg=
"@color/
white"
app:round_btn_bg=
"@color/main_theme"
app:round_btn_radio_size=
"5dp"
/>
android:layout_marginLeft=
"@dimen/
platform_
default_dis_size_big"
android:layout_marginRight=
"@dimen/
platform_
default_dis_size_big"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:text=
"@string/
platform_
finish"
android:textColor=
"@color/
platform_
white"
android:textSize=
"@dimen/
platform_
default_text_size_big"
app:
pa_round_btn_active_bg=
"@color/platform_
white"
app:
pa_
round_btn_bg=
"@color/main_theme"
app:
pa_
round_btn_radio_size=
"5dp"
/>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_finger_print_check.xml
View file @
494c0d63
...
...
@@ -10,7 +10,7 @@
android:id=
"@+id/title_bar"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:title_text=
"欢迎回来"
>
app:
pa_
title_text=
"欢迎回来"
>
</com.ydl.ydlcommon.view.TitleBar>
<com.ydl.ydlcommon.view.CircleImageView
...
...
@@ -19,7 +19,7 @@
android:layout_height=
"80dp"
android:layout_below=
"@id/title_bar"
android:layout_marginTop=
"30dp"
tools:src=
"@drawable/head_place_hold_pic"
tools:src=
"@drawable/
platform_
head_place_hold_pic"
android:layout_centerHorizontal=
"true"
/>
<TextView
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_finger_print_set.xml
View file @
494c0d63
...
...
@@ -10,8 +10,8 @@
android:id=
"@+id/title_bar"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:title_text=
"开启指纹解锁"
app:left_start_icon=
"@drawable/nav_close_green"
>
app:
pa_
title_text=
"开启指纹解锁"
app:
pa_
left_start_icon=
"@drawable/nav_close_green"
>
</com.ydl.ydlcommon.view.TitleBar>
<TextView
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_get_identifying_code.xml
View file @
494c0d63
...
...
@@ -10,48 +10,48 @@
android:id=
"@+id/tb_title"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/title_bar_height"
app:left_start_icon=
"@drawable/toolbar_back"
app:title_text=
"手机号"
/>
app:
pa_
left_start_icon=
"@drawable/toolbar_back"
app:
pa_
title_text=
"手机号"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/default_dis_size_large"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_large"
android:gravity=
"center"
android:text=
"已发送短信验证码至"
android:textSize=
"@dimen/default_text_size_small"
/>
android:textSize=
"@dimen/
platform_
default_text_size_small"
/>
<TextView
android:id=
"@+id/tv_phone"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/default_dis_size_large"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_large"
android:gravity=
"center"
android:textColor=
"#FF8A00"
android:textSize=
"@dimen/default_text_size_big"
android:textSize=
"@dimen/
platform_
default_text_size_big"
tools:text=
"159 571 87971"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:orientation=
"vertical"
>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:padding=
"@dimen/default_dis_size"
android:padding=
"@dimen/
platform_
default_dis_size"
android:text=
"验证码"
/>
<EditText
...
...
@@ -59,18 +59,18 @@
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:hint=
"请输入"
android:inputType=
"number"
android:padding=
"@dimen/default_dis_size"
android:textColorHint=
"@color/gray7"
/>
android:padding=
"@dimen/
platform_
default_dis_size"
android:textColorHint=
"@color/
platform_
gray7"
/>
<TextView
android:id=
"@+id/tv_get_code"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"?android:attr/selectableItemBackground"
android:padding=
"@dimen/default_dis_size"
android:padding=
"@dimen/
platform_
default_dis_size"
android:text=
"重新发送"
android:textColor=
"@color/main_theme"
/>
</LinearLayout>
...
...
@@ -78,61 +78,61 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<LinearLayout
android:id=
"@+id/lin_login_pass"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:padding=
"@dimen/default_dis_size"
android:padding=
"@dimen/
platform_
default_dis_size"
android:text=
"登录密码"
/>
<EditText
android:id=
"@+id/et_password"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:hint=
"请设置"
android:digits=
"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
android:padding=
"@dimen/default_dis_size"
android:textColorHint=
"@color/gray7"
/>
android:padding=
"@dimen/
platform_
default_dis_size"
android:textColorHint=
"@color/
platform_
gray7"
/>
</LinearLayout>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<TextView
android:id=
"@+id/text_pass_tip"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/default_dis_size"
android:layout_margin=
"@dimen/
platform_
default_dis_size"
android:text=
"密码6~16个字符,数字或英文字母的组合"
android:textColor=
"#A6A6A6"
android:textSize=
"@dimen/default_text_size_small"
/>
android:textSize=
"@dimen/
platform_
default_text_size_small"
/>
<com.ydl.ydlcommon.view.RoundCornerButton
android:id=
"@+id/rcb_submit"
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/default_dis_size"
android:layout_marginRight=
"@dimen/default_dis_size"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:layout_marginLeft=
"@dimen/
platform_
default_dis_size"
android:layout_marginRight=
"@dimen/
platform_
default_dis_size"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:text=
"提交"
android:textColor=
"@color/white"
android:textSize=
"@dimen/default_text_size_big"
app:
round_btn_active_bg=
"@color/
white"
app:round_btn_bg=
"@color/main_theme"
app:round_btn_radio_size=
"5dp"
/>
android:textColor=
"@color/
platform_
white"
android:textSize=
"@dimen/
platform_
default_text_size_big"
app:
pa_round_btn_active_bg=
"@color/platform_
white"
app:
pa_
round_btn_bg=
"@color/main_theme"
app:
pa_
round_btn_radio_size=
"5dp"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_hand_unlock.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
android:id=
"@+id/title_bar"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:title_text=
"欢迎回来"
>
app:
pa_
title_text=
"欢迎回来"
>
</com.ydl.ydlcommon.view.TitleBar>
...
...
@@ -22,7 +22,7 @@
android:layout_below=
"@id/title_bar"
android:layout_marginTop=
"30dp"
android:layout_gravity=
"center_horizontal"
android:src=
"@drawable/head_place_hold_pic"
android:src=
"@drawable/
platform_
head_place_hold_pic"
android:layout_centerHorizontal=
"true"
/>
<TextView
...
...
@@ -31,7 +31,7 @@
android:layout_height=
"30dp"
android:gravity=
"center"
android:layout_marginTop=
"20dp"
android:textColor=
"@color/price_color"
android:textColor=
"@color/p
latform_p
rice_color"
tools:text=
"请绘制手势"
/>
<!--设置动画-->
...
...
@@ -41,15 +41,15 @@
android:layout_width=
"300dp"
android:layout_gravity=
"center_horizontal"
android:layout_height=
"wrap_content"
app:lock9_nodeSrc=
"@drawable/lock_btn_shoushi"
app:lock9_nodeOnSrc=
"@drawable/lock_btn_shoushi_pre"
app:lock9_padding=
"20dp"
app:lock9_spacing=
"40dp"
app:lock9_lineColor=
"@color/main_theme"
app:lock9_lineWidth=
"5dp"
app:lock9_autoLink=
"false"
app:lock9_enableVibrate=
"true"
app:lock9_vibrateTime=
"20"
>
app:
pa_
lock9_nodeSrc=
"@drawable/lock_btn_shoushi"
app:
pa_
lock9_nodeOnSrc=
"@drawable/lock_btn_shoushi_pre"
app:
pa_
lock9_padding=
"20dp"
app:
pa_
lock9_spacing=
"40dp"
app:
pa_
lock9_lineColor=
"@color/main_theme"
app:
pa_
lock9_lineWidth=
"5dp"
app:
pa_
lock9_autoLink=
"false"
app:
pa_
lock9_enableVibrate=
"true"
app:
pa_
lock9_vibrateTime=
"20"
>
</com.ydl.ydlcommon.view.shoushi.Lock9View>
<LinearLayout
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_hand_unlock_set.xml
View file @
494c0d63
...
...
@@ -11,9 +11,9 @@
android:id=
"@+id/title_bar"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:title_text=
"设置手势解锁"
app:left_start_icon=
"@drawable/nav_close_green"
app:right_text=
"重设"
>
app:
pa_
title_text=
"设置手势解锁"
app:
pa_
left_start_icon=
"@drawable/nav_close_green"
app:
pa_
right_text=
"重设"
>
</com.ydl.ydlcommon.view.TitleBar>
...
...
@@ -40,15 +40,15 @@
android:id=
"@+id/lock9View"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:lock9_nodeSrc=
"@drawable/lock_btn_shoushi"
app:lock9_nodeOnSrc=
"@drawable/lock_btn_shoushi_pre"
app:lock9_padding=
"28dp"
app:lock9_spacing=
"28dp"
app:lock9_lineColor=
"@color/main_theme"
app:lock9_lineWidth=
"5dp"
app:lock9_autoLink=
"false"
app:lock9_enableVibrate=
"true"
app:lock9_vibrateTime=
"20"
>
app:
pa_
lock9_nodeSrc=
"@drawable/lock_btn_shoushi"
app:
pa_
lock9_nodeOnSrc=
"@drawable/lock_btn_shoushi_pre"
app:
pa_
lock9_padding=
"28dp"
app:
pa_
lock9_spacing=
"28dp"
app:
pa_
lock9_lineColor=
"@color/main_theme"
app:
pa_
lock9_lineWidth=
"5dp"
app:
pa_
lock9_autoLink=
"false"
app:
pa_
lock9_enableVibrate=
"true"
app:
pa_
lock9_vibrateTime=
"20"
>
</com.ydl.ydlcommon.view.shoushi.Lock9View>
>
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_input_password.xml
View file @
494c0d63
...
...
@@ -54,7 +54,7 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/input_password"
android:layout_marginLeft=
"28dp"
android:layout_marginTop=
"@dimen/dp_4"
android:layout_marginTop=
"@dimen/
platform_
dp_4"
android:text=
"当前手机号"
android:textColor=
"#fdfdfe"
android:textSize=
"13sp"
/>
...
...
@@ -109,7 +109,7 @@
<FrameLayout
android:layout_width=
"40dp"
android:layout_height=
"26dp"
android:background=
"@drawable/bg_radius_f3_10"
android:background=
"@drawable/
platform_
bg_radius_f3_10"
android:gravity=
"center_vertical"
>
<ImageView
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_input_phone.xml
View file @
494c0d63
...
...
@@ -9,8 +9,8 @@
<com.ydl.ydlcommon.view.TitleBar
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/title_bar_height"
app:left_start_icon=
"@drawable/toolbar_back"
app:title_text=
"填写手机号"
/>
app:
pa_
left_start_icon=
"@drawable/toolbar_back"
app:
pa_
title_text=
"填写手机号"
/>
<TextView
android:id=
"@+id/tv_free_packet_hint"
...
...
@@ -30,54 +30,54 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:background=
"@color/divide_color"
/>
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:background=
"@color/
platform_
divide_color"
/>
<com.ydl.ydlcommon.view.JumpTextView
android:id=
"@+id/jtv_country"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"#ffffff"
app:
jump_tv_icon=
"@drawable/
icon_country"
app:jump_tv_left_icon_hight=
"20dp"
app:jump_tv_left_icon_width=
"20dp"
/>
app:
pa_jump_tv_icon=
"@drawable/platform_
icon_country"
app:
pa_
jump_tv_left_icon_hight=
"20dp"
app:
pa_
jump_tv_left_icon_width=
"20dp"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:background=
"@color/divide_color"
/>
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:background=
"@color/
platform_
divide_color"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"@dimen/default_dis_size"
android:padding=
"@dimen/
platform_
default_dis_size"
android:text=
"手机号"
/>
<com.ydl.ydlcommon.view.DeleteEditTextView
android:id=
"@+id/detv_phone"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:inputType=
"number"
android:padding=
"@dimen/default_dis_size"
/>
android:padding=
"@dimen/
platform_
default_dis_size"
/>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<LinearLayout
android:id=
"@+id/ll_protocol"
...
...
@@ -88,25 +88,25 @@
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/default_dis_size"
android:paddingBottom=
"@dimen/default_dis_size_micro"
android:paddingTop=
"@dimen/default_dis_size_micro"
android:layout_marginLeft=
"@dimen/
platform_
default_dis_size"
android:paddingBottom=
"@dimen/
platform_
default_dis_size_micro"
android:paddingTop=
"@dimen/
platform_
default_dis_size_micro"
android:text=
"已阅读并同意"
android:textColor=
"#A1A1A1"
android:textSize=
"@dimen/default_text_size_small"
/>
android:textSize=
"@dimen/
platform_
default_text_size_small"
/>
<TextView
android:id=
"@+id/tv_protocol"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/default_dis_size_micro"
android:layout_marginStart=
"@dimen/default_dis_size_micro"
android:layout_marginLeft=
"@dimen/
platform_
default_dis_size_micro"
android:layout_marginStart=
"@dimen/
platform_
default_dis_size_micro"
android:background=
"?android:attr/selectableItemBackground"
android:paddingBottom=
"@dimen/default_dis_size_micro"
android:paddingTop=
"@dimen/default_dis_size_micro"
android:text=
"@string/user_protocol"
android:paddingBottom=
"@dimen/
platform_
default_dis_size_micro"
android:paddingTop=
"@dimen/
platform_
default_dis_size_micro"
android:text=
"@string/
platform_
user_protocol"
android:textColor=
"@color/main_theme"
android:textSize=
"@dimen/default_text_size_small"
/>
android:textSize=
"@dimen/
platform_
default_text_size_small"
/>
</LinearLayout>
<com.ydl.ydlcommon.view.RoundCornerButton
...
...
@@ -114,14 +114,14 @@
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/default_dis_size_big"
android:layout_marginRight=
"@dimen/default_dis_size_big"
android:layout_marginTop=
"@dimen/default_dis_size_large"
android:text=
"@string/next_step"
android:textColor=
"@color/white"
android:textSize=
"@dimen/default_text_size_big"
app:
round_btn_active_bg=
"@color/
white"
app:round_btn_bg=
"@color/main_theme"
app:round_btn_radio_size=
"5dp"
/>
android:layout_marginLeft=
"@dimen/
platform_
default_dis_size_big"
android:layout_marginRight=
"@dimen/
platform_
default_dis_size_big"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_large"
android:text=
"@string/
platform_
next_step"
android:textColor=
"@color/
platform_
white"
android:textSize=
"@dimen/
platform_
default_text_size_big"
app:
pa_round_btn_active_bg=
"@color/platform_
white"
app:
pa_
round_btn_bg=
"@color/main_theme"
app:
pa_
round_btn_radio_size=
"5dp"
/>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_login.xml
View file @
494c0d63
...
...
@@ -15,28 +15,28 @@
android:id=
"@+id/tb_title"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/title_bar_height"
app:left_text=
"取消"
app:title_text=
"登录"
/>
app:
pa_
left_text=
"取消"
app:
pa_
title_text=
"登录"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:background=
"@color/divide_color"
/>
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:background=
"@color/
platform_
divide_color"
/>
<com.ydl.ydlcommon.view.JumpTextView
android:id=
"@+id/jtv_country"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
android:background=
"@color/white"
app:
jump_tv_icon=
"@drawable/
icon_country"
app:jump_tv_left_text=
"中国 +0086"
app:jump_tv_left_icon_width=
"20dp"
app:jump_tv_left_icon_hight=
"20dp"
/>
android:background=
"@color/
platform_
white"
app:
pa_jump_tv_icon=
"@drawable/platform_
icon_country"
app:
pa_
jump_tv_left_text=
"中国 +0086"
app:
pa_
jump_tv_left_icon_width=
"20dp"
app:
pa_
jump_tv_left_icon_hight=
"20dp"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<android.support.v4.widget.Space
android:layout_width=
"match_parent"
android:layout_height=
"10dp"
/>
...
...
@@ -44,58 +44,58 @@
android:id=
"@+id/detv_phone"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:drawableLeft=
"@drawable/phone"
android:drawablePadding=
"@dimen/default_dis_size_small"
android:drawablePadding=
"@dimen/
platform_
default_dis_size_small"
android:hint=
"手机号"
android:inputType=
"number"
android:paddingTop=
"@dimen/default_dis_size_big"
android:paddingRight=
"@dimen/default_dis_size_big"
android:paddingBottom=
"@dimen/default_dis_size_big"
android:paddingTop=
"@dimen/
platform_
default_dis_size_big"
android:paddingRight=
"@dimen/
platform_
default_dis_size_big"
android:paddingBottom=
"@dimen/
platform_
default_dis_size_big"
android:paddingLeft=
"17dp"
android:text=
""
android:textColorHint=
"@color/default_text_color_hint"
/>
android:textColorHint=
"@color/
platform_
default_text_color_hint"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<com.ydl.ydlcommon.view.DeleteEditTextView
android:id=
"@+id/detv_password"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:drawableLeft=
"@drawable/lock"
android:drawablePadding=
"@dimen/default_dis_size_small"
android:drawablePadding=
"@dimen/
platform_
default_dis_size_small"
android:hint=
"密码"
android:inputType=
"textPassword"
android:paddingTop=
"@dimen/default_dis_size_big"
android:paddingRight=
"@dimen/default_dis_size_big"
android:paddingBottom=
"@dimen/default_dis_size_big"
android:paddingTop=
"@dimen/
platform_
default_dis_size_big"
android:paddingRight=
"@dimen/
platform_
default_dis_size_big"
android:paddingBottom=
"@dimen/
platform_
default_dis_size_big"
android:paddingLeft=
"17dp"
android:text=
""
android:textColorHint=
"@color/default_text_color_hint"
/>
android:textColorHint=
"@color/
platform_
default_text_color_hint"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
<com.ydl.ydlcommon.view.RoundCornerButton
android:id=
"@+id/rcb_login"
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/default_dis_size_big"
android:layout_marginRight=
"@dimen/default_dis_size_big"
android:layout_marginTop=
"@dimen/default_dis_size_huge"
android:layout_marginLeft=
"@dimen/
platform_
default_dis_size_big"
android:layout_marginRight=
"@dimen/
platform_
default_dis_size_big"
android:layout_marginTop=
"@dimen/
platform_
default_dis_size_huge"
android:text=
"登录"
android:textColor=
"@color/white"
android:textSize=
"@dimen/default_text_size_big"
app:
round_btn_active_bg=
"@color/
white"
app:round_btn_bg=
"@color/main_theme"
app:round_btn_radio_size=
"5dp"
/>
android:textColor=
"@color/
platform_
white"
android:textSize=
"@dimen/
platform_
default_text_size_big"
app:
pa_round_btn_active_bg=
"@color/platform_
white"
app:
pa_
round_btn_bg=
"@color/main_theme"
app:
pa_
round_btn_radio_size=
"5dp"
/>
</LinearLayout>
<RelativeLayout
...
...
@@ -111,10 +111,10 @@
android:layout_alignParentLeft=
"true"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:paddingBottom=
"@dimen/default_dis_size"
android:paddingLeft=
"@dimen/default_dis_size"
android:paddingRight=
"@dimen/default_dis_size_big"
android:paddingTop=
"@dimen/default_dis_size_huge"
android:paddingBottom=
"@dimen/
platform_
default_dis_size"
android:paddingLeft=
"@dimen/
platform_
default_dis_size"
android:paddingRight=
"@dimen/
platform_
default_dis_size_big"
android:paddingTop=
"@dimen/
platform_
default_dis_size_huge"
android:text=
"新手注册"
android:textColor=
"@color/main_theme"
android:textSize=
"17sp"
/>
...
...
@@ -124,10 +124,10 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:paddingBottom=
"@dimen/default_dis_size"
android:paddingLeft=
"@dimen/default_dis_size"
android:paddingRight=
"@dimen/default_dis_size_big"
android:paddingTop=
"@dimen/default_dis_size_huge"
android:paddingBottom=
"@dimen/
platform_
default_dis_size"
android:paddingLeft=
"@dimen/
platform_
default_dis_size"
android:paddingRight=
"@dimen/
platform_
default_dis_size_big"
android:paddingTop=
"@dimen/
platform_
default_dis_size_huge"
android:text=
"短信快捷登录"
android:textColor=
"@color/main_theme"
android:textSize=
"17sp"
/>
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_me_privacy.xml
View file @
494c0d63
...
...
@@ -9,8 +9,8 @@
<com.ydl.ydlcommon.view.TitleBar
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
app:left_start_icon=
"@drawable/toolbar_back"
app:title_text=
"隐私安全"
>
app:
pa_
left_start_icon=
"@drawable/toolbar_back"
app:
pa_
title_text=
"隐私安全"
>
</com.ydl.ydlcommon.view.TitleBar>
...
...
@@ -23,8 +23,8 @@
android:visibility=
"gone"
tools:visibility=
"visible"
android:text=
"指纹密码仅对本机有效"
android:textColor=
"@color/gray7"
android:background=
"@color/f5f5f5"
/>
android:textColor=
"@color/
platform_
gray7"
android:background=
"@color/
platform_
f5f5f5"
/>
<RelativeLayout
android:id=
"@+id/rela_finger"
...
...
@@ -53,7 +53,7 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/f5f5f5"
/>
android:background=
"@color/
platform_
f5f5f5"
/>
<RelativeLayout
android:background=
"#ffffff"
...
...
@@ -79,13 +79,13 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/f5f5f5"
/>
android:background=
"@color/
platform_
f5f5f5"
/>
<LinearLayout
android:id=
"@+id/lin_update"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:paddingLeft=
"15dp"
android:paddingRight=
"15dp"
tools:visibility=
"visible"
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_register_and_login.xml
View file @
494c0d63
...
...
@@ -137,7 +137,7 @@
android:inputType=
"phone"
android:lines=
"1"
android:maxLength=
"13"
android:textColorHint=
"@color/color_c6c3c3"
android:textColorHint=
"@color/
platform_
color_c6c3c3"
android:textSize=
"24sp"
/>
<ImageView
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/activity_verification_code.xml
View file @
494c0d63
...
...
@@ -48,7 +48,7 @@
android:layout_marginRight=
"23dp"
android:foreground=
"?android:attr/selectableItemBackground"
android:padding=
"5dp"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textSize=
"11dp"
tools:text=
"发送验证码"
tools:visibility=
"visible"
/>
...
...
@@ -61,7 +61,7 @@
android:layout_marginLeft=
"28dp"
android:layout_marginTop=
"15dp"
android:text=
"输入验证码"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textSize=
"28sp"
android:textStyle=
"bold"
/>
...
...
@@ -73,7 +73,7 @@
android:layout_marginLeft=
"28dp"
android:layout_marginTop=
"4dp"
android:text=
"短信已发送至 "
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textSize=
"14dp"
/>
<TextView
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/dialog_privacy.xml
View file @
494c0d63
...
...
@@ -25,7 +25,7 @@
android:layout_height=
"100dp"
android:gravity=
"center"
android:text=
"用户隐私保护政策"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textSize=
"21sp"
/>
<ScrollView
...
...
@@ -49,7 +49,7 @@
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
android:lineSpacingExtra=
"4dp"
android:textColor=
"@color/color_444444"
android:textColor=
"@color/
platform_
color_444444"
android:textSize=
"12sp"
tools:text=
"为响应为为响应为响应国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规为响应国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规为响应国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规响应国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规为响应国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规为响应国家为响应国家相关法律法规为响应国家相关法律法规相关法律法规为响应国家相关法律法规,我们在近期更新了《壹点灵隐私政策》文件以确保用户充分理解政策,请您在使用前务必仔细阅读。
点击下方“同意”按钮即可使用壹点灵提供的服务,使用过程中我们会竭尽全力保护您的隐私安全,未经您的授权,壹点灵不会向任何第三方提供您的信息。"
/>
...
...
@@ -60,7 +60,7 @@
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
android:gravity=
"end"
android:textColor=
"@color/color_444444"
android:textColor=
"@color/
platform_
color_444444"
android:textSize=
"12sp"
tools:text=
"更新日期:2018年11月11日"
/>
</LinearLayout>
...
...
@@ -76,7 +76,7 @@
android:background=
"@drawable/user_privacy_disagree_background"
android:gravity=
"center"
android:text=
"不同意"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:textSize=
"14sp"
android:textStyle=
"bold"
/>
...
...
@@ -91,7 +91,7 @@
android:background=
"@drawable/user_privacy_agree_background"
android:gravity=
"center"
android:text=
"同意"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textStyle=
"bold"
/>
</RelativeLayout>
...
...
This diff is collapsed.
Click to expand it.
m-user/src/main/res/layout/item_country_phone_code.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:layout_centerInParent=
"true"
android:drawablePadding=
"@dimen/default_dis_size_small"
android:drawablePadding=
"@dimen/
platform_
default_dis_size_small"
android:text=
"中国"
android:textColor=
"@drawable/country_list_item_select"
android:textSize=
"18dp"
/>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/gradle.properties
View file @
494c0d63
IS_PUBLISH
=
true
VERSION_NAME
=
0.0.4
\ No newline at end of file
VERSION_NAME
=
0.0.5
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/AndroidManifest.xml
View file @
494c0d63
...
...
@@ -11,27 +11,11 @@
<application>
<activity
android:name=
"com.ydl.ydlcommon.actions.pay.PayActivity"
android:screenOrientation=
"portrait"
/>
<activity
android:name=
"com.ydl.ydlcommon.actions.imagepicker.ImagePickerActivity"
android:launchMode=
"singleTask"
android:screenOrientation=
"portrait"
/>
<service
android:name=
"com.ydl.ydlcommon.actions.player.service.HMusicPlayService"
android:enabled=
"true"
/>
<receiver
android:name=
"com.ydl.ydlcommon.actions.player.notifycation.MusicPlayerReceiver"
android:enabled=
"true"
android:exported=
"false"
>
<intent-filter>
<action
android:name=
"harvie_play"
/>
<action
android:name=
"harvie_pause"
/>
<action
android:name=
"harvie_detail"
/>
<action
android:name=
"harvie_stop"
/>
</intent-filter>
</receiver>
<!--监听系统下载完成的广播-->
<receiver
android:name=
"com.ydl.ydlcommon.utils.receiver.DownloadReceiver"
>
<intent-filter>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/actions/imagepicker/YdlImageLoader.java
View file @
494c0d63
...
...
@@ -30,8 +30,8 @@ public class YdlImageLoader implements ImageLoader {
private
void
showImage
(
Activity
activity
,
String
path
,
ImageView
imageView
,
int
width
,
int
height
){
GlideApp
.
with
(
activity
)
//配置上下文
.
load
(
Uri
.
fromFile
(
new
File
(
path
)))
//设置图片路径(fix #8,文件名包含%符号 无法识别和显示)
.
error
(
R
.
drawable
.
default_img
)
//设置错误图片
.
placeholder
(
R
.
drawable
.
default_img
)
//设置占位图片
.
error
(
R
.
drawable
.
platform_
default_img
)
//设置错误图片
.
placeholder
(
R
.
drawable
.
platform_
default_img
)
//设置占位图片
.
diskCacheStrategy
(
DiskCacheStrategy
.
ALL
)
//缓存全尺寸
.
into
(
imageView
);
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/data/http/ThrowableConsumer.kt
View file @
494c0d63
...
...
@@ -42,7 +42,7 @@ abstract class ThrowableConsumer: Consumer<Throwable> {
if
(
RxNetTool
.
isConnected
(
BaseApp
.
getApp
()))
{
accept
(
ThrowableUtil
.
getMessage
(
t
))
}
else
{
accept
(
BaseApp
.
getApp
().
getString
(
R
.
string
.
network_error
))
accept
(
BaseApp
.
getApp
().
getString
(
R
.
string
.
platform_
network_error
))
}
}
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/data/http/ThrowableUtil.kt
View file @
494c0d63
...
...
@@ -18,14 +18,14 @@ internal object ThrowableUtil {
@JvmStatic
fun
getMessage
(
t
:
Throwable
?):
String
{
return
when
(
t
)
{
is
IOException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
data_error
)
is
HttpException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
httperror
)
is
JsonParseException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
httperror
)
is
ConnectException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
network_error
)
is
SocketTimeoutException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
timeout
)
is
IOException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
platform_
data_error
)
is
HttpException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
platform_
httperror
)
is
JsonParseException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
platform_
httperror
)
is
ConnectException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
platform_
network_error
)
is
SocketTimeoutException
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
platform_
timeout
)
is
ApiThrowable
->
t
.
message
?:
""
is
CustomThrowable
->
t
.
message
?:
""
else
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
loadfailed
)
else
->
BaseApp
.
getApp
().
getString
(
R
.
string
.
platform_
loadfailed
)
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/mvp/lce/view/YDLStateView.kt
View file @
494c0d63
...
...
@@ -31,7 +31,7 @@ class YDLStateView(context: Context?, attrs: AttributeSet?) : RelativeLayout(con
private
fun
initView
()
{
View
.
inflate
(
context
,
R
.
layout
.
platform_logo_loading_view
,
this
)
GlideApp
.
with
(
this
).
load
(
R
.
drawable
.
loading_logo
).
into
(
logo_loading_gif
)
GlideApp
.
with
(
this
).
load
(
R
.
drawable
.
platform_
loading_logo
).
into
(
logo_loading_gif
)
reset_btn
.
setOnClickListener
{
mListener
?.
onDataResetClick
()
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/ui/LogoLoadingView.kt
View file @
494c0d63
...
...
@@ -29,7 +29,7 @@ class LogoLoadingView(context: Context?, attrs: AttributeSet?): RelativeLayout(c
private
fun
initView
()
{
View
.
inflate
(
context
,
R
.
layout
.
platform_logo_loading_view
,
this
)
GlideApp
.
with
(
this
).
load
(
R
.
drawable
.
loading_logo
).
into
(
logo_loading_gif
)
GlideApp
.
with
(
this
).
load
(
R
.
drawable
.
platform_
loading_logo
).
into
(
logo_loading_gif
)
reset_btn
.
setOnClickListener
{
mListener
?.
onDataResetClick
()
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/ApkUpdateDialog.kt
View file @
494c0d63
...
...
@@ -97,11 +97,11 @@ class ApkUpdateDialog : Dialog{
override
fun
onStart
()
{
super
.
onStart
()
val
padding
=
context
.
resources
.
getDimensionPixelSize
(
R
.
dimen
.
default_dis_size_big
)
val
padding
=
context
.
resources
.
getDimensionPixelSize
(
R
.
dimen
.
platform_
default_dis_size_big
)
window
.
setLayout
(
RxDeviceTool
.
getScreenWidth
(
context
)
-
padding
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
)
window
.
setBackgroundDrawableResource
(
R
.
color
.
transparent
)
window
.
setBackgroundDrawableResource
(
R
.
color
.
platform_
transparent
)
setCancelable
(
isCancleAble
)
setCanceledOnTouchOutside
(
false
)
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/MoonUtil.java
View file @
494c0d63
...
...
@@ -19,8 +19,6 @@ import android.widget.TextView;
import
com.ydl.ydlcommon.utils.emoji.EmojiManager
;
import
com.ydl.ydlcommon.utils.emoji.ImageSpanAlignCenter
;
import
com.ydl.ydlcommon.R
;
import
com.ydl.ydlcommon.utils.emoji.EmojiManager
;
import
com.ydl.ydlcommon.utils.emoji.ImageSpanAlignCenter
;
import
java.util.ArrayList
;
import
java.util.regex.Matcher
;
...
...
@@ -47,13 +45,13 @@ public class MoonUtil {
public
static
void
SetTrendContent
(
Context
context
,
TextView
textView
,
String
value
,
String
topic
,
String
allContent
,
int
align
){
// viewSetText(textView, mSpannableString);
SpannableString
spantopic
=
new
SpannableString
(
topic
);
spantopic
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
text_user
)),
0
,
topic
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
spantopic
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
platform_
text_user
)),
0
,
topic
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
textView
.
setText
(
spantopic
);
SpannableString
mSpannableString
=
makeSpannableStringTags
(
context
,
value
,
DEF_SCALE
,
align
);
textView
.
append
(
mSpannableString
);
if
(!
""
.
equals
(
allContent
)&&
allContent
!=
null
){
SpannableString
spanallContent
=
new
SpannableString
(
allContent
);
spanallContent
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
text_user
)),
0
,
allContent
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
spanallContent
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
platform_
text_user
)),
0
,
allContent
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
textView
.
append
(
spanallContent
);
}
// textView.setMovementMethod(LinkMovementMethod.getInstance());
...
...
@@ -71,19 +69,19 @@ public class MoonUtil {
// LogUtil.d("username: "+username+ " reply username: "+reply_username);
if
(!
""
.
equals
(
reply_username
)&&
reply_username
!=
null
){
SpannableString
spantuser
=
new
SpannableString
(
username
);
spantuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
default_text_color
)),
0
,
username
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
spantuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
platform_
default_text_color
)),
0
,
username
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
textView
.
setText
(
spantuser
);
textView
.
append
(
"回复"
);
String
reply_user_name
=
reply_username
+
":"
;
SpannableString
spantreplyuser
=
new
SpannableString
(
reply_user_name
);
spantreplyuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
default_text_color
)),
0
,
reply_user_name
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
spantreplyuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
platform_
default_text_color
)),
0
,
reply_user_name
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
textView
.
append
(
spantreplyuser
);
SpannableString
mSpannableString
=
makeSpannableStringTags2
(
context
,
value
,
0.45f
,
align
);
textView
.
append
(
mSpannableString
);
}
else
{
String
usernamed
=
username
+
":"
;
SpannableString
spantuser
=
new
SpannableString
(
usernamed
);
spantuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
default_text_color
)),
0
,
usernamed
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
spantuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
platform_
default_text_color
)),
0
,
usernamed
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
textView
.
setText
(
spantuser
);
SpannableString
mSpannableString
=
makeSpannableStringTags2
(
context
,
value
,
0.45f
,
align
);
textView
.
append
(
mSpannableString
);
...
...
@@ -97,14 +95,14 @@ public class MoonUtil {
textView
.
setText
(
"回复"
);
String
reply_user_name
=
reply_username
+
":"
;
SpannableString
spantreplyuser
=
new
SpannableString
(
reply_user_name
);
spantreplyuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
text_user
)),
0
,
reply_user_name
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
spantreplyuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
platform_
text_user
)),
0
,
reply_user_name
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
textView
.
append
(
spantreplyuser
);
SpannableString
mSpannableString
=
makeSpannableStringTags2
(
context
,
value
,
0.45f
,
align
);
textView
.
append
(
mSpannableString
);
}
else
{
String
usernamed
=
username
+
":"
;
SpannableString
spantuser
=
new
SpannableString
(
usernamed
);
spantuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
text_user
)),
0
,
usernamed
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
spantuser
.
setSpan
(
new
ForegroundColorSpan
(
context
.
getResources
().
getColor
(
R
.
color
.
platform_
text_user
)),
0
,
usernamed
.
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
textView
.
setText
(
spantuser
);
SpannableString
mSpannableString
=
makeSpannableStringTags2
(
context
,
value
,
0.45f
,
align
);
textView
.
append
(
mSpannableString
);
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/StatusBarUtils.kt
View file @
494c0d63
...
...
@@ -63,8 +63,8 @@ class StatusBarUtils {
//====================来源 GitHub: https://github.com/laobie/StatusBarUtil====================
val
DEFAULT_STATUS_BAR_ALPHA
=
112
private
val
FAKE_STATUS_BAR_VIEW_ID
=
R
.
id
.
statusbarutil_fake_status_bar_view
private
val
FAKE_TRANSLUCENT_VIEW_ID
=
R
.
id
.
statusbarutil_translucent_view
private
val
FAKE_STATUS_BAR_VIEW_ID
=
R
.
id
.
platform_
statusbarutil_fake_status_bar_view
private
val
FAKE_TRANSLUCENT_VIEW_ID
=
R
.
id
.
platform_
statusbarutil_translucent_view
private
val
TAG_KEY_HAVE_SET_OFFSET
=
-
123
/**
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/remind/HttpErrorUtils.kt
View file @
494c0d63
package
com.ydl.ydlcommon.utils.remind
import
android.content.Context
import
android.widget.Toast
import
com.google.gson.JsonParseException
import
com.ydl.ydlcommon.R
import
com.yidianling.common.tools.LogUtil
...
...
@@ -26,11 +25,11 @@ class HttpErrorUtils private constructor() {
t
.
printStackTrace
()
if
(
t
is
SocketTimeoutException
||
t
is
UnknownHostException
||
t
is
HttpException
)
{
if
(
context
!=
null
)
{
ToastUtil
.
toastShort
(
context
.
getString
(
R
.
string
.
network_error
))
ToastUtil
.
toastShort
(
context
.
getString
(
R
.
string
.
platform_
network_error
))
}
}
else
if
(
t
is
JsonParseException
)
{
if
(
context
!=
null
)
{
ToastUtil
.
toastShort
(
context
.
getString
(
R
.
string
.
gson_parse_error
))
ToastUtil
.
toastShort
(
context
.
getString
(
R
.
string
.
platform_
gson_parse_error
))
}
}
else
{
// ToastUtil.toastShort(context, t.getMessage());
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/BaseViewHolder.java
View file @
494c0d63
...
...
@@ -20,7 +20,6 @@ import com.ydl.ydl_image.config.SimpleImageOpConfiger;
import
com.ydl.ydl_image.manager.YDLImageCacheManager
;
import
com.ydl.ydlcommon.view.widgets.RoundImageView
;
import
com.ydl.ydlcommon.R
;
import
com.ydl.ydlcommon.view.widgets.RoundImageView
;
public
class
BaseViewHolder
extends
RecyclerView
.
ViewHolder
{
...
...
@@ -126,7 +125,7 @@ public class BaseViewHolder extends RecyclerView.ViewHolder {
ImageView
iv
=
getView
(
viewId
);
if
(
iv
!=
null
&&
!
TextUtils
.
isEmpty
(
url
))
{
SimpleImageOpConfiger
op
=
new
SimpleImageOpConfiger
();
op
.
errorPic
=
R
.
drawable
.
default_img
;
op
.
errorPic
=
R
.
drawable
.
platform_
default_img
;
op
.
scaleType
=
ISimpleImageOpConfig
.
FIT_CENTER
;
YDLImageCacheManager
.
showImage
(
mContext
,
url
,
iv
,
op
);
}
...
...
@@ -137,8 +136,8 @@ public class BaseViewHolder extends RecyclerView.ViewHolder {
ImageView
iv
=
getView
(
viewId
);
if
(
iv
!=
null
)
{
SimpleImageOpConfiger
op
=
new
SimpleImageOpConfiger
();
op
.
errorPic
=
R
.
drawable
.
head_place_hold_pic
;
op
.
loadingPic
=
R
.
drawable
.
head_place_hold_pic
;
op
.
errorPic
=
R
.
drawable
.
platform_
head_place_hold_pic
;
op
.
loadingPic
=
R
.
drawable
.
platform_
head_place_hold_pic
;
op
.
transform
=
0
;
if
(!
TextUtils
.
isEmpty
(
url
))
{
if
(
url
.
startsWith
(
"http:"
))
{
...
...
@@ -155,7 +154,7 @@ public class BaseViewHolder extends RecyclerView.ViewHolder {
RoundImageView
iv
=
getView
(
viewId
);
if
(
iv
!=
null
)
{
SimpleImageOpConfiger
op
=
new
SimpleImageOpConfiger
();
op
.
errorPic
=
R
.
drawable
.
default_img
;
op
.
errorPic
=
R
.
drawable
.
platform_
default_img
;
YDLImageCacheManager
.
showImage
(
mContext
,
url
,
iv
,
op
);
}
return
this
;
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/DeleteEditTextView.java
View file @
494c0d63
...
...
@@ -49,7 +49,7 @@ public class DeleteEditTextView extends EditText {
void
initRootView
()
{
mCloseAreaSize
=
RxImageTool
.
dp2px
(
30
);
int
padding
=
getResources
().
getDimensionPixelSize
(
R
.
dimen
.
default_dis_size_small
);
int
padding
=
getResources
().
getDimensionPixelSize
(
R
.
dimen
.
platform_
default_dis_size_small
);
setCompoundDrawablePadding
(
padding
);
setEditTextDrawable
();
...
...
@@ -80,7 +80,7 @@ public class DeleteEditTextView extends EditText {
if
(
getText
().
length
()
==
0
||
!
isFocused
())
{
setCompoundDrawablesWithIntrinsicBounds
(
getCompoundDrawables
()[
0
],
null
,
null
,
null
);
}
else
{
setCompoundDrawablesWithIntrinsicBounds
(
getCompoundDrawables
()[
0
],
null
,
getContext
().
getResources
().
getDrawable
(
R
.
drawable
.
delete
),
null
);
setCompoundDrawablesWithIntrinsicBounds
(
getCompoundDrawables
()[
0
],
null
,
getContext
().
getResources
().
getDrawable
(
R
.
drawable
.
platform_
delete
),
null
);
}
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/FootViewLoadMore.kt
View file @
494c0d63
...
...
@@ -25,7 +25,7 @@ class FootViewLoadMore : RelativeLayout{
private
var
loadErrorStr
=
"加载错误,请重试"
constructor
(
context
:
Context
)
:
super
(
context
){
View
.
inflate
(
context
,
R
.
layout
.
view_footview_loadmore
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
platform_
view_footview_loadmore
,
this
)
initView
()
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/FootViewMore.kt
View file @
494c0d63
...
...
@@ -20,7 +20,7 @@ class FootViewMore : RelativeLayout {
var
text_more
:
TextView
?
=
null
constructor
(
context
:
Context
)
:
super
(
context
)
{
View
.
inflate
(
context
,
R
.
layout
.
view_foot_view_more
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
platform_
view_foot_view_more
,
this
)
initView
()
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/JumpTextView.kt
View file @
494c0d63
...
...
@@ -9,7 +9,7 @@ import android.view.Gravity
import
android.view.View
import
android.widget.FrameLayout
import
com.ydl.ydlcommon.R
import
kotlinx.android.synthetic.main.ui_jump_text_view.view.*
import
kotlinx.android.synthetic.main.
platform_
ui_jump_text_view.view.*
/**
* 右侧带箭头,高度最低60dp,左侧可以设置图标,左侧文字,右侧文字,文字颜色
...
...
@@ -72,7 +72,7 @@ class JumpTextView : FrameLayout {
}
constructor
(
context
:
Context
)
:
super
(
context
)
{
View
.
inflate
(
context
,
R
.
layout
.
ui_jump_text_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
platform_
ui_jump_text_view
,
this
)
initRootView
(
null
,
0
)
...
...
@@ -80,7 +80,7 @@ class JumpTextView : FrameLayout {
}
constructor
(
context
:
Context
,
attrs
:
AttributeSet
)
:
super
(
context
,
attrs
)
{
View
.
inflate
(
context
,
R
.
layout
.
ui_jump_text_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
platform_
ui_jump_text_view
,
this
)
initRootView
(
attrs
,
0
)
...
...
@@ -88,7 +88,7 @@ class JumpTextView : FrameLayout {
}
constructor
(
context
:
Context
,
attrs
:
AttributeSet
,
defStyleAttr
:
Int
)
:
super
(
context
,
attrs
,
defStyleAttr
)
{
View
.
inflate
(
context
,
R
.
layout
.
ui_jump_text_view
,
this
)
View
.
inflate
(
context
,
R
.
layout
.
platform_
ui_jump_text_view
,
this
)
initRootView
(
attrs
,
defStyleAttr
)
setupViews
()
...
...
@@ -112,7 +112,7 @@ class JumpTextView : FrameLayout {
if
(
hideArrow
)
{
arrowRes
=
0
}
else
{
arrowRes
=
R
.
drawable
.
mine_next
arrowRes
=
R
.
drawable
.
platform_
mine_next
}
tv_right_text
!!
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
arrowRes
,
0
)
...
...
@@ -128,48 +128,48 @@ class JumpTextView : FrameLayout {
internal
fun
initRootView
(
attrs
:
AttributeSet
?,
defStyleAttr
:
Int
)
{
val
a
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
JumpTextView
,
defStyleAttr
,
0
)
attrs
,
R
.
styleable
.
Platform_
JumpTextView
,
defStyleAttr
,
0
)
mLeftTextContent
=
a
.
getString
(
R
.
styleable
.
JumpTextView
_jump_tv_left_text
)
mLeftTextColor
=
a
.
getColor
(
R
.
styleable
.
JumpTextView
_jump_tv_left_color
,
resources
.
getColor
(
R
.
color
.
default_text_color
))
mLeftTextSize
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
JumpTextView
_jump_tv_left_size
,
resources
.
getDimensionPixelSize
(
R
.
dimen
.
default_text_size
))
mLeftTextContent
=
a
.
getString
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_left_text
)
mLeftTextColor
=
a
.
getColor
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_left_color
,
resources
.
getColor
(
R
.
color
.
platform_
default_text_color
))
mLeftTextSize
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_left_size
,
resources
.
getDimensionPixelSize
(
R
.
dimen
.
platform_
default_text_size
))
mRightTextContent
=
a
.
getString
(
R
.
styleable
.
JumpTextView
_jump_tv_right_text
)
mRightTextColor
=
a
.
getColor
(
R
.
styleable
.
JumpTextView
_jump_tv_right_color
,
resources
.
getColor
(
R
.
color
.
default_text_color
))
mRightTextSize
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
JumpTextView
_jump_tv_right_size
,
resources
.
getDimensionPixelSize
(
R
.
dimen
.
default_text_size
))
mRightTextContent
=
a
.
getString
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_right_text
)
mRightTextColor
=
a
.
getColor
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_right_color
,
resources
.
getColor
(
R
.
color
.
platform_
default_text_color
))
mRightTextSize
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_right_size
,
resources
.
getDimensionPixelSize
(
R
.
dimen
.
platform_
default_text_size
))
mIconDrawable
=
a
.
getDrawable
(
R
.
styleable
.
JumpTextView
_jump_tv_icon
)
mIconDrawable
=
a
.
getDrawable
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_icon
)
mLeftIconWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
JumpTextView
_jump_tv_left_icon_width
,
mLeftIconWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_left_icon_width
,
-
1
)
mLeftIconHeight
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
JumpTextView
_jump_tv_left_icon_hight
,
mLeftIconHeight
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_left_icon_hight
,
-
1
)
maxLine
=
a
.
getInteger
(
R
.
styleable
.
JumpTextView
_jump_tv_max_line
,
-
1
)
maxLine
=
a
.
getInteger
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_max_line
,
-
1
)
hideArrow
=
a
.
getBoolean
(
R
.
styleable
.
JumpTextView
_jump_tv_hide_arrow
,
false
)
isClickEnable
=
a
.
getBoolean
(
R
.
styleable
.
JumpTextView
_jump_tv_can_click
,
!
hideArrow
)
hideArrow
=
a
.
getBoolean
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_hide_arrow
,
false
)
isClickEnable
=
a
.
getBoolean
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_can_click
,
!
hideArrow
)
rightMaxLength
=
a
.
getInt
(
R
.
styleable
.
JumpTextView
_jump_tv_right_max_length
,
rightMaxLength
)
rightMaxLength
=
a
.
getInt
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_right_max_length
,
rightMaxLength
)
leftTextWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
JumpTextView
_jump_tv_left_width
,
-
1
)
rightGravity
=
a
.
getInteger
(
R
.
styleable
.
JumpTextView
_jump_tv_right_gravity
,
2
)
leftTextWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_left_width
,
-
1
)
rightGravity
=
a
.
getInteger
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_right_gravity
,
2
)
isRedDotShow
=
a
.
getBoolean
(
R
.
styleable
.
JumpTextView
_jump_tv_left_red_dot
,
false
)
isRedDotShow
=
a
.
getBoolean
(
R
.
styleable
.
Platform_JumpTextView_pa
_jump_tv_left_red_dot
,
false
)
a
.
recycle
()
minimumHeight
=
resources
.
getDimensionPixelSize
(
R
.
dimen
.
jump_text_view_min_height
)
minimumHeight
=
resources
.
getDimensionPixelSize
(
R
.
dimen
.
platform_
jump_text_view_min_height
)
//setBackgroundColor(Color.WHITE);
if
(
hideArrow
)
{
arrowRes
=
0
}
else
{
arrowRes
=
R
.
drawable
.
mine_next
arrowRes
=
R
.
drawable
.
platform_
mine_next
}
setWillNotDraw
(
false
)
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/ListNoCancelDialog.java
View file @
494c0d63
...
...
@@ -76,7 +76,7 @@ public class ListNoCancelDialog extends Dialog {
LayoutInflater
inflater
=
(
LayoutInflater
)
context
.
getSystemService
(
Context
.
LAYOUT_INFLATER_SERVICE
);
// instantiate the dialog with the custom Theme
final
ListNoCancelDialog
dialog
=
new
ListNoCancelDialog
(
context
,
R
.
style
.
normaldialog_style
);
final
ListNoCancelDialog
dialog
=
new
ListNoCancelDialog
(
context
,
R
.
style
.
platform_
normaldialog_style
);
View
layout
;
layout
=
inflater
.
inflate
(
R
.
layout
.
platform_dialog_list_no_cancle_layout
,
null
);
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/LoopViewPager.java
View file @
494c0d63
...
...
@@ -140,9 +140,9 @@ public class LoopViewPager extends RelativeLayout {
imageView
.
setLayoutParams
(
new
ViewGroup
.
LayoutParams
(
size
,
size
));
tips
[
i
]
=
imageView
;
if
(
i
==
0
)
{
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
tip_select
);
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
platform_
tip_select
);
}
else
{
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
tip_unselect
);
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
platform_
tip_unselect
);
}
imageView
.
setScaleType
(
ImageView
.
ScaleType
.
CENTER_CROP
);
LinearLayout
.
LayoutParams
layoutParams
=
new
LinearLayout
.
LayoutParams
(
...
...
@@ -185,9 +185,9 @@ public class LoopViewPager extends RelativeLayout {
private
void
setImageBackground
(
int
selectItems
)
{
for
(
int
i
=
0
;
i
<
tips
.
length
;
i
++)
{
if
(
i
==
selectItems
)
{
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
tip_select
);
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
platform_
tip_select
);
}
else
{
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
tip_unselect
);
tips
[
i
].
setBackgroundResource
(
R
.
drawable
.
platform_
tip_unselect
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/MoreClickView.kt
View file @
494c0d63
...
...
@@ -12,7 +12,7 @@ import com.ydl.ydlcommon.R
import
com.ydl.ydlcommon.data.PlatformDataManager
import
com.ydl.ydlcommon.router.YdlCommonRouterManager
import
com.ydl.ydlcommon.view.dialog.CommonDialog
import
kotlinx.android.synthetic.main.ui_new_more.view.*
import
kotlinx.android.synthetic.main.
platform_
ui_new_more.view.*
/**
* Created by Wi1ls on 2016/10/17;
...
...
@@ -26,7 +26,7 @@ class MoreClickView @JvmOverloads constructor(private val mContext: Context, att
private
val
tel
=
if
(
PlatformDataManager
.
getRam
().
getGlobalInfo
()
==
null
)
"400-114-1010'"
else
PlatformDataManager
.
getRam
().
getGlobalInfo
()
?.
info
?.
tel
init
{
View
.
inflate
(
mContext
,
R
.
layout
.
ui_new_more
,
this
)
View
.
inflate
(
mContext
,
R
.
layout
.
platform_
ui_new_more
,
this
)
init
()
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/MyToggleButton.java
View file @
494c0d63
...
...
@@ -117,10 +117,10 @@ public class MyToggleButton extends View{
}
private
void
initColor
()
{
onColor
=
getResources
().
getColor
(
R
.
color
.
google_green
);
offColor
=
getResources
().
getColor
(
R
.
color
.
gray7
);
offBorderColor
=
getResources
().
getColor
(
R
.
color
.
gray7
);
spotColor
=
getResources
().
getColor
(
R
.
color
.
white
);
onColor
=
getResources
().
getColor
(
R
.
color
.
platform_
google_green
);
offColor
=
getResources
().
getColor
(
R
.
color
.
platform_
gray7
);
offBorderColor
=
getResources
().
getColor
(
R
.
color
.
platform_
gray7
);
spotColor
=
getResources
().
getColor
(
R
.
color
.
platform_
white
);
//因为开始为关闭状态,所以这里边框背景色初始化为关闭状态颜色
borderColor
=
offColor
;
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/NoBindPhoneDialog.java
View file @
494c0d63
...
...
@@ -21,7 +21,7 @@ public class NoBindPhoneDialog extends Dialog {
private
OnBindPhoneListener
listener
;
public
NoBindPhoneDialog
(
@NonNull
Context
context
,
OnBindPhoneListener
listener
)
{
super
(
context
,
R
.
style
.
normaldialog_style
);
super
(
context
,
R
.
style
.
platform_
normaldialog_style
);
this
.
context
=
context
;
this
.
listener
=
listener
;
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/ProgressView.java
View file @
494c0d63
...
...
@@ -69,12 +69,12 @@ public class ProgressView extends View {
}
private
void
init
(
AttributeSet
attrs
,
int
defStyleAttr
)
{
TypedArray
typedArray
=
getContext
().
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
ProgressView
,
defStyleAttr
,
0
);
progressColor
=
typedArray
.
getColor
(
R
.
styleable
.
P
rogressView
_progressColor
,
Color
.
GREEN
);
progressBackColor
=
typedArray
.
getColor
(
R
.
styleable
.
P
rogressView
_progressBackColor
,
Color
.
WHITE
);
progressWidth
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
P
rogressView
_progressWidth
,
20
);
textSize
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
P
rogressView
_textSize
,
(
int
)
TypedValue
.
applyDimension
(
TypedValue
.
COMPLEX_UNIT_SP
,
20
,
getResources
().
getDisplayMetrics
()));
textColor
=
typedArray
.
getColor
(
R
.
styleable
.
P
rogressView
_textColor
,
Color
.
BLACK
);
TypedArray
typedArray
=
getContext
().
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
P
latform_P
rogressView
,
defStyleAttr
,
0
);
progressColor
=
typedArray
.
getColor
(
R
.
styleable
.
P
latform_ProgressView_pa
_progressColor
,
Color
.
GREEN
);
progressBackColor
=
typedArray
.
getColor
(
R
.
styleable
.
P
latform_ProgressView_pa
_progressBackColor
,
Color
.
WHITE
);
progressWidth
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
P
latform_ProgressView_pa
_progressWidth
,
20
);
textSize
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
P
latform_ProgressView_pa
_textSize
,
(
int
)
TypedValue
.
applyDimension
(
TypedValue
.
COMPLEX_UNIT_SP
,
20
,
getResources
().
getDisplayMetrics
()));
textColor
=
typedArray
.
getColor
(
R
.
styleable
.
P
latform_ProgressView_pa
_textColor
,
Color
.
BLACK
);
mTextPaint
=
new
TextPaint
();
mTextPaint
.
setAntiAlias
(
true
);
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/RoundCornerButton.java
View file @
494c0d63
...
...
@@ -143,18 +143,18 @@ public class RoundCornerButton extends android.support.v7.widget.AppCompatButton
shapeUtil
=
new
DrawCircleShapeUtil
(
this
);
final
TypedArray
a
=
getContext
().
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
RoundCornerButton
,
defStyleAttr
,
0
);
attrs
,
R
.
styleable
.
Platform_
RoundCornerButton
,
defStyleAttr
,
0
);
mEnableTextColor
=
getCurrentTextColor
();
mDisableTextColor
=
a
.
getColor
(
R
.
styleable
.
RoundCornerButton
_round_btn_disable_text_color
,
mEnableTextColor
);
mStrokeColor
=
a
.
getColor
(
R
.
styleable
.
RoundCornerButton
_round_stroke_color
,
0
);
mStrokeWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
RoundCornerButton
_round_stroke_width
,
0
);
mDisableTextColor
=
a
.
getColor
(
R
.
styleable
.
Platform_RoundCornerButton_pa
_round_btn_disable_text_color
,
mEnableTextColor
);
mStrokeColor
=
a
.
getColor
(
R
.
styleable
.
Platform_RoundCornerButton_pa
_round_stroke_color
,
0
);
mStrokeWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_RoundCornerButton_pa
_round_stroke_width
,
0
);
mBg
.
setColor
(
mDefaultColor
=
a
.
getColor
(
R
.
styleable
.
RoundCornerButton
_round_btn_bg
,
0x00ffffff
));
shapeUtil
.
setPaintColor
(
a
.
getColor
(
R
.
styleable
.
RoundCornerButton
_round_btn_active_bg
,
mDefaultColor
));
mDisableBg
.
setColor
(
a
.
getColor
(
R
.
styleable
.
RoundCornerButton
_round_btn_disable_bg
,
mDefaultColor
));
mBg
.
setColor
(
mDefaultColor
=
a
.
getColor
(
R
.
styleable
.
Platform_RoundCornerButton_pa
_round_btn_bg
,
0x00ffffff
));
shapeUtil
.
setPaintColor
(
a
.
getColor
(
R
.
styleable
.
Platform_RoundCornerButton_pa
_round_btn_active_bg
,
mDefaultColor
));
mDisableBg
.
setColor
(
a
.
getColor
(
R
.
styleable
.
Platform_RoundCornerButton_pa
_round_btn_disable_bg
,
mDefaultColor
));
int
mRadioSize
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
RoundCornerButton
_round_btn_radio_size
,
0
);
int
mRadioSize
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_RoundCornerButton_pa
_round_btn_radio_size
,
0
);
mBg
.
setShape
(
GradientDrawable
.
RECTANGLE
);
mBg
.
setCornerRadius
(
mRadioSize
);
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/TagView.kt
View file @
494c0d63
...
...
@@ -10,9 +10,9 @@ import android.view.View
import
android.view.ViewGroup
import
android.widget.LinearLayout
import
android.widget.TextView
import
com.ydl.ydlcommon.R
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
import
com.ydl.ydlcommon.R
/**
...
...
@@ -37,7 +37,7 @@ class TagView : LinearLayout {
//默认字体颜色
private
var
defaultTextColor
=
"#444444"
//默认字体背景
private
var
defaultTextBg
=
R
.
drawable
.
tag_bg
private
var
defaultTextBg
=
R
.
drawable
.
platform_
tag_bg
init
{
tagViewMaxWidth
=
RxDeviceTool
.
getScreenWidth
(
context
)
-
RxImageTool
.
dip2px
(
159f
)
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/TitleBar.java
View file @
494c0d63
...
...
@@ -46,7 +46,7 @@ public class TitleBar extends RelativeLayout {
public
TitleBar
(
Context
context
)
{
super
(
context
);
View
v
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
ui_title_bar
,
this
);
View
v
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
platform_
ui_title_bar
,
this
);
image
=
(
ImageView
)
v
.
findViewById
(
R
.
id
.
image
);
tv_left_text
=
(
TextView
)
v
.
findViewById
(
R
.
id
.
tv_left_text
);
tv_center_title
=
(
TextView
)
findViewById
(
R
.
id
.
tv_center_title
);
...
...
@@ -60,7 +60,7 @@ public class TitleBar extends RelativeLayout {
public
TitleBar
(
Context
context
,
AttributeSet
attrs
)
{
super
(
context
,
attrs
);
View
v
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
ui_title_bar
,
this
);
View
v
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
platform_
ui_title_bar
,
this
);
image
=
(
ImageView
)
v
.
findViewById
(
R
.
id
.
image
);
tv_left_text
=
(
TextView
)
v
.
findViewById
(
R
.
id
.
tv_left_text
);
tv_center_title
=
(
TextView
)
findViewById
(
R
.
id
.
tv_center_title
);
...
...
@@ -74,7 +74,7 @@ public class TitleBar extends RelativeLayout {
public
TitleBar
(
Context
context
,
AttributeSet
attrs
,
int
defStyleAttr
)
{
super
(
context
,
attrs
,
defStyleAttr
);
View
v
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
ui_title_bar
,
this
);
View
v
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
platform_
ui_title_bar
,
this
);
image
=
(
ImageView
)
v
.
findViewById
(
R
.
id
.
image
);
tv_left_text
=
(
TextView
)
v
.
findViewById
(
R
.
id
.
tv_left_text
);
tv_center_title
=
(
TextView
)
findViewById
(
R
.
id
.
tv_center_title
);
...
...
@@ -189,23 +189,23 @@ public class TitleBar extends RelativeLayout {
void
initRoot
(
AttributeSet
attrs
,
int
defStyleAttr
)
{
final
TypedArray
a
=
getContext
().
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
TitleBar
,
defStyleAttr
,
0
);
attrs
,
R
.
styleable
.
Platform_
TitleBar
,
defStyleAttr
,
0
);
mLeftText
=
a
.
getString
(
R
.
styleable
.
TitleBar
_left_text
);
mLeftStartIcon
=
a
.
getDrawable
(
R
.
styleable
.
TitleBar
_left_start_icon
);
mLeftEndIcon
=
a
.
getDrawable
(
R
.
styleable
.
TitleBar
_left_end_icon
);
mRight
=
a
.
getDrawable
(
R
.
styleable
.
TitleBar
_right_iv
);
mLeftText
=
a
.
getString
(
R
.
styleable
.
Platform_TitleBar_pa
_left_text
);
mLeftStartIcon
=
a
.
getDrawable
(
R
.
styleable
.
Platform_TitleBar_pa
_left_start_icon
);
mLeftEndIcon
=
a
.
getDrawable
(
R
.
styleable
.
Platform_TitleBar_pa
_left_end_icon
);
mRight
=
a
.
getDrawable
(
R
.
styleable
.
Platform_TitleBar_pa
_right_iv
);
mTitle
=
a
.
getString
(
R
.
styleable
.
TitleBar
_title_text
);
mTitle
=
a
.
getString
(
R
.
styleable
.
Platform_TitleBar_pa
_title_text
);
mRightText
=
a
.
getString
(
R
.
styleable
.
TitleBar
_right_text
);
mRightStartIcon
=
a
.
getDrawable
(
R
.
styleable
.
TitleBar
_right_start_icon
);
mRightEndIcon
=
a
.
getDrawable
(
R
.
styleable
.
TitleBar
_right_end_icon
);
mRightText
=
a
.
getString
(
R
.
styleable
.
Platform_TitleBar_pa
_right_text
);
mRightStartIcon
=
a
.
getDrawable
(
R
.
styleable
.
Platform_TitleBar_pa
_right_start_icon
);
mRightEndIcon
=
a
.
getDrawable
(
R
.
styleable
.
Platform_TitleBar_pa
_right_end_icon
);
mTextColor
=
a
.
getColor
(
R
.
styleable
.
TitleBar
_title_bar_text_color
,
0xff3c3c3c
);
mSideTextColor
=
a
.
getColor
(
R
.
styleable
.
TitleBar
_side_text_color
,
0xff3c3c3c
);
mTextColor
=
a
.
getColor
(
R
.
styleable
.
Platform_TitleBar_pa
_title_bar_text_color
,
0xff3c3c3c
);
mSideTextColor
=
a
.
getColor
(
R
.
styleable
.
Platform_TitleBar_pa
_side_text_color
,
0xff3c3c3c
);
//底部线颜色
buttom_color
=
a
.
getColor
(
R
.
styleable
.
TitleBar_bm_line_color
,
getResources
().
getColor
(
R
.
color
.
divide_color
));
buttom_color
=
a
.
getColor
(
R
.
styleable
.
Platform_TitleBar_pa_bm_line_color
,
getResources
().
getColor
(
R
.
color
.
platform_
divide_color
));
a
.
recycle
();
setGravity
(
Gravity
.
CENTER_VERTICAL
);
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/banner/Banner.java
View file @
494c0d63
...
...
@@ -48,8 +48,8 @@ public class Banner extends FrameLayout implements OnPageChangeListener {
private
boolean
isAutoPlay
=
BannerConfig
.
IS_AUTO_PLAY
;
private
boolean
isScroll
=
BannerConfig
.
IS_SCROLL
;
private
boolean
isSelectedSameUnSelected
=
true
;
private
int
mIndicatorSelectedResId
=
R
.
drawable
.
gray_radius
;
private
int
mIndicatorUnselectedResId
=
R
.
drawable
.
white_radius
;
private
int
mIndicatorSelectedResId
=
R
.
drawable
.
platform_
gray_radius
;
private
int
mIndicatorUnselectedResId
=
R
.
drawable
.
platform_
white_radius
;
private
int
mLayoutResId
=
R
.
layout
.
platform_banner
;
private
int
titleHeight
;
private
int
titleBackground
;
...
...
@@ -132,26 +132,26 @@ public class Banner extends FrameLayout implements OnPageChangeListener {
if
(
attrs
==
null
)
{
return
;
}
TypedArray
typedArray
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Banner
);
mIndicatorWidth
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Banner
_indicator_width
,
indicatorSize
);
mIndicatorDifferentWidth
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Banner
_indicator_different_width
,
mIndicatorDifferentWidth
);
mIndicatorHeight
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Banner
_indicator_height
,
indicatorSize
);
isSelectedSameUnSelected
=
typedArray
.
getBoolean
(
R
.
styleable
.
Banner
_is_selected_same_unselected
,
isSelectedSameUnSelected
);
mIndicatorMargin
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Banner
_indicator_margin
,
BannerConfig
.
PADDING_SIZE
);
mIndicatorSelectedResId
=
typedArray
.
getResourceId
(
R
.
styleable
.
Banner_indicator_drawable_selected
,
R
.
drawable
.
gray_radius
);
mIndicatorUnselectedResId
=
typedArray
.
getResourceId
(
R
.
styleable
.
Banner_indicator_drawable_unselected
,
R
.
drawable
.
white_radius
);
scaleType
=
typedArray
.
getInt
(
R
.
styleable
.
Banner
_image_scale_type
,
scaleType
);
delayTime
=
typedArray
.
getInt
(
R
.
styleable
.
Banner
_delay_time
,
BannerConfig
.
TIME
);
scrollTime
=
typedArray
.
getInt
(
R
.
styleable
.
Banner
_scroll_time
,
BannerConfig
.
DURATION
);
isAutoPlay
=
typedArray
.
getBoolean
(
R
.
styleable
.
Banner
_is_auto_play
,
BannerConfig
.
IS_AUTO_PLAY
);
isShowIndicator
=
typedArray
.
getBoolean
(
R
.
styleable
.
Banner
_is_show_indicator
,
true
);
isShowInside
=
typedArray
.
getBoolean
(
R
.
styleable
.
Banner
_is_show_inside
,
true
);
titleBackground
=
typedArray
.
getColor
(
R
.
styleable
.
Banner
_title_background
,
BannerConfig
.
TITLE_BACKGROUND
);
titleHeight
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Banner
_title_height
,
BannerConfig
.
TITLE_HEIGHT
);
titleTextColor
=
typedArray
.
getColor
(
R
.
styleable
.
Banner
_title_textcolor
,
BannerConfig
.
TITLE_TEXT_COLOR
);
titleTextSize
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Banner
_title_textsize
,
BannerConfig
.
TITLE_TEXT_SIZE
);
mLayoutResId
=
typedArray
.
getResourceId
(
R
.
styleable
.
Banner
_banner_layout
,
mLayoutResId
);
bannerBackgroundImage
=
typedArray
.
getResourceId
(
R
.
styleable
.
Banner_banner_default_image
,
R
.
drawable
.
no_banner
);
TypedArray
typedArray
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Platform_
Banner
);
mIndicatorWidth
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_Banner_pa
_indicator_width
,
indicatorSize
);
mIndicatorDifferentWidth
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_Banner_pa
_indicator_different_width
,
mIndicatorDifferentWidth
);
mIndicatorHeight
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_Banner_pa
_indicator_height
,
indicatorSize
);
isSelectedSameUnSelected
=
typedArray
.
getBoolean
(
R
.
styleable
.
Platform_Banner_pa
_is_selected_same_unselected
,
isSelectedSameUnSelected
);
mIndicatorMargin
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_Banner_pa
_indicator_margin
,
BannerConfig
.
PADDING_SIZE
);
mIndicatorSelectedResId
=
typedArray
.
getResourceId
(
R
.
styleable
.
Platform_Banner_pa_indicator_drawable_selected
,
R
.
drawable
.
platform_
gray_radius
);
mIndicatorUnselectedResId
=
typedArray
.
getResourceId
(
R
.
styleable
.
Platform_Banner_pa_indicator_drawable_unselected
,
R
.
drawable
.
platform_
white_radius
);
scaleType
=
typedArray
.
getInt
(
R
.
styleable
.
Platform_Banner_pa
_image_scale_type
,
scaleType
);
delayTime
=
typedArray
.
getInt
(
R
.
styleable
.
Platform_Banner_pa
_delay_time
,
BannerConfig
.
TIME
);
scrollTime
=
typedArray
.
getInt
(
R
.
styleable
.
Platform_Banner_pa
_scroll_time
,
BannerConfig
.
DURATION
);
isAutoPlay
=
typedArray
.
getBoolean
(
R
.
styleable
.
Platform_Banner_pa
_is_auto_play
,
BannerConfig
.
IS_AUTO_PLAY
);
isShowIndicator
=
typedArray
.
getBoolean
(
R
.
styleable
.
Platform_Banner_pa
_is_show_indicator
,
true
);
isShowInside
=
typedArray
.
getBoolean
(
R
.
styleable
.
Platform_Banner_pa
_is_show_inside
,
true
);
titleBackground
=
typedArray
.
getColor
(
R
.
styleable
.
Platform_Banner_pa
_title_background
,
BannerConfig
.
TITLE_BACKGROUND
);
titleHeight
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_Banner_pa
_title_height
,
BannerConfig
.
TITLE_HEIGHT
);
titleTextColor
=
typedArray
.
getColor
(
R
.
styleable
.
Platform_Banner_pa
_title_textcolor
,
BannerConfig
.
TITLE_TEXT_COLOR
);
titleTextSize
=
typedArray
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_Banner_pa
_title_textsize
,
BannerConfig
.
TITLE_TEXT_SIZE
);
mLayoutResId
=
typedArray
.
getResourceId
(
R
.
styleable
.
Platform_Banner_pa
_banner_layout
,
mLayoutResId
);
bannerBackgroundImage
=
typedArray
.
getResourceId
(
R
.
styleable
.
Platform_Banner_pa_banner_default_image
,
R
.
drawable
.
platform_
no_banner
);
typedArray
.
recycle
();
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/CommonDialog.java
View file @
494c0d63
...
...
@@ -40,7 +40,7 @@ public class CommonDialog extends Dialog {
}
public
CommonDialog
(
Context
context
)
{
super
(
context
,
R
.
style
.
normaldialog_style
);
super
(
context
,
R
.
style
.
platform_
normaldialog_style
);
this
.
context
=
context
;
View
v
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
platform_dialog_common_layout
,
null
);
...
...
@@ -56,7 +56,7 @@ public class CommonDialog extends Dialog {
}
public
CommonDialog
(
Context
context
,
int
theme
)
{
super
(
context
,
R
.
style
.
normaldialog_style
);
super
(
context
,
R
.
style
.
platform_
normaldialog_style
);
this
.
context
=
context
;
}
...
...
@@ -85,7 +85,7 @@ public class CommonDialog extends Dialog {
*/
public
CommonDialog
setMessageShake
(
boolean
isShake
){
if
(
isShake
){
message_tv
.
startAnimation
(
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
shake_smail
));
message_tv
.
startAnimation
(
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
platform_
shake_smail
));
}
return
this
;
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/CustomShareDialog.kt
View file @
494c0d63
...
...
@@ -13,14 +13,14 @@ import com.ydl.ydlcommon.actions.share.ShareMoreBean
import
com.ydl.ydlcommon.actions.share.ShareUtils
import
com.ydl.ydlcommon.adapter.CommonAdapter
import
com.ydl.ydlcommon.view.BaseViewHolder
import
kotlinx.android.synthetic.main.share_custom_ui.*
import
kotlinx.android.synthetic.main.
platform_
share_custom_ui.*
/**
* 自定义分享Dialog
* Created by hgw on 2017/3/22.
*/
class
CustomShareDialog
(
private
val
context
:
Activity
)
:
Dialog
(
context
,
R
.
style
.
transparentFrameWindowStyle
),
View
.
OnClickListener
{
class
CustomShareDialog
(
private
val
context
:
Activity
)
:
Dialog
(
context
,
R
.
style
.
platform_
transparentFrameWindowStyle
),
View
.
OnClickListener
{
private
var
share_title
:
String
?
=
null
...
...
@@ -33,13 +33,13 @@ class CustomShareDialog(private val context: Activity) : Dialog(context, R.style
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
setContentView
(
R
.
layout
.
share_custom_ui
)
setContentView
(
R
.
layout
.
platform_
share_custom_ui
)
initView
()
val
window
=
window
// 设置显示动画
window
!!
.
setWindowAnimations
(
R
.
style
.
main_menu_animstyle
)
window
!!
.
setWindowAnimations
(
R
.
style
.
platform_
main_menu_animstyle
)
val
wl
=
window
.
attributes
wl
.
x
=
0
wl
.
y
=
context
.
windowManager
.
defaultDisplay
.
height
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/ListDialog.java
View file @
494c0d63
...
...
@@ -14,8 +14,6 @@ import android.widget.TextView;
import
com.ydl.ydlcommon.adapter.DialogListAdapter
;
import
com.ydl.ydlcommon.view.FullyLinearLayoutManager
;
import
com.ydl.ydlcommon.R
;
import
com.ydl.ydlcommon.adapter.DialogListAdapter
;
import
com.ydl.ydlcommon.view.FullyLinearLayoutManager
;
import
java.util.List
;
...
...
@@ -108,7 +106,7 @@ public class ListDialog extends Dialog {
LayoutInflater
inflater
=
(
LayoutInflater
)
context
.
getSystemService
(
Context
.
LAYOUT_INFLATER_SERVICE
);
// instantiate the dialog with the custom Theme
final
ListDialog
dialog
=
new
ListDialog
(
context
,
R
.
style
.
normaldialog_style
);
final
ListDialog
dialog
=
new
ListDialog
(
context
,
R
.
style
.
platform_
normaldialog_style
);
View
layout
;
layout
=
inflater
.
inflate
(
R
.
layout
.
dialog_list_layout
,
null
);
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/NormalDialog.java
View file @
494c0d63
...
...
@@ -223,7 +223,7 @@ public class NormalDialog extends Dialog {
LayoutInflater
inflater
=
(
LayoutInflater
)
context
.
getSystemService
(
Context
.
LAYOUT_INFLATER_SERVICE
);
// instantiate the dialog with the custom Theme
dialog
=
new
NormalDialog
(
context
,
R
.
style
.
normaldialog_style
);
dialog
=
new
NormalDialog
(
context
,
R
.
style
.
platform_
normaldialog_style
);
View
layout
;
if
(
"left"
.
equals
(
dialog_type
)){
layout
=
inflater
.
inflate
(
R
.
layout
.
dialog_common_left_layout
,
null
);
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/ThreeLinesDialog.java
View file @
494c0d63
...
...
@@ -189,7 +189,7 @@ public class ThreeLinesDialog extends Dialog {
LayoutInflater
inflater
=
(
LayoutInflater
)
context
.
getSystemService
(
Context
.
LAYOUT_INFLATER_SERVICE
);
// instantiate the dialog with the custom Theme
final
ThreeLinesDialog
dialog
=
new
ThreeLinesDialog
(
context
,
R
.
style
.
normaldialog_style
);
final
ThreeLinesDialog
dialog
=
new
ThreeLinesDialog
(
context
,
R
.
style
.
platform_
normaldialog_style
);
View
layout
;
layout
=
inflater
.
inflate
(
R
.
layout
.
platform_dialog_trend_layout
,
null
);
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/dialog/YDLShareDialog.kt
View file @
494c0d63
...
...
@@ -149,7 +149,7 @@ class YDLShareDialog : DialogFragment {
//设置dialog的位置在底部
lp
.
gravity
=
Gravity
.
BOTTOM
//设置dialog的动画
lp
.
windowAnimations
=
R
.
style
.
BottomDialogAnimation
lp
.
windowAnimations
=
R
.
style
.
platform_
BottomDialogAnimation
window
.
attributes
=
lp
window
.
setBackgroundDrawable
(
ColorDrawable
())
return
inflater
!!
.
inflate
(
R
.
layout
.
platform_dialog_share
,
null
)
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/shoushi/Lock9View.java
View file @
494c0d63
...
...
@@ -15,19 +15,16 @@ import android.view.MotionEvent;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.AnimationUtils
;
import
com.ydl.ydlcommon.R
;
import
io.reactivex.Observable
;
import
io.reactivex.android.schedulers.AndroidSchedulers
;
import
io.reactivex.functions.Consumer
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.concurrent.TimeUnit
;
import
io.reactivex.Observable
;
import
io.reactivex.android.schedulers.AndroidSchedulers
;
import
io.reactivex.functions.Consumer
;
//九宫格手势解锁
public
class
Lock9View
extends
ViewGroup
{
...
...
@@ -134,22 +131,22 @@ public class Lock9View extends ViewGroup {
*/
private
void
init
(
Context
context
,
AttributeSet
attrs
,
int
defStyleAttr
,
int
defStyleRes
)
{
// 获取定义的属性
TypedArray
a
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Lock9View
,
defStyleAttr
,
defStyleRes
);
TypedArray
a
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Platform_
Lock9View
,
defStyleAttr
,
defStyleRes
);
nodeSrc
=
a
.
getDrawable
(
R
.
styleable
.
Lock9View
_lock9_nodeSrc
);
nodeOnSrc
=
a
.
getDrawable
(
R
.
styleable
.
Lock9View
_lock9_nodeOnSrc
);
nodeSize
=
a
.
getDimension
(
R
.
styleable
.
Lock9View
_lock9_nodeSize
,
0
);
nodeAreaExpand
=
a
.
getDimension
(
R
.
styleable
.
Lock9View
_lock9_nodeAreaExpand
,
0
);
nodeOnAnim
=
a
.
getResourceId
(
R
.
styleable
.
Lock9View
_lock9_nodeOnAnim
,
0
);
lineColor
=
a
.
getColor
(
R
.
styleable
.
Lock9View
_lock9_lineColor
,
Color
.
argb
(
0
,
0
,
0
,
0
));
lineWidth
=
a
.
getDimension
(
R
.
styleable
.
Lock9View
_lock9_lineWidth
,
0
);
padding
=
a
.
getDimension
(
R
.
styleable
.
Lock9View
_lock9_padding
,
0
);
spacing
=
a
.
getDimension
(
R
.
styleable
.
Lock9View
_lock9_spacing
,
0
);
nodeSrc
=
a
.
getDrawable
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_nodeSrc
);
nodeOnSrc
=
a
.
getDrawable
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_nodeOnSrc
);
nodeSize
=
a
.
getDimension
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_nodeSize
,
0
);
nodeAreaExpand
=
a
.
getDimension
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_nodeAreaExpand
,
0
);
nodeOnAnim
=
a
.
getResourceId
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_nodeOnAnim
,
0
);
lineColor
=
a
.
getColor
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_lineColor
,
Color
.
argb
(
0
,
0
,
0
,
0
));
lineWidth
=
a
.
getDimension
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_lineWidth
,
0
);
padding
=
a
.
getDimension
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_padding
,
0
);
spacing
=
a
.
getDimension
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_spacing
,
0
);
autoLink
=
a
.
getBoolean
(
R
.
styleable
.
Lock9View
_lock9_autoLink
,
false
);
autoLink
=
a
.
getBoolean
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_autoLink
,
false
);
enableVibrate
=
a
.
getBoolean
(
R
.
styleable
.
Lock9View
_lock9_enableVibrate
,
false
);
vibrateTime
=
a
.
getInt
(
R
.
styleable
.
Lock9View
_lock9_vibrateTime
,
20
);
enableVibrate
=
a
.
getBoolean
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_enableVibrate
,
false
);
vibrateTime
=
a
.
getInt
(
R
.
styleable
.
Platform_Lock9View_pa
_lock9_vibrateTime
,
20
);
a
.
recycle
();
...
...
@@ -314,8 +311,8 @@ public class Lock9View extends ViewGroup {
List
<
String
>
passs
=
Arrays
.
asList
(
errorPas
.
split
(
""
));
Drawable
tempNodeOnSrc
=
getResources
().
getDrawable
(
R
.
drawable
.
lock_btn_shoushi_error
);
int
tempLineColor
=
getResources
().
getColor
(
R
.
color
.
price_color
);
Drawable
tempNodeOnSrc
=
getResources
().
getDrawable
(
R
.
drawable
.
platform_
lock_btn_shoushi_error
);
int
tempLineColor
=
getResources
().
getColor
(
R
.
color
.
p
latform_p
rice_color
);
paint
.
setColor
(
tempLineColor
);
for
(
int
n
=
0
;
n
<
getChildCount
();
n
++)
{
if
(
passs
.
contains
(
n
+
1
+
""
)){
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/shoushi/LockIndicator.java
View file @
494c0d63
...
...
@@ -43,8 +43,8 @@ public class LockIndicator extends View {
paint
.
setAntiAlias
(
true
);
paint
.
setStrokeWidth
(
strokeWidth
);
paint
.
setStyle
(
Style
.
STROKE
);
patternNoraml
=
getResources
().
getDrawable
(
R
.
drawable
.
lock_img_dot_gray
);
patternPressed
=
getResources
().
getDrawable
(
R
.
drawable
.
lock_img_dot_green
);
patternNoraml
=
getResources
().
getDrawable
(
R
.
drawable
.
platform_
lock_img_dot_gray
);
patternPressed
=
getResources
().
getDrawable
(
R
.
drawable
.
platform_
lock_img_dot_green
);
if
(
patternPressed
!=
null
)
{
patternWidth
=
patternPressed
.
getIntrinsicWidth
();
patternHeight
=
patternPressed
.
getIntrinsicHeight
();
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/swapelayout/YDLAdapterWrapper.kt
View file @
494c0d63
...
...
@@ -4,7 +4,7 @@ import android.support.v7.widget.RecyclerView
import
android.view.View
import
android.view.ViewGroup
import
com.ydl.ydlcommon.R
import
kotlinx.android.synthetic.main.swipelayout_item_load_more.view.*
import
kotlinx.android.synthetic.main.
platform_
swipelayout_item_load_more.view.*
/**
...
...
@@ -63,7 +63,7 @@ class YDLAdapterWrapper(private val mAdapter: RecyclerView.Adapter<RecyclerView.
override
fun
onCreateViewHolder
(
parent
:
ViewGroup
,
viewType
:
Int
):
RecyclerView
.
ViewHolder
{
if
(
viewType
==
ITEM_TYPE_LOAD
)
{
if
(
mWrapperHolder
==
null
)
{
val
view
=
View
.
inflate
(
parent
.
context
,
R
.
layout
.
swipelayout_item_load_more
,
null
)
val
view
=
View
.
inflate
(
parent
.
context
,
R
.
layout
.
platform_
swipelayout_item_load_more
,
null
)
view
.
setOnClickListener
(
this
)
mWrapperHolder
=
WrapperHolder
(
view
)
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/verticaltablayout/VerticalTabLayout.java
View file @
494c0d63
...
...
@@ -70,13 +70,13 @@ public class VerticalTabLayout extends ScrollView {
super
(
context
,
attrs
,
defStyleAttr
);
mContext
=
context
;
mTabSelectedListeners
=
new
ArrayList
<>();
TypedArray
typedArray
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
VerticalTabLayout
);
mColorIndicator
=
typedArray
.
getColor
(
R
.
styleable
.
VerticalTabLayout
_indicator_color
,
context
.
getResources
().
getColor
(
R
.
color
.
color_5CC8F7
));
mIndicatorWidth
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
VerticalTabLayout
_tab_indicator_width
,
DisplayUtils
.
dp2px
(
context
,
3
));
mIndicatorCorners
=
typedArray
.
getDimension
(
R
.
styleable
.
VerticalTabLayout
_indicator_corners
,
0
);
mIndicatorGravity
=
typedArray
.
getInteger
(
R
.
styleable
.
VerticalTabLayout
_indicator_gravity
,
Gravity
.
LEFT
);
mIndicatorMargin
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
VerticalTabLayout
_tab_indicator_margin
,
Gravity
.
LEFT
);
TypedArray
typedArray
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Platform_
VerticalTabLayout
);
mColorIndicator
=
typedArray
.
getColor
(
R
.
styleable
.
Platform_VerticalTabLayout_pa
_indicator_color
,
context
.
getResources
().
getColor
(
R
.
color
.
platform_
color_5CC8F7
));
mIndicatorWidth
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
Platform_VerticalTabLayout_pa
_tab_indicator_width
,
DisplayUtils
.
dp2px
(
context
,
3
));
mIndicatorCorners
=
typedArray
.
getDimension
(
R
.
styleable
.
Platform_VerticalTabLayout_pa
_indicator_corners
,
0
);
mIndicatorGravity
=
typedArray
.
getInteger
(
R
.
styleable
.
Platform_VerticalTabLayout_pa_tab
_indicator_gravity
,
Gravity
.
LEFT
);
mIndicatorMargin
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
Platform_VerticalTabLayout_pa
_tab_indicator_margin
,
Gravity
.
LEFT
);
if
(
mIndicatorGravity
==
3
)
{
mIndicatorGravity
=
Gravity
.
LEFT
;
}
else
if
(
mIndicatorGravity
==
5
)
{
...
...
@@ -84,10 +84,10 @@ public class VerticalTabLayout extends ScrollView {
}
else
if
(
mIndicatorGravity
==
119
)
{
mIndicatorGravity
=
Gravity
.
FILL
;
}
mTabMargin
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
VerticalTabLayout
_tab_margin
,
0
);
mTabMode
=
typedArray
.
getInteger
(
R
.
styleable
.
VerticalTabLayout
_tab_mode
,
TAB_MODE_FIXED
);
mTabMargin
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
Platform_VerticalTabLayout_pa
_tab_margin
,
0
);
mTabMode
=
typedArray
.
getInteger
(
R
.
styleable
.
Platform_VerticalTabLayout_pa
_tab_mode
,
TAB_MODE_FIXED
);
int
defaultTabHeight
=
LinearLayout
.
LayoutParams
.
WRAP_CONTENT
;
mTabHeight
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
VerticalTabLayout
_tab_height
,
defaultTabHeight
);
mTabHeight
=
(
int
)
typedArray
.
getDimension
(
R
.
styleable
.
Platform_VerticalTabLayout_pa
_tab_height
,
defaultTabHeight
);
typedArray
.
recycle
();
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/widgets/BorderCircleImageView.java
View file @
494c0d63
...
...
@@ -62,10 +62,10 @@ public class BorderCircleImageView extends ImageView {
super
(
context
,
attrs
,
defStyle
);
super
.
setScaleType
(
SCALE_TYPE
);
TypedArray
a
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
CircleImageView
,
defStyle
,
0
);
TypedArray
a
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Platform_
CircleImageView
,
defStyle
,
0
);
mBorderWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
CircleImageView
_border_width
,
DEFAULT_BORDER_WIDTH
);
mBorderColor
=
a
.
getColor
(
R
.
styleable
.
CircleImageView
_border_color
,
DEFAULT_BORDER_COLOR
);
mBorderWidth
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
Platform_CircleImageView_pa
_border_width
,
DEFAULT_BORDER_WIDTH
);
mBorderColor
=
a
.
getColor
(
R
.
styleable
.
Platform_CircleImageView_pa
_border_color
,
DEFAULT_BORDER_COLOR
);
a
.
recycle
();
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/widgets/RoundImageView.java
View file @
494c0d63
...
...
@@ -73,14 +73,14 @@ public class RoundImageView extends android.support.v7.widget.AppCompatImageView
mBitmapPaint
.
setAntiAlias
(
true
);
TypedArray
a
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
RoundImageView
);
R
.
styleable
.
Platform_
RoundImageView
);
mBorderRadius
=
a
.
getDimensionPixelSize
(
R
.
styleable
.
RoundImageView
_borderRadius
,
(
int
)
TypedValue
R
.
styleable
.
Platform_RoundImageView_pa
_borderRadius
,
(
int
)
TypedValue
.
applyDimension
(
TypedValue
.
COMPLEX_UNIT_DIP
,
BODER_RADIUS_DEFAULT
,
getResources
()
.
getDisplayMetrics
()));
// 默认为10dp
type
=
a
.
getInt
(
R
.
styleable
.
RoundImageView
_type
,
TYPE_CIRCLE
);
// 默认为Circle
type
=
a
.
getInt
(
R
.
styleable
.
Platform_RoundImageView_pa
_type
,
TYPE_CIRCLE
);
// 默认为Circle
a
.
recycle
();
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/java/com/ydl/ydlcommon/view/widgets/TopTabSelectLayout.java
View file @
494c0d63
...
...
@@ -76,7 +76,7 @@ public class TopTabSelectLayout extends LinearLayout implements View.OnClickList
private
void
initView
(
Context
context
)
{
mContext
=
context
;
mView
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
top_select_layout
,
this
,
true
);
mView
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
platform_
top_select_layout
,
this
,
true
);
mTitleBgLayout
=
mView
.
findViewById
(
R
.
id
.
title_bg_layout
);
...
...
@@ -97,13 +97,13 @@ public class TopTabSelectLayout extends LinearLayout implements View.OnClickList
mLeftTv
.
setOnClickListener
(
this
);
mRightTv
.
setOnClickListener
(
this
);
mPressedLeftBgSourceId
=
R
.
drawable
.
round_left_green
;
mPressedRightBgSourceId
=
R
.
drawable
.
round_right_green
;
mNormalLeftBgSourceId
=
R
.
drawable
.
round_left_white
;
mNormalRightBgSourceId
=
R
.
drawable
.
round_right_white
;
mPressedLeftBgSourceId
=
R
.
drawable
.
platform_
round_left_green
;
mPressedRightBgSourceId
=
R
.
drawable
.
platform_
round_right_green
;
mNormalLeftBgSourceId
=
R
.
drawable
.
platform_
round_left_white
;
mNormalRightBgSourceId
=
R
.
drawable
.
platform_
round_right_white
;
mPressedTextColorId
=
R
.
color
.
white
;
mNormalTextColorId
=
R
.
color
.
main_theme_blue
;
mPressedTextColorId
=
R
.
color
.
platform_
white
;
mNormalTextColorId
=
R
.
color
.
platform_
main_theme_blue
;
setSelectIndex
(
0
);
}
...
...
@@ -301,7 +301,7 @@ public class TopTabSelectLayout extends LinearLayout implements View.OnClickList
if
(
mTitleBgId
>
0
)
{
mTitleBgLayout
.
setBackgroundResource
(
mTitleBgId
);
}
else
{
mTitleBgLayout
.
setBackgroundResource
(
R
.
drawable
.
round_corner_white_bg_red_line
);
mTitleBgLayout
.
setBackgroundResource
(
R
.
drawable
.
platform_
round_corner_white_bg_red_line
);
}
}
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/activity_anim_out.xml
→
ydl-platform/src/main/res/anim/
platform_
activity_anim_out.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/bottom_dialog_slide_hide.xml
→
ydl-platform/src/main/res/anim/
platform_
bottom_dialog_slide_hide.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/bottom_dialog_slide_show.xml
→
ydl-platform/src/main/res/anim/
platform_
bottom_dialog_slide_show.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/shake_smail.xml
→
ydl-platform/src/main/res/anim/
platform_
shake_smail.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/share_dialog_in_anim.xml
→
ydl-platform/src/main/res/anim/
platform_
share_dialog_in_anim.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/share_dialog_out_anim.xml
→
ydl-platform/src/main/res/anim/
platform_
share_dialog_out_anim.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/slide_in_from_bottom.xml
→
ydl-platform/src/main/res/anim/
platform_
slide_in_from_bottom.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/anim/slide_out_to_bottom.xml
→
ydl-platform/src/main/res/anim/
platform_
slide_out_to_bottom.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/default_img.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
default_img.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/delete.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
delete.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/head_place_hold_pic.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
head_place_hold_pic.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ic_arrow_drop_down_grey_500_18dp.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ic_arrow_drop_down_grey_500_18dp.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ic_close_orange_18dp.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ic_close_orange_18dp.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ic_pop_home.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ic_pop_home.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ic_pop_kefu.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ic_pop_kefu.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ic_pop_news.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ic_pop_news.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ic_pop_phone.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ic_pop_phone.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_course_play.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_course_play.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_img_zixun_empty.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_img_zixun_empty.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_info.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_info.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_play_float_pause.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_play_float_pause.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_play_float_pic.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_play_float_pic.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_spfc_play.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_spfc_play.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_yyfc_pause.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_yyfc_pause.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ico_yyfc_play.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ico_yyfc_play.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/icon_country.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
icon_country.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/icon_download.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
icon_download.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/img_no_bind.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
img_no_bind.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/loading_logo.gif
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
loading_logo.gif
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/lock_btn_shoushi_error.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
lock_btn_shoushi_error.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/lock_img_dot_gray.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
lock_img_dot_gray.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/lock_img_dot_green.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
lock_img_dot_green.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/logo_bottom_text.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
logo_bottom_text.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/mine_next.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
mine_next.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/more12r.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
more12r.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/more12x.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
more12x.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/more_green.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
more_green.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/msg_notification.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
msg_notification.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/no_banner.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
no_banner.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/pop_pengyouquan.png
→
ydl-platform/src/main/res/drawable-xhdpi/p
latform_p
op_pengyouquan.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/pop_qq.png
→
ydl-platform/src/main/res/drawable-xhdpi/p
latform_p
op_qq.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/pop_qqzone.png
→
ydl-platform/src/main/res/drawable-xhdpi/p
latform_p
op_qqzone.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/pop_weixin.png
→
ydl-platform/src/main/res/drawable-xhdpi/p
latform_p
op_weixin.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/share.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
share.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/share_yellow.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
share_yellow.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/simple_player_arrow_white_24dp.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
simple_player_arrow_white_24dp.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/simple_player_icon_media_pause.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
simple_player_icon_media_pause.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/tip_select.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
tip_select.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/tip_unselect.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
tip_unselect.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/toolbar_back.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
toolbar_back.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/toolbar_back_yellow.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
toolbar_back_yellow.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_menu_default.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
umeng_socialize_menu_default.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ydl_net_loss.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ydl_net_loss.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/ydlcommon_blank.png
→
ydl-platform/src/main/res/drawable-xhdpi/
platform_
ydlcommon_blank.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_qq.png
deleted
100644 → 0
View file @
ae6cc69a
3.42 KB
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_qzone.png
deleted
100644 → 0
View file @
ae6cc69a
2.03 KB
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_wechat.png
deleted
100644 → 0
View file @
ae6cc69a
1.59 KB
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable-xhdpi/umeng_socialize_wxcircle.png
deleted
100644 → 0
View file @
ae6cc69a
1.47 KB
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_btn_select.xml
deleted
100644 → 0
View file @
ae6cc69a
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@drawable/normaldialog_check_btn"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/normaldialog_btn"
android:state_focused=
"false"
android:state_pressed=
"false"
/>
<item
android:drawable=
"@drawable/normaldialog_check_btn"
android:state_focused=
"true"
/>
<item
android:drawable=
"@drawable/normaldialog_btn"
android:state_focused=
"false"
/>
</selector>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_right_btn_select.xml
deleted
100644 → 0
View file @
ae6cc69a
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@drawable/normaldialog_check_right_btn"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/normaldialog_right_btn"
android:state_focused=
"false"
android:state_pressed=
"false"
/>
<item
android:drawable=
"@drawable/normaldialog_check_right_btn"
android:state_focused=
"true"
/>
<item
android:drawable=
"@drawable/normaldialog_right_btn"
android:state_focused=
"false"
/>
</selector>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_top_btn_select.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@drawable/normaldialog_check_top_btn"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/normaldialog_top_btn"
android:state_focused=
"false"
android:state_pressed=
"false"
/>
<item
android:drawable=
"@drawable/normaldialog_check_top_btn"
android:state_focused=
"true"
/>
<item
android:drawable=
"@drawable/normaldialog_top_btn"
android:state_focused=
"false"
/>
<item
android:drawable=
"@drawable/
platform_
normaldialog_check_top_btn"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/
platform_
normaldialog_top_btn"
android:state_focused=
"false"
android:state_pressed=
"false"
/>
<item
android:drawable=
"@drawable/
platform_
normaldialog_check_top_btn"
android:state_focused=
"true"
/>
<item
android:drawable=
"@drawable/
platform_
normaldialog_top_btn"
android:state_focused=
"false"
/>
</selector>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_btn_dis.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_btn_dis.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_btn_nor.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_btn_nor.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_btn_pre.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_btn_pre.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_radius_bottom_white_10.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_radius_bottom_white_10.xml
View file @
494c0d63
...
...
@@ -2,6 +2,6 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:bottomLeftRadius=
"7dp"
android:bottomRightRadius=
"7dp"
/>
<solid
android:color=
"@color/white"
/>
<solid
android:color=
"@color/
platform_
white"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_radius_f3_10.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_radius_f3_10.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_radius_green_20.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_radius_green_20.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"22dp"
></corners>
<solid
android:color=
"@color/google_green"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/google_green"
/>
<solid
android:color=
"@color/
platform_
google_green"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/
platform_
google_green"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_radius_green_5.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_radius_green_5.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_radius_line_green_20.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_radius_line_green_20.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"20dp"
></corners>
<solid
android:color=
"@color/white"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/google_green"
/>
<solid
android:color=
"@color/
platform_
white"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/
platform_
google_green"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/bg_radius_line_green_5.xml
→
ydl-platform/src/main/res/drawable/
platform_
bg_radius_line_green_5.xml
View file @
494c0d63
...
...
@@ -2,8 +2,8 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"5dp"
/>
<solid
android:color=
"@color/white"
/>
<solid
android:color=
"@color/
platform_
white"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/main_theme_blue"
/>
android:color=
"@color/
platform_
main_theme_blue"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/black_background.xml
→
ydl-platform/src/main/res/drawable/
platform_
black_background.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/course_video_bottom_background.xml
→
ydl-platform/src/main/res/drawable/
platform_
course_video_bottom_background.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/dialog_list_bg.xml
→
ydl-platform/src/main/res/drawable/
platform_
dialog_list_bg.xml
View file @
494c0d63
...
...
@@ -5,7 +5,7 @@
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<solid
android:color=
"@color/white"
/>
android:color=
"@color/
platform_
white"
/>
<corners
android:bottomRightRadius=
"5dp"
android:bottomLeftRadius=
"5dp"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/gray_radius.xml
→
ydl-platform/src/main/res/drawable/
platform_
gray_radius.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/ic_vector_check.xml
→
ydl-platform/src/main/res/drawable/
platform_
ic_vector_check.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/net_loss_back_bg.xml
→
ydl-platform/src/main/res/drawable/
platform_
net_loss_back_bg.xml
View file @
494c0d63
...
...
@@ -2,8 +2,8 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"@dimen/dp_14"
/>
<corners
android:radius=
"@dimen/
platform_
dp_14"
/>
<solid
android:color=
"@color/color_F0F0F0"
/>
<solid
android:color=
"@color/
platform_
color_F0F0F0"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/net_loss_reset_bg.xml
→
ydl-platform/src/main/res/drawable/
platform_
net_loss_reset_bg.xml
View file @
494c0d63
...
...
@@ -2,10 +2,10 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"@dimen/dp_14"
/>
<corners
android:radius=
"@dimen/
platform_
dp_14"
/>
<gradient
android:endColor=
"@color/color_1EA6FA"
android:startColor=
"@color/color_5CC8F7"
/>
android:endColor=
"@color/
platform_
color_1EA6FA"
android:startColor=
"@color/
platform_
color_5CC8F7"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_bg.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_bg.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_btn.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_btn.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/platform_normaldialog_btn_select.xml
0 → 100644
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@drawable/platform_normaldialog_check_btn"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/platform_normaldialog_btn"
android:state_focused=
"false"
android:state_pressed=
"false"
/>
<item
android:drawable=
"@drawable/platform_normaldialog_check_btn"
android:state_focused=
"true"
/>
<item
android:drawable=
"@drawable/platform_normaldialog_btn"
android:state_focused=
"false"
/>
</selector>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_check_btn.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_check_btn.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_check_right_btn.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_check_right_btn.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_check_top_btn.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_check_top_btn.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_layout_bg.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_layout_bg.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_right_btn.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_right_btn.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/platform_normaldialog_right_btn_select.xml
0 → 100644
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@drawable/platform_normaldialog_check_right_btn"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@drawable/platform_normaldialog_right_btn"
android:state_focused=
"false"
android:state_pressed=
"false"
/>
<item
android:drawable=
"@drawable/platform_normaldialog_check_right_btn"
android:state_focused=
"true"
/>
<item
android:drawable=
"@drawable/platform_normaldialog_right_btn"
android:state_focused=
"false"
/>
</selector>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/normaldialog_top_btn.xml
→
ydl-platform/src/main/res/drawable/
platform_
normaldialog_top_btn.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/play_float_background.xml
→
ydl-platform/src/main/res/drawable/pla
tform_pla
y_float_background.xml
View file @
494c0d63
...
...
@@ -3,6 +3,6 @@
<corners
android:radius=
"10dp"
/>
<solid
android:color=
"@color/color_99000000"
/>
<solid
android:color=
"@color/
platform_
color_99000000"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/progressbar_update_style.xml
→
ydl-platform/src/main/res/drawable/p
latform_p
rogressbar_update_style.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/round_corner_white_bg_red_line.xml
→
ydl-platform/src/main/res/drawable/
platform_
round_corner_white_bg_red_line.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<!-- 填充的颜色 -->
<solid
android:color=
"@color/white"
/>
<solid
android:color=
"@color/
platform_
white"
/>
<stroke
android:color=
"@color/red"
android:width=
"0.5dp"
/>
<!-- android:radius 弧形的半径 -->
<corners
android:radius=
"5dip"
/>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/round_left_green.xml
→
ydl-platform/src/main/res/drawable/
platform_
round_left_green.xml
View file @
494c0d63
...
...
@@ -6,6 +6,6 @@
android:topLeftRadius=
"5dp"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/main_theme_blue"
/>
<solid
android:color=
"@color/main_theme_blue"
/>
android:color=
"@color/
platform_
main_theme_blue"
/>
<solid
android:color=
"@color/
platform_
main_theme_blue"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/round_left_white.xml
→
ydl-platform/src/main/res/drawable/
platform_
round_left_white.xml
View file @
494c0d63
...
...
@@ -6,6 +6,6 @@
android:bottomLeftRadius=
"5dp"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/main_theme_blue"
/>
<solid
android:color=
"@color/white"
/>
android:color=
"@color/
platform_
main_theme_blue"
/>
<solid
android:color=
"@color/
platform_
white"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/round_right_green.xml
→
ydl-platform/src/main/res/drawable/
platform_
round_right_green.xml
View file @
494c0d63
...
...
@@ -6,6 +6,6 @@
android:bottomRightRadius=
"5dp"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/main_theme_blue"
/>
<solid
android:color=
"@color/main_theme_blue"
/>
android:color=
"@color/
platform_
main_theme_blue"
/>
<solid
android:color=
"@color/
platform_
main_theme_blue"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/round_right_white.xml
→
ydl-platform/src/main/res/drawable/
platform_
round_right_white.xml
View file @
494c0d63
...
...
@@ -6,6 +6,6 @@
android:topRightRadius=
"5dp"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/main_theme_blue"
/>
<solid
android:color=
"@color/white"
/>
android:color=
"@color/
platform_
main_theme_blue"
/>
<solid
android:color=
"@color/
platform_
white"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/share_choose_bg.xml
→
ydl-platform/src/main/res/drawable/
platform_
share_choose_bg.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/tag_bg.xml
→
ydl-platform/src/main/res/drawable/
platform_
tag_bg.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"@color/color_F7F7F7"
/>
<corners
android:radius=
"@dimen/dp_2"
/>
<solid
android:color=
"@color/
platform_
color_F7F7F7"
/>
<corners
android:radius=
"@dimen/
platform_
dp_2"
/>
<padding
android:bottom=
"1.5dp"
android:left=
"@dimen/dp_5"
android:right=
"@dimen/dp_5"
android:left=
"@dimen/
platform_
dp_5"
android:right=
"@dimen/
platform_
dp_5"
android:top=
"1.5dp"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/web_progressbar.xml
→
ydl-platform/src/main/res/drawable/
platform_
web_progressbar.xml
View file @
494c0d63
...
...
@@ -9,10 +9,10 @@
<gradient
android:angle=
"0"
android:centerColor=
"@color/white"
android:centerColor=
"@color/
platform_
white"
android:centerY=
"0.75"
android:endColor=
"@color/white"
android:startColor=
"@color/white"
/>
android:endColor=
"@color/
platform_
white"
android:startColor=
"@color/
platform_
white"
/>
</shape>
</item>
...
...
@@ -26,10 +26,10 @@
<gradient
android:angle=
"0"
android:centerColor=
"@color/default_button_bg"
android:centerColor=
"@color/
platform_
default_button_bg"
android:centerY=
"0.75"
android:endColor=
"@color/default_button_bg"
android:startColor=
"@color/default_button_bg"
/>
android:endColor=
"@color/
platform_
default_button_bg"
android:startColor=
"@color/
platform_
default_button_bg"
/>
</shape>
</clip>
</item>
...
...
@@ -44,8 +44,8 @@
<gradient
android:angle=
"0"
android:endColor=
"@color/default_button_bg"
android:startColor=
"@color/default_button_bg"
/>
android:endColor=
"@color/
platform_
default_button_bg"
android:startColor=
"@color/
platform_
default_button_bg"
/>
</shape>
</clip>
</item>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/drawable/white_radius.xml
→
ydl-platform/src/main/res/drawable/
platform_
white_radius.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/font/applestyle.ttf
deleted
100644 → 0
View file @
ae6cc69a
File deleted
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/font/din_bold.otf
→
ydl-platform/src/main/res/font/
platform_
din_bold.otf
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/font/dincond_bold.ttf
→
ydl-platform/src/main/res/font/
platform_
dincond_bold.ttf
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/font/dincond_medium.ttf
→
ydl-platform/src/main/res/font/
platform_
dincond_medium.ttf
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_banner.xml
View file @
494c0d63
...
...
@@ -42,7 +42,7 @@
android:layout_height=
"40dp"
android:layout_alignParentRight=
"true"
android:layout_margin=
"8dp"
android:background=
"@drawable/black_background"
android:background=
"@drawable/
platform_
black_background"
android:gravity=
"center"
android:text=
"1/1"
android:textColor=
"#ffffff"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_dialog_common_layout.xml
View file @
494c0d63
...
...
@@ -8,7 +8,7 @@
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:background=
"@drawable/normaldialog_layout_bg"
android:background=
"@drawable/
platform_
normaldialog_layout_bg"
android:minWidth=
"200dp"
android:orientation=
"vertical"
android:scrollbars=
"vertical"
>
...
...
@@ -62,7 +62,7 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:background=
"@color/color_D8D8D8"
/>
android:background=
"@color/
platform_
color_D8D8D8"
/>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -74,7 +74,7 @@
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:background=
"@color/transparent"
android:background=
"@color/
platform_
transparent"
android:text=
"取消"
android:textColor=
"@color/_6"
android:textSize=
"15sp"
...
...
@@ -85,14 +85,14 @@
android:id=
"@+id/view_vertical_line"
android:layout_width=
"0.5dp"
android:layout_height=
"match_parent"
android:background=
"@color/color_D8D8D8"
/>
android:background=
"@color/
platform_
color_D8D8D8"
/>
<Button
android:id=
"@+id/confirm_btn"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:background=
"@color/transparent"
android:background=
"@color/
platform_
transparent"
android:text=
"确定"
android:textColor=
"@color/baby_blue"
android:textSize=
"15sp"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_dialog_list_no_cancle_layout.xml
View file @
494c0d63
...
...
@@ -15,7 +15,7 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"3"
android:minWidth=
"200dp"
android:background=
"@drawable/dialog_list_bg"
android:background=
"@drawable/
platform_
dialog_list_bg"
android:orientation=
"vertical"
android:scrollbars=
"vertical"
>
<android.support.v7.widget.RecyclerView
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_dialog_no_bind_phone.xml
View file @
494c0d63
...
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@drawable/dialog_list_bg"
android:background=
"@drawable/
platform_
dialog_list_bg"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
...
...
@@ -12,15 +12,15 @@
android:layout_width=
"164dp"
android:layout_height=
"122dp"
android:layout_marginTop=
"30dp"
android:src=
"@drawable/img_no_bind"
/>
android:src=
"@drawable/
platform_
img_no_bind"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:text=
"您还未绑定手机号,暂时无法提现哦"
android:textColor=
"@color/black"
android:textSize=
"@dimen/default_text_size"
/>
android:textColor=
"@color/
platform_
black"
android:textSize=
"@dimen/
platform_
default_text_size"
/>
<com.ydl.ydlcommon.view.RoundCornerButton
android:id=
"@+id/btn_bind"
...
...
@@ -32,8 +32,8 @@
android:layout_marginRight=
"20dp"
android:layout_marginTop=
"20dp"
android:text=
"现在绑定"
android:textColor=
"@color/white"
android:textSize=
"@dimen/default_text_size_big"
app:
round_btn_bg=
"@color/
default_button_bg"
app:
round_btn_radio_size=
"@dimen/
default_dis_size_micro"
/>
android:textColor=
"@color/
platform_
white"
android:textSize=
"@dimen/
platform_
default_text_size_big"
app:
pa_round_btn_bg=
"@color/platform_
default_button_bg"
app:
pa_round_btn_radio_size=
"@dimen/platform_
default_dis_size_micro"
/>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_dialog_share.xml
View file @
494c0d63
...
...
@@ -40,11 +40,11 @@
android:layout_height=
"40dp"
android:layout_gravity=
"center_horizontal"
android:background=
"?android:attr/selectableItemBackground"
android:drawableLeft=
"@drawable/icon_download"
android:drawableLeft=
"@drawable/
platform_
icon_download"
android:drawablePadding=
"6dp"
android:gravity=
"center_vertical"
android:text=
"保存图片"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"12sp"
/>
</LinearLayout>
...
...
@@ -55,7 +55,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:background=
"@drawable/share_dialog_bg"
android:background=
"@drawable/
platform_
share_dialog_bg"
android:clickable=
"true"
android:orientation=
"vertical"
android:paddingLeft=
"12.5dp"
...
...
@@ -65,17 +65,17 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"7.5dp"
android:layout_marginTop=
"@dimen/dp_24"
android:layout_marginTop=
"@dimen/
platform_
dp_24"
android:text=
"分享到"
android:textColor=
"@color/color_242424"
android:textSize=
"@dimen/dp_18"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/
platform_
dp_18"
android:textStyle=
"bold"
/>
<LinearLayout
android:id=
"@+id/ll_layout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_18"
android:layout_marginTop=
"@dimen/
platform_
dp_18"
android:orientation=
"horizontal"
>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
...
...
@@ -90,15 +90,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_poster"
/>
android:background=
"@drawable/
platform_
share_icon_poster"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"生成海报"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -114,15 +114,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_download"
/>
android:background=
"@drawable/
platform_
share_icon_download"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"保存本地"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -137,15 +137,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_dynamic"
/>
android:background=
"@drawable/
platform_
share_icon_dynamic"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"动态"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -160,15 +160,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_weixin"
/>
android:background=
"@drawable/
platform_
share_icon_weixin"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"微信好友"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -183,15 +183,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_friends"
/>
android:background=
"@drawable/
platform_
share_icon_friends"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"朋友圈"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -206,15 +206,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_qqzone"
/>
android:background=
"@drawable/
platform_
share_icon_qqzone"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"QQ空间"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -229,15 +229,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_qq"
/>
android:background=
"@drawable/
platform_
share_icon_qq"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"QQ好友"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
</LinearLayout>
...
...
@@ -247,7 +247,7 @@
android:id=
"@+id/ll_layout2"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_18"
android:layout_marginTop=
"@dimen/
platform_
dp_18"
android:orientation=
"horizontal"
>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
...
...
@@ -262,15 +262,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_delete"
/>
android:background=
"@drawable/
platform_
share_icon_delete"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"删除"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -286,15 +286,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_report"
/>
android:background=
"@drawable/
platform_
share_icon_report"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"举报"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
...
...
@@ -310,15 +310,15 @@
android:layout_width=
"55dp"
android:layout_height=
"55dp"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/share_icon_backhome"
/>
android:background=
"@drawable/
platform_
share_icon_backhome"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"@dimen/dp_8"
android:layout_marginTop=
"@dimen/
platform_
dp_8"
android:text=
"返回首页"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_12"
/>
</LinearLayout>
</LinearLayout>
...
...
@@ -326,8 +326,8 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/dp_0.5"
android:layout_marginTop=
"@dimen/dp_13"
android:background=
"@color/color_E0E0E0"
/>
android:layout_marginTop=
"@dimen/
platform_
dp_13"
android:background=
"@color/
platform_
color_E0E0E0"
/>
<TextView
android:id=
"@+id/tv_cancel"
...
...
@@ -335,10 +335,10 @@
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:gravity=
"center"
android:paddingTop=
"@dimen/dp_19"
android:paddingBottom=
"@dimen/dp_17"
android:paddingTop=
"@dimen/
platform_
dp_19"
android:paddingBottom=
"@dimen/
platform_
dp_17"
android:text=
"取消"
android:textColor=
"@color/color_242424"
android:textColor=
"@color/
platform_
color_242424"
android:textSize=
"@dimen/dp_16"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_dialog_trend_layout.xml
View file @
494c0d63
...
...
@@ -18,7 +18,7 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"3"
android:minWidth=
"200dp"
android:background=
"@drawable/normaldialog_layout_bg"
android:background=
"@drawable/
platform_
normaldialog_layout_bg"
android:orientation=
"vertical"
android:scrollbars=
"vertical"
>
...
...
@@ -48,7 +48,7 @@
android:layout_height=
"match_parent"
android:gravity=
"center"
android:text=
"内容"
android:background=
"@drawable/normaldialog_right_btn_select"
android:background=
"@drawable/
platform_
normaldialog_right_btn_select"
android:textSize=
"18sp"
/>
</RelativeLayout>
...
...
@@ -70,7 +70,7 @@
android:layout_weight=
"1"
android:textSize=
"18sp"
android:gravity=
"center"
android:background=
"@drawable/normaldialog_btn_select"
android:background=
"@drawable/
platform_
normaldialog_btn_select"
android:text=
"确定"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_dialog_update_layout.xml
View file @
494c0d63
...
...
@@ -20,7 +20,7 @@
android:textStyle=
"bold"
android:layout_marginTop=
"48dp"
android:layout_marginLeft=
"20dp"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textSize=
"22dp"
/>
<TextView
android:id=
"@+id/text_version"
...
...
@@ -29,21 +29,20 @@
android:layout_toRightOf=
"@+id/tv_title"
android:layout_alignTop=
"@+id/tv_title"
android:gravity=
"center_vertical"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:layout_marginLeft=
"5dp"
android:textSize=
"12dp"
android:layout_marginTop=
"7dp"
android:paddingLeft=
"4dp"
android:paddingRight=
"4dp"
android:background=
"@drawable/bg_radius_green_5"
android:background=
"@drawable/
platform_
bg_radius_green_5"
tools:text=
"V3.8.20"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_title"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textSize=
"10dp"
android:fontFamily=
"@font/applestyle"
android:layout_marginTop=
"5dp"
android:layout_alignLeft=
"@+id/tv_title"
android:text=
"壹点灵·温暖而有力地爱着你"
/>
...
...
@@ -59,7 +58,7 @@
android:paddingTop=
"20dp"
android:layout_marginTop=
"-1dp"
android:paddingBottom=
"20dp"
android:background=
"@color/white"
>
android:background=
"@color/
platform_
white"
>
<TextView
android:id=
"@+id/tv_update_content"
android:layout_width=
"match_parent"
...
...
@@ -67,7 +66,6 @@
android:textSize=
"14dp"
android:maxLines=
"3"
android:lineSpacingMultiplier=
"1.3"
android:fontFamily=
"@font/applestyle"
android:textColor=
"#242424"
tools:text=
"以下是 QQ8.1 体验版更新日志:项,提醒成员关注重要事件;\n2、群文件可创建文件夹,自定分类轻松;\n3、新增“群助手”,群消息自定义收起,消息管理更轻松。"
/>
<TextView
...
...
@@ -78,7 +76,7 @@
android:textSize=
"14dp"
android:maxLines=
"4"
android:lineSpacingMultiplier=
"1.3"
android:textColor=
"@color/color_666666"
android:textColor=
"@color/
platform_
color_666666"
tools:text=
"1.优化私聊功能\n2.咨询业务算法调整"
/>
</LinearLayout>
...
...
@@ -91,14 +89,14 @@
android:visibility=
"gone"
tools:visibility=
"visible"
android:orientation=
"vertical"
android:background=
"@color/white"
>
android:background=
"@color/
platform_
white"
>
<ProgressBar
android:id=
"@+id/progress_bar"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
style=
"@style/Widget.AppCompat.ProgressBar.Horizontal"
android:progressDrawable=
"@drawable/progressbar_update_style"
android:progressDrawable=
"@drawable/p
latform_p
rogressbar_update_style"
android:max=
"100"
android:maxHeight=
"10dp"
android:minHeight=
"10dp"
...
...
@@ -109,7 +107,7 @@
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
android:layout_marginBottom=
"10.5dp"
android:background=
"@color/grey_white_has_alpha"
/>
android:background=
"@color/
platform_
grey_white_has_alpha"
/>
<com.ydl.ydlcommon.view.widgets.DownProgressView
android:id=
"@+id/v_downpress"
...
...
@@ -127,9 +125,9 @@
android:id=
"@+id/lin_sure"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:paddingTop=
"@dimen/default_dis_size_huge"
android:paddingTop=
"@dimen/
platform_
default_dis_size_huge"
android:orientation=
"vertical"
android:background=
"@color/white"
>
android:background=
"@color/
platform_
white"
>
<TextView
android:id=
"@+id/tv_confirm"
...
...
@@ -139,8 +137,8 @@
android:textSize=
"17dp"
android:gravity=
"center"
android:layout_gravity=
"center_horizontal"
android:background=
"@drawable/bg_radius_green_20"
android:textColor=
"@color/white"
/>
android:background=
"@drawable/
platform_
bg_radius_green_20"
android:textColor=
"@color/
platform_
white"
/>
</LinearLayout>
...
...
@@ -154,9 +152,9 @@
android:gravity=
"center"
android:paddingTop=
"8dp"
android:paddingBottom=
"15dp"
android:background=
"@drawable/bg_radius_bottom_white_10"
android:background=
"@drawable/
platform_
bg_radius_bottom_white_10"
android:layout_gravity=
"center_horizontal"
android:textColor=
"@color/color_999999"
/>
android:textColor=
"@color/
platform_
color_999999"
/>
<ImageView
android:id=
"@+id/iv_close"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_fragment_loading_dialog.xml
View file @
494c0d63
...
...
@@ -18,7 +18,7 @@
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginStart=
"16dp"
android:textColor=
"@color/color_black_ff666666"
android:text=
"@string/dialog_loading"
/>
android:textColor=
"@color/
platform_
color_black_ff666666"
android:text=
"@string/
platform_
dialog_loading"
/>
</LinearLayout>
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_item_custom_share_ui.xml
View file @
494c0d63
...
...
@@ -9,7 +9,7 @@
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_gravity=
"center_horizontal"
tools:src=
"@drawable/pop_qq"
/>
tools:src=
"@drawable/p
latform_p
op_qq"
/>
<TextView
android:id=
"@+id/text_title"
android:layout_width=
"wrap_content"
...
...
@@ -17,5 +17,5 @@
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
tools:text=
"返回首页"
android:textColor=
"@color/black"
/>
android:textColor=
"@color/
platform_
black"
/>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_item_dialog_list.xml
View file @
494c0d63
...
...
@@ -2,7 +2,7 @@
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:background=
"@color/white"
>
android:background=
"@color/
platform_
white"
>
<TextView
android:id=
"@+id/item_dialog_tv"
...
...
@@ -10,7 +10,7 @@
android:layout_height=
"39.5dp"
android:gravity=
"center"
android:text=
"内容"
android:background=
"@drawable/normaldialog_right_btn_select"
android:background=
"@drawable/
platform_
normaldialog_right_btn_select"
android:textSize=
"18sp"
/>
<View
android:layout_width=
"match_parent"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_item_playing_float_btn.xml
View file @
494c0d63
...
...
@@ -10,7 +10,7 @@
android:layout_height=
"56dp"
android:layout_marginLeft=
"15dp"
android:layout_marginRight=
"15dp"
android:background=
"@drawable/play_float_background"
android:background=
"@drawable/pla
tform_pla
y_float_background"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
...
...
@@ -21,7 +21,7 @@
android:layout_gravity=
"center"
android:layout_marginLeft=
"12.5dp"
android:padding=
"2.5dp"
android:src=
"@drawable/ico_play_float_pause"
android:src=
"@drawable/
platform_
ico_play_float_pause"
android:visibility=
"visible"
/>
<ImageView
...
...
@@ -29,7 +29,7 @@
android:layout_width=
"66dp"
android:layout_height=
"36dp"
android:layout_marginLeft=
"12.5dp"
android:src=
"@drawable/ico_play_float_pic"
/>
android:src=
"@drawable/
platform_
ico_play_float_pic"
/>
<RelativeLayout
android:id=
"@+id/rl_info"
...
...
@@ -44,7 +44,7 @@
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:maxLines=
"1"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
android:textSize=
"14sp"
tools:text=
"丁sir说抑郁丁sir说抑郁:像心理学"
/>
...
...
@@ -53,7 +53,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_title"
android:textColor=
"@color/color_BFBFBF"
android:textColor=
"@color/
platform_
color_BFBFBF"
android:textSize=
"10sp"
tools:text=
"丁建略"
/>
...
...
@@ -65,7 +65,7 @@
android:layout_below=
"@+id/tv_title"
android:layout_toRightOf=
"@+id/tv_name"
android:text=
" | "
android:textColor=
"@color/color_BFBFBF"
android:textColor=
"@color/
platform_
color_BFBFBF"
android:textSize=
"10sp"
/>
<TextView
...
...
@@ -74,7 +74,7 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_title"
android:layout_toRightOf=
"@+id/tv_line"
android:textColor=
"@color/color_BFBFBF"
android:textColor=
"@color/
platform_
color_BFBFBF"
android:textSize=
"10sp"
tools:text=
"00:06"
/>
...
...
@@ -86,7 +86,7 @@
android:layout_below=
"@+id/tv_title"
android:layout_toRightOf=
"@+id/tv_now_playing_time"
android:text=
" / "
android:textColor=
"@color/color_BFBFBF"
android:textColor=
"@color/
platform_
color_BFBFBF"
android:textSize=
"10sp"
/>
<TextView
...
...
@@ -95,7 +95,7 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_title"
android:layout_toRightOf=
"@+id/tv_line_two"
android:textColor=
"@color/color_BFBFBF"
android:textColor=
"@color/
platform_
color_BFBFBF"
android:textSize=
"10sp"
tools:text=
"30:28"
/>
...
...
@@ -109,7 +109,7 @@
android:layout_marginLeft=
"8dp"
android:layout_marginRight=
"15dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/ico_yyfc_play"
/>
android:src=
"@drawable/
platform_
ico_yyfc_play"
/>
</LinearLayout>
...
...
@@ -117,13 +117,13 @@
android:id=
"@+id/rl_video_layout"
android:layout_width=
"200dp"
android:layout_height=
"124dp"
android:background=
"@drawable/play_float_background"
android:background=
"@drawable/pla
tform_pla
y_float_background"
android:visibility=
"gone"
tools:background=
"@color/color_E0E0E0"
tools:background=
"@color/
platform_
color_E0E0E0"
tools:visibility=
"gone"
>
<include
layout=
"@layout/videoplay_view"
layout=
"@layout/
platform_
videoplay_view"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
...
...
@@ -133,7 +133,7 @@
android:layout_height=
"30dp"
android:layout_alignParentRight=
"true"
android:padding=
"8dp"
android:src=
"@drawable/ico_play_float_pause"
android:src=
"@drawable/
platform_
ico_play_float_pause"
android:visibility=
"visible"
/>
<ImageView
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_layout_root.xml
View file @
494c0d63
...
...
@@ -8,7 +8,7 @@
<View
android:id=
"@+id/view_status_place_holder"
android:layout_width=
"match_parent"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:layout_height=
"0dp"
/>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/platform_logo_loading_view.xml
View file @
494c0d63
...
...
@@ -3,7 +3,7 @@
android:id=
"@+id/loading_rl"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/color_FFFFFF"
>
android:background=
"@color/
platform_
color_FFFFFF"
>
<LinearLayout
android:id=
"@+id/logo_loading_gif_rl"
...
...
@@ -27,14 +27,14 @@
android:layout_width=
"113.63dp"
android:layout_height=
"14dp"
android:layout_marginTop=
"@dimen/dp_12"
android:src=
"@drawable/logo_bottom_text"
/>
android:src=
"@drawable/
platform_
logo_bottom_text"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_6"
android:layout_marginTop=
"@dimen/
platform_
dp_6"
android:text=
"加载中"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:textSize=
"12dp"
/>
<View
...
...
@@ -60,26 +60,26 @@
android:id=
"@+id/empty_img"
android:layout_width=
"180dp"
android:layout_height=
"120dp"
android:src=
"@drawable/ydl_net_loss"
/>
android:src=
"@drawable/
platform_
ydl_net_loss"
/>
<TextView
android:id=
"@+id/hint_msg"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/dp_35"
android:layout_marginTop=
"@dimen/
platform_
dp_35"
android:text=
"哎呦,网络开小差了"
android:textColor=
"@color/color_999999"
android:textColor=
"@color/
platform_
color_999999"
android:textSize=
"14dp"
/>
<TextView
android:id=
"@+id/reset_btn"
android:layout_width=
"96dp"
android:layout_height=
"28dp"
android:layout_marginTop=
"@dimen/dp_20"
android:background=
"@drawable/net_loss_reset_bg"
android:layout_marginTop=
"@dimen/
platform_
dp_20"
android:background=
"@drawable/
platform_
net_loss_reset_bg"
android:gravity=
"center"
android:text=
"重新加载"
android:textColor=
"@color/color_FFFFFF"
android:textColor=
"@color/
platform_
color_FFFFFF"
android:textSize=
"12dp"
/>
<TextView
...
...
@@ -87,10 +87,10 @@
android:layout_width=
"96dp"
android:layout_height=
"28dp"
android:layout_marginTop=
"@dimen/dp_12"
android:background=
"@drawable/net_loss_back_bg"
android:background=
"@drawable/
platform_
net_loss_back_bg"
android:gravity=
"center"
android:text=
"返回"
android:textColor=
"@color/color_666666"
android:textColor=
"@color/
platform_
color_666666"
android:textSize=
"12dp"
/>
<View
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/share_custom_ui.xml
→
ydl-platform/src/main/res/layout/
platform_
share_custom_ui.xml
View file @
494c0d63
...
...
@@ -10,7 +10,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:background=
"@color/white"
>
android:background=
"@color/
platform_
white"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -32,14 +32,14 @@
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_gravity=
"center_horizontal"
android:src=
"@drawable/pop_weixin"
/>
android:src=
"@drawable/p
latform_p
op_weixin"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
" 微信"
android:textColor=
"@color/black"
/>
android:textColor=
"@color/
platform_
black"
/>
</LinearLayout>
<LinearLayout
android:id=
"@+id/share_pyq"
...
...
@@ -51,14 +51,14 @@
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_gravity=
"center_horizontal"
android:src=
"@drawable/pop_pengyouquan"
/>
android:src=
"@drawable/p
latform_p
op_pengyouquan"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
" 朋友圈"
android:textColor=
"@color/black"
/>
android:textColor=
"@color/
platform_
black"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -71,14 +71,14 @@
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_gravity=
"center_horizontal"
android:src=
"@drawable/pop_qq"
/>
android:src=
"@drawable/p
latform_p
op_qq"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
"QQ"
android:textColor=
"@color/black"
/>
android:textColor=
"@color/
platform_
black"
/>
</LinearLayout>
<LinearLayout
android:id=
"@+id/share_qqzone"
...
...
@@ -90,28 +90,28 @@
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_gravity=
"center_horizontal"
android:src=
"@drawable/pop_qqzone"
/>
android:src=
"@drawable/p
latform_p
op_qqzone"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:text=
"QQ空间"
android:textColor=
"@color/black"
/>
android:textColor=
"@color/
platform_
black"
/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:layout_marginTop=
"10dp"
android:background=
"@color/title_bottom_line_bg"
/>
android:background=
"@color/
platform_
title_bottom_line_bg"
/>
<com.ydl.ydlcommon.view.BaseGridView
android:id=
"@+id/grid_view"
android:layout_marginTop=
"10dp"
android:layout_marginBottom=
"10dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:listSelector=
"@color/transparent"
android:listSelector=
"@color/
platform_
transparent"
android:numColumns=
"4"
>
</com.ydl.ydlcommon.view.BaseGridView>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/socialize_share_menu_item.xml
→
ydl-platform/src/main/res/layout/
platform_
socialize_share_menu_item.xml
View file @
494c0d63
...
...
@@ -10,7 +10,7 @@
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:padding=
"5dp"
android:src=
"@drawable/umeng_socialize_menu_default"
/>
android:src=
"@drawable/
platform_
umeng_socialize_menu_default"
/>
<TextView
android:id=
"@+id/socialize_text_view"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/top_select_layout.xml
→
ydl-platform/src/main/res/layout/
platform_
top_select_layout.xml
View file @
494c0d63
...
...
@@ -45,7 +45,7 @@
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:gravity=
"center"
android:textColor=
"@color/main_theme_blue"
android:textColor=
"@color/
platform_
main_theme_blue"
tools:text=
"左边"
/>
<TextView
...
...
@@ -54,9 +54,9 @@
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:gravity=
"center"
android:textColor=
"@color/white"
android:textColor=
"@color/
platform_
white"
tools:text=
"右边"
tools:textColor=
"@color/main_theme_blue"
/>
tools:textColor=
"@color/
platform_
main_theme_blue"
/>
</LinearLayout>
<RelativeLayout
...
...
@@ -82,6 +82,6 @@
<View
android:id=
"@+id/line_view"
style=
"@style/viewline"
/>
style=
"@style/
platform_
viewline"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/ui_jump_text_view.xml
→
ydl-platform/src/main/res/layout/
platform_
ui_jump_text_view.xml
View file @
494c0d63
...
...
@@ -5,7 +5,7 @@
android:layout_height=
"match_parent"
android:background=
"?android:attr/selectableItemBackground"
android:gravity=
"center_vertical"
android:minHeight=
"@dimen/jump_text_view_min_height"
android:minHeight=
"@dimen/
platform_
jump_text_view_min_height"
android:orientation=
"horizontal"
android:paddingLeft=
"12dp"
android:paddingRight=
"12dp"
>
...
...
@@ -14,10 +14,10 @@
android:id=
"@+id/iv_icon"
android:layout_width=
"@dimen/jump_text_view_icon_size"
android:layout_height=
"@dimen/jump_text_view_icon_size"
android:layout_marginEnd=
"@dimen/default_dis_size"
android:layout_marginRight=
"@dimen/default_dis_size"
android:layout_marginEnd=
"@dimen/
platform_
default_dis_size"
android:layout_marginRight=
"@dimen/
platform_
default_dis_size"
android:contentDescription=
"@null"
tools:src=
"@drawable/icon_country"
/>
tools:src=
"@drawable/
platform_
icon_country"
/>
<RelativeLayout
android:layout_width=
"wrap_content"
...
...
@@ -27,7 +27,7 @@
android:id=
"@+id/tv_left_text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawablePadding=
"@dimen/default_dis_size_small"
android:drawablePadding=
"@dimen/
platform_
default_dis_size_small"
tools:text=
"china +86"
/>
<ImageView
...
...
@@ -39,7 +39,7 @@
android:layout_toEndOf=
"@id/tv_left_text"
android:layout_toRightOf=
"@id/tv_left_text"
android:contentDescription=
"@null"
android:src=
"@drawable/msg_notification"
android:src=
"@drawable/
platform_
msg_notification"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
</RelativeLayout>
...
...
@@ -49,7 +49,7 @@
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:drawablePadding=
"@dimen/default_dis_size_small"
android:drawablePadding=
"@dimen/
platform_
default_dis_size_small"
android:ellipsize=
"end"
android:gravity=
"end"
android:singleLine=
"true"
/>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/ui_new_more.xml
→
ydl-platform/src/main/res/layout/
platform_
ui_new_more.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
android:orientation=
"vertical"
android:layout_gravity=
"right"
android:elevation=
"4dp"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:layout_marginTop=
"55dp"
android:layout_marginRight=
"5dp"
>
...
...
@@ -26,7 +26,7 @@
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/ic_pop_news"
/>
android:src=
"@drawable/
platform_
ic_pop_news"
/>
<TextView
android:id=
"@+id/tv_msg"
android:layout_width=
"wrap_content"
...
...
@@ -53,7 +53,7 @@
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/ic_pop_home"
/>
android:src=
"@drawable/
platform_
ic_pop_home"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -79,7 +79,7 @@
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/ic_pop_kefu"
/>
android:src=
"@drawable/
platform_
ic_pop_kefu"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -105,7 +105,7 @@
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"19dp"
android:layout_marginRight=
"15dp"
android:src=
"@drawable/ic_pop_phone"
/>
android:src=
"@drawable/
platform_
ic_pop_phone"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/ui_private_safe_hint.xml
→
ydl-platform/src/main/res/layout/
platform_
ui_private_safe_hint.xml
View file @
494c0d63
...
...
@@ -7,21 +7,21 @@
android:layout_height=
"40dp"
android:layout_weight=
"1"
android:background=
"?android:attr/selectableItemBackground"
android:drawableLeft=
"@drawable/ico_info"
android:drawableLeft=
"@drawable/
platform_
ico_info"
android:drawablePadding=
"8dp"
android:drawableStart=
"@drawable/ico_info"
android:drawableStart=
"@drawable/
platform_
ico_info"
android:gravity=
"center_vertical"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:text=
"@string/private_safe_hint"
android:text=
"@string/p
latform_p
rivate_safe_hint"
android:textColor=
"#ffa82b"
android:textSize=
"@dimen/default_text_size"
/>
android:textSize=
"@dimen/
platform_
default_text_size"
/>
<ImageButton
android:id=
"@+id/btnClose"
style=
"@android:style/Widget.Holo.Button.Borderless.Small"
android:layout_width=
"wrap_content"
android:layout_height=
"40dp"
android:contentDescription=
"@string/close"
android:src=
"@drawable/ic_close_orange_18dp"
/>
android:contentDescription=
"@string/
platform_
close"
android:src=
"@drawable/
platform_
ic_close_orange_18dp"
/>
</merge>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/ui_title_bar.xml
→
ydl-platform/src/main/res/layout/
platform_
ui_title_bar.xml
View file @
494c0d63
...
...
@@ -25,9 +25,9 @@
android:paddingLeft=
"10dp"
android:paddingRight=
"10dp"
android:textColor=
"@android:color/white"
android:textSize=
"@dimen/default_text_size_big"
android:textSize=
"@dimen/
platform_
default_text_size_big"
tools:text=
"关闭"
tools:textColor=
"@color/black"
/>
tools:textColor=
"@color/
platform_
black"
/>
<TextView
android:id=
"@+id/tv_center_title"
...
...
@@ -43,8 +43,8 @@
android:paddingLeft=
"5dp"
android:paddingRight=
"5dp"
android:singleLine=
"true"
android:textColor=
"@color/default_text_color"
android:textSize=
"@dimen/default_text_size_large"
android:textColor=
"@color/
platform_
default_text_color"
android:textSize=
"@dimen/
platform_
default_text_size_large"
tools:text=
"我是标题我是标题我是标题"
/>
<ImageView
...
...
@@ -59,7 +59,7 @@
android:background=
"?android:attr/selectableItemBackground"
android:contentDescription=
"@null"
android:gravity=
"center_vertical"
tools:src=
"@drawable/more_green"
/>
tools:src=
"@drawable/
platform_
more_green"
/>
<TextView
android:id=
"@+id/tv_right_text"
...
...
@@ -71,10 +71,10 @@
android:gravity=
"center_vertical"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:textColor=
"@color/default_button_bg"
android:textSize=
"@dimen/default_text_size_big"
android:textColor=
"@color/
platform_
default_button_bg"
android:textSize=
"@dimen/
platform_
default_text_size_big"
android:drawablePadding=
"5dp"
tools:drawableLeft=
"@drawable/share"
tools:drawableLeft=
"@drawable/
platform_
share"
tools:ignore=
"RelativeOverlap"
/>
<View
...
...
@@ -82,6 +82,6 @@
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/divide_line_stroke_width"
android:layout_alignParentBottom=
"true"
android:background=
"@color/divide_color"
/>
android:background=
"@color/
platform_
divide_color"
/>
</RelativeLayout>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/videoplay_view.xml
→
ydl-platform/src/main/res/layout/
platform_
videoplay_view.xml
View file @
494c0d63
...
...
@@ -80,7 +80,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:src=
"@drawable/ico_spfc_play"
/>
android:src=
"@drawable/
platform_
ico_spfc_play"
/>
</LinearLayout>
<!--加载中-->
...
...
@@ -130,7 +130,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"64dp"
android:layout_alignParentBottom=
"true"
android:background=
"@drawable/course_video_bottom_background"
android:background=
"@drawable/
platform_
course_video_bottom_background"
android:gravity=
"center_vertical"
android:minHeight=
"35dp"
android:paddingTop=
"30dp"
>
...
...
@@ -143,7 +143,7 @@
android:layout_marginLeft=
"3dp"
android:padding=
"1dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/ico_course_play"
/>
android:src=
"@drawable/
platform_
ico_course_play"
/>
<LinearLayout
android:id=
"@+id/app_video_process_panl"
...
...
@@ -253,8 +253,8 @@
android:layout_weight=
"1"
android:maxHeight=
"2dp"
android:minHeight=
"2dp"
android:progressDrawable=
"@drawable/course_layer_progress"
android:thumb=
"@drawable/course_dot_seekbar"
/>
android:progressDrawable=
"@drawable/
platform_
course_layer_progress"
android:thumb=
"@drawable/
platform_
course_dot_seekbar"
/>
<LinearLayout
android:id=
"@+id/app_video_center"
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/view_foot_view_more.xml
→
ydl-platform/src/main/res/layout/
platform_
view_foot_view_more.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
android:layout_height=
"wrap_content"
android:paddingTop=
"15dp"
android:paddingBottom=
"15dp"
android:background=
"@color/white"
android:background=
"@color/
platform_
white"
android:orientation=
"vertical"
>
<TextView
...
...
@@ -24,17 +24,17 @@
android:layout_gravity=
"center_horizontal"
android:visibility=
"gone"
tools:visibility=
"visible"
android:textColor=
"@color/google_green"
android:background=
"@drawable/bg_radius_line_green_20"
/>
android:textColor=
"@color/
platform_
google_green"
android:background=
"@drawable/
platform_
bg_radius_line_green_20"
/>
<TextView
android:id=
"@+id/text_null"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:drawableTop=
"@drawable/ydlcommon_blank"
android:drawableTop=
"@drawable/
platform_
ydlcommon_blank"
android:gravity=
"center"
android:drawablePadding=
"10dp"
android:textColor=
"@color/gray7"
android:textColor=
"@color/
platform_
gray7"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layout/view_footview_loadmore.xml
→
ydl-platform/src/main/res/layout/
platform_
view_footview_loadmore.xml
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@
style=
"?android:attr/progressBarStyleSmallTitle"
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:padding=
"@dimen/default_dis_size_small"
android:padding=
"@dimen/
platform_
default_dis_size_small"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/music_player/drawable/course_dot_seekbar.xml
→
ydl-platform/src/main/res/layouts/music_player/drawable/
platform_
course_dot_seekbar.xml
View file @
494c0d63
...
...
@@ -4,7 +4,7 @@
<size
android:width=
"17dp"
android:height=
"17dp"
/>
<stroke
android:color=
"@color/white"
android:width=
"6dp"
/>
<solid
android:color=
"@color/color_FFDB26"
/>
<stroke
android:color=
"@color/
platform_
white"
android:width=
"6dp"
/>
<solid
android:color=
"@color/
platform_
color_FFDB26"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/music_player/drawable/course_layer_progress.xml
→
ydl-platform/src/main/res/layouts/music_player/drawable/
platform_
course_layer_progress.xml
View file @
494c0d63
...
...
@@ -19,7 +19,7 @@
<clip>
<shape>
<corners
android:radius=
"3dp"
/>
<solid
android:color=
"@color/color_FFDB26"
/>
<solid
android:color=
"@color/
platform_
color_FFDB26"
/>
</shape>
</clip>
</item>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/redpacket/values/string_redpacket.xml
→
ydl-platform/src/main/res/layouts/redpacket/values/
platform_
string_redpacket.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_backhome.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_backhome.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_delete.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_delete.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_download.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_download.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_dynamic.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_dynamic.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_friends.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_friends.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_poster.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_poster.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_qq.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_qq.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_qqzone.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_qqzone.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_report.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_report.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/share_icon_weixin.png
→
ydl-platform/src/main/res/layouts/share/drawable-xhdpi/
platform_
share_icon_weixin.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/share/drawable/share_dialog_bg.xml
→
ydl-platform/src/main/res/layouts/share/drawable/
platform_
share_dialog_bg.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"@color/white"
/>
<solid
android:color=
"@color/
platform_
white"
/>
<corners
android:topLeftRadius=
"@dimen/dp_20"
android:topRightRadius=
"@dimen/dp_20"
/>
android:topLeftRadius=
"@dimen/
platform_
dp_20"
android:topRightRadius=
"@dimen/
platform_
dp_20"
/>
</shape>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/layouts/swipe/layout/swipelayout_item_load_more.xml
→
ydl-platform/src/main/res/layouts/swipe/layout/
platform_
swipelayout_item_load_more.xml
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/mipmap-xhdpi/ic_launcher.png
→
ydl-platform/src/main/res/mipmap-xhdpi/
platform_
ic_launcher.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/mipmap-xhdpi/ic_launcher_round.png
→
ydl-platform/src/main/res/mipmap-xhdpi/
platform_
ic_launcher_round.png
View file @
494c0d63
File moved
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values-hdpi/dimens.xml
View file @
494c0d63
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<!--字体大小部分-->
<dimen
name=
"default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"default_text_size"
>
14sp
</dimen>
<dimen
name=
"default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"default_text_size_large"
>
18sp
</dimen>
<dimen
name=
"
platform_
default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"
platform_
default_text_size"
>
14sp
</dimen>
<dimen
name=
"
platform_
default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"
platform_
default_text_size_large"
>
18sp
</dimen>
<!--距离部分-->
<dimen
name=
"default_dis_size_micro"
>
4dp
</dimen>
<dimen
name=
"default_dis_size_small"
>
6dp
</dimen>
<dimen
name=
"default_dis_size"
>
8dp
</dimen>
<dimen
name=
"default_dis_size_big"
>
10dp
</dimen>
<dimen
name=
"default_dis_size_large"
>
12dp
</dimen>
<dimen
name=
"default_dis_size_huge"
>
14dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_micro"
>
4dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_small"
>
6dp
</dimen>
<dimen
name=
"
platform_
default_dis_size"
>
8dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_big"
>
10dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_large"
>
12dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_huge"
>
14dp
</dimen>
<!--分割线粗细-->
<dimen
name=
"divide_line_stroke_width"
>
1px
</dimen>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values-xhdpi/dimens.xml
View file @
494c0d63
...
...
@@ -2,18 +2,18 @@
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<!--字体大小部分-->
<dimen
name=
"default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"default_text_size"
>
14sp
</dimen>
<dimen
name=
"default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"default_text_size_large"
>
18sp
</dimen>
<dimen
name=
"
platform_
default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"
platform_
default_text_size"
>
14sp
</dimen>
<dimen
name=
"
platform_
default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"
platform_
default_text_size_large"
>
18sp
</dimen>
<!--距离部分-->
<dimen
name=
"default_dis_size_micro"
>
5dp
</dimen>
<dimen
name=
"default_dis_size_small"
>
7.5dp
</dimen>
<dimen
name=
"default_dis_size"
>
10dp
</dimen>
<dimen
name=
"default_dis_size_big"
>
12.5dp
</dimen>
<dimen
name=
"default_dis_size_large"
>
15dp
</dimen>
<dimen
name=
"default_dis_size_huge"
>
17.5dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_micro"
>
5dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_small"
>
7.5dp
</dimen>
<dimen
name=
"
platform_
default_dis_size"
>
10dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_big"
>
12.5dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_large"
>
15dp
</dimen>
<dimen
name=
"
platform_
default_dis_size_huge"
>
17.5dp
</dimen>
<!--dialog部分-->
...
...
@@ -24,7 +24,7 @@
<dimen
name=
"title_bar_height"
>
45dp
</dimen>
<!--JumpTextView部分-->
<dimen
name=
"jump_text_view_min_height"
>
55dp
</dimen>
<dimen
name=
"
platform_
jump_text_view_min_height"
>
55dp
</dimen>
<dimen
name=
"jump_text_view_icon_size"
>
25dp
</dimen>
<!--JumpDraweeView部分-->
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/arrays.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<!--如果前缀是以下这些 并且是没有子目录的 就表面是专家详情页、课程详情页地址-->
<string-array
name=
"doctorUrls"
tools:ignore=
"ExtraTranslation"
>
<string-array
name=
"
platform_
doctorUrls"
tools:ignore=
"ExtraTranslation"
>
<item>
https://testh2.yidianling.com/experts/
</item>
<item>
https://h2.yidianling.com/experts/
</item>
<item>
https://h2.yidianling.com/zx/experts/
</item>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/attrs.xml
View file @
494c0d63
...
...
@@ -2,123 +2,91 @@
<resources>
<!--头部bar-->
<declare-styleable
name=
"TitleBar"
>
<attr
name=
"left_text"
/>
<attr
name=
"left_start_icon"
format=
"reference"
/>
<attr
name=
"left_end_icon"
format=
"reference"
/>
<attr
name=
"title_text"
format=
"string"
/>
<attr
name=
"right_text"
/>
<attr
name=
"right_start_icon"
format=
"reference"
/>
<attr
name=
"right_end_icon"
format=
"reference"
/>
<attr
name=
"side_text_color"
format=
"color"
/>
<attr
name=
"title_bar_text_color"
format=
"color|reference"
/>
<attr
name=
"bm_line_color"
format=
"color"
/>
<attr
name=
"right_iv"
format=
"reference"
/>
</declare-styleable>
<attr
name=
"left_text"
format=
"string"
/>
<attr
name=
"right_text"
format=
"string"
/>
<declare-styleable
name=
"
Platform_
TitleBar"
>
<attr
name=
"
pa_
left_text"
/>
<attr
name=
"
pa_
left_start_icon"
format=
"reference"
/>
<attr
name=
"
pa_
left_end_icon"
format=
"reference"
/>
<attr
name=
"
pa_
title_text"
format=
"string"
/>
<attr
name=
"
pa_
right_text"
/>
<attr
name=
"
pa_
right_start_icon"
format=
"reference"
/>
<attr
name=
"
pa_
right_end_icon"
format=
"reference"
/>
<attr
name=
"
pa_
side_text_color"
format=
"color"
/>
<attr
name=
"
pa_
title_bar_text_color"
format=
"color|reference"
/>
<attr
name=
"
pa_
bm_line_color"
format=
"color"
/>
<attr
name=
"
pa_
right_iv"
format=
"reference"
/>
</declare-styleable>
<attr
name=
"
pa_
left_text"
format=
"string"
/>
<attr
name=
"
pa_
right_text"
format=
"string"
/>
<declare-styleable
name=
"FlowLayout"
>
<attr
name=
"width_space"
format=
"dimension"
/>
<attr
name=
"height_space"
format=
"dimension"
/>
</declare-styleable>
<!-- 登录界面底部选择器-->
<declare-styleable
name=
"LoginAndRegistSelectView"
>
<attr
name=
"left_text"
/>
<attr
name=
"right_text"
/>
<attr
name=
"text_size"
format=
"dimension"
/>
</declare-styleable>
<!--JumpTextView属性-->
<declare-styleable
name=
"JumpTextView"
>
<attr
name=
"jump_tv_hide_arrow"
format=
"boolean"
/>
<declare-styleable
name=
"
Platform_
JumpTextView"
>
<attr
name=
"
pa_
jump_tv_hide_arrow"
format=
"boolean"
/>
<!--左侧图标-->
<attr
name=
"jump_tv_icon"
format=
"reference"
/>
<attr
name=
"
pa_
jump_tv_icon"
format=
"reference"
/>
<!--右侧文字开始处图标-->
<attr
name=
"jump_tv_right_icon_start"
format=
"reference"
/>
<attr
name=
"
pa_
jump_tv_right_icon_start"
format=
"reference"
/>
<!--右侧文字末尾图标-->
<attr
name=
"jump_tv_right_icon_end"
format=
"reference"
/>
<attr
name=
"
pa_
jump_tv_right_icon_end"
format=
"reference"
/>
<!--左侧文字-->
<attr
name=
"jump_tv_left_text"
format=
"string"
/>
<attr
name=
"
pa_
jump_tv_left_text"
format=
"string"
/>
<!--左侧文字大小-->
<attr
name=
"jump_tv_left_size"
format=
"dimension"
/>
<attr
name=
"
pa_
jump_tv_left_size"
format=
"dimension"
/>
<!--左侧文字颜色-->
<attr
name=
"jump_tv_left_color"
format=
"color"
/>
<attr
name=
"
pa_
jump_tv_left_color"
format=
"color"
/>
<!--左侧文字宽度-->
<attr
name=
"jump_tv_left_width"
format=
"dimension"
/>
<attr
name=
"
pa_
jump_tv_left_width"
format=
"dimension"
/>
<!--右侧文字gravity-->
<attr
name=
"jump_tv_right_gravity"
format=
"enum"
>
<enum
name=
"left"
value=
"1"
/>
<enum
name=
"right"
value=
"2"
/>
<attr
name=
"
pa_
jump_tv_right_gravity"
format=
"enum"
>
<enum
name=
"
pa_
left"
value=
"1"
/>
<enum
name=
"
pa_
right"
value=
"2"
/>
</attr>
<!--右侧文字-->
<attr
name=
"jump_tv_right_text"
format=
"string"
/>
<attr
name=
"
pa_
jump_tv_right_text"
format=
"string"
/>
<!--右侧文字大小-->
<attr
name=
"jump_tv_right_size"
format=
"dimension"
/>
<attr
name=
"
pa_
jump_tv_right_size"
format=
"dimension"
/>
<!--右侧文字颜色-->
<attr
name=
"jump_tv_right_color"
format=
"color"
/>
<attr
name=
"
pa_
jump_tv_right_color"
format=
"color"
/>
<!--右侧文字内容最大字数-->
<attr
name=
"jump_tv_right_max_length"
format=
"integer"
/>
<attr
name=
"
pa_
jump_tv_right_max_length"
format=
"integer"
/>
<!--文字内容最多行数-->
<attr
name=
"jump_tv_max_line"
format=
"integer"
/>
<attr
name=
"
pa_
jump_tv_max_line"
format=
"integer"
/>
<!--是否可以点击状态-->
<attr
name=
"jump_tv_can_click"
format=
"boolean"
/>
<attr
name=
"
pa_
jump_tv_can_click"
format=
"boolean"
/>
<!--左边图片宽度-->
<attr
name=
"jump_tv_left_icon_width"
format=
"dimension"
/>
<attr
name=
"
pa_
jump_tv_left_icon_width"
format=
"dimension"
/>
<!--左边图片高度-->
<attr
name=
"jump_tv_left_icon_hight"
format=
"dimension"
/>
<attr
name=
"
pa_
jump_tv_left_icon_hight"
format=
"dimension"
/>
<!--左侧小红点-->
<attr
name=
"jump_tv_left_red_dot"
format=
"boolean"
/>
</declare-styleable>
<!-- NumLimitEditextView-->
<declare-styleable
name=
"NumLimitEditTextView"
>
<attr
name=
"limit_num"
format=
"integer"
/>
<attr
name=
"hide_limit_num"
format=
"boolean"
/>
<attr
name=
"limit_num_text_size"
format=
"dimension"
/>
<attr
name=
"limit_num_text_color"
format=
"color"
/>
<attr
name=
"pa_jump_tv_left_red_dot"
format=
"boolean"
/>
</declare-styleable>
<!--圆角按钮-->
<declare-styleable
name=
"RoundCornerButton"
>
<declare-styleable
name=
"
Platform_
RoundCornerButton"
>
<!--描边属性-->
<attr
name=
"round_stroke_width"
format=
"dimension"
/>
<attr
name=
"round_stroke_color"
format=
"color"
/>
<attr
name=
"
pa_
round_stroke_width"
format=
"dimension"
/>
<attr
name=
"
pa_
round_stroke_color"
format=
"color"
/>
<!--按钮默认背景色-->
<attr
name=
"round_btn_bg"
format=
"color"
/>
<attr
name=
"
pa_
round_btn_bg"
format=
"color"
/>
<!--手指按下,波纹色-->
<attr
name=
"round_btn_active_bg"
format=
"color"
/>
<attr
name=
"
pa_
round_btn_active_bg"
format=
"color"
/>
<!--不可用背景色-->
<attr
name=
"round_btn_disable_bg"
format=
"color"
/>
<attr
name=
"round_btn_disable_text_color"
format=
"color"
/>
<attr
name=
"
pa_
round_btn_disable_bg"
format=
"color"
/>
<attr
name=
"
pa_
round_btn_disable_text_color"
format=
"color"
/>
<!--圆角大小-->
<attr
name=
"round_btn_radio_size"
format=
"dimension"
/>
<attr
name=
"
pa_
round_btn_radio_size"
format=
"dimension"
/>
</declare-styleable>
<!--RoundProgressBar-->
<!-- <declare-styleable name="RoundProgressBar">
<attr name="roundColor" format="color" />
<attr name="roundProgressColor" format="color" />
<attr name="roundWidth" format="dimension"/>
<attr name="textColor" format="color" />
<attr name="textSize" format="dimension" />
<attr name="round_progress_bar_max_num" format="integer"/>
<attr name="textIsDisplayable" format="boolean"/>
<attr name="style">
<enum name="STROKE" value="0"/>
<enum name="FILL" value="1"/>
</attr>
</declare-styleable>-->
<declare-styleable
name=
"CircleImageView"
>
<attr
name=
"border_width"
format=
"dimension"
/>
<attr
name=
"border_color"
format=
"color"
/>
<declare-styleable
name=
"Platform_CircleImageView"
>
<attr
name=
"pa_border_width"
format=
"dimension"
/>
<attr
name=
"pa_border_color"
format=
"color"
/>
</declare-styleable>
<declare-styleable
name=
"CircleImageView_"
>
<attr
name=
"civ_border_width"
format=
"dimension"
/>
<attr
name=
"civ_border_color"
format=
"color"
/>
...
...
@@ -128,113 +96,58 @@
<!--弧度设置圆角Imageview-->
<attr
name=
"borderRadius"
format=
"dimension"
/>
<attr
name=
"type"
>
<enum
name=
"circle"
value=
"0"
/>
<enum
name=
"round"
value=
"1"
/>
</attr>
<declare-styleable
name=
"RoundImageView"
>
<attr
name=
"borderRadius"
/>
<attr
name=
"type"
/>
</declare-styleable>
<!--懒加载ViewPager-->
<declare-styleable
name=
"LazyViewPager"
>
<attr
name=
"init_lazy_item_offset"
format=
"float"
/>
</declare-styleable>
<declare-styleable
name=
"MyCircleProgressBar"
>
<attr
name=
"mlpb_inner_radius"
format=
"dimension"
/>
<attr
name=
"mlpb_background_color"
format=
"color"
/>
<attr
name=
"mlpb_progress_color"
format=
"color"
/>
<attr
name=
"mlpb_progress_stoke_width"
format=
"dimension"
/>
<attr
name=
"mlpb_show_arrow"
format=
"boolean"
/>
<attr
name=
"mlpb_enable_circle_background"
format=
"boolean"
/>
<attr
name=
"mlpb_arrow_width"
format=
"dimension"
/>
<attr
name=
"mlpb_arrow_height"
format=
"dimension"
/>
<attr
name=
"mlpb_progress"
format=
"integer"
/>
<attr
name=
"mlpb_max"
format=
"integer"
/>
<attr
name=
"mlpb_progress_text_size"
format=
"dimension"
/>
<attr
name=
"mlpb_progress_text_color"
format=
"color"
/>
<attr
name=
"mlpb_progress_text_visibility"
format=
"enum"
>
<enum
name=
"visible"
value=
"0"
/>
<enum
name=
"invisible"
value=
"1"
/>
</attr>
</declare-styleable>
<declare-styleable
name=
"CustomerMRefreshLayout"
>
<attr
name=
"isoverlay"
format=
"boolean"
/>
<attr
name=
"mywave_height_type"
format=
"enum"
>
<enum
name=
"normal"
value=
"0"
/>
<enum
name=
"higher"
value=
"1"
/>
</attr>
<attr
name=
"mywave_color"
format=
"color"
/>
<attr
name=
"mywave_show"
format=
"boolean"
/>
<attr
name=
"myprogress_colors"
format=
"reference"
/>
<attr
name=
"myprogress_stoke_width"
format=
"dimension"
/>
<attr
name=
"myprogress_backgroud_color"
format=
"color"
/>
<attr
name=
"myprogress_show_arrow"
format=
"boolean"
/>
<attr
name=
"myprogress_arrow_width"
format=
"dimension"
/>
<attr
name=
"myprogress_arrow_height"
format=
"dimension"
/>
<attr
name=
"myprogress_show_circle_backgroud"
format=
"boolean"
/>
<attr
name=
"myprogress_value"
format=
"integer"
/>
<attr
name=
"myprogress_max_value"
format=
"integer"
/>
<attr
name=
"myprogress_text_size"
format=
"dimension"
/>
<attr
name=
"myprogress_text_color"
format=
"color"
/>
<attr
name=
"myprogress_text_visibility"
format=
"enum"
>
<enum
name=
"visible"
value=
"0"
/>
<enum
name=
"invisible"
value=
"1"
/>
</attr>
<attr
name=
"myprogress_size_type"
format=
"enum"
>
<enum
name=
"normal"
value=
"0"
/>
<enum
name=
"big"
value=
"1"
/>
<attr
name=
"Platform_borderRadius"
format=
"dimension"
/>
<attr
name=
"Platform_type"
>
<enum
name=
"pa_circle"
value=
"0"
/>
<enum
name=
"pa_round"
value=
"1"
/>
</attr>
<attr
name=
"myisLoadMore"
format=
"boolean"
/>
<declare-styleable
name=
"Platform_RoundImageView"
>
<attr
name=
"pa_borderRadius"
/>
<attr
name=
"pa_type"
/>
</declare-styleable>
<!--九宫格解锁-->
<declare-styleable
name=
"Lock9View"
>
<attr
name=
"lock9_nodeSrc"
format=
"color|reference"
/>
<attr
name=
"lock9_nodeOnSrc"
format=
"color|reference"
/>
<attr
name=
"lock9_nodeSize"
format=
"dimension"
/>
<attr
name=
"lock9_nodeAreaExpand"
format=
"dimension"
/>
<attr
name=
"lock9_nodeOnAnim"
format=
"reference"
/>
<attr
name=
"lock9_lineColor"
format=
"color"
/>
<attr
name=
"lock9_lineWidth"
format=
"dimension"
/>
<attr
name=
"lock9_padding"
format=
"dimension"
/>
<attr
name=
"lock9_spacing"
format=
"dimension"
/>
<attr
name=
"lock9_autoLink"
format=
"boolean"
/>
<attr
name=
"lock9_enableVibrate"
format=
"boolean"
/>
<attr
name=
"lock9_vibrateTime"
format=
"integer"
/>
<declare-styleable
name=
"
Platform_
Lock9View"
>
<attr
name=
"
pa_
lock9_nodeSrc"
format=
"color|reference"
/>
<attr
name=
"
pa_
lock9_nodeOnSrc"
format=
"color|reference"
/>
<attr
name=
"
pa_
lock9_nodeSize"
format=
"dimension"
/>
<attr
name=
"
pa_
lock9_nodeAreaExpand"
format=
"dimension"
/>
<attr
name=
"
pa_
lock9_nodeOnAnim"
format=
"reference"
/>
<attr
name=
"
pa_
lock9_lineColor"
format=
"color"
/>
<attr
name=
"
pa_
lock9_lineWidth"
format=
"dimension"
/>
<attr
name=
"
pa_
lock9_padding"
format=
"dimension"
/>
<attr
name=
"
pa_
lock9_spacing"
format=
"dimension"
/>
<attr
name=
"
pa_
lock9_autoLink"
format=
"boolean"
/>
<attr
name=
"
pa_
lock9_enableVibrate"
format=
"boolean"
/>
<attr
name=
"
pa_
lock9_vibrateTime"
format=
"integer"
/>
</declare-styleable>
<!--banner-->
<declare-styleable
name=
"Banner"
>
<attr
name=
"delay_time"
format=
"integer"
/>
<attr
name=
"scroll_time"
format=
"integer"
/>
<attr
name=
"is_auto_play"
format=
"boolean"
/>
<declare-styleable
name=
"
Platform_
Banner"
>
<attr
name=
"
pa_
delay_time"
format=
"integer"
/>
<attr
name=
"
pa_
scroll_time"
format=
"integer"
/>
<attr
name=
"
pa_
is_auto_play"
format=
"boolean"
/>
<!-- 适配项目中banner选中和未选中时,指示器图标大小宽度不一致的问题 true:选中和未选中一致 false:选中和未选中不一致-->
<attr
name=
"is_selected_same_unselected"
format=
"boolean"
/>
<attr
name=
"
pa_
is_selected_same_unselected"
format=
"boolean"
/>
<!-- 是否显示指示器布局:true 显示 false 不显示 默认显示 -->
<attr
name=
"is_show_indicator"
format=
"boolean"
/>
<attr
name=
"
pa_
is_show_indicator"
format=
"boolean"
/>
<!-- 指示器布局是否显示在banner内部 : true 是 false 不是 默认是-->
<attr
name=
"is_show_inside"
format=
"boolean"
/>
<attr
name=
"
pa_
is_show_inside"
format=
"boolean"
/>
<!-- 样式不一致的时候,不一致的图标宽度-->
<attr
name=
"indicator_different_width"
format=
"dimension"
/>
<attr
name=
"title_background"
format=
"color|reference"
/>
<attr
name=
"title_textcolor"
format=
"color"
/>
<attr
name=
"title_textsize"
format=
"dimension"
/>
<attr
name=
"title_height"
format=
"dimension"
/>
<attr
name=
"indicator_width"
format=
"dimension"
/>
<attr
name=
"indicator_height"
format=
"dimension"
/>
<attr
name=
"indicator_margin"
format=
"dimension"
/>
<attr
name=
"indicator_drawable_selected"
format=
"reference"
/>
<attr
name=
"indicator_drawable_unselected"
format=
"reference"
/>
<attr
name=
"banner_layout"
format=
"reference"
/>
<attr
name=
"banner_default_image"
format=
"reference"
/>
<attr
name=
"image_scale_type"
format=
"enum"
>
<attr
name=
"
pa_
indicator_different_width"
format=
"dimension"
/>
<attr
name=
"
pa_
title_background"
format=
"color|reference"
/>
<attr
name=
"
pa_
title_textcolor"
format=
"color"
/>
<attr
name=
"
pa_
title_textsize"
format=
"dimension"
/>
<attr
name=
"
pa_
title_height"
format=
"dimension"
/>
<attr
name=
"
pa_
indicator_width"
format=
"dimension"
/>
<attr
name=
"
pa_
indicator_height"
format=
"dimension"
/>
<attr
name=
"
pa_
indicator_margin"
format=
"dimension"
/>
<attr
name=
"
pa_
indicator_drawable_selected"
format=
"reference"
/>
<attr
name=
"
pa_
indicator_drawable_unselected"
format=
"reference"
/>
<attr
name=
"
pa_
banner_layout"
format=
"reference"
/>
<attr
name=
"
pa_
banner_default_image"
format=
"reference"
/>
<attr
name=
"
pa_
image_scale_type"
format=
"enum"
>
<enum
name=
"center"
value=
"0"
/>
<enum
name=
"center_crop"
value=
"1"
/>
<enum
name=
"center_inside"
value=
"2"
/>
...
...
@@ -248,30 +161,30 @@
<!--<attr name="indicator_animator_reverse" format="reference" />-->
</declare-styleable>
<declare-styleable
name=
"ProgressView"
>
<attr
name=
"progressColor"
format=
"color"
/>
<attr
name=
"progressBackColor"
format=
"color"
/>
<attr
name=
"progressWidth"
format=
"dimension"
/>
<attr
name=
"textSize"
format=
"dimension"
/>
<attr
name=
"textColor"
format=
"color"
/>
<declare-styleable
name=
"P
latform_P
rogressView"
>
<attr
name=
"p
a_p
rogressColor"
format=
"color"
/>
<attr
name=
"p
a_p
rogressBackColor"
format=
"color"
/>
<attr
name=
"p
a_p
rogressWidth"
format=
"dimension"
/>
<attr
name=
"
pa_
textSize"
format=
"dimension"
/>
<attr
name=
"
pa_
textColor"
format=
"color"
/>
</declare-styleable>
<declare-styleable
name=
"VerticalTabLayout"
>
<attr
name=
"indicator_color"
format=
"color"
/>
<attr
name=
"tab_indicator_width"
format=
"dimension"
/>
<attr
name=
"tab_indicator_height"
format=
"dimension"
/>
<attr
name=
"indicator_corners"
format=
"dimension"
/>
<attr
name=
"tab_indicator_margin"
format=
"dimension"
/>
<attr
name=
"indicator_gravity"
format=
"enum"
>
<declare-styleable
name=
"
Platform_
VerticalTabLayout"
>
<attr
name=
"
pa_
indicator_color"
format=
"color"
/>
<attr
name=
"
pa_
tab_indicator_width"
format=
"dimension"
/>
<attr
name=
"
pa_
tab_indicator_height"
format=
"dimension"
/>
<attr
name=
"
pa_
indicator_corners"
format=
"dimension"
/>
<attr
name=
"
pa_
tab_indicator_margin"
format=
"dimension"
/>
<attr
name=
"
pa_tab_
indicator_gravity"
format=
"enum"
>
<enum
name=
"left"
value=
"3"
/>
<enum
name=
"right"
value=
"5"
/>
<enum
name=
"fill"
value=
"119"
/>
</attr>
<attr
name=
"tab_margin"
format=
"dimension"
/>
<attr
name=
"tab_mode"
format=
"enum"
>
<attr
name=
"
pa_
tab_margin"
format=
"dimension"
/>
<attr
name=
"
pa_
tab_mode"
format=
"enum"
>
<enum
name=
"fixed"
value=
"10"
/>
<enum
name=
"scrollable"
value=
"11"
/>
</attr>
<attr
name=
"tab_height"
format=
"dimension"
/>
<attr
name=
"
pa_
tab_height"
format=
"dimension"
/>
</declare-styleable>
</resources>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/colors.xml
View file @
494c0d63
...
...
@@ -105,86 +105,59 @@
<!-- google color-->
<color
name=
"google_blue"
>
#1da1f2
</color>
<color
name=
"google_yellow"
>
#fdbd00
</color>
<color
name=
"google_green"
>
#1da1f2
</color>
<color
name=
"
platform_
google_blue"
>
#1da1f2
</color>
<color
name=
"
platform_
google_yellow"
>
#fdbd00
</color>
<color
name=
"
platform_
google_green"
>
#1da1f2
</color>
<!--app主要颜色-->
<color
name=
"white"
>
#ffffff
</color>
<color
name=
"theme_bg"
>
#FAFAFA
</color>
<color
name=
"main_theme_blue"
>
#1da1f2
</color>
<color
name=
"default_button_bg"
>
#1da1f2
</color>
<color
name=
"default_text_color"
>
#555555
</color>
<color
name=
"default_text_color_hint"
>
#333333
</color>
<color
name=
"divide_color"
>
#EDEDED
</color>
<color
name=
"place_holder_color"
>
#DDDDDD
</color>
<color
name=
"transparent"
>
#00FFFFFF
</color>
<color
name=
"price_color"
>
#EC7100
</color>
<color
name=
"tag_text"
>
#777777
</color>
<color
name=
"f5f5f5"
>
#f5f5f5
</color>
<color
name=
"black_deep"
>
#FF000000
</color>
<!--最后删除-->
<color
name=
"colorTextDefault"
>
#555555
</color>
<color
name=
"gray7"
>
#c5c4c4
</color>
<!-- session -->
<!-- image picker -->
<color
name=
"line"
>
#e5e5e5
</color>
<!-- contact -->
<!-- setting -->
<color
name=
"color_black_ff666666"
>
#ff666666
</color>
<!--云信 end-->
<color
name=
"text_gray"
>
#B6B6B6
</color>
<color
name=
"title_bottom_line_bg"
>
#DDDDDD
</color>
<color
name=
"color_black_333333"
>
#333333
</color>
<color
name=
"black"
>
#000000
</color>
<color
name=
"grey_white_has_alpha"
>
#66FAFAFA
</color>
<!--动态-->
<color
name=
"text_user"
>
#5195cb
</color>
<!--动态顶部title背景变色-->
<!--消息已读-->
<!--统一颜色定义-->
<color
name=
"color_666666"
>
#666666
</color>
<color
name=
"color_3D3D3D"
>
#3D3D3D
</color>
<color
name=
"color_E0E0E0"
>
#E0E0E0
</color>
<color
name=
"color_F0F0F0"
>
#F0F0F0
</color>
<color
name=
"color_999999"
>
#999999
</color>
<color
name=
"color_FF5040"
>
#FF5040
</color>
<color
name=
"color_D8D8D8"
>
#D8D8D8
</color>
<color
name=
"color_444444"
>
#444444
</color>
<color
name=
"color_42C1FF"
>
#42C1FF
</color>
<color
name=
"color_1DA1F2"
>
#1DA1F2
</color>
<color
name=
"color_242424"
tools:ignore=
"MissingDefaultResource"
>
#242424
</color>
<color
name=
"color_FAFAFA"
>
#FAFAFA
</color>
<color
name=
"color_F7F7F7"
>
#F7F7F7
</color>
<color
name=
"color_FFFFFF"
>
#ffffff
</color>
<color
name=
"color_BFBFBF"
>
#BFBFBF
</color>
<color
name=
"color_f3f3f3"
>
#f3f3f3
</color>
<color
name=
"color_c6c3c3"
>
#C6C3C3
</color>
<color
name=
"color_33000000"
>
#33000000
</color>
<color
name=
"color_2EB0FF"
>
#2EB0FF
</color>
<color
name=
"color_075b66"
>
#075b66
</color>
<color
name=
"color_FFDB26"
>
#FFDB26
</color>
<color
name=
"color_5CC8F7"
>
#5CC8F7
</color>
<color
name=
"color_1EA6FA"
>
#1EA6FA
</color>
<color
name=
"color_99000000"
>
#99000000
</color>
<color
name=
"platform_white"
>
#ffffff
</color>
<color
name=
"platform_theme_bg"
>
#FAFAFA
</color>
<color
name=
"platform_main_theme_blue"
>
#1da1f2
</color>
<color
name=
"platform_default_button_bg"
>
#1da1f2
</color>
<color
name=
"platform_default_text_color"
>
#555555
</color>
<color
name=
"platform_default_text_color_hint"
>
#333333
</color>
<color
name=
"platform_divide_color"
>
#EDEDED
</color>
<color
name=
"platform_place_holder_color"
>
#DDDDDD
</color>
<color
name=
"platform_transparent"
>
#00FFFFFF
</color>
<color
name=
"platform_price_color"
>
#EC7100
</color>
<color
name=
"platform_tag_text"
>
#777777
</color>
<color
name=
"platform_f5f5f5"
>
#f5f5f5
</color>
<color
name=
"platform_black_deep"
>
#FF000000
</color>
<color
name=
"platform_colorTextDefault"
>
#555555
</color>
<color
name=
"platform_gray7"
>
#c5c4c4
</color>
<color
name=
"platform_line"
>
#e5e5e5
</color>
<color
name=
"platform_color_black_ff666666"
>
#ff666666
</color>
<color
name=
"platform_text_gray"
>
#B6B6B6
</color>
<color
name=
"platform_title_bottom_line_bg"
>
#DDDDDD
</color>
<color
name=
"platform_color_black_333333"
>
#333333
</color>
<color
name=
"platform_black"
>
#000000
</color>
<color
name=
"platform_grey_white_has_alpha"
>
#66FAFAFA
</color>
<color
name=
"platform_text_user"
>
#5195cb
</color>
<color
name=
"platform_color_666666"
>
#666666
</color>
<color
name=
"platform_color_3D3D3D"
>
#3D3D3D
</color>
<color
name=
"platform_color_E0E0E0"
>
#E0E0E0
</color>
<color
name=
"platform_color_F0F0F0"
>
#F0F0F0
</color>
<color
name=
"platform_color_999999"
>
#999999
</color>
<color
name=
"platform_color_FF5040"
>
#FF5040
</color>
<color
name=
"platform_color_D8D8D8"
>
#D8D8D8
</color>
<color
name=
"platform_color_444444"
>
#444444
</color>
<color
name=
"platform_color_42C1FF"
>
#42C1FF
</color>
<color
name=
"platform_color_1DA1F2"
>
#1DA1F2
</color>
<color
name=
"platform_color_242424"
tools:ignore=
"MissingDefaultResource"
>
#242424
</color>
<color
name=
"platform_color_FAFAFA"
>
#FAFAFA
</color>
<color
name=
"platform_color_F7F7F7"
>
#F7F7F7
</color>
<color
name=
"platform_color_FFFFFF"
>
#ffffff
</color>
<color
name=
"platform_color_BFBFBF"
>
#BFBFBF
</color>
<color
name=
"platform_color_f3f3f3"
>
#f3f3f3
</color>
<color
name=
"platform_color_c6c3c3"
>
#C6C3C3
</color>
<color
name=
"platform_color_33000000"
>
#33000000
</color>
<color
name=
"platform_color_2EB0FF"
>
#2EB0FF
</color>
<color
name=
"platform_color_075b66"
>
#075b66
</color>
<color
name=
"platform_color_FFDB26"
>
#FFDB26
</color>
<color
name=
"platform_color_5CC8F7"
>
#5CC8F7
</color>
<color
name=
"platform_color_1EA6FA"
>
#1EA6FA
</color>
<color
name=
"platform_color_99000000"
>
#99000000
</color>
<!--公用搜索框背景颜色-->
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/dimens.xml
View file @
494c0d63
...
...
@@ -2,61 +2,43 @@
<resources>
<!--分割线粗细-->
<dimen
name=
"divide_line_stroke_width"
>
0.5dp
</dimen>
<!--距离部分-->
<dimen
name=
"default_dis_size_micro"
>
4dp
</dimen>
<dimen
name=
"default_dis_size_small"
>
6dp
</dimen>
<dimen
name=
"default_dis_size"
>
8dp
</dimen>
<dimen
name=
"default_dis_size_big"
>
10dp
</dimen>
<dimen
name=
"default_dis_size_large"
>
12dp
</dimen>
<dimen
name=
"default_dis_size_huge"
>
14dp
</dimen>
<!--字体大小部分-->
<dimen
name=
"default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"default_text_size"
>
14sp
</dimen>
<dimen
name=
"default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"default_text_size_large"
>
18sp
</dimen>
<!--TitleBar高度-->
<dimen
name=
"platform_default_dis_size_micro"
>
4dp
</dimen>
<dimen
name=
"platform_default_dis_size_small"
>
6dp
</dimen>
<dimen
name=
"platform_default_dis_size"
>
8dp
</dimen>
<dimen
name=
"platform_default_dis_size_big"
>
10dp
</dimen>
<dimen
name=
"platform_default_dis_size_large"
>
12dp
</dimen>
<dimen
name=
"platform_default_dis_size_huge"
>
14dp
</dimen>
<dimen
name=
"platform_default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"platform_default_text_size"
>
14sp
</dimen>
<dimen
name=
"platform_default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"platform_default_text_size_large"
>
18sp
</dimen>
<dimen
name=
"title_bar_height"
>
45dp
</dimen>
<!--JumpTextView部分-->
<dimen
name=
"jump_text_view_min_height"
>
55dp
</dimen>
<dimen
name=
"platform_jump_text_view_min_height"
>
55dp
</dimen>
<dimen
name=
"jump_text_view_icon_size"
>
25dp
</dimen>
<!-- dialog -->
<!-- Default screen margins, per the Android Design guidelines. -->
<!--动态-->
<!--顶部title Size-->
<!-- map -->
<dimen
name=
"dp_0.5"
>
0.5dp
</dimen>
<dimen
name=
"dp_1"
>
1dp
</dimen>
<dimen
name=
"dp_2"
>
2dp
</dimen>
<dimen
name=
"dp_3"
>
3dp
</dimen>
<dimen
name=
"dp_4"
>
4dp
</dimen>
<dimen
name=
"dp_5"
>
5dp
</dimen>
<dimen
name=
"dp_6"
>
6dp
</dimen>
<dimen
name=
"dp_7"
>
7dp
</dimen>
<dimen
name=
"dp_8"
>
8dp
</dimen>
<dimen
name=
"dp_9"
>
9dp
</dimen>
<dimen
name=
"dp_10"
>
10dp
</dimen>
<dimen
name=
"
platform_
dp_1"
>
1dp
</dimen>
<dimen
name=
"
platform_
dp_2"
>
2dp
</dimen>
<dimen
name=
"
platform_
dp_3"
>
3dp
</dimen>
<dimen
name=
"
platform_
dp_4"
>
4dp
</dimen>
<dimen
name=
"
platform_
dp_5"
>
5dp
</dimen>
<dimen
name=
"
platform_
dp_6"
>
6dp
</dimen>
<dimen
name=
"
platform_
dp_7"
>
7dp
</dimen>
<dimen
name=
"
platform_
dp_8"
>
8dp
</dimen>
<dimen
name=
"
platform_
dp_9"
>
9dp
</dimen>
<dimen
name=
"
platform_
dp_10"
>
10dp
</dimen>
<dimen
name=
"dp_11"
>
11dp
</dimen>
<dimen
name=
"dp_12"
>
12dp
</dimen>
<dimen
name=
"dp_13"
>
13dp
</dimen>
<dimen
name=
"dp_14"
>
14dp
</dimen>
<dimen
name=
"dp_15"
>
15dp
</dimen>
<dimen
name=
"
platform_
dp_13"
>
13dp
</dimen>
<dimen
name=
"
platform_
dp_14"
>
14dp
</dimen>
<dimen
name=
"
platform_
dp_15"
>
15dp
</dimen>
<dimen
name=
"dp_16"
>
16dp
</dimen>
<dimen
name=
"dp_17"
>
17dp
</dimen>
<dimen
name=
"dp_18"
>
18dp
</dimen>
<dimen
name=
"dp_19"
>
19dp
</dimen>
<dimen
name=
"dp_20"
>
20dp
</dimen>
<dimen
name=
"dp_24"
>
24dp
</dimen>
<dimen
name=
"dp_28"
>
28dp
</dimen>
<dimen
name=
"dp_32"
>
32dp
</dimen>
<dimen
name=
"dp_35"
>
35dp
</dimen>
<dimen
name=
"
platform_
dp_17"
>
17dp
</dimen>
<dimen
name=
"
platform_
dp_18"
>
18dp
</dimen>
<dimen
name=
"
platform_
dp_19"
>
19dp
</dimen>
<dimen
name=
"
platform_
dp_20"
>
20dp
</dimen>
<dimen
name=
"
platform_
dp_24"
>
24dp
</dimen>
<dimen
name=
"
platform_
dp_28"
>
28dp
</dimen>
<dimen
name=
"
platform_
dp_32"
>
32dp
</dimen>
<dimen
name=
"
platform_
dp_35"
>
35dp
</dimen>
</resources>
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/ids.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item
type=
"id"
name=
"statusbarutil_fake_status_bar_view"
/>
<item
type=
"id"
name=
"statusbarutil_translucent_view"
/>
<item
type=
"id"
name=
"
platform_
statusbarutil_fake_status_bar_view"
/>
<item
type=
"id"
name=
"
platform_
statusbarutil_translucent_view"
/>
<item
name=
"lce_content_view"
type=
"id"
/>
<item
name=
"lce_state_view"
type=
"id"
/>
</resources>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/strings.xml
View file @
494c0d63
<resources>
<string
name=
"app_name"
>
ydlcommon
</string>
<!--异常类别-->
<!-- image picker -->
<!--common-->
<!-- 拍照视频 -->
<string
name=
"attend_course_success"
>
报名成功
</string>
<string
name=
"theme"
>
主题
</string>
<string
name=
"area"
>
地区
</string>
<string
name=
"sort"
>
排序
</string>
<string
name=
"filter"
>
筛选
</string>
<string
name=
"reset"
>
重置
</string>
<string
name=
"confirm"
>
确定
</string>
<string
name=
"no_more"
>
没有更多了
</string>
<string
name=
"no_search_result"
>
没有符合条件的内容
</string>
<string
name=
"search_by_category"
>
按主题搜索看看
</string>
<string
name=
"search_hint"
>
搜索话题、咨询师姓名
</string>
<string
name=
"need_storage_permission_hint"
>
App正常工作需要内部存储使用权限,请开启
</string>
<string
name=
"user_protocol"
>
用户协议
</string>
<string
name=
"next_step"
>
下一步
</string>
<string
name=
"finish"
>
完成
</string>
<string
name=
"nickname_hint"
>
设置一个昵称,方便大家认识你哦(最多10个字)
</string>
<string
name=
"please_select_gender"
>
请选择性别
</string>
<string
name=
"register_success"
>
注册成功
</string>
<string
name=
"private_safe_hint"
>
设置手势密码,保障安全隐私
</string>
<string
name=
"gson_parse_error"
>
解析错误
</string>
<string
name=
"platform_attend_course_success"
>
报名成功
</string>
<string
name=
"platform_theme"
>
主题
</string>
<string
name=
"platform_area"
>
地区
</string>
<string
name=
"platform_sort"
>
排序
</string>
<string
name=
"platform_filter"
>
筛选
</string>
<string
name=
"platform_reset"
>
重置
</string>
<string
name=
"platform_confirm"
>
确定
</string>
<string
name=
"platform_no_more"
>
没有更多了
</string>
<string
name=
"platform_no_search_result"
>
没有符合条件的内容
</string>
<string
name=
"platform_search_by_category"
>
按主题搜索看看
</string>
<string
name=
"platform_search_hint"
>
搜索话题、咨询师姓名
</string>
<string
name=
"platform_need_storage_permission_hint"
>
App正常工作需要内部存储使用权限,请开启
</string>
<string
name=
"platform_user_protocol"
>
用户协议
</string>
<string
name=
"platform_next_step"
>
下一步
</string>
<string
name=
"platform_finish"
>
完成
</string>
<string
name=
"platform_nickname_hint"
>
设置一个昵称,方便大家认识你哦(最多10个字)
</string>
<string
name=
"platform_please_select_gender"
>
请选择性别
</string>
<string
name=
"platform_register_success"
>
注册成功
</string>
<string
name=
"platform_private_safe_hint"
>
设置手势密码,保障安全隐私
</string>
<string
name=
"platform_gson_parse_error"
>
解析错误
</string>
<!--网络提示模块-->
<string
name=
"network_error"
>
网络不给力!
</string>
<string
name=
"data_error"
>
返回数据解析错误!
</string>
<string
name=
"timeout"
>
网络超时!
</string>
<string
name=
"httperror"
>
服务器走神了
</string>
<string
name=
"loadfailed"
>
加载失败
</string>
<string
name=
"
platform_
network_error"
>
网络不给力!
</string>
<string
name=
"
platform_
data_error"
>
返回数据解析错误!
</string>
<string
name=
"
platform_
timeout"
>
网络超时!
</string>
<string
name=
"
platform_
httperror"
>
服务器走神了
</string>
<string
name=
"
platform_
loadfailed"
>
加载失败
</string>
<!--动态模块-->
<string
name=
"dialog_loading"
>
加载中…
</string>
<string
name=
"close"
>
关闭
</string>
<string
name=
"notification_error_ssl_cert_invalid"
>
SSL 证书验证错误,是否继续加载?
</string>
<string
name=
"platform_dialog_loading"
>
加载中…
</string>
<string
name=
"platform_close"
>
关闭
</string>
<string
name=
"platform_notification_error_ssl_cert_invalid"
>
SSL 证书验证错误,是否继续加载?
</string>
</resources>
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/styles.xml
View file @
494c0d63
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--自定义分享-->
<style
name=
"transparentFrameWindowStyle"
parent=
"android:style/Theme.Dialog"
>
<item
name=
"android:windowBackground"
>
@drawable/share_choose_bg
</item>
<style
name=
"
platform_
transparentFrameWindowStyle"
parent=
"android:style/Theme.Dialog"
>
<item
name=
"android:windowBackground"
>
@drawable/
platform_
share_choose_bg
</item>
</style>
<style
name=
"main_menu_animstyle"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/share_dialog_in_anim
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/share_dialog_out_anim
</item>
<style
name=
"
platform_
main_menu_animstyle"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/
platform_
share_dialog_in_anim
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/
platform_
share_dialog_out_anim
</item>
</style>
<style
name=
"CommonTheme"
parent=
"Theme.AppCompat.Light.NoActionBar"
>
<item
name=
"colorPrimary"
>
@color/main_theme_blue
</item>
<item
name=
"colorPrimaryDark"
>
@color/main_theme_blue
</item>
<style
name=
"
platform_
CommonTheme"
parent=
"Theme.AppCompat.Light.NoActionBar"
>
<item
name=
"colorPrimary"
>
@color/
platform_
main_theme_blue
</item>
<item
name=
"colorPrimaryDark"
>
@color/
platform_
main_theme_blue
</item>
<item
name=
"android:fitsSystemWindows"
>
true
</item>
<item
name=
"android:windowBackground"
>
@color/theme_bg
</item>
<item
name=
"android:textSize"
>
@dimen/default_text_size
</item>
<item
name=
"android:textColor"
>
@color/default_text_color
</item>
<item
name=
"android:textColorHint"
>
@color/default_text_color_hint
</item>
<item
name=
"android:windowBackground"
>
@color/
platform_
theme_bg
</item>
<item
name=
"android:textSize"
>
@dimen/
platform_
default_text_size
</item>
<item
name=
"android:textColor"
>
@color/
platform_
default_text_color
</item>
<item
name=
"android:textColorHint"
>
@color/
platform_
default_text_color_hint
</item>
<item
name=
"android:textCursorDrawable"
>
@null
</item>
</style>
<!--四边边距都为0的dialog-->
<!-- 仿ios普通对话框 -->
<style
name=
"normaldialog_style"
parent=
"@android:style/Theme.Dialog"
>
<style
name=
"
platform_
normaldialog_style"
parent=
"@android:style/Theme.Dialog"
>
<item
name=
"android:windowFrame"
>
@null
</item>
<item
name=
"android:windowIsFloating"
>
true
</item>
<item
name=
"android:windowIsTranslucent"
>
false
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:layout_marginRight"
>
30dp
</item>
<item
name=
"android:layout_marginLeft"
>
30dp
</item>
<item
name=
"android:windowBackground"
>
@drawable/normaldialog_bg
</item>
<item
name=
"android:windowBackground"
>
@drawable/
platform_
normaldialog_bg
</item>
<item
name=
"android:backgroundDimEnabled"
>
true
</item>
</style>
...
...
@@ -40,25 +40,25 @@
<!-- toolbar 文本 -->
<!-- 项目中的分割线 -->
<style
name=
"viewline"
>
<item
name=
"android:background"
>
@color/color_E0E0E0
</item>
<style
name=
"
platform_
viewline"
>
<item
name=
"android:background"
>
@color/
platform_
color_E0E0E0
</item>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
0.5dp
</item>
</style>
<style
name=
"BottomDialogAnimation"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/bottom_dialog_slide_show
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/bottom_dialog_slide_hide
</item>
<style
name=
"
platform_
BottomDialogAnimation"
>
<item
name=
"android:windowEnterAnimation"
>
@anim/
platform_
bottom_dialog_slide_show
</item>
<item
name=
"android:windowExitAnimation"
>
@anim/
platform_
bottom_dialog_slide_hide
</item>
</style>
<style
name=
"NoTitleTheme"
parent=
"Theme.AppCompat.Light.DarkActionBar"
>
<style
name=
"
platform_
NoTitleTheme"
parent=
"Theme.AppCompat.Light.DarkActionBar"
>
<!-- Customize your theme here. -->
<item
name=
"android:windowActionBar"
>
false
</item>
<item
name=
"windowActionBar"
>
false
</item>
<item
name=
"windowNoTitle"
>
true
</item>
<item
name=
"colorPrimary"
>
@color/main_theme_blue
</item>
<item
name=
"colorPrimaryDark"
>
@color/main_theme_blue
</item>
<item
name=
"colorAccent"
>
@color/main_theme_blue
</item>
<item
name=
"colorPrimary"
>
@color/
platform_
main_theme_blue
</item>
<item
name=
"colorPrimaryDark"
>
@color/
platform_
main_theme_blue
</item>
<item
name=
"colorAccent"
>
@color/
platform_
main_theme_blue
</item>
</style>
...
...
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/umeng_socialize_colors.xml
deleted
100644 → 0
View file @
ae6cc69a
<?xml version="1.0" encoding="utf-8"?>
<resources>
</resources>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/umeng_socialize_strings.xml
deleted
100644 → 0
View file @
ae6cc69a
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- 平台名称 -->
</resources>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-platform/src/main/res/values/umeng_socialize_style.xml
deleted
100644 → 0
View file @
ae6cc69a
<?xml version="1.0" encoding="utf-8"?>
<resources
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<style
name=
"umeng_socialize_popup_dialog"
parent=
"@android:style/Theme.Dialog"
>
<item
name=
"android:windowFrame"
>
@null
</item>
<item
name=
"android:windowIsFloating"
>
true
</item>
<item
name=
"android:windowIsTranslucent"
>
true
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:background"
>
@android:color/transparent
</item>
<item
name=
"android:windowBackground"
>
@android:color/transparent
</item>
<item
name=
"android:backgroundDimEnabled"
>
true
</item>
<item
name=
"android:backgroundDimAmount"
>
0.6
</item>
</style>
<style
name=
"Theme.UMDefault"
parent=
"android:style/Theme.NoTitleBar"
></style>
</resources>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-webview/build.gradle
View file @
494c0d63
...
...
@@ -52,7 +52,7 @@ dependencies {
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
kapt
'com.alibaba:arouter-compiler:1.2.2'
api
'com.ydl:m-user-api:0.0.4'
// api('com.ydl:ydl-platform:0.0.
4
@aar') {
// api('com.ydl:ydl-platform:0.0.
5
@aar') {
// transitive = true
// }
api
project
(
':ydl-platform'
)
...
...
This diff is collapsed.
Click to expand it.
ydl-webview/gradle.properties
View file @
494c0d63
IS_PUBLISH
=
true
VERSION_NAME
=
0.0.2
\ No newline at end of file
VERSION_NAME
=
0.0.3
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/AndroidManifest.xml
View file @
494c0d63
...
...
@@ -5,7 +5,7 @@
<activity
android:name=
"com.ydl.webview.NewH5Activity"
android:screenOrientation=
"portrait"
android:theme=
"@style/NoTitleTheme"
/>
android:theme=
"@style/
platform_
NoTitleTheme"
/>
</application>
</manifest>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
494c0d63
...
...
@@ -198,7 +198,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
@Override
protected
int
layoutResId
()
{
return
R
.
layout
.
activity_h5_new
;
return
R
.
layout
.
web_
activity_h5_new
;
}
public
String
successPage
;
...
...
@@ -208,7 +208,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
initStartTime
=
System
.
currentTimeMillis
();
super
.
onCreate
(
savedInstanceState
);
overridePendingTransition
(
R
.
anim
.
platform_activity_anim_in
,
R
.
anim
.
activity_anim_out
);
R
.
anim
.
platform_
activity_anim_out
);
}
private
void
initTimeOutHandler
()
{
...
...
@@ -385,7 +385,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
}
String
useUrl
=
new
StringBuffer
().
append
(
jumpUrl
).
toString
();
Resources
res
=
getResources
();
String
[]
doctorUrlArray
=
res
.
getStringArray
(
R
.
array
.
doctorUrls
);
String
[]
doctorUrlArray
=
res
.
getStringArray
(
R
.
array
.
platform_
doctorUrls
);
for
(
String
url
:
doctorUrlArray
)
{
if
(
useUrl
.
contains
(
url
))
{
String
lastUrl
=
useUrl
.
replaceAll
(
url
,
""
);
...
...
@@ -513,7 +513,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
if
(!
TextUtils
.
isEmpty
(
h5Params
.
getTitle
())
&&
!
h5Params
.
getShowUrlTitle
())
{
tb_title
.
setTitle
(
h5Params
.
getTitle
());
}
tb_title
.
setImage
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
toolbar_back
:
R
.
drawable
.
toolbar_back_yellow
));
tb_title
.
setImage
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
platform_toolbar_back
:
R
.
drawable
.
platform_
toolbar_back_yellow
));
WebSettings
setting
=
wv_content
.
getSettings
();
setting
.
setJavaScriptEnabled
(
true
);
//支持js
...
...
@@ -734,7 +734,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
tb_title
.
setImageVis
(
1
);
}
}
else
{
tb_title
.
setImage
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
toolbar_back
:
R
.
drawable
.
toolbar_back_yellow
));
tb_title
.
setImage
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
platform_toolbar_back
:
R
.
drawable
.
platform_
toolbar_back_yellow
));
tb_title
.
setmLeftText
(
""
);
tb_title
.
setImageListener
(
v
->
{
if
(
h5Params
.
getShowUrlTitle
())
{
...
...
@@ -870,7 +870,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
return
;
}
final
AlertDialog
.
Builder
builder
=
new
AlertDialog
.
Builder
(
this
);
builder
.
setMessage
(
R
.
string
.
notification_error_ssl_cert_invalid
);
builder
.
setMessage
(
R
.
string
.
platform_
notification_error_ssl_cert_invalid
);
builder
.
setPositiveButton
(
"继续"
,
(
dialog
,
which
)
->
handler
.
proceed
());
builder
.
setNegativeButton
(
"取消"
,
(
dialog
,
which
)
->
handler
.
cancel
());
final
AlertDialog
dialog
=
builder
.
create
();
...
...
@@ -878,7 +878,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
}
private
void
initShareMenu
()
{
tb_title
.
setRightIcon
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
share
:
R
.
drawable
.
share_yellow
));
tb_title
.
setRightIcon
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
platform_share
:
R
.
drawable
.
platform_
share_yellow
));
tb_title
.
setOnRightTextClick
((
view
,
isActive
)
->
{
share
(
null
,
null
);
});
...
...
@@ -967,10 +967,10 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
private
void
initHead
()
{
// header
final
MaterialHeader
header
=
new
MaterialHeader
(
this
);
int
[]
colors
=
new
int
[]{
getResources
().
getColor
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
color
.
google_green
:
R
.
color
.
google_yellow
)};
int
[]
colors
=
new
int
[]{
getResources
().
getColor
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
color
.
platform_google_green
:
R
.
color
.
platform_
google_yellow
)};
header
.
setColorSchemeColors
(
colors
);
header
.
setLayoutParams
(
new
PtrFrameLayout
.
LayoutParams
(-
1
,
-
2
));
int
padding
=
(
int
)
getResources
().
getDimension
(
R
.
dimen
.
default_dis_size
);
int
padding
=
(
int
)
getResources
().
getDimension
(
R
.
dimen
.
platform_
default_dis_size
);
header
.
setPadding
(
0
,
padding
,
0
,
padding
);
header
.
setPtrFrameLayout
(
store_house_ptr_frame
);
store_house_ptr_frame
.
setHeaderView
(
header
);
...
...
@@ -1015,7 +1015,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
tb_title
.
setImageVis
(
1
);
}
}
else
{
tb_title
.
setImage
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
toolbar_back
:
R
.
drawable
.
toolbar_back_yellow
));
tb_title
.
setImage
(
getResources
().
getDrawable
(
YDLConstants
.
FROM_YDL
.
equals
(
appFrom
)?
R
.
drawable
.
platform_toolbar_back
:
R
.
drawable
.
platform_
toolbar_back_yellow
));
tb_title
.
setmLeftText
(
""
);
if
(
"top"
.
equals
(
type
))
{
setTitle
(
wv_content
.
getTitle
());
...
...
@@ -1101,7 +1101,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
}
}
else
if
(
requestCode
==
55
&&
resultCode
==
RESULT_OK
)
{
//购买课程成功
ToastUtil
.
toastShort
(
getString
(
R
.
string
.
attend_course_success
));
ToastUtil
.
toastShort
(
getString
(
R
.
string
.
platform_
attend_course_success
));
wv_content
.
reload
();
}
else
if
(
requestCode
==
44
)
{
//测试题 支付成功
...
...
@@ -1170,9 +1170,9 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
}
if
(
h5Params
.
isShowMenu
())
{
if
(
YdlCommonRouterManager
.
INSTANCE
.
getYdlCommonRoute
().
isHasUnread
())
{
tb_title
.
setImage_right
(
getResources
().
getDrawable
(
R
.
drawable
.
more12r
));
tb_title
.
setImage_right
(
getResources
().
getDrawable
(
R
.
drawable
.
platform_
more12r
));
}
else
{
tb_title
.
setImage_right
(
getResources
().
getDrawable
(
R
.
drawable
.
more12x
));
tb_title
.
setImage_right
(
getResources
().
getDrawable
(
R
.
drawable
.
platform_
more12x
));
}
}
if
(
backgroundView
.
getVisibility
()
==
View
.
VISIBLE
)
{
...
...
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/java/com/ydl/webview/ProgressWebView.java
View file @
494c0d63
...
...
@@ -25,10 +25,10 @@ public class ProgressWebView extends WebView {
try
{
progressbar
=
new
ProgressBar
(
context
,
null
,
android
.
R
.
attr
.
progressBarStyleHorizontal
);
progressbar
.
setLayoutParams
(
new
LayoutParams
(
LayoutParams
.
MATCH_PARENT
,
5
));
progressbar
.
setProgressDrawable
(
getResources
().
getDrawable
(
R
.
drawable
.
web_progressbar
));
progressbar
.
setProgressDrawable
(
getResources
().
getDrawable
(
R
.
drawable
.
platform_
web_progressbar
));
LayerDrawable
drawable
=
(
LayerDrawable
)
progressbar
.
getProgressDrawable
();
GradientDrawable
gradientDrawable
=
new
GradientDrawable
();
gradientDrawable
.
setColor
(
ContextCompat
.
getColor
(
context
,
ModularUtils
.
Companion
.
isYDL
()?
com
.
ydl
.
ydlcommon
.
R
.
color
.
google_green
:
com
.
ydl
.
ydlcommon
.
R
.
color
.
google_yellow
));
gradientDrawable
.
setColor
(
ContextCompat
.
getColor
(
context
,
ModularUtils
.
Companion
.
isYDL
()?
com
.
ydl
.
ydlcommon
.
R
.
color
.
platform_google_green
:
com
.
ydl
.
ydlcommon
.
R
.
color
.
platform_
google_yellow
));
ClipDrawable
clipDrawable
=
new
ClipDrawable
(
gradientDrawable
,
Gravity
.
START
,
ClipDrawable
.
HORIZONTAL
);
drawable
.
setDrawableByLayerId
(
android
.
R
.
id
.
progress
,
clipDrawable
);
drawable
.
setDrawableByLayerId
(
android
.
R
.
id
.
secondaryProgress
,
clipDrawable
);
...
...
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/java/com/ydl/webview/SafeTipView.kt
View file @
494c0d63
...
...
@@ -11,7 +11,7 @@ import android.widget.LinearLayout
import
com.daimajia.androidanimations.library.Techniques
import
com.daimajia.androidanimations.library.YoYo
import
com.ydl.ydlcommon.utils.UMEventUtils
import
kotlinx.android.synthetic.main.ui_private_safe_hint.view.*
import
kotlinx.android.synthetic.main.
web_
ui_private_safe_hint.view.*
/**
...
...
@@ -38,7 +38,7 @@ class SafeTipView : LinearLayout {
fun
initView
()
{
this
.
orientation
=
HORIZONTAL
this
.
background
=
ColorDrawable
(
Color
.
parseColor
(
"#fff7e5"
))
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
ui_private_safe_hint
,
this
,
true
)
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
platform_
ui_private_safe_hint
,
this
,
true
)
btnClose
.
setOnClickListener
{
YoYo
.
with
(
Techniques
.
FadeOut
)
.
duration
(
400
)
...
...
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/res/drawable/web_progressbar.xml
→
ydl-webview/src/main/res/drawable/web_progress
_
bar.xml
View file @
494c0d63
...
...
@@ -9,10 +9,10 @@
<gradient
android:angle=
"0"
android:centerColor=
"@color/white"
android:centerColor=
"@color/
platform_
white"
android:centerY=
"0.75"
android:endColor=
"@color/white"
android:startColor=
"@color/white"
/>
android:endColor=
"@color/
platform_
white"
android:startColor=
"@color/
platform_
white"
/>
</shape>
</item>
...
...
@@ -26,10 +26,10 @@
<gradient
android:angle=
"0"
android:centerColor=
"@color/default_button_bg"
android:centerColor=
"@color/
platform_
default_button_bg"
android:centerY=
"0.75"
android:endColor=
"@color/default_button_bg"
android:startColor=
"@color/default_button_bg"
/>
android:endColor=
"@color/
platform_
default_button_bg"
android:startColor=
"@color/
platform_
default_button_bg"
/>
</shape>
</clip>
</item>
...
...
@@ -44,8 +44,8 @@
<gradient
android:angle=
"0"
android:endColor=
"@color/default_button_bg"
android:startColor=
"@color/default_button_bg"
/>
android:endColor=
"@color/
platform_
default_button_bg"
android:startColor=
"@color/
platform_
default_button_bg"
/>
</shape>
</clip>
</item>
...
...
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/res/layout/activity_h5_new.xml
→
ydl-webview/src/main/res/layout/
web_
activity_h5_new.xml
View file @
494c0d63
...
...
@@ -20,8 +20,8 @@
android:id=
"@+id/tb_title"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/title_bar_height"
android:background=
"@color/white"
app:title_text=
"加载中"
/>
android:background=
"@color/
platform_
white"
app:
pa_
title_text=
"加载中"
/>
<com.ydl.webview.SafeTipView
android:id=
"@+id/safe_tip_view"
...
...
@@ -39,7 +39,7 @@
android:id=
"@+id/wv_content"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/transparent"
/>
android:background=
"@color/
platform_
transparent"
/>
</in.srain.cube.views.ptr.PtrFrameLayout>
</LinearLayout>
...
...
This diff is collapsed.
Click to expand it.
ydl-webview/src/main/res/layout/ui_private_safe_hint.xml
→
ydl-webview/src/main/res/layout/
web_
ui_private_safe_hint.xml
View file @
494c0d63
...
...
@@ -7,21 +7,21 @@
android:layout_height=
"40dp"
android:layout_weight=
"1"
android:background=
"?android:attr/selectableItemBackground"
android:drawableLeft=
"@drawable/ico_info"
android:drawableLeft=
"@drawable/
platform_
ico_info"
android:drawablePadding=
"8dp"
android:drawableStart=
"@drawable/ico_info"
android:drawableStart=
"@drawable/
platform_
ico_info"
android:gravity=
"center_vertical"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:text=
"@string/private_safe_hint"
android:text=
"@string/p
latform_p
rivate_safe_hint"
android:textColor=
"#ffa82b"
android:textSize=
"@dimen/default_text_size"
/>
android:textSize=
"@dimen/
platform_
default_text_size"
/>
<ImageButton
android:id=
"@+id/btnClose"
style=
"@android:style/Widget.Holo.Button.Borderless.Small"
android:layout_width=
"wrap_content"
android:layout_height=
"40dp"
android:contentDescription=
"@string/close"
android:src=
"@drawable/ic_close_orange_18dp"
/>
android:contentDescription=
"@string/
platform_
close"
android:src=
"@drawable/
platform_
ic_close_orange_18dp"
/>
</merge>
\ No newline at end of file
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