From 5fcbe52a6a6a9e1dcbda4712b5a6ec0b89e5f73c Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 26 十二月 2018 17:48:57 +0800
Subject: [PATCH] update 易乐sdk对接资源代码提交
---
Project/yl_sdk/src/game_ylgame/res/drawable-mdpi/main_ic_launcher.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog.xml | 58
Project/yl_sdk/src/game_ylgame/res/layout/main_login.xml | 383 ++
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_user.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/main_phonebinding.xml | 187 +
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_two_bg.xml | 9
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_cancel2.png | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java | 434 ++
Project/yl_sdk/src/game_ylgame/res/drawable/main_btn_v_slider_selector.xml | 5
Project/yl_sdk/libs/open_sdk_r5785.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_top.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_identify_code.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_ic_launcher.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_delete.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_conner.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_gamecard.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_scrollbar.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_bg.xml | 6
Project/yl_sdk/src/game_ylgame/res/values/color.xml | 30
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_pw_list_selector.xml | 5
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_dropdown_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_recharge_bg_style.xml | 8
Project/yl_sdk/src/game_ylgame/res/values/float_dimens.xml | 18
Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/H2EngineSDK.java | 483 ++
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_right.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_pressed.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_qq.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_back.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_disable.xml | 14
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift_mark.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/main_sdk_float_web.xml | 60
Project/yl_sdk/src/main/res/values/jpush_style.xml | 13
Project/yl_sdk/libs/mta-sdk-1.6.2.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_bg.png | 0
Project/yl_sdk/libs/unity-classes.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_line_dash.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_alipay.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_fail.xml | 44
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_service.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_right_bg.9.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_item.xml | 31
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_wechat_icon_normal.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_common_btn_text_color.xml | 6
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeA2U.java | 59
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_user_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_weixin.png | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/NotchPhoneUtil.java | 343 +
Project/yl_sdk/src/game_ylgame/res/layout/main_activity_sdk.xml | 57
Project/yl_sdk/src/main/res/layout/activity_main.xml | 30
Project/yl_sdk/src/game_ylgame/res/layout/ipay_loading_dialog.xml | 29
Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list.xml | 20
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_aibeibi.png | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java | 226 +
Project/yl_sdk/src/game_ylgame/res/layout/ttw_user_agreement.xml | 21
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag1.png | 0
Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_progressbar.xml | 20
Project/yl_sdk/src/main/res/drawable/app_icon.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_floating_view_back_left.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_press.png | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/DebugUtil.java | 59
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_normal.xml | 14
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_checked.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_v.xml | 288 +
Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png | 0
Project/yl_sdk/src/game_ylgame/res/values/strings.xml | 23
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_qq.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_btn_color_2.xml | 12
Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png | 0
Project/yl_sdk/libs/okio.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_bottom.xml | 14
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_body_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mygame_icon_uninstall.png | 0
Project/yl_sdk/libs/okhttp.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_order_bg.xml | 5
Project/yl_sdk/src/game_ylgame/AndroidManifest.xml | 230 +
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_border_style.xml | 14
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_user_delete.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_down.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/layout_express_smc.xml | 50
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_smscode_btn_text_color.xml | 6
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_corner_square.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_v.xml | 108
Project/yl_sdk/libs/buglyagent.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_alipaynormal_btn.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_help.png | 0
GradleDiff/yilegame/mainTemplate.gradle | 59
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_server_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/values/values.xml | 256 +
Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_xs_loading2.png | 0
Project/yl_sdk/.gitignore | 1
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_warning.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog_item.xml | 11
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_loding.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_color_7.xml | 20
Project/yl_sdk/src/game_ylgame/res/layout/main_register.xml | 271 +
Project/yl_sdk/src/game_ylgame/res/values-v14/styles.xml | 12
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_top.xml | 8
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_circle_bg.xml | 5
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_backgroud.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_title_bar_normal.xml | 42
Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_dialog_bg_round_rectangle.xml | 64
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_help.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ttw_cz_navigation.xml | 44
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_text_color.xml | 6
Project/yl_sdk/src/game_ylgame/res/anim/smc_progress.xml | 8
Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_long.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_logout_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_top.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_slash_bg.xml | 4
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_unchecked.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/main_activity_wechatpay.xml | 8
Project/yl_sdk/libs/gson.jar | 0
Project/yl_sdk/libs/jpush-android-3.1.3.jar | 0
Project/yl_sdk/libs/libammsdk.jar | 0
Project/yl_sdk/libs/tracking1.3.0.jar | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/JPushReceiver.java | 147
Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list.xml | 20
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg1.png | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java | 84
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_visitor.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_login_in.xml | 8
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_splash.9.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_ic_launcher.png | 0
Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_btn_selector.xml | 21
Project/yl_sdk/src/game_ylgame/res/drawable/main_go_login.xml | 8
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_sure_bg_press.xml | 5
Project/yl_sdk/src/main/res/drawable/web_btn_close_icon.png | 0
Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java | 198 +
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_loading.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_7.xml | 16
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_reading.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi/main_ic_launcher.png | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CrashCatchUtil.java | 233 +
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_crossout.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_common_layout.xml | 108
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_normal.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/main_indentify.xml | 142
Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge_list.xml | 28
Project/yl_sdk/src/main/res/layout/jpush_popwin_layout.xml | 15
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel1.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_layout.xml | 95
Project/yl_sdk/src/game_ylgame/res/layout/main_pd.xml | 26
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_fillet_border_color_8.xml | 11
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_right_arrow.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_item_color_1.xml | 16
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_loading.xml | 5
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_normal.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_checkbox_selector.xml | 6
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_xs_loading2.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gamegift_dialog_line.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_yuan.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_unionpay.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item.xml | 130
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_2.xml | 16
Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_noquick.xml | 5
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_bg_color.xml | 7
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_quilogin_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_layout.xml | 130
Project/yl_sdk/src/game_ylgame/res/layout/ttw_alipay_pay.xml | 184 +
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_slash.png | 0
Project/yl_sdk/build.gradle | 90
ChannelDiff/Android/yilegame/libs/yl_sdk-game_ylgame-release.aar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_loading_img.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_more_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_btn_bg.png | 0
Project/yl_sdk/libs/iapppay_plugin.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mobliecard_select.png | 0
Project/yl_sdk/src/game_ylgame/res/values/styles.xml | 26
Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge.xml | 77
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/MainActivity.java | 210 +
Project/yl_sdk/src/game_ylgame/res/layout/ttw_tell_service.xml | 106
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_weixin.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_common_webview_layout.xml | 18
Project/yl_sdk/proguard-rules.pro | 114
Project/yl_sdk/src/game_ylgame/res/drawable-ldpi/main_ic_launcher.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_person_center.xml | 217 +
Project/yl_sdk/src/main/AndroidManifest.xml | 244 +
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/LogUtil.java | 114
Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_sucess.xml | 43
Project/yl_sdk/src/game_ylgame/res/layout/main_float_layout.xml | 167
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_4_1.xml | 16
Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_gamebg.jpg | 0
ChannelDiff/Android/yilegame/AndroidManifest.xml | 384 ++
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/WebViewUtil.java | 185 +
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_up.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_person_center_back.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_left.png | 0
Project/yl_sdk/libs/applog-release.aar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_scrollbar.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_bg.xml | 14
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_type_item.xml | 95
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_hover.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg.xml | 12
Project/yl_sdk/libs/android-support-v4.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_pressed.xml | 14
Project/yl_sdk/libs/aoyou_sdk1.0.jar | 0
Project/yl_sdk/libs/jcore-android-1.2.1.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_back_selector.xml | 7
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_ptb_normal.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_quilogin_bg.9.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_password.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg.png | 0
Project/yl_sdk/libs/xUtils-2.5.5.jar | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_common_alert_dialog.xml | 56
ChannelDiff/Android/yilegame/libs/applog-release.aar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_left.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_useraccount.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ttw_btn_selector.xml | 5
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_left_bg.9.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_shengpay.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_foot_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_order_mark.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_title_right_button_selector.xml | 5
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_bbs_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ttw_kefu.xml | 88
Project/yl_sdk/src/main/res/layout/jpush_webview_layout.xml | 59
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_tenpay.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_type_item.xml | 140
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java | 211 +
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_h.xml | 282 +
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_close.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_dialog_close.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_tyy.xml | 6
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cut_icon.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_service.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/main_register_dialog.xml | 158
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/StaticDefine.java | 18
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel.png | 0
Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java | 113
Project/yl_sdk/src/game_ylgame/res/layout/main_mobile_register.xml | 228 +
Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_login_layout.xml | 791 ++++
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_loading.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_reg.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_sina.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_open.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_right.png | 0
Project/yl_sdk/libs/bugly.jar | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_gift_bg.png | 0
Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list_item.xml | 23
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_update_button.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_phonecard.png | 0
Project/yl_sdk/src/main/res/values/colors.xml | 6
Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_wait.xml | 43
Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list_item.xml | 14
Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_account.xml | 73
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_djqnormol_btn.png | 0
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload1_bottom.png | 0
Project/yl_sdk/src/game_ylgame/res/values-v11/styles.xml | 11
Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_mark.png | 0
Project/yl_sdk/src/main/res/xml/file_paths.xml | 5
Project/yl_sdk/src/main/res/values/strings.xml | 3
Project/yl_sdk/src/main/res/values/styles.xml | 8
256 files changed, 10,404 insertions(+), 0 deletions(-)
diff --git a/ChannelDiff/Android/yilegame/AndroidManifest.xml b/ChannelDiff/Android/yilegame/AndroidManifest.xml
new file mode 100644
index 0000000..8bcb8a3
--- /dev/null
+++ b/ChannelDiff/Android/yilegame/AndroidManifest.xml
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.secondworld.univeralsdk"
+ android:installLocation="auto"
+ android:versionCode="1"
+ android:versionName="1.1.0" >
+
+ <uses-sdk
+ android:minSdkVersion="16"
+ android:targetSdkVersion="22" />
+
+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
+ <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.GET_TASKS" />
+ <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="android.permission.READ_LOGS" />
+ <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
+ <uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
+ <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
+ <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
+ <uses-permission android:name="android.permission.SYSTEM_OVERLAY_WINDOW" />
+
+ <!-- 鎺ユ敹鐭俊楠岃瘉鐮� -->
+ <uses-permission android:name="android.permission.RECEIVE_SMS" />
+
+ <permission
+ android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
+ android:protectionLevel="signature" /> <!-- Required -->
+ <permission android:name="com.android.yiru.menghtj.permission.JPUSH_MESSAGE" />
+
+ <uses-permission android:name="com.android.yiru.menghtj.permission.JPUSH_MESSAGE" />
+
+ <application
+ android:allowBackup="true"
+ android:hardwareAccelerated="false"
+ android:icon="@drawable/app_icon"
+ android:isGame="true"
+ android:label="@string/app_name"
+ android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen" >
+ <activity
+ android:name="com.secondworld.univeralsdk.MainActivity"
+ android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection"
+ android:label="@string/app_name"
+ android:launchMode="singleTask"
+ android:screenOrientation="sensorLandscape" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
+ </intent-filter>
+
+ <meta-data
+ android:name="unityplayer.UnityActivity"
+ android:value="true" />
+ <meta-data
+ android:name="unityplayer.SkipPermissionsDialog"
+ android:value="true" />
+ <meta-data
+ android:name="android.vendor.home_indicator"
+ android:value="hide" />
+ <meta-data
+ android:name="android.max_aspect"
+ android:value="1075419520.000000" />
+ <meta-data
+ android:name="com.samsung.android.keepalive.density"
+ android:value="true" />
+ </activity>
+
+ <!-- 閽堝7.0浠ヤ笂鐨刟pi寮�鏀剧殑鏂囦欢鏉冮檺 -->
+ <provider
+ android:name="android.support.v4.content.FileProvider"
+ android:authorities="com.android.yiru.menghtj.fileProvider"
+ android:exported="false"
+ android:grantUriPermissions="true" >
+ <meta-data
+ android:name="android.support.FILE_PROVIDER_PATHS"
+ android:resource="@xml/file_paths" />
+ </provider>
+
+ <!-- <meta-data -->
+ <!-- android:name="TrackAppID" -->
+ <!-- android:value="${TrackAppID}" /> -->
+ <!-- <meta-data -->
+ <!-- android:name="TrackChannelID" -->
+ <!-- android:value="${TrackChannelID}" /> -->
+ <activity
+ android:name="com.aoyou.sdk.ui.LoginActivity"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:launchMode="singleTask"
+ android:screenOrientation="sensor"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" >
+ </activity>
+
+ <!-- 蹇樿瀵嗙爜php椤甸潰 -->
+ <activity
+ android:name="com.aoyou.sdk.floatwindow.FloatWebActivity"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:screenOrientation="sensor"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" >
+ </activity>
+ <activity
+ android:name="com.aoyou.sdk.ui.ChargeActivity"
+ android:configChanges="orientation|keyboardHidden|screenSize|navigation"
+ android:launchMode="singleTask"
+ android:screenOrientation="sensor"
+ android:theme="@android:style/Theme.Light.NoTitleBar" />
+
+ <service android:name="com.aoyou.sdk.SDKAppService" >
+ <intent-filter android:priority="1000" >
+ <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" />
+ </intent-filter>
+ </service>
+
+ <activity
+ android:name="com.tencent.tauth.AuthActivity"
+ android:launchMode="singleTask"
+ android:noHistory="true" >
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+
+ <data android:scheme="tencent" />
+ </intent-filter>
+ </activity>
+ <activity
+ android:name="com.alipay.sdk.auth.AuthActivity"
+ android:configChanges="orientation|keyboardHidden|navigation|screenSize"
+ android:exported="false"
+ android:screenOrientation="behind" >
+ </activity>
+ <activity
+ android:name="com.tencent.connect.common.AssistActivity"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+
+ <!-- alipay sdk begin -->
+ <activity
+ android:name="com.alipay.sdk.app.H5PayActivity"
+ android:configChanges="orientation|keyboardHidden|navigation|screenSize"
+ android:exported="false"
+ android:screenOrientation="behind"
+ android:windowSoftInputMode="adjustResize|stateHidden" >
+ </activity>
+
+ <!-- 寰俊鐧诲綍鍥炶皟鐣岄潰 -->
+ <activity
+ android:name="com.aoyou.sdk.wxapi.WXEntryActivity"
+ android:exported="true"
+ android:label="@string/app_name" >
+ </activity>
+ <!-- 寰俊鏀粯鍥炶皟鐣岄潰 -->
+ <activity
+ android:name="com.aoyou.sdk.wxapi.WXPayEntryActivity"
+ android:exported="true"
+ android:launchMode="singleTop" />
+ <activity
+ android:name="com.aoyou.sdk.ui.PhoneBindingActivity"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:screenOrientation="portrait"
+ android:theme="@android:style/Theme.Dialog" >
+ </activity>
+
+ <meta-data
+ android:name="WANCMS_APPID"
+ android:value="2" />
+ <meta-data
+ android:name="WANCMS_GAMEID"
+ android:value="2" />
+ <meta-data
+ android:name="WANCMS_AGENT"
+ android:value="cps001" />
+ <meta-data
+ android:name="WANCMS_DEBUG"
+ android:value="1" />
+ <meta-data
+ android:name="WX_APP_ID"
+ android:value="" />
+ <meta-data
+ android:name="WX_APP_SECRET"
+ android:value="" />
+ <meta-data
+ android:name="TrackAppID"
+ android:value="ffae98b68ba32b45a6d5fbd1203b9ae1" />
+ <meta-data
+ android:name="TrackChannelID"
+ android:value="_default_" />
+
+ <!-- 浠婃棩澶存潯鐩稿叧閰嶇疆 -->
+ <meta-data
+ android:name="TouTiao_AppName"
+ android:value="menghuantianjiao" />
+ <meta-data
+ android:name="TouTiao_AppID"
+ android:value="155534" />
+ <meta-data
+ android:name="TouTiao_Chanel"
+ android:value="_default_" />
+
+ <!-- 浠ヤ笅涓轰笁鏂规敮浠橀〉闈� -->
+ <!-- 寰敮浠楽DK鐣岄潰 -->
+ <!-- 鏄剧ず缃戦〉鐣岄潰 -->
+ <activity
+ android:name="com.iapppay.sdk.main.WebActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+ <activity
+ android:name="com.iapppay.ui.activity.PersonCenterActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection" />
+
+ <!-- 鏀堕摱鍙�-鏅�� -->
+ <activity
+ android:name="com.iapppay.ui.activity.PayHubActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection" />
+
+ <!-- 閫夋嫨鍏呭�奸噾棰濈晫闈� -->
+ <activity
+ android:name="com.iapppay.ui.activity.SelectAmountActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:launchMode="singleTask" />
+ <activity
+ android:name="com.iapppay.ui.activity.ChargeActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:launchMode="singleTask" />
+ <!-- 娓告垙鍗″拰璇濊垂鍗$晫闈� -->
+ <activity
+ android:name="com.iapppay.ui.card.GamepayActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:launchMode="singleTask" />
+
+ <meta-data
+ android:name="android.max_aspect"
+ android:value="1075838976.000000" />
+ <meta-data
+ android:name="com.samsung.android.keepalive.density"
+ android:value="true" /> <!-- <meta-data -->
+ <!-- android:name="android.notch_support" -->
+ <!-- android:value="true" /> -->
+ <meta-data
+ android:name="notch.config"
+ android:value="none" />
+ <meta-data
+ android:name="android.vendor.full_screen"
+ android:value="true" /> <!-- 閽堝7.0浠ヤ笂鐨刟pi寮�鏀剧殑鏂囦欢鏉冮檺 -->
+ <!-- <provider -->
+ <!-- android:name="android.support.v4.content.FileProvider" -->
+ <!-- android:authorities="${appId}.fileProvider" -->
+ <!-- android:grantUriPermissions="true" -->
+ <!-- android:exported="false"> -->
+ <!-- <meta-data -->
+ <!-- android:name="android.support.FILE_PROVIDER_PATHS" -->
+ <!-- android:resource="@xml/file_paths" /> -->
+ <!-- </provider> -->
+ <!-- Required SDK 鏍稿績鍔熻兘 -->
+ <!-- 鍙厤缃產ndroid:process鍙傛暟灏哖ushService鏀惧湪鍏朵粬杩涚▼涓� -->
+ <service
+ android:name="cn.jpush.android.service.PushService"
+ android:exported="false"
+ android:process=":mult" >
+ <intent-filter>
+ <action android:name="cn.jpush.android.intent.REGISTER" />
+ <action android:name="cn.jpush.android.intent.REPORT" />
+ <action android:name="cn.jpush.android.intent.PushService" />
+ <action android:name="cn.jpush.android.intent.PUSH_TIME" />
+ </intent-filter>
+ </service> <!-- since 3.0.9 Required SDK 鏍稿績鍔熻兘 -->
+ <provider
+ android:name="cn.jpush.android.service.DataProvider"
+ android:authorities="com.android.yiru.menghtj.DataProvider"
+ android:exported="true" /> <!-- since 1.8.0 option 鍙�夐」銆傜敤浜庡悓涓�璁惧涓笉鍚屽簲鐢ㄧ殑JPush鏈嶅姟鐩镐簰鎷夎捣鐨勫姛鑳姐�� -->
+ <!-- 鑻ヤ笉鍚敤璇ュ姛鑳藉彲鍒犻櫎璇ョ粍浠讹紝灏嗕笉鎷夎捣鍏朵粬搴旂敤涔熶笉鑳借鍏朵粬搴旂敤鎷夎捣 -->
+ <service
+ android:name="cn.jpush.android.service.DaemonService"
+ android:enabled="true"
+ android:exported="true" >
+ <intent-filter>
+ <action android:name="cn.jpush.android.intent.DaemonService" />
+
+ <category android:name="com.android.yiru.menghtj" />
+ </intent-filter>
+ </service> <!-- since 3.1.0 Required SDK 鏍稿績鍔熻兘 -->
+ <provider
+ android:name="cn.jpush.android.service.DownloadProvider"
+ android:authorities="com.android.yiru.menghtj.DownloadProvider"
+ android:exported="true" /> <!-- Required SDK鏍稿績鍔熻兘 -->
+ <receiver
+ android:name="cn.jpush.android.service.PushReceiver"
+ android:enabled="true" >
+ <intent-filter android:priority="1000" >
+ <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" />
+
+ <category android:name="com.android.yiru.menghtj" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.USER_PRESENT" />
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
+ </intent-filter>
+ <!-- Optional -->
+ <intent-filter>
+ <action android:name="android.intent.action.PACKAGE_ADDED" />
+ <action android:name="android.intent.action.PACKAGE_REMOVED" />
+
+ <data android:scheme="package" />
+ </intent-filter>
+ </receiver> <!-- Required SDK鏍稿績鍔熻兘 -->
+ <activity
+ android:name="cn.jpush.android.ui.PushActivity"
+ android:configChanges="orientation|keyboardHidden"
+ android:exported="false"
+ android:theme="@android:style/Theme.NoTitleBar" >
+ <intent-filter>
+ <action android:name="cn.jpush.android.ui.PushActivity" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="com.android.yiru.menghtj" />
+ </intent-filter>
+ </activity> <!-- SDK鏍稿績鍔熻兘 -->
+ <activity
+ android:name="cn.jpush.android.ui.PopWinActivity"
+ android:configChanges="orientation|keyboardHidden"
+ android:exported="false"
+ android:theme="@style/MyDialogStyle" >
+ <intent-filter>
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="com.android.yiru.menghtj" />
+ </intent-filter>
+ </activity> <!-- Required SDK鏍稿績鍔熻兘 -->
+ <service
+ android:name="cn.jpush.android.service.DownloadService"
+ android:enabled="true"
+ android:exported="false" /> <!-- Required SDK鏍稿績鍔熻兘 -->
+ <receiver android:name="cn.jpush.android.service.AlarmReceiver" /> <!-- Required since 3.0.7 -->
+ <!-- 鏂扮殑tag/alias鎺ュ彛缁撴灉杩斿洖闇�瑕佸紑鍙戣�呴厤缃竴涓嚜瀹氱殑骞挎挱 -->
+ <!-- 璇ュ箍鎾渶瑕佺户鎵縅Push鎻愪緵鐨凧PushMessageReceiver绫�, 骞跺涓嬫柊澧炰竴涓� Intent-Filter -->
+ <!-- <receiver -->
+ <!-- android:name="鑷畾涔� Receiver" -->
+ <!-- android:enabled="true" > -->
+ <!-- <intent-filter> -->
+ <!-- <action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" /> -->
+ <!-- <category android:name="鎮ㄥ簲鐢ㄧ殑鍖呭悕" /> -->
+ <!-- </intent-filter> -->
+ <!-- </receiver> -->
+ <!-- <!– User defined. 鐢ㄦ埛鑷畾涔夌殑骞挎挱鎺ユ敹鍣�–> -->
+ <receiver
+ android:name="com.secondworld.univeralsdk.JPushReceiver"
+ android:enabled="true" >
+ <intent-filter>
+
+ <!-- Required 鐢ㄦ埛娉ㄥ唽SDK鐨刬ntent -->
+ <action android:name="cn.jpush.android.intent.REGISTRATION" />
+ <!-- Required 鐢ㄦ埛鎺ユ敹SDK娑堟伅鐨刬ntent -->
+ <action android:name="cn.jpush.android.intent.MESSAGE_RECEIVED" />
+ <!-- Required 鐢ㄦ埛鎺ユ敹SDK閫氱煡鏍忎俊鎭殑intent -->
+ <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED" />
+ <!-- 鎺ユ敹缃戠粶鍙樺寲 杩炴帴/鏂紑 since 1.6.3 -->
+ <action android:name="cn.jpush.android.intent.CONNECTION" />
+
+ <category android:name="com.android.yiru.menghtj" />
+ </intent-filter>
+ </receiver> <!-- Required. For publish channel feature -->
+ <!-- JPUSH_CHANNEL 鏄负浜嗘柟渚垮紑鍙戣�呯粺璁PK鍒嗗彂娓犻亾銆� -->
+ <!-- 渚嬪: -->
+ <!-- 鍙戝埌 Google Play 鐨凙PK鍙互璁剧疆涓� google-play; -->
+ <!-- 鍙戝埌鍏朵粬甯傚満鐨� APK 鍙互璁剧疆涓� xxx-market銆� -->
+ <meta-data
+ android:name="JPUSH_CHANNEL"
+ android:value="developer-default" /> <!-- Required. AppKey copied from Portal -->
+ <meta-data
+ android:name="JPUSH_APPKEY"
+ android:value="de9e26bb35598bd8c602e1d9" />
+ </application>
+
+</manifest>
\ No newline at end of file
diff --git a/ChannelDiff/Android/yilegame/libs/applog-release.aar b/ChannelDiff/Android/yilegame/libs/applog-release.aar
new file mode 100644
index 0000000..67c90d2
--- /dev/null
+++ b/ChannelDiff/Android/yilegame/libs/applog-release.aar
Binary files differ
diff --git a/ChannelDiff/Android/yilegame/libs/yl_sdk-game_ylgame-release.aar b/ChannelDiff/Android/yilegame/libs/yl_sdk-game_ylgame-release.aar
new file mode 100644
index 0000000..cd3e008
--- /dev/null
+++ b/ChannelDiff/Android/yilegame/libs/yl_sdk-game_ylgame-release.aar
Binary files differ
diff --git a/GradleDiff/yilegame/mainTemplate.gradle b/GradleDiff/yilegame/mainTemplate.gradle
new file mode 100644
index 0000000..a845dc5
--- /dev/null
+++ b/GradleDiff/yilegame/mainTemplate.gradle
@@ -0,0 +1,59 @@
+// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
+buildscript {
+ repositories {
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:2.1.0'
+ }
+}
+
+allprojects {
+ repositories {
+ flatDir {
+ dirs 'libs'
+ }
+ }
+}
+
+apply plugin: 'com.android.application'
+
+dependencies {
+ compile fileTree(dir: 'libs', include: ['*.jar'])
+**DEPS**}
+
+android {
+ compileSdkVersion **APIVERSION**
+ buildToolsVersion '**BUILDTOOLS**'
+
+ defaultConfig {
+ targetSdkVersion **TARGETSDKVERSION**
+ applicationId '**APPLICATIONID**'
+ ndk {
+ abiFilters **ABIFILTERS**
+ }
+ }
+
+ lintOptions {
+ abortOnError false
+ }
+
+ aaptOptions {
+ noCompress '.unity3d', '.ress', '.resource', '.obb'
+ }
+
+**SIGN**
+ buildTypes {
+ debug {
+ jniDebuggable true
+ }
+ release {
+ // Set minifyEnabled to true if you want to run ProGuard on your project
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt'
+ **SIGNCONFIG**
+ }
+ }
+
+}
diff --git a/Project/yl_sdk/.gitignore b/Project/yl_sdk/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/Project/yl_sdk/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/Project/yl_sdk/build.gradle b/Project/yl_sdk/build.gradle
new file mode 100644
index 0000000..fc422f8
--- /dev/null
+++ b/Project/yl_sdk/build.gradle
@@ -0,0 +1,90 @@
+apply plugin: 'com.android.library'
+
+android {
+
+ compileSdkVersion 26
+
+ defaultConfig {
+ //applicationId "com.secondworld.univeralsdk"
+ minSdkVersion 16
+ targetSdkVersion 22
+ versionCode 1
+ versionName "1.1.0"
+ }
+
+ buildTypes {
+ release {
+ //娣锋穯
+ minifyEnabled true
+ //瀵归綈
+ zipAlignEnabled true
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+
+ }
+ }
+
+ flavorDimensions "default"
+ productFlavors {
+ game_ylgame {
+ dimension "default"
+ manifestPlaceholders.put("appId", "com.android.yiru.menghtj")
+ manifestPlaceholders.put("JpushAppKey", "de9e26bb35598bd8c602e1d9")
+ manifestPlaceholders.put("TrackAppID", "ffae98b68ba32b45a6d5fbd1203b9ae1")
+ manifestPlaceholders.put("TrackChannelID", "_default_")
+
+ manifestPlaceholders.put("TT_AppName", "menghuantianjiao")
+ manifestPlaceholders.put("TT_AppID", "155534")
+ manifestPlaceholders.put("TT_Chanel", "_default_")
+
+ manifestPlaceholders.put("WANCMS_APPID", "2")
+ manifestPlaceholders.put("WANCMS_GAMEID", "2")
+ manifestPlaceholders.put("WANCMS_AGENT", "cps001")
+ manifestPlaceholders.put("WANCMS_DEBUG", "1")
+ manifestPlaceholders.put("WX_APP_ID", "")
+ manifestPlaceholders.put("WX_APP_SECRET", "")
+ }
+ }
+}
+
+repositories {
+ flatDir {
+ dirs 'libs'
+ }
+}
+
+dependencies {
+ implementation files('libs/jcore-android-1.2.1.jar')
+ implementation files('libs/jpush-android-3.1.3.jar')
+ implementation files('libs/gson.jar')
+ implementation files('libs/okhttp.jar')
+ implementation files('libs/okio.jar')
+ implementation files('libs/tracking1.3.0.jar')
+ compileOnly files('libs/unity-classes.jar')
+ implementation files('libs/bugly.jar')
+ implementation files('libs/buglyagent.jar')
+ // ----------------------------------------------------------
+ implementation files('libs/xUtils-2.5.5.jar')
+ implementation files('libs/open_sdk_r5785.jar')
+ implementation files('libs/mta-sdk-1.6.2.jar')
+ implementation files('libs/libammsdk.jar')
+ implementation files('libs/aoyou_sdk1.0.jar')
+ implementation files('libs/android-support-v4.jar')
+ implementation files('libs/iapppay_plugin.jar')
+ dependencies {
+ implementation(name: 'applog-release', ext: 'aar')
+ }
+}
+
+task autoCopy_ylgame_Manifest(type: Copy) {
+ dependsOn 'assembleGame_ylgameRelease'
+ from zipTree("build/outputs/aar/yl_sdk-game_ylgame-release.aar")
+ include "AndroidManifest.xml"
+ into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\yilegame\\"
+}
+
+task autoCopy_ylgame(type: Copy) {
+ dependsOn autoCopy_ylgame_Manifest
+ from "build/outputs/aar/"
+ include "yl_sdk-game_ylgame-release.aar"
+ into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\yilegame\\libs\\"
+}
diff --git a/Project/yl_sdk/libs/android-support-v4.jar b/Project/yl_sdk/libs/android-support-v4.jar
new file mode 100644
index 0000000..2ff47f4
--- /dev/null
+++ b/Project/yl_sdk/libs/android-support-v4.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/aoyou_sdk1.0.jar b/Project/yl_sdk/libs/aoyou_sdk1.0.jar
new file mode 100644
index 0000000..73973d0
--- /dev/null
+++ b/Project/yl_sdk/libs/aoyou_sdk1.0.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/applog-release.aar b/Project/yl_sdk/libs/applog-release.aar
new file mode 100644
index 0000000..1988ed0
--- /dev/null
+++ b/Project/yl_sdk/libs/applog-release.aar
Binary files differ
diff --git a/Project/yl_sdk/libs/bugly.jar b/Project/yl_sdk/libs/bugly.jar
new file mode 100644
index 0000000..618cff3
--- /dev/null
+++ b/Project/yl_sdk/libs/bugly.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/buglyagent.jar b/Project/yl_sdk/libs/buglyagent.jar
new file mode 100644
index 0000000..b3d5fcf
--- /dev/null
+++ b/Project/yl_sdk/libs/buglyagent.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/gson.jar b/Project/yl_sdk/libs/gson.jar
new file mode 100644
index 0000000..8e8ed7e
--- /dev/null
+++ b/Project/yl_sdk/libs/gson.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/iapppay_plugin.jar b/Project/yl_sdk/libs/iapppay_plugin.jar
new file mode 100644
index 0000000..c6043cf
--- /dev/null
+++ b/Project/yl_sdk/libs/iapppay_plugin.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/jcore-android-1.2.1.jar b/Project/yl_sdk/libs/jcore-android-1.2.1.jar
new file mode 100644
index 0000000..9cb8439
--- /dev/null
+++ b/Project/yl_sdk/libs/jcore-android-1.2.1.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/jpush-android-3.1.3.jar b/Project/yl_sdk/libs/jpush-android-3.1.3.jar
new file mode 100644
index 0000000..ed4e115
--- /dev/null
+++ b/Project/yl_sdk/libs/jpush-android-3.1.3.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/libammsdk.jar b/Project/yl_sdk/libs/libammsdk.jar
new file mode 100644
index 0000000..7d6300f
--- /dev/null
+++ b/Project/yl_sdk/libs/libammsdk.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/mta-sdk-1.6.2.jar b/Project/yl_sdk/libs/mta-sdk-1.6.2.jar
new file mode 100644
index 0000000..49b7787
--- /dev/null
+++ b/Project/yl_sdk/libs/mta-sdk-1.6.2.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/okhttp.jar b/Project/yl_sdk/libs/okhttp.jar
new file mode 100644
index 0000000..3ffd56a
--- /dev/null
+++ b/Project/yl_sdk/libs/okhttp.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/okio.jar b/Project/yl_sdk/libs/okio.jar
new file mode 100644
index 0000000..b99378b
--- /dev/null
+++ b/Project/yl_sdk/libs/okio.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/open_sdk_r5785.jar b/Project/yl_sdk/libs/open_sdk_r5785.jar
new file mode 100644
index 0000000..fd4626e
--- /dev/null
+++ b/Project/yl_sdk/libs/open_sdk_r5785.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/tracking1.3.0.jar b/Project/yl_sdk/libs/tracking1.3.0.jar
new file mode 100644
index 0000000..612fcd5
--- /dev/null
+++ b/Project/yl_sdk/libs/tracking1.3.0.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/unity-classes.jar b/Project/yl_sdk/libs/unity-classes.jar
new file mode 100644
index 0000000..3c32bf7
--- /dev/null
+++ b/Project/yl_sdk/libs/unity-classes.jar
Binary files differ
diff --git a/Project/yl_sdk/libs/xUtils-2.5.5.jar b/Project/yl_sdk/libs/xUtils-2.5.5.jar
new file mode 100644
index 0000000..3cdf65b
--- /dev/null
+++ b/Project/yl_sdk/libs/xUtils-2.5.5.jar
Binary files differ
diff --git a/Project/yl_sdk/proguard-rules.pro b/Project/yl_sdk/proguard-rules.pro
new file mode 100644
index 0000000..d95c767
--- /dev/null
+++ b/Project/yl_sdk/proguard-rules.pro
@@ -0,0 +1,114 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
+-dontoptimize
+-dontpreverify
+
+-dontwarn okio.**
+-keep class okio.** { *;}
+-dontwarn com.squareup.okhttp.**
+-keep class com.squareup.okhttp.** { *;}
+-dontwarn cn.jpush.**
+-keep class cn.jpush.** { *; }
+-keep class * extends cn.jpush.android.helpers.JPushMessageReceiver { *; }
+-dontwarn cn.jiguang.**
+-keep class cn.jiguang.** { *; }
+-dontwarn cn.jiguang.android.service.**
+-keep class cn.jiguang.android.service.** { *;}
+-dontwarn com.google.gson.**
+-keep class com.google.gson.** { *;}
+-dontwarn com.tencent.bugly.**
+-keep class com.tencent.bugly.** { *;}
+-dontwarn android.support.**
+-keep class android.support.** { *;}
+-dontwarn android.support.v7.**
+-keep class android.support.v7.** { *;}
+-dontwarn com.reyun.tracking.**
+-keep class com.reyun.tracking.** { *;}
+-dontwarn com.ss.**
+-keep class com.ss.tracking.** { *;}
+-dontwarn com.bytedance.**
+-keep class com.bytedance.** { *;}
+
+-dontwarn com.secondworld.univeralsdk.**
+-keep class com.secondworld.univeralsdk.** { *;}
+
+-dontwarn com.ttw.encrypt.**
+-keep class com.ttw.encrypt.** { *;}
+
+-dontwarn com.android.internal.telephony.**
+-keep class com.android.internal.telephony.** { *;}
+-dontwarn com.snda.**
+-keep class com.snda.** { *;}
+
+-dontwarn com.payeco.android.plugin.**
+-keep class com.payeco.android.plugin.** { *;}
+-dontwarn com.apache.http.entity.mime.**
+-keep class com.apache.http.entity.mime.** { *;}
+
+-dontwarn com.tencent.**
+-keep class com.tencent.** { *;}
+
+-dontwarn com.shengpay.express.smc.**
+-keep class com.shengpay.express.smc.** { *;}
+
+-dontwarn org.apache.commons.lang.**
+-keep class org.apache.commons.lang.** { *;}
+
+-dontwarn org.apache.commons.codec.**
+-keep class org.apache.commons.codec.** { *;}
+
+-dontwarn org.aoyou.sdk.**
+-keep class org.aoyou.sdk.** { *;}
+
+-dontwarn org.json.alipay.**
+-keep class org.json.alipay.** { *;}
+
+-dontwarn com.sina.**
+-keep class com.sina.** { *;}
+
+-dontwarn com.lidroid.xutils.**
+-keep class com.lidroid.xutils.** { *;}
+
+-dontwarn com.alipay.**
+-keep class com.alipay.** { *;}
+-dontwarn com.ta.utdid2.**
+-keep class com.ta.utdid2.** { *;}
+-dontwarn com.ut.device.**
+-keep class com.ut.device.** { *;}
+-dontwarn com.iapppay.**
+-keep class com.iapppay.** { *;}
+
+-dontwarn android.net.**
+-keep class android.net.SSLCertificateSocketFactory {*;}
+
+#-libraryjars libs/alipaySdk-20180403.jar
+#-libraryjars libs/aoyou_sdk1.0.jar
+#-libraryjars libs/commons-codec-1.6.jar
+#-libraryjars libs/commons-lang.jar
+#-libraryjars libs/express-smc-hybrid_V1.0.4.jar
+#-libraryjars libs/libammsdk.jar
+#-libraryjars libs/mta-sdk-1.6.2.jar
+#-libraryjars libs/open_sdk_r5785.jar
+#-libraryjars libs/PRODUCT_complete_snda-woaandroid-2.5.1.1-18962.jar
+#-libraryjars libs/ttw_security-1.1.jar
+#-libraryjars libs/weibosdkcore_release.jar
+#-libraryjars libs/xUtils-2.5.5.jar
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/AndroidManifest.xml b/Project/yl_sdk/src/game_ylgame/AndroidManifest.xml
new file mode 100644
index 0000000..697a456
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/AndroidManifest.xml
@@ -0,0 +1,230 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.secondworld.univeralsdk"
+ android:installLocation="auto"
+ android:versionCode="1"
+ android:versionName="1.1.0">
+
+ <uses-sdk
+ android:minSdkVersion="16"
+ android:targetSdkVersion="22" />
+
+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
+ <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.GET_TASKS" />
+ <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="android.permission.READ_LOGS" />
+ <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
+ <uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
+ <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
+ <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
+ <uses-permission android:name="android.permission.SYSTEM_OVERLAY_WINDOW" />
+ <application
+ android:allowBackup="true"
+ android:icon="@drawable/app_icon"
+ android:hardwareAccelerated="false"
+ android:isGame="true"
+ android:label="@string/app_name"
+ android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen">
+ <activity
+ android:name="com.secondworld.univeralsdk.MainActivity"
+ android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection"
+ android:label="@string/app_name"
+ android:launchMode="singleTask"
+ android:screenOrientation="sensorLandscape">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
+ </intent-filter>
+
+ <meta-data
+ android:name="unityplayer.UnityActivity"
+ android:value="true" />
+ <meta-data
+ android:name="unityplayer.SkipPermissionsDialog"
+ android:value="true" />
+ </activity>
+
+ <!-- 閽堝7.0浠ヤ笂鐨刟pi寮�鏀剧殑鏂囦欢鏉冮檺 -->
+ <provider
+ android:name="android.support.v4.content.FileProvider"
+ android:authorities="${appId}.fileProvider"
+ android:grantUriPermissions="true"
+ android:exported="false">
+ <meta-data
+ android:name="android.support.FILE_PROVIDER_PATHS"
+ android:resource="@xml/file_paths" />
+ </provider>
+
+ <!--<meta-data-->
+ <!--android:name="TrackAppID"-->
+ <!--android:value="${TrackAppID}" />-->
+ <!--<meta-data-->
+ <!--android:name="TrackChannelID"-->
+ <!--android:value="${TrackChannelID}" />-->
+ <activity
+ android:name="com.aoyou.sdk.ui.LoginActivity"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
+ android:launchMode="singleTask"
+ android:screenOrientation="sensor"
+ android:configChanges="orientation|keyboardHidden|screenSize">
+ </activity>
+
+ <!-- 蹇樿瀵嗙爜php椤甸潰 -->
+ <activity
+ android:name="com.aoyou.sdk.floatwindow.FloatWebActivity"
+ android:screenOrientation="sensor"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
+ android:configChanges="orientation|keyboardHidden|screenSize">
+ </activity>
+
+ <activity
+ android:name="com.aoyou.sdk.ui.ChargeActivity"
+ android:theme="@android:style/Theme.Light.NoTitleBar"
+ android:screenOrientation="sensor"
+ android:launchMode="singleTask"
+ android:configChanges="orientation|keyboardHidden|screenSize|navigation"
+ />
+
+ <service android:name="com.aoyou.sdk.SDKAppService">
+ <intent-filter android:priority="1000">
+ <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" />
+ </intent-filter>
+ </service>
+ <activity
+ android:name="com.tencent.tauth.AuthActivity"
+ android:noHistory="true"
+ android:launchMode="singleTask" >
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <data android:scheme="tencent"/>
+ </intent-filter>
+ </activity>
+ <activity
+ android:name="com.alipay.sdk.auth.AuthActivity"
+ android:configChanges="orientation|keyboardHidden|navigation|screenSize"
+ android:exported="false"
+ android:screenOrientation="behind" >
+ </activity>
+ <activity
+ android:name="com.tencent.connect.common.AssistActivity"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ />
+
+ <!-- alipay sdk begin -->
+ <activity
+ android:name="com.alipay.sdk.app.H5PayActivity"
+ android:configChanges="orientation|keyboardHidden|navigation|screenSize"
+ android:exported="false"
+ android:screenOrientation="behind"
+ android:windowSoftInputMode="adjustResize|stateHidden" >
+ </activity>
+
+
+ <!--寰俊鐧诲綍鍥炶皟鐣岄潰-->
+ <activity
+ android:name="com.aoyou.sdk.wxapi.WXEntryActivity"
+ android:label="@string/app_name"
+ android:exported="true">
+ </activity>
+ <!--寰俊鏀粯鍥炶皟鐣岄潰-->
+ <activity
+ android:name="com.aoyou.sdk.wxapi.WXPayEntryActivity"
+ android:exported="true"
+ android:launchMode="singleTop" />
+
+ <activity
+ android:name="com.aoyou.sdk.ui.PhoneBindingActivity"
+
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:theme="@android:style/Theme.Dialog"
+ android:screenOrientation="portrait">
+ </activity>
+ <meta-data
+ android:name="WANCMS_APPID"
+ android:value="${WANCMS_APPID}" />
+ <meta-data
+ android:name="WANCMS_GAMEID"
+ android:value="${WANCMS_GAMEID}" />
+ <meta-data
+ android:name="WANCMS_AGENT"
+ android:value="${WANCMS_AGENT}" />
+ <meta-data
+ android:name="WANCMS_DEBUG"
+ android:value="${WANCMS_DEBUG}" />
+ <meta-data
+ android:name="WX_APP_ID"
+ android:value="${WX_APP_ID}" />
+ <meta-data
+ android:name="WX_APP_SECRET"
+ android:value="${WX_APP_SECRET}" />
+
+ <meta-data
+ android:name="TrackAppID"
+ android:value="${TrackAppID}" />
+ <meta-data
+ android:name="TrackChannelID"
+ android:value="${TrackChannelID}" />
+
+ <!-- 浠婃棩澶存潯鐩稿叧閰嶇疆 -->
+ <meta-data
+ android:name="TouTiao_AppName"
+ android:value="${TT_AppName}" />
+ <meta-data
+ android:name="TouTiao_AppID"
+ android:value="${TT_AppID}" />
+ <meta-data
+ android:name="TouTiao_Chanel"
+ android:value="${TT_Chanel}" />
+
+ <!-- 浠ヤ笅涓轰笁鏂规敮浠橀〉闈� -->
+ <!-- 寰敮浠楽DK鐣岄潰 -->
+ <!-- 鏄剧ず缃戦〉鐣岄潰 -->
+ <activity
+ android:name="com.iapppay.sdk.main.WebActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+ <activity
+ android:name="com.iapppay.ui.activity.PersonCenterActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection" />
+
+ <!-- 鏀堕摱鍙�-鏅�� -->
+ <activity
+ android:name="com.iapppay.ui.activity.PayHubActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection" />
+
+ <!-- 閫夋嫨鍏呭�奸噾棰濈晫闈� -->
+ <activity
+ android:name="com.iapppay.ui.activity.SelectAmountActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:launchMode="singleTask" />
+ <activity
+ android:name="com.iapppay.ui.activity.ChargeActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:launchMode="singleTask" />
+ <!-- 娓告垙鍗″拰璇濊垂鍗$晫闈� -->
+ <activity
+ android:name="com.iapppay.ui.card.GamepayActivity"
+ android:configChanges="screenSize|orientation|keyboard|navigation|layoutDirection"
+ android:launchMode="singleTask" />
+
+ </application>
+
+ <!-- 鎺ユ敹鐭俊楠岃瘉鐮� -->
+ <uses-permission android:name="android.permission.RECEIVE_SMS" />
+
+</manifest>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/H2EngineSDK.java b/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/H2EngineSDK.java
new file mode 100644
index 0000000..7e09ea4
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/H2EngineSDK.java
@@ -0,0 +1,483 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+import android.app.AlertDialog;
+import android.content.ClipData;
+import android.content.ClipboardManager;
+import android.content.Context;
+import android.content.DialogInterface;
+import android.content.Intent;
+import android.content.pm.PackageManager;
+import android.content.res.Configuration;
+import android.net.Uri;
+import android.os.Bundle;
+import android.os.Environment;
+import android.provider.Settings;
+import android.widget.Toast;
+
+import com.aoyou.sdk.SDKManager;
+import com.aoyou.sdk.domain.LogoutErrorMsg;
+import com.aoyou.sdk.domain.LogoutcallBack;
+import com.aoyou.sdk.domain.OnLogoutListener;
+import com.reyun.tracking.sdk.Tracking;
+import com.ss.android.common.applog.TeaAgent;
+import com.ss.android.common.applog.TeaConfigBuilder;
+import com.ss.android.common.lib.EventUtils;
+import com.unity3d.player.UnityPlayer;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import java.io.File;
+import java.util.HashMap;
+import java.util.Map;
+
+import cn.jpush.android.api.JPushInterface;
+import cn.jpush.android.data.JPushLocalNotification;
+
+public class H2EngineSDK
+{
+ private static final String TAG = "com.secondworld.univeralsdk.H2EngineSDK";
+ private static String APP_ID = "";
+
+ private static boolean PushEnable = true;
+
+ public static void HandleUnityMessage(String json)
+ {
+ LogUtil.i(TAG, "鏀跺埌Unity鍙戞潵鐨勪俊鎭�: " + json);
+ Activity _activity = UnityPlayer.currentActivity;
+ try
+ {
+ JSONObject _json = new JSONObject(json);
+
+ int _code = _json.getInt("code");
+
+ switch (_code)
+ {
+ case CodeU2A.Init:
+ APP_ID = _json.getString("appID");
+ init(_activity);
+ break;
+ case CodeU2A.AssetCopy:
+ FileUtil.copyAssets(_activity);
+ break;
+ case CodeU2A.CopyOneAsset:
+ FileUtil.copy(_activity, _json.getString("fileName"));
+ break;
+ case CodeU2A.BatteryListenStart:
+ BatteryUtil.getInstance().start(_activity);
+ break;
+ case CodeU2A.BatteryListenStop:
+ BatteryUtil.getInstance().stop(_activity);
+ break;
+ case CodeU2A.UniqueID:
+ break;
+ case CodeU2A.CopyContent:
+ CopyContent(_activity, _json.getString("content"));
+ break;
+ case CodeU2A.OpenWebView:
+ WebViewUtil.OpenWebView(_activity, _json.getString("url"));
+ break;
+ case CodeU2A.RestartApp:
+ RestartApp(_activity);
+ break;
+ case CodeU2A.InstallAPK:
+ InstallApp(_activity, _json.getString("path"));
+ break;
+ case CodeU2A.ExteneralStorage:
+ GetExternalStorage();
+ break;
+ case CodeU2A.RequestPermission:
+ break;
+ case CodeU2A.RequestManifestPermissions:
+ break;
+ case CodeU2A.FreePlatformInit:
+ YLPlatformUtil.getInstance().init(_activity);
+ break;
+ case CodeU2A.FreePlatformLogin:
+ YLPlatformUtil.getInstance().login(_activity);
+ break;
+ case CodeU2A.FreePlatformSwitchAccount:
+ break;
+ case CodeU2A.FreePlatformLogout:
+// YLPlatformUtil.getInstance().logout(_activity);
+ break;
+ case CodeU2A.FreePlatformPay:
+ JSONObject _extraData = new JSONObject();
+ _extraData.put("appid", APP_ID);
+ _extraData.put("cpinfo", _json.getString("cpInfo"));
+ _extraData.put("cporderid", _json.getString("orderId"));
+
+ YLPlatformUtil.getInstance().pay(_activity,
+ _json.getString("title"),
+ _json.getString("mount"),
+ _json.getString("roleID"),
+// _extraData.toString(),
+ "",
+ _json.getString("sid"));
+
+ YLPlatformUtil.getInstance().payProcessing = true;
+ break;
+ case CodeU2A.PayFinished:
+ Tracking.setPayment(_json.getString("orderID"),
+ _json.getString("payType"),
+ _json.getString("moneyType"),
+ (float) _json.getDouble("money"));
+
+ int _money = (int) (_json.getDouble("money"));
+
+ EventUtils.setPurchase("",
+ "",
+ "",
+ 1,
+ _json.getString("payType"),
+ _json.getString("moneyType"),
+ true,
+ _money);
+
+ YLPlatformUtil.getInstance().payProcessing = false;
+ break;
+ case CodeU2A.CreateRole:
+ break;
+ case CodeU2A.RoleLogin:
+ YLPlatformUtil.getInstance().enterWorld(_activity,
+ _json.getString("roleID"),
+ _json.getString(
+ "roleName").trim().replace(" ",
+ ""),
+ _json.getString("level"),
+ _json.getString("sid"),
+ _json.getString("serverName"),null);
+ break;
+ case CodeU2A.ClientPackage:
+ // 鍒濆鍖栫儹浜�
+ Tracking.initWithKeyAndChannelId(_activity,
+ UniversalUtil.getMetaString(_activity,
+ "TrackAppID"),
+ _json.getString("clientPkgID"));
+ break;
+ case CodeU2A.JPushAddLocalMessage:
+ addLocalNotification(_activity,
+ _json.getInt("id"),
+ _json.getString("title"),
+ _json.getString("content"),
+ _json.getLong("fireTime"));
+ break;
+ case CodeU2A.JPushRemoveLocalMessage:
+ removeNotification(_activity, _json.getInt("id"));
+ break;
+ }
+
+ } catch (JSONException e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ // 鏈湴鎺ㄩ��
+ public static void addLocalNotification(Activity activity, int id, String title, String content,
+ long fireTime)
+ {
+ if (PushEnable)
+ {
+ try
+ {
+ JPushLocalNotification ln = new JPushLocalNotification();
+ ln.setBuilderId(0);// 璁剧疆鏍峰紡
+ ln.setNotificationId(id);// id
+ ln.setTitle(title);// 鏍囬
+
+ ln.setContent(content);// 鍐呭
+ ln.setBroadcastTime(fireTime);// 绛夊緟鏃堕棿
+ JPushInterface.addLocalNotification(activity, ln);
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ }
+ }
+
+ public static void removeNotification(Activity activity, int id)
+ {
+ if (PushEnable)
+ {
+ JPushInterface.removeLocalNotification(activity, id);
+ }
+ }
+
+ public static void GetExternalStorage()
+ {
+ Map<String, Object> _msg = new HashMap<>();
+ _msg.put("code", CodeA2U.ExternalStorage);
+ _msg.put("path", Environment.getExternalStorageDirectory().getAbsolutePath());
+ UniversalUtil.sendMessageToUnity(_msg);
+ }
+
+ public static void InstallApp(Activity activity, String path)
+ {
+ File _file = new File(path);
+
+ if (_file == null)
+ {
+ LogUtil.i(TAG, "鎵句笉鍒扮粰瀹氬湴鍧�鐨刟pk: " + path);
+ return;
+ }
+
+ try
+ {
+ Intent _intent = new Intent(Intent.ACTION_VIEW);
+
+// if (Build.VERSION.SDK_INT >= 23)
+// {
+// _intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
+// Uri _contentUri = FileProvider.getUriForFile(activity,
+// "com.shandangceshi.snxxz.fileProvider",
+// _file);
+// _intent.setDataAndType(_contentUri, "application/vnd.android.package-archive");
+//
+// }
+// else
+// {
+ _intent.setDataAndType(Uri.fromFile(_file),
+ "application/vnd.android.package-archive");
+ _intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+
+// }
+
+ activity.startActivity(_intent);
+
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ Toast.makeText(activity, "娌℃湁鎵惧埌鎵撳紑姝ょ被鏂囦欢鐨勭▼搴�", Toast.LENGTH_SHORT).show();
+ }
+ }
+
+ public static void CopyContent(final Activity activity, final String content)
+ {
+ activity.runOnUiThread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+ ClipboardManager _mgr = (ClipboardManager) activity.getSystemService(
+ Context.CLIPBOARD_SERVICE);
+ ClipData _data = ClipData.newPlainText("playerId", content);
+ _mgr.setPrimaryClip(_data);
+ }
+ });
+ }
+
+ public static void RestartApp(final Activity activity)
+ {
+ activity.runOnUiThread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+ new Thread()
+ {
+ public void run()
+ {
+ String _pn = activity.getPackageName();
+ PackageManager _pm = activity.getPackageManager();
+ Intent _l = _pm.getLaunchIntentForPackage(_pn);
+ _l.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
+ activity.startActivity(_l);
+ android.os.Process.killProcess(android.os.Process.myPid());
+ }
+ }.start();
+ activity.finish();
+ }
+ });
+ }
+
+ public static void init(final Activity activity)
+ {
+ final int _memoryTotal = (int) (UniversalUtil.getMemTotal() / 1024);
+ if (_memoryTotal < 1024)
+ {
+ LogUtil.i(TAG, "妫�娴嬭澶囧唴瀛樹笉婊¤冻杩愯绋嬪簭鏍囧噯");
+ AlertDialog.Builder _builder = new AlertDialog.Builder(activity);
+ _builder.setIcon(R.drawable.app_icon);
+ _builder.setTitle("璀﹀憡");
+ _builder.setMessage("鎮ㄧ殑鎵嬫満鍐呭瓨涓嶈冻,鏃犳硶姝e父杩愯娓告垙");
+ _builder.setPositiveButton("纭畾", new DialogInterface.OnClickListener()
+ {
+ @Override
+ public void onClick(DialogInterface dialogInterface, int i)
+ {
+ android.os.Process.killProcess(android.os.Process.myPid());
+ }
+ });
+ _builder.show();
+ return;
+ }
+
+ PushEnable = activity.getPackageName().equals("com.android.yiru.menghtj");
+
+ new Thread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+ LogUtil.i(TAG, "寮�濮嬫墽琛屽垵濮嬪寲");
+
+ GetExternalStorage();
+
+ // ------------------------------- 璁惧淇℃伅 -------------------------------
+ Map<String, Object> _msgStruct = new HashMap<>();
+ _msgStruct.put("code", CodeA2U.DeviceInfo);
+ _msgStruct.put("userAgent", System.getProperty("http.agent"));
+ _msgStruct.put("mac", UniqueID.getLocalMac(activity));
+ _msgStruct.put("imei", UniqueID.getDeviceId(activity));
+ _msgStruct.put("android_id",
+ Settings.System.getString(activity.getContentResolver(),
+ Settings.System.ANDROID_ID));
+ _msgStruct.put("unique_id", UniqueID.get(activity));
+ _msgStruct.put("memoryTotal", _memoryTotal);
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+
+ // ------------------------------- 鏋佸厜鎺ㄩ�� -------------------------------
+ String _registrationID = "0";
+ if (PushEnable)
+ {
+ JPushInterface.setDebugMode(true);
+ JPushInterface.init(activity);
+
+ final long _waitingTime = System.currentTimeMillis();
+
+ while (true)
+ {
+ // 绛夊緟鑾峰彇鏋佸厜registrationID
+ if (!JPushInterface.getRegistrationID(activity).equals(""))
+ {
+ _registrationID = JPushInterface.getRegistrationID(activity);
+ break;
+ }
+
+ long _escapeTime = System.currentTimeMillis() - _waitingTime;
+
+ if (_escapeTime > 3000)
+ {
+ LogUtil.w(TAG, "绛夊緟鑾峰彇鏋佸厜鎺ㄩ�乺egistrationID瓒呮椂: 3绉�");
+ break;
+ }
+ }
+ }
+ _msgStruct.clear();
+ _msgStruct.put("code", CodeA2U.PushClientID);
+ _msgStruct.put("clientID", _registrationID);
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+
+ _msgStruct.clear();
+ _msgStruct.put("code", CodeA2U.SdkInitComplete);
+ _msgStruct.put("channelPlatform", "mr");
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+
+ LogUtil.i(TAG, "鍒濆鍖栨墽琛屽畬姣�");
+ }
+
+ }).start();
+ }
+
+ public static void onCreate(Activity activity, Bundle savedInstanceState)
+ {
+ // ------------------------------- 鐚�砈DK -------------------------------
+ YLPlatformUtil.getInstance().init(activity);
+
+ TeaAgent.init(TeaConfigBuilder.create(activity)
+ .setAppName(UniversalUtil.getMetaString(activity,
+ "TouTiao_AppName"))
+ .setChannel(UniversalUtil.getMetaString(activity,
+ "TouTiao_Chanel"))
+ .setAid(UniversalUtil.getMetaInt(activity, "TouTiao_AppID"))
+ .createTeaConfig());
+
+ TeaAgent.setDebug(true);
+ }
+
+ private static boolean m_IsFocus = true;
+
+ public static void onWindowFocusChanged(boolean b)
+ {
+ if (YLPlatformUtil.getInstance().payProcessing)
+ {
+ if (b)
+ {
+ Map<String, Object> _msgStruct = new HashMap<>();
+ _msgStruct.put("code", CodeA2U.FreePlatformPayCancel);
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+ YLPlatformUtil.getInstance().payProcessing = false;
+ }
+ }
+ }
+
+ public static void onNewIntent(final Activity activity, final Intent intent)
+ {
+ }
+
+ public static void onActivityResult(int requestCode,
+ int resultCode,
+ final Intent data,
+ final Activity activity)
+ {
+ }
+
+ public static void onConfigurationChanged(final Configuration newConfig) {}
+
+ public static void onRestart(final Activity activity)
+ {
+ }
+
+ public static void onStart(final Activity activity)
+ {
+ }
+
+ public static void onPause(final Activity activity)
+ {
+ TeaAgent.onPause(activity);
+ }
+
+ public static void onResume(final Activity activity)
+ {
+ SDKManager.getInstance(activity).showFloatView(new OnLogoutListener()
+ {
+ @Override
+ public void logoutSuccess(LogoutcallBack logoutcallBack)
+ {
+ Map<String, Object> m_Message = new HashMap<>();
+ m_Message.put("code", CodeA2U.FreePlatformLogoutOk);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ }
+
+ @Override
+ public void logoutError(LogoutErrorMsg logoutErrorMsg)
+ {
+ Map<String, Object> m_Message = new HashMap<>();
+ m_Message.put("code", CodeA2U.FreePlatformLogoutFail);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ }
+ });
+
+ if (YLPlatformUtil.getInstance().payProcessing)
+ {
+ Map<String, Object> _msgStruct = new HashMap<>();
+ _msgStruct.put("code", CodeA2U.FreePlatformPayCancel);
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+ YLPlatformUtil.getInstance().payProcessing = false;
+ }
+
+ TeaAgent.onResume(activity);
+ }
+
+ public static void onStop(final Activity activity)
+ {
+ SDKManager.getInstance(activity).removeFloatView();
+ }
+
+ public static void onDestroy(final Activity activity)
+ {
+ Tracking.exitSdk();
+ }
+}
diff --git a/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java b/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java
new file mode 100644
index 0000000..c9dc28a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java
@@ -0,0 +1,198 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+
+import com.aoyou.sdk.SDKManager;
+import com.aoyou.sdk.domain.LoginErrorMsg;
+import com.aoyou.sdk.domain.LogincallBack;
+import com.aoyou.sdk.domain.OnLoginListener;
+import com.aoyou.sdk.domain.OnPaymentListener;
+import com.aoyou.sdk.domain.PaymentCallbackInfo;
+import com.aoyou.sdk.domain.PaymentErrorMsg;
+import com.reyun.tracking.sdk.Tracking;
+import com.squareup.okhttp.Callback;
+import com.squareup.okhttp.OkHttpClient;
+import com.squareup.okhttp.Request;
+import com.squareup.okhttp.Response;
+import com.ss.android.common.lib.EventUtils;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Created by Administrator on 2018/9/3 0003.
+ */
+
+public class YLPlatformUtil
+{
+ private static final String TAG = "com.secondworld.univeralsdk.YLPlatformUtil";
+
+ private boolean m_Init = false;
+
+ private static YLPlatformUtil s_Instance;
+
+ public static YLPlatformUtil getInstance()
+ {
+ if (s_Instance == null)
+ {
+ s_Instance = new YLPlatformUtil();
+ }
+ return s_Instance;
+ }
+
+ public boolean payProcessing = false;
+
+ private Map<String, Object> m_Message = new HashMap<>();
+
+ public void init(final Activity activity)
+ {
+ if (m_Init)
+ {
+ return;
+ }
+
+ SDKManager.getInstance(activity);
+ }
+ private String m_AccountID;
+
+ public void login(Activity activity)
+ {
+ SDKManager.getInstance(activity).showLogin(activity, true, new OnLoginListener()
+ {
+ @Override
+ public void loginSuccess(LogincallBack logincallBack)
+ {
+ try
+ {
+ m_Message.clear();
+
+ m_AccountID = logincallBack.username;
+
+ JSONObject _info = new JSONObject();
+ _info.put("account", m_AccountID);
+ _info.put("token", logincallBack.sign);
+ _info.put("account_id", logincallBack.username);
+ _info.put("token_expire",logincallBack.logintime);
+ m_Message.put("code", CodeA2U.FreePlatformLoginOk);
+ m_Message.put("info", _info);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ } catch (JSONException e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ @Override
+ public void loginError(LoginErrorMsg loginErrorMsg)
+ {
+ m_Message.clear();
+ m_Message.put("code", CodeA2U.FreePlatformLoginFail);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ }
+ });
+ }
+
+ // public void logout(final Activity activity) { }
+
+ public void pay(final Activity activity,
+ String productName,
+ String money,
+ String roleID,
+ String extraData,
+ String serverID)
+ {
+ SDKManager.getInstance(activity).showPay(activity,
+ roleID,
+ money,
+ serverID,
+ productName,
+ productName,
+ extraData,
+ new OnPaymentListener()
+ {
+ @Override
+ public void paymentSuccess(
+ PaymentCallbackInfo paymentCallbackInfo)
+ {
+ m_Message.clear();
+ m_Message.put("code",
+ CodeA2U.FreePlatformPayOk);
+ UniversalUtil.sendMessageToUnity(
+ m_Message);
+ payProcessing = false;
+ }
+
+ @Override
+ public void paymentError(
+ PaymentErrorMsg paymentErrorMsg)
+ {
+ LogUtil.i(TAG,
+ paymentErrorMsg.code + " => " + paymentErrorMsg.msg);
+ m_Message.clear();
+ m_Message.put("code",
+ CodeA2U.FreePlatformPayFail);
+ UniversalUtil.sendMessageToUnity(
+ m_Message);
+ payProcessing = false;
+ }
+ });
+ }
+
+ public void enterWorld(final Activity activity,
+ String roleID,
+ String roleName,
+ String roleLv,
+ String serverID,
+ String serverName,
+ JSONObject ext)
+ {
+ StringBuilder _stringBuilder = new StringBuilder();
+ _stringBuilder.append("http://pub.game.2460web.com:11000/event_receiver?").
+ append("ProductID=mhtj").
+ append("&OperatorID=").append("yilegame").
+ append("&RegionName=data").
+ append("&RegionID=").append(serverID).
+ append("&EventID=1105").
+ append("&Time=").append(UniversalUtil.getStringDate()).
+ append("&AccountID=").append(m_AccountID);
+
+ OkHttpClient client = new OkHttpClient();
+ Request request = new Request.Builder()
+ .url(_stringBuilder.toString())
+ .build();
+ client.newCall(request).enqueue(new Callback() {
+ @Override
+ public void onFailure(Request request, IOException e)
+ {
+
+ }
+
+ @Override
+ public void onResponse(Response response) throws IOException
+ {
+ if(response.isSuccessful()){
+ String _code = response.body().string().trim();
+ LogUtil.i(TAG,"娉ㄥ唽杩斿洖 : " + _code);
+ if(response.body().string().equals("1"))
+ {
+ Tracking.setRegisterWithAccountID(m_AccountID);
+ EventUtils.setRegister("mobile",true);
+ }
+ }
+ }
+ });
+
+ EventUtils.setLogin("mobile",true);
+ Tracking.setLoginSuccessBusiness(m_AccountID);
+
+ SDKManager.getInstance(activity).setRoleDate(activity, roleID,
+ roleName, roleLv,
+ serverID, serverName,
+ ext);
+ }
+
+}
diff --git a/Project/yl_sdk/src/game_ylgame/res/anim/smc_progress.xml b/Project/yl_sdk/src/game_ylgame/res/anim/smc_progress.xml
new file mode 100644
index 0000000..abbada6
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/anim/smc_progress.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rotate xmlns:android="http://schemas.android.com/apk/res/android" >
+ <rotate xmlns:android="http://schemas.android.com/apk/res/android"
+ android:drawable="@drawable/smc_loading"
+ android:pivotX="50%"
+ android:pivotY="50%" />
+
+</rotate>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_normal.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_normal.png
new file mode 100644
index 0000000..2107ccf
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_normal.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_pressed.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_pressed.png
new file mode 100644
index 0000000..27ca693
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_checkbox_pressed.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_dropdown_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_dropdown_bg.png
new file mode 100644
index 0000000..8683b0a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_dropdown_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_loading_img.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_loading_img.png
new file mode 100644
index 0000000..8af031b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_loading_img.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_scrollbar.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_scrollbar.png
new file mode 100644
index 0000000..46ee2ba
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi-v4/ipay_scrollbar.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_cancel2.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_cancel2.png
new file mode 100644
index 0000000..caf1893
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_cancel2.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_corner_square.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_corner_square.png
new file mode 100644
index 0000000..4067e7c
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_corner_square.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_crossout.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_crossout.png
new file mode 100644
index 0000000..0023646
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_crossout.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_djqnormol_btn.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_djqnormol_btn.png
new file mode 100644
index 0000000..a7502f3
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_djqnormol_btn.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_close.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_close.png
new file mode 100644
index 0000000..2a91609
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_close.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_open.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_open.png
new file mode 100644
index 0000000..e403abc
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_eye_open.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload.png
new file mode 100644
index 0000000..40d8485
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload1_bottom.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload1_bottom.png
new file mode 100644
index 0000000..afc58b0
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload1_bottom.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_left.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_left.png
new file mode 100644
index 0000000..f3c83db
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_left.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_right.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_right.png
new file mode 100644
index 0000000..b1731f5
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_right.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_top.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_top.png
new file mode 100644
index 0000000..f1f08ca
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_fload_top.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_bbs_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_bbs_bg.png
new file mode 100644
index 0000000..1a2aff7
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_bbs_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_body_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_body_bg.png
new file mode 100644
index 0000000..14fe4f9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_body_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_foot_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_foot_bg.png
new file mode 100644
index 0000000..66f4739
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_foot_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_gift_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_gift_bg.png
new file mode 100644
index 0000000..e00b72b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_gift_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel.png
new file mode 100644
index 0000000..df8c586
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel1.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel1.png
new file mode 100644
index 0000000..75ce11a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_action_cancel1.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_back.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_back.png
new file mode 100644
index 0000000..be6113c
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_ic_back.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_logout_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_logout_bg.png
new file mode 100644
index 0000000..97cc69b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_logout_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_more_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_more_bg.png
new file mode 100644
index 0000000..5ad1027
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_more_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_server_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_server_bg.png
new file mode 100644
index 0000000..7f49ed0
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_server_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_user_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_user_bg.png
new file mode 100644
index 0000000..076cd26
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_float_user_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_floating_view_back_left.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_floating_view_back_left.png
new file mode 100644
index 0000000..a1ca954
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_floating_view_back_left.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_ic_launcher.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_ic_launcher.png
new file mode 100644
index 0000000..ee483de
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_ic_launcher.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_identify_code.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_identify_code.png
new file mode 100644
index 0000000..84aa563
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_identify_code.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login.png
new file mode 100644
index 0000000..d96cbd1
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_qq.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_qq.png
new file mode 100644
index 0000000..1c88828
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_qq.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_sina.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_sina.png
new file mode 100644
index 0000000..37844bc
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_sina.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_visitor.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_visitor.png
new file mode 100644
index 0000000..0d0bc75
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_visitor.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_weixin.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_weixin.png
new file mode 100644
index 0000000..93d586f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_login_weixin.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_password.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_password.png
new file mode 100644
index 0000000..c974340
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_password.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_alipaynormal_btn.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_alipaynormal_btn.png
new file mode 100644
index 0000000..0d29d75
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_alipaynormal_btn.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_backgroud.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_backgroud.png
new file mode 100644
index 0000000..c5413f0
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_backgroud.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_btn_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_btn_bg.png
new file mode 100644
index 0000000..136a61b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_btn_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_ptb_normal.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_ptb_normal.png
new file mode 100644
index 0000000..aa1b4a0
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_pay_ptb_normal.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_shengpay.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_shengpay.png
new file mode 100644
index 0000000..ef59bcf
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_shengpay.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_user.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_user.png
new file mode 100644
index 0000000..c4c7386
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_user.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_wechat_icon_normal.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_wechat_icon_normal.png
new file mode 100644
index 0000000..4abde77
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_wechat_icon_normal.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_xs_loading2.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_xs_loading2.png
new file mode 100644
index 0000000..b7ab258
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/main_xs_loading2.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_bg.png
new file mode 100644
index 0000000..db5e526
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_loading.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_loading.png
new file mode 100644
index 0000000..59c0267
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_loading.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_splash.9.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_splash.9.png
new file mode 100644
index 0000000..fcab9d9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/smc_splash.9.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_conner.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_conner.png
new file mode 100644
index 0000000..f74d571
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_conner.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_hover.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_hover.png
new file mode 100644
index 0000000..c2d687a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_back_hover.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_help.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_help.png
new file mode 100644
index 0000000..6695364
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_help.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_mark.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_mark.png
new file mode 100644
index 0000000..ca2736a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_charge_mark.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_delete.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_delete.png
new file mode 100644
index 0000000..0bce0bb
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_delete.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_left_bg.9.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_left_bg.9.png
new file mode 100644
index 0000000..bd8d07c
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_left_bg.9.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_right_bg.9.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_right_bg.9.png
new file mode 100644
index 0000000..70aa798
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_float_right_bg.9.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gamegift_dialog_line.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gamegift_dialog_line.png
new file mode 100644
index 0000000..01172ab
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gamegift_dialog_line.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift.png
new file mode 100644
index 0000000..d809be8
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift_mark.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift_mark.png
new file mode 100644
index 0000000..5e78810
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_gift_mark.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_left.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_left.png
new file mode 100644
index 0000000..7a58970
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_left.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_top.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_top.png
new file mode 100644
index 0000000..9cddfef
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_giftdialog_top.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_help.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_help.png
new file mode 100644
index 0000000..5a6c5c2
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_help.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_line_dash.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_line_dash.png
new file mode 100644
index 0000000..41f85f9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_line_dash.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_loading.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_loading.png
new file mode 100644
index 0000000..f890d07
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_loading.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_down.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_down.png
new file mode 100644
index 0000000..22eec3b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_down.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_user_delete.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_user_delete.png
new file mode 100644
index 0000000..d87cee0
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_login_user_delete.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mobliecard_select.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mobliecard_select.png
new file mode 100644
index 0000000..aa42d43
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mobliecard_select.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mygame_icon_uninstall.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mygame_icon_uninstall.png
new file mode 100644
index 0000000..aa8d890
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_mygame_icon_uninstall.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_order_mark.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_order_mark.png
new file mode 100644
index 0000000..dd518d7
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_order_mark.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_quilogin_bg.9.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_quilogin_bg.9.png
new file mode 100644
index 0000000..2860e3f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_quilogin_bg.9.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_reading.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_reading.png
new file mode 100644
index 0000000..3ff6e93
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_reading.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_service.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_service.png
new file mode 100644
index 0000000..4767d83
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_service.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_update_button.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_update_button.png
new file mode 100644
index 0000000..9a6432b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_update_button.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_useraccount.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_useraccount.png
new file mode 100644
index 0000000..61e461e
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_useraccount.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_warning.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_warning.png
new file mode 100644
index 0000000..424507a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/ttw_warning.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cut_icon.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cut_icon.png
new file mode 100644
index 0000000..4d7906f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cut_icon.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg.png
new file mode 100644
index 0000000..b99e3c7
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg1.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg1.png
new file mode 100644
index 0000000..c948c57
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_cutlogin_bg1.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag.png
new file mode 100644
index 0000000..6ab66ef
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag1.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag1.png
new file mode 100644
index 0000000..a120e3a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_bag1.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_loding.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_loding.png
new file mode 100644
index 0000000..b57bfc3
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_loding.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_right.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_right.png
new file mode 100644
index 0000000..015d6e3
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_right.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_up.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_up.png
new file mode 100644
index 0000000..c210c5d
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_login_up.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_quilogin_bg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_quilogin_bg.png
new file mode 100644
index 0000000..2860e3f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_quilogin_bg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_reg.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_reg.png
new file mode 100644
index 0000000..76b4966
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_reg.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_yuan.png b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_yuan.png
new file mode 100644
index 0000000..3fcdac4
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-hdpi/xs_yuan.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-ldpi/main_ic_launcher.png b/Project/yl_sdk/src/game_ylgame/res/drawable-ldpi/main_ic_launcher.png
new file mode 100644
index 0000000..ee483de
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-ldpi/main_ic_launcher.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-mdpi/main_ic_launcher.png b/Project/yl_sdk/src/game_ylgame/res/drawable-mdpi/main_ic_launcher.png
new file mode 100644
index 0000000..ee483de
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-mdpi/main_ic_launcher.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_normal.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_normal.png
new file mode 100644
index 0000000..330eadc
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_normal.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_press.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_press.png
new file mode 100644
index 0000000..1943089
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_back_press.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_slash.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_slash.png
new file mode 100644
index 0000000..3a2c966
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_common_slash.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_dialog_close.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_dialog_close.png
new file mode 100644
index 0000000..2c6a4e7
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_dialog_close.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_aibeibi.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_aibeibi.png
new file mode 100644
index 0000000..a9c44c6
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_aibeibi.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_alipay.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_alipay.png
new file mode 100644
index 0000000..95add5d
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_alipay.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_gamecard.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_gamecard.png
new file mode 100644
index 0000000..c2446a8
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_gamecard.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_phonecard.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_phonecard.png
new file mode 100644
index 0000000..b29e7fd
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_phonecard.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_qq.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_qq.png
new file mode 100644
index 0000000..5d03605
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_qq.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_tenpay.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_tenpay.png
new file mode 100644
index 0000000..c06c8ad
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_tenpay.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_unionpay.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_unionpay.png
new file mode 100644
index 0000000..43ea8ad
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_unionpay.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_weixin.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_weixin.png
new file mode 100644
index 0000000..86dc37b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_icon_paytype_weixin.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_checked.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_checked.png
new file mode 100644
index 0000000..7e057c2
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_checked.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_person_center_back.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_person_center_back.png
new file mode 100644
index 0000000..4d80867
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_person_center_back.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_right_arrow.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_right_arrow.png
new file mode 100644
index 0000000..ac45d60
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_right_arrow.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_scrollbar.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_scrollbar.png
new file mode 100644
index 0000000..46ee2ba
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_scrollbar.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_unchecked.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_unchecked.png
new file mode 100644
index 0000000..f5117a4
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi-v4/ipay_ui_unchecked.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi/main_ic_launcher.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi/main_ic_launcher.png
new file mode 100644
index 0000000..ee483de
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xhdpi/main_ic_launcher.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_gamebg.jpg b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_gamebg.jpg
new file mode 100644
index 0000000..7ef2c2c
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_gamebg.jpg
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_ic_launcher.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_ic_launcher.png
new file mode 100644
index 0000000..ee483de
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_ic_launcher.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_long.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_long.png
new file mode 100644
index 0000000..5375d92
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_long.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_service.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_service.png
new file mode 100644
index 0000000..d95aaa1
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_service.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_xs_loading2.png b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_xs_loading2.png
new file mode 100644
index 0000000..b7ab258
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable-xxhdpi/main_xs_loading2.png
Binary files differ
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_common_btn_text_color.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_common_btn_text_color.xml
new file mode 100644
index 0000000..02f4046
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_common_btn_text_color.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:color="@color/ipay_color_value_4_1" android:state_enabled="false" />
+ <item android:color="@color/ipay_color_value_1" android:state_enabled="true" />
+</selector>
+
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_smscode_btn_text_color.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_smscode_btn_text_color.xml
new file mode 100644
index 0000000..89023e8
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_account_smscode_btn_text_color.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:color="@color/ipay_color_value_4" android:state_enabled="false" />
+ <item android:color="@color/ipay_color_value_7_2" android:state_enabled="true" />
+</selector>
+
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg.xml
new file mode 100644
index 0000000..22b9dfa
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <solid android:color="@color/ipay_color_value_1" />
+
+ <corners
+ android:bottomLeftRadius="5dp"
+ android:bottomRightRadius="5dp"
+ android:topLeftRadius="5dp"
+ android:topRightRadius="5dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_4_1.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_4_1.xml
new file mode 100644
index 0000000..a41bf89
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_4_1.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <solid android:color="@color/ipay_color_value_2_0" />
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_4_1" />
+
+ <corners
+ android:bottomLeftRadius="5dp"
+ android:bottomRightRadius="5dp"
+ android:topLeftRadius="5dp"
+ android:topRightRadius="5dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_btn_color_2.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_btn_color_2.xml
new file mode 100644
index 0000000..2181f78
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_btn_color_2.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <solid android:color="@color/ipay_color_value_2" />
+
+ <corners
+ android:bottomLeftRadius="5dp"
+ android:bottomRightRadius="5dp"
+ android:topLeftRadius="5dp"
+ android:topRightRadius="5dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_2.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_2.xml
new file mode 100644
index 0000000..9915eb4
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_2.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <solid android:color="@color/ipay_color_value_2_0" />
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_4_1" />
+
+ <corners
+ android:bottomLeftRadius="1dp"
+ android:bottomRightRadius="1dp"
+ android:topLeftRadius="1dp"
+ android:topRightRadius="1dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_7.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_7.xml
new file mode 100644
index 0000000..a994314
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_charge_input_color_stroke_7.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <solid android:color="@color/ipay_color_value_2_0" />
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_7" />
+
+ <corners
+ android:bottomLeftRadius="1dp"
+ android:bottomRightRadius="1dp"
+ android:topLeftRadius="1dp"
+ android:topRightRadius="1dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_color_7.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_color_7.xml
new file mode 100644
index 0000000..64b8919
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_color_7.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <solid android:color="@color/ipay_color_value_2_0" />
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_7" />
+
+ <corners
+ android:bottomLeftRadius="1dp"
+ android:bottomRightRadius="1dp"
+ android:topLeftRadius="1dp"
+ android:topRightRadius="1dp" />
+
+ <gradient
+ android:endColor="@color/ipay_color_value_7"
+ android:startColor="@color/ipay_color_value_7" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_item_color_1.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_item_color_1.xml
new file mode 100644
index 0000000..9de7367
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_bg_select_charge_item_color_1.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <solid android:color="@color/ipay_color_value_1" />
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_4_1" />
+
+ <corners
+ android:bottomLeftRadius="1dp"
+ android:bottomRightRadius="1dp"
+ android:topLeftRadius="1dp"
+ android:topRightRadius="1dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_border_style.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_border_style.xml
new file mode 100644
index 0000000..996fff0
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_border_style.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle" >
+
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_3" /><!--鐭╁舰鐨勮竟绾� -->
+
+ <gradient
+ android:endColor="@color/ipay_color_value_1"
+ android:startColor="@color/ipay_color_value_1" /><!-- 鐭╁舰鐨勫唴閮ㄩ鑹诧紝杩欓噷璁剧疆鎴愮櫧鑹诧紝鍗崇┖蹇� -->
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_bg.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_bg.xml
new file mode 100644
index 0000000..ad0f951
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_bg.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <!-- 鑳屾櫙 -->
+ <solid android:color="@color/ipay_transparent_75" />
+
+ <!-- 鍦嗚 -->
+ <corners
+ android:bottomLeftRadius="4dp"
+ android:bottomRightRadius="4dp"
+ android:topLeftRadius="4dp"
+ android:topRightRadius="4dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_bg_color.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_bg_color.xml
new file mode 100644
index 0000000..6cdb109
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_bg_color.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ipay_common_btn_normal" android:state_enabled="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ipay_common_btn_pressed" android:state_enabled="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ipay_common_btn_disable" android:state_enabled="false" />
+</selector>
+
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_disable.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_disable.xml
new file mode 100644
index 0000000..fdb8c54
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_disable.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <!-- 鑳屾櫙 -->
+ <solid android:color="@color/ipay_color_value_3" />
+
+ <!-- 鍦嗚 -->
+ <corners
+ android:bottomLeftRadius="4dp"
+ android:bottomRightRadius="4dp"
+ android:topLeftRadius="4dp"
+ android:topRightRadius="4dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_normal.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_normal.xml
new file mode 100644
index 0000000..70ad92d
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_normal.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <!-- 鑳屾櫙 -->
+ <solid android:color="@color/ipay_color_value_7" />
+
+ <!-- 鍦嗚 -->
+ <corners
+ android:bottomLeftRadius="4dp"
+ android:bottomRightRadius="4dp"
+ android:topLeftRadius="4dp"
+ android:topRightRadius="4dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_pressed.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_pressed.xml
new file mode 100644
index 0000000..69c5141
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_pressed.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <!-- 鑳屾櫙 -->
+ <solid android:color="@color/ipay_color_value_7_1" />
+
+ <!-- 鍦嗚 -->
+ <corners
+ android:bottomLeftRadius="4dp"
+ android:bottomRightRadius="4dp"
+ android:topLeftRadius="4dp"
+ android:topRightRadius="4dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_text_color.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_text_color.xml
new file mode 100644
index 0000000..c0cd005
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_btn_text_color.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:color="@color/ipay_color_value_4" android:state_enabled="false" />
+ <item android:color="@color/ipay_color_value_1" android:state_enabled="true" />
+</selector>
+
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_checkbox_selector.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_checkbox_selector.xml
new file mode 100644
index 0000000..ac73d52
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_checkbox_selector.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item android:state_checked="true" android:drawable="@drawable/ipay_checkbox_pressed"/>
+ <item android:state_checked="false" android:drawable="@drawable/ipay_checkbox_normal"/>
+
+</selector>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_slash_bg.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_slash_bg.xml
new file mode 100644
index 0000000..5d6478d
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_common_slash_bg.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/ipay_common_slash"
+ android:tileMode="repeat" />
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_bottom.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_bottom.xml
new file mode 100644
index 0000000..372b211
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_bottom.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="@color/ipay_color_value_2_0" />
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_4_1" />
+
+ <corners
+ android:bottomLeftRadius="5dp"
+ android:bottomRightRadius="5dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_top.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_top.xml
new file mode 100644
index 0000000..2718582
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_edit_cursor_color_top.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <corners
+ android:topLeftRadius="5dp"
+ android:topRightRadius="5dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_fillet_border_color_8.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_fillet_border_color_8.xml
new file mode 100644
index 0000000..3f84802
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_fillet_border_color_8.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle" >
+
+ <corners android:radius="2dp" /> <!--鍦嗚鍗婂緞-->
+
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/ipay_color_value_8" /><!--鐭╁舰鐨勮竟绾� -->
+
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_loading.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_loading.xml
new file mode 100644
index 0000000..6f29407
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_loading.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
+ android:drawable="@drawable/ipay_loading_img"
+ android:pivotX="50%"
+ android:pivotY="50%" />
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_recharge_bg_style.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_recharge_bg_style.xml
new file mode 100644
index 0000000..7f66da4
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_recharge_bg_style.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+
+ <solid android:color="#dfffffff" /><!--90%閫忔槑鐧借壊-->
+
+ <corners android:radius="13dp" />
+</shape>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_back_selector.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_back_selector.xml
new file mode 100644
index 0000000..ca43f9e
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_back_selector.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ipay_common_back_press" android:state_enabled="true" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ipay_common_back_press" android:state_enabled="false" android:state_pressed="true"/>
+ <item android:drawable="@drawable/ipay_common_back_normal" android:state_enabled="true" android:state_pressed="false"/>
+ <item android:drawable="@drawable/ipay_common_back_normal"/>
+</selector>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_title_right_button_selector.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_title_right_button_selector.xml
new file mode 100644
index 0000000..2087dfa
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ipay_ui_title_right_button_selector.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:color="@color/ipay_color_title_btn" android:state_pressed="true"/>
+ <item android:color="@color/ipay_color_value_1" android:state_pressed="false"/>
+</selector>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_noquick.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_noquick.xml
new file mode 100644
index 0000000..f629f5d
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_noquick.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <corners android:radius="20dip"/>
+ <solid android:color="#FFFFFF"/>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_tyy.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_tyy.xml
new file mode 100644
index 0000000..4cc19e9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/main_bg_login_tyy.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <corners android:radius="5dp"/>
+ <solid android:color="#950c0808"/>
+
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/main_btn_v_slider_selector.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/main_btn_v_slider_selector.xml
new file mode 100644
index 0000000..07b0d89
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/main_btn_v_slider_selector.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item android:state_selected="false" android:drawable="@drawable/main_pay_btn_bg"></item>
+ <item android:state_selected="true" android:drawable="@drawable/main_pay_backgroud"></item>
+</selector>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/main_go_login.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/main_go_login.xml
new file mode 100644
index 0000000..efbf9aa
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/main_go_login.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <solid android:color="#63B8FF"></solid>
+ <corners android:topLeftRadius="5dp"
+ android:topRightRadius="5dp"
+ android:bottomRightRadius="5dp"
+ android:bottomLeftRadius="5dp"/>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_btn_selector.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_btn_selector.xml
new file mode 100644
index 0000000..ca084eb
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_btn_selector.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item android:state_pressed="false" android:drawable="@drawable/ttw_service"></item>
+ <item android:state_pressed="true" android:drawable="@drawable/ttw_sure_bg_press"></item>
+</selector>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_circle_bg.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_circle_bg.xml
new file mode 100644
index 0000000..a576cca
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_circle_bg.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <solid android:color="#ffffff"></solid>
+ <stroke android:width="1dip" android:color="#9CAABD"></stroke>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_bg.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_bg.xml
new file mode 100644
index 0000000..0b37bb7
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_bg.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <corners android:radius="2dip"/>
+ <solid android:color="#ffffff"></solid>
+ <stroke android:color="#CECBCE" android:width="1dip"/>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_two_bg.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_two_bg.xml
new file mode 100644
index 0000000..b810cdc
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_edit_two_bg.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <solid android:color="#ffffff"></solid>
+ <corners android:topLeftRadius="5dp"
+ android:topRightRadius="5dp"
+ android:bottomRightRadius="5dp"
+ android:bottomLeftRadius="5dp"/>
+ <stroke android:color="#CECBCE" android:width="1dip"/>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_login_in.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_login_in.xml
new file mode 100644
index 0000000..eca756e
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_login_in.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <solid android:color="#EE4000"></solid>
+ <corners android:topLeftRadius="5dp"
+ android:topRightRadius="5dp"
+ android:bottomRightRadius="5dp"
+ android:bottomLeftRadius="5dp"/>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_order_bg.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_order_bg.xml
new file mode 100644
index 0000000..5c9f8dd
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_order_bg.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <solid android:color="#f8f8f8"></solid>
+ <stroke android:width="1dip" android:color="#c4c4c4"></stroke>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_pw_list_selector.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_pw_list_selector.xml
new file mode 100644
index 0000000..1a455ee
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_pw_list_selector.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item android:state_pressed="false" android:drawable="@drawable/ttw_edit_two_bg"></item>
+ <item android:state_pressed="true" android:drawable="@drawable/ttw_sure_bg_press"></item>
+</selector>
diff --git a/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_sure_bg_press.xml b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_sure_bg_press.xml
new file mode 100644
index 0000000..0df2e9a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/drawable/ttw_sure_bg_press.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+ <corners android:radius="5dip"/>
+ <solid android:color="#FF9900"></solid>
+</shape>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_common_webview_layout.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_common_webview_layout.xml
new file mode 100644
index 0000000..1f5e89a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_common_webview_layout.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/webView_bg"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_transparent"
+ android:orientation="vertical">
+
+ <include
+ android:id="@+id/iapppay_ui_title_bar"
+ layout="@layout/ipay_ui_title_bar_normal" />
+
+ <FrameLayout
+ android:id="@+id/fl_webView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_common_alert_dialog.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_common_alert_dialog.xml
new file mode 100644
index 0000000..2f426fe
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_common_alert_dialog.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ipay_bg">
+
+ <ImageView
+ android:id="@+id/iv_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/ipay_margin_10"
+ android:src="@drawable/ipay_dialog_close"/>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/ipay_margin_10"
+ android:gravity="center"
+ android:minHeight="@dimen/ipay_height_95">
+
+ <TextView
+ android:id="@+id/tv_msg"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_tip"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_margin_15"/>
+ </LinearLayout>
+
+ <View
+ android:layout_width="fill_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_4_1"/>
+
+ <Button
+ android:id="@+id/btn_dialog_confirm"
+ android:layout_width="fill_parent"
+ android:layout_height="@dimen/ipay_height_45"
+ android:background="@drawable/ipay_bg"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_ensure"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_15"/>
+
+ </LinearLayout>
+
+
+</FrameLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_dialog_bg_round_rectangle.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_dialog_bg_round_rectangle.xml
new file mode 100644
index 0000000..7920aa3
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_dialog_bg_round_rectangle.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ipay_bg"
+ android:orientation="vertical">
+
+ <ScrollView
+ android:id="@+id/sv_dialog"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/ipay_height_95"
+ android:layout_gravity="center"
+ android:layout_margin="@dimen/ipay_margin_10">
+
+ <TextView
+ android:id="@+id/tv_dialog_msg"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:text="@string/ipay_common_alert_dialog_tip"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_margin_15" />
+
+ </ScrollView>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_4_1" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/tv_dialog_cancel"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/ipay_height_45"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_cancel"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <View
+ android:id="@+id/v_dialog_line_vertical"
+ android:layout_width="@dimen/ipay_divid_line_h"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_4_1" />
+
+ <TextView
+ android:id="@+id/tv_dialog_confirm"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/ipay_height_45"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_ensure"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_person_center.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_person_center.xml
new file mode 100644
index 0000000..2a58a7f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_layout_person_center.xml
@@ -0,0 +1,217 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/rl_center_page"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_1">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/rl_title"
+ android:background="@color/ipay_color_value_2">
+
+ <View
+ android:id="@+id/v_line_height_30"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_margin_15" />
+
+ <View
+ android:id="@+id/v_line_1"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/v_line_height_30"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_person_center_change_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_50"
+ android:layout_below="@+id/v_line_1"
+ android:background="@color/ipay_color_value_1"
+ android:paddingLeft="@dimen/ipay_margin_10"
+ android:paddingRight="@dimen/ipay_margin_15">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:text="@string/ipay_person_center_change_pwd"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="@drawable/ipay_ui_right_arrow" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_line_2"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_person_center_change_password"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_person_center_service_center"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_50"
+ android:layout_below="@+id/v_line_2"
+ android:background="@color/ipay_color_value_1"
+ android:paddingLeft="@dimen/ipay_margin_10"
+ android:paddingRight="@dimen/ipay_margin_15">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:text="@string/ipay_person_center_server_center"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="@drawable/ipay_ui_right_arrow" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_line_3"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_person_center_service_center"
+ android:background="@color/ipay_color_value_3" />
+
+ <View
+ android:id="@+id/v_line_4"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_person_center_service_center"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_person_center_switch_account"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_50"
+ android:layout_below="@+id/v_line_4"
+ android:background="@color/ipay_color_value_1">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:paddingLeft="@dimen/ipay_margin_10"
+ android:text="@string/ipay_person_center_change_account"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_line_5"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_person_center_switch_account"
+ android:background="@color/ipay_color_value_3" />
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_title_person_center_h"
+ android:background="@color/ipay_color_value_7">
+
+
+ <FrameLayout
+ android:id="@+id/iv_left_back"
+ android:layout_width="@dimen/ipay_margin_45"
+ android:layout_height="match_parent"
+ android:padding="@dimen/ipay_margin_10">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:background="@drawable/ipay_ui_person_center_back" />
+
+ </FrameLayout>
+
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@+id/iv_left_back">
+
+ <TextView
+ android:id="@+id/tv_person_center_phone_num"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="183****7330"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_20" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/tv_person_center_phone_num"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_person_center_aib"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ <TextView
+ android:id="@+id/tv_person_center_ipay_money"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="100"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_person_center_b"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ </LinearLayout>
+
+ </RelativeLayout>
+
+ <FrameLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true">
+
+ <TextView
+ android:id="@+id/tv_person_center_recharge"
+ android:layout_width="65dp"
+ android:layout_height="26dp"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:background="@drawable/ipay_recharge_bg_style"
+ android:gravity="center"
+ android:text="@string/ipay_person_center_charge"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_14" />
+ </FrameLayout>
+
+
+ </RelativeLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_loading_dialog.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_loading_dialog.xml
new file mode 100644
index 0000000..11e66cf
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_loading_dialog.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:background="@drawable/ipay_common_bg"
+ android:gravity="center_horizontal"
+ android:minHeight="95dp"
+ android:minWidth="95dp"
+ android:orientation="vertical">
+
+ <ProgressBar
+ android:id="@+id/loading_progress_bar"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:indeterminateDrawable="@drawable/ipay_loading" />
+
+ <TextView
+ android:id="@+id/dialog_msg"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_margin="@dimen/ipay_margin_10"
+ android:text="@string/ipay_common_loading"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_14" />
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog.xml
new file mode 100644
index 0000000..4591952
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ipay_bg"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <ImageView
+ android:id="@+id/iv_single_dialog_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/ipay_margin_15"
+ android:src="@drawable/ipay_dialog_close" />
+
+ <TextView
+ android:id="@+id/tv_title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_40"
+ android:gravity="center"
+ android:text="@string/ipay_common_single_select_dialog_title"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_title_line_heigth"
+ android:background="#cacaca" />
+
+ <ListView
+ android:id="@+id/list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:cacheColorHint="@null"
+ android:dividerHeight="1px"
+ android:fadingEdge="none"
+ android:scrollbars="none"
+ android:layout_marginRight="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_10"
+ android:divider="@color/ipay_color_value_3"
+ android:listSelector="@android:color/transparent"
+ android:scrollingCache="false" />
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog_item.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog_item.xml
new file mode 100644
index 0000000..fc99b13
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_single_select_dialog_item.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/checked_tv"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_50"
+ android:background="@color/ipay_color_value_1"
+ android:gravity="center"
+ android:text="@string/ipay_common_single_select_dialog_tv"
+ android:textSize="@dimen/ipay_text_size_15"
+ android:textColor="@color/ipay_color_value_6"
+/>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_common_layout.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_common_layout.xml
new file mode 100644
index 0000000..c167574
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_common_layout.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:background="@color/ipay_color_value_1"
+ android:layout_height="wrap_content">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_44"
+ >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal" >
+
+ <!-- 鎺у埗鐒︾偣 涓嶈嚜鍔ㄥ脊鍑洪敭鐩� -->
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:orientation="vertical" >
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/tv_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/ipay_color_value_6"
+ android:paddingLeft="@dimen/ipay_margin_10"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ >
+
+ <LinearLayout
+ android:id="@+id/common_input_layout"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical" >
+
+ <EditText
+ android:id="@+id/edit"
+ android:layout_width="0.0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="1.0"
+ android:background="@null"
+ android:gravity="center|right"
+ android:singleLine="true"
+ android:imeOptions="actionNext"
+ android:imeActionLabel="@string/ipay_sub_game_pay_finish"
+ android:textColor="@color/ipay_color_value_5"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:gravity="center_vertical" >
+
+ <TextView
+ android:id="@+id/tv_right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingRight="@dimen/ipay_margin_10"
+ android:textColor="@color/ipay_color_value_5"
+ android:textSize="@dimen/ipay_text_size_15"
+ android:visibility="gone" />
+
+ <ImageView
+ android:id="@+id/imageView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:layout_marginRight="@dimen/ipay_margin_10"
+ android:scaleType="fitXY"
+ android:src="@drawable/ipay_ui_right_arrow"
+ android:visibility="visible" />
+ </LinearLayout>
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_gravity="bottom"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3"
+ />
+</FrameLayout>
+
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_v.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_v.xml
new file mode 100644
index 0000000..2fce23b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_sub_game_pay_v.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="@color/ipay_color_value_2"
+ android:orientation="vertical">
+
+ <include
+ android:id="@+id/title_layout"
+ layout="@layout/ipay_ui_title_bar_normal" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_margin_15"
+ android:background="@color/ipay_color_value_2" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_gravity="bottom"
+ android:background="@color/ipay_color_value_3" />
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_marginBottom="5dp"
+ android:fadingEdge="none"
+ android:scrollbarThumbVertical="@drawable/ipay_scrollbar">
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_2"
+ android:orientation="vertical">
+
+ <!-- 鍗$殑绫诲瀷鍜屽崱鐨勯噾棰� -->
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <include
+ android:id="@+id/view_cardType"
+ layout="@layout/ipay_sub_game_pay_common_layout" />
+
+ <include
+ android:id="@+id/view_cardAmount"
+ layout="@layout/ipay_sub_game_pay_common_layout" />
+
+ <!-- 鍗″彿鍜屽瘑鐮� -->
+ <include
+ android:id="@+id/view_cardNum"
+ layout="@layout/ipay_sub_game_pay_common_layout" />
+
+ <TextView
+ android:id="@+id/tv_tips_cardNum_error"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="@dimen/ipay_margin_10"
+ android:gravity="right"
+ android:text="@string/ipay_sub_game_pay_cardNum_error"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_12"
+ android:visibility="gone" />
+
+ <include
+ android:id="@+id/view_cardPassword"
+ layout="@layout/ipay_sub_game_pay_common_layout" />
+
+ <TextView
+ android:id="@+id/tv_tips_cardPassword_error"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="@dimen/ipay_margin_10"
+ android:gravity="right"
+ android:text="@string/ipay_sub_game_pay_pwd_error"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_12"
+ android:visibility="gone" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/tv_tips_info"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="@dimen/ipay_margin_10"
+ android:paddingTop="@dimen/ipay_margin_10"
+ android:text="@string/ipay_sub_game_pay_tip_info"
+ android:visibility="gone"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <Button
+ android:id="@+id/btn_submit"
+ android:layout_width="fill_parent"
+ android:layout_height="48dip"
+ android:layout_marginLeft="@dimen/ipay_margin_10"
+ android:layout_marginRight="@dimen/ipay_margin_10"
+ android:layout_marginTop="40dp"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:textColor="@drawable/ipay_common_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_17" />
+
+ </LinearLayout>
+ </ScrollView>
+
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_layout.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_layout.xml
new file mode 100644
index 0000000..a608f3e
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_layout.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/RelativeLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@drawable/ipay_bg"
+ android:orientation="vertical" >
+
+ <include
+ android:id="@+id/v_title_bar_aipay"
+ layout="@layout/ipay_ui_title_bar_normal" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/v_title_bar_aipay"
+ android:background="@color/ipay_color_value_1"
+ android:orientation="vertical" >
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_2">
+ <TextView
+ android:id="@+id/tv_title"
+ android:layout_width="wrap_content"
+ android:layout_height="25dp"
+ android:gravity="center_vertical"
+ android:layout_marginLeft="15dp"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12"
+ android:text="@string/ipay_ui_charge_title"/>
+ </LinearLayout>
+
+ <View
+ android:id="@+id/v_divider_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="@color/ipay_color_value_3" />
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/ll_charge_listview"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ android:orientation="vertical" >
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ android:orientation="horizontal"
+ android:paddingBottom="10dp"
+ android:paddingLeft="15dp"
+ android:paddingTop="10dp" >
+
+ <TextView
+ android:id="@+id/tv_2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_charge_tip"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ <TextView
+ android:id="@+id/tv_yingyongdou"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/ipay_color_value_4"
+ android:text="@string/ipay_ui_charge_aib"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ <TextView
+ android:id="@+id/tv_3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_charge_pay"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_14" />
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+ </LinearLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_type_item.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_type_item.xml
new file mode 100644
index 0000000..3b0a3ce
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_charge_type_item.xml
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/RelativeLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/ll_pay_type_item_top"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="vertical"
+ android:visibility="gone">
+
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="34dp"
+ android:background="@color/ipay_color_value_2"
+ android:gravity="center_vertical"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:paddingRight="@dimen/ipay_margin_15"
+ android:text="@string/ipay_charge_type_item_types"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+ </LinearLayout>
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="55dp"
+ android:layout_gravity="center_vertical"
+ android:background="@color/ipay_color_value_1"
+ android:gravity="center_vertical"
+ android:paddingRight="@dimen/ipay_margin_15">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/iv_pay_type_icon"
+ android:layout_width="@dimen/ipay_margin_25"
+ android:layout_height="@dimen/ipay_margin_25"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:scaleType="fitCenter"
+ android:src="@drawable/ipay_icon_paytype_aibeibi" />
+
+ <TextView
+ android:id="@+id/tv_pay_type_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/ipay_margin_10"
+ android:text="TextView"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <TextView
+ android:id="@+id/tv_pay_type_discount"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:background="@color/ipay_color_value_8"
+ android:paddingBottom="1dp"
+ android:paddingLeft="3dp"
+ android:paddingRight="3dp"
+ android:paddingTop="1dp"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_margin_12" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/tv_pay_type_msg"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:layout_marginLeft="@dimen/ipay_margin_10"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:background="@drawable/ipay_ui_right_arrow" />
+ </LinearLayout>
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_divider_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+
+ <LinearLayout
+ android:id="@+id/ll_pay_type_item_bottom"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="vertical"
+ android:visibility="gone">
+
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="29dp"
+ android:background="@color/ipay_color_value_2"
+ android:gravity="center_vertical"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:paddingRight="@dimen/ipay_margin_15"
+ android:text="@string/ipay_charge_type_item_other"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_login_layout.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_login_layout.xml
new file mode 100644
index 0000000..f7abcb7
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_login_layout.xml
@@ -0,0 +1,791 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/rl_login_bg"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ipay_bg">
+
+ <RelativeLayout
+ android:id="@+id/rl_login_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="visible">
+
+ <RelativeLayout
+ android:id="@+id/rl_login_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_40">
+
+ <TextView
+ android:id="@+id/tv_login_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/ipay_ui_title_bar_normal_log"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <ImageView
+ android:id="@+id/iv_login_ui_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/ipay_margin_15"
+ android:src="@drawable/ipay_dialog_close" />
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_login_ui_line_0"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_login_ui_title"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_login_ui_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_login_ui_line_0"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <EditText
+ android:id="@+id/et_login_ui_input_account"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:background="@drawable/ipay_edit_cursor_color_top"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:hint="@string/ipay_ui_login_input_account"
+ android:inputType="text"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <EditText
+ android:id="@+id/et_login_ui_input_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:layout_below="@+id/et_login_ui_input_account"
+ android:background="@drawable/ipay_edit_cursor_color_bottom"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:hint="@string/ipay_ui_login_input_pwd"
+ android:inputType="textPassword"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/tv_login_ui_click_btn"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_44"
+ android:layout_below="@+id/rl_login_ui_et"
+ android:layout_margin="@dimen/ipay_margin_15"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:gravity="center"
+ android:text="@string/ipay_ui_title_bar_normal_log"
+ android:textColor="@drawable/ipay_account_common_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/tv_login_ui_click_btn">
+
+ <TextView
+ android:id="@+id/tv_login_ui_forgot_password"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingBottom="@dimen/ipay_margin_15"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:text="@string/ipay_ui_login_forget_pwd"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_11" />
+
+ <TextView
+ android:id="@+id/tv_login_ui_register_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:paddingBottom="@dimen/ipay_margin_15"
+ android:paddingRight="@dimen/ipay_margin_15"
+ android:text="@string/ipay_ui_login_regist_account"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_11" />
+
+ </RelativeLayout>
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_register_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_15"
+ android:visibility="gone">
+
+ <RelativeLayout
+ android:id="@+id/rl_register_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_40">
+
+ <TextView
+ android:id="@+id/tv_register_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_regist"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <ImageView
+ android:id="@+id/iv_register_ui_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/ipay_margin_15"
+ android:src="@drawable/ipay_dialog_close" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_register_ui_line_0"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_register_ui_title"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_register_ui_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_register_ui_line_0"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <EditText
+ android:id="@+id/et_register_ui_input_phone_number"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:background="@drawable/ipay_edit_cursor_color_top"
+ android:digits="0123456789"
+ android:hint="@string/ipay_ui_login_input_phone_num"
+ android:inputType="number"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/et_register_ui_input_phone_number">
+
+ <EditText
+ android:id="@+id/et_register_ui_input_verification_code"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:background="@drawable/ipay_edit_cursor_color_bottom"
+ android:digits="0123456789"
+ android:hint="@string/ipay_ui_login_input_sms_num"
+ android:inputType="number"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center">
+
+ <View
+ android:layout_width="@dimen/ipay_divid_line_h"
+ android:layout_height="@dimen/ipay_margin_15"
+ android:layout_alignLeft="@+id/tv_register_ui_verification_code"
+ android:background="@color/ipay_color_value_7" />
+
+ <TextView
+ android:id="@+id/tv_register_ui_verification_code"
+ android:layout_width="@dimen/ipay_height_70"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_get_number"
+ android:textColor="@drawable/ipay_account_smscode_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_11" />
+
+ </RelativeLayout>
+
+ </FrameLayout>
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/tv_register_ui_next_step"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_44"
+ android:layout_below="@+id/rl_register_ui_et"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_next_step"
+ android:textColor="@drawable/ipay_account_common_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_set_password_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_15"
+ android:visibility="gone">
+
+ <RelativeLayout
+ android:id="@+id/rl_set_password_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_40">
+
+ <TextView
+ android:id="@+id/tv_set_password_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/ipay_ui_set_pwd"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <ImageView
+ android:id="@+id/iv_set_password_ui_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/ipay_margin_15"
+ android:src="@drawable/ipay_dialog_close" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_set_password_ui_line_0"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_set_password_ui_title"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_set_password_ui_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_set_password_ui_line_0"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <EditText
+ android:id="@+id/et_set_password_ui_input_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:background="@drawable/ipay_edit_cursor_color_top"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:hint="@string/ipay_ui_pwd_set"
+ android:inputType="numberPassword"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <EditText
+ android:id="@+id/et_set_password_ui_input_confirm_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:layout_below="@+id/et_set_password_ui_input_password"
+ android:background="@drawable/ipay_edit_cursor_color_bottom"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:hint="@string/ipay_ui_login_input_pwd_again"
+ android:inputType="numberPassword"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/tv_set_password_ui_error_hint"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignLeft="@+id/rl_set_password_ui_et"
+ android:layout_below="@+id/rl_set_password_ui_et"
+ android:text="@string/ipay_ui_input_wrong_pwd"
+ android:textColor="@color/ipay_color_value_8"
+ android:visibility="gone" />
+
+ <TextView
+ android:id="@+id/tv_set_password_ui_submit"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_44"
+ android:layout_below="@+id/tv_set_password_ui_error_hint"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_regist"
+ android:textColor="@drawable/ipay_account_common_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_set_new_password_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_15"
+ android:visibility="gone">
+
+ <RelativeLayout
+ android:id="@+id/rl_set_new_password_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_40">
+
+ <TextView
+ android:id="@+id/tv_set_new_password_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/ipay_ui_set_pwd"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <ImageView
+ android:id="@+id/iv_set_new_password_ui_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/ipay_margin_15"
+ android:src="@drawable/ipay_dialog_close" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_set_new_password_ui_line_0"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_set_new_password_ui_title"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_set_new_password_ui_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_set_new_password_ui_line_0"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <EditText
+ android:id="@+id/et_set_new_password_ui_input_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:background="@drawable/ipay_edit_cursor_color_top"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:hint="@string/ipay_ui_pwd_set"
+ android:inputType="numberPassword"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <EditText
+ android:id="@+id/et_set_new_password_ui_input_confirm_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:layout_below="@+id/et_set_new_password_ui_input_password"
+ android:background="@drawable/ipay_edit_cursor_color_bottom"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:hint="@string/ipay_ui_login_input_pwd_again"
+ android:inputType="numberPassword"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/tv_set_new_password_ui_error_hint"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignLeft="@+id/rl_set_new_password_ui_et"
+ android:layout_below="@+id/rl_set_new_password_ui_et"
+ android:text="@string/ipay_ui_input_wrong_pwd"
+ android:textColor="@color/ipay_color_value_8"
+ android:visibility="gone" />
+
+ <TextView
+ android:id="@+id/tv_set_new_password_ui_submit"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_44"
+ android:layout_below="@+id/tv_set_new_password_ui_error_hint"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_regist"
+ android:textColor="@drawable/ipay_account_common_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_modify_password_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone">
+
+ <TextView
+ android:id="@+id/tv_modify_password_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/ipay_margin_20"
+ android:gravity="center"
+ android:text="@string/ipay_ui_change_pwd"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <RelativeLayout
+ android:id="@+id/rl_modify_password_ui_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/tv_modify_password_title"
+ android:layout_marginLeft="@dimen/ipay_margin_27"
+ android:layout_marginRight="@dimen/ipay_margin_27"
+ android:layout_marginTop="@dimen/ipay_margin_35"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <EditText
+ android:id="@+id/et_modify_password_ui_input_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_34"
+ android:background="@drawable/ipay_bg_4_1"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:gravity="center"
+ android:hint="@string/ipay_ui_input_original_pwd"
+ android:inputType="numberPassword"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_modify_password_ui"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_modify_password_ui_et"
+ android:layout_marginTop="@dimen/ipay_margin_35"
+ android:background="@color/ipay_color_value_4_1" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_modify_password_ui"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/tv_modify_password_ui_cancel"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/ipay_height_40"
+ android:layout_weight="1"
+ android:background="@drawable/ipay_bg_btn_color_2"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_cancel"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <View
+ android:layout_width="@dimen/ipay_divid_line_h"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/rl_modify_password_ui_et"
+ android:background="@color/ipay_color_value_4_1" />
+
+ <TextView
+ android:id="@+id/tv_modify_password_ui_confirm"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/ipay_height_40"
+ android:layout_weight="1"
+ android:background="@drawable/ipay_bg_btn_color_2"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_ensure"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ </LinearLayout>
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_set_password_modify_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone">
+
+ <TextView
+ android:id="@+id/tv_set_password_modify_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/ipay_margin_20"
+ android:gravity="center"
+ android:text="@string/ipay_ui_change_pwd"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <RelativeLayout
+ android:id="@+id/rl_set_password_modify_ui_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/tv_set_password_modify_title"
+ android:layout_marginLeft="@dimen/ipay_margin_27"
+ android:layout_marginRight="@dimen/ipay_margin_27"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <EditText
+ android:id="@+id/et_set_password_modify_ui_input_password"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_34"
+ android:background="@drawable/ipay_edit_cursor_color_top"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:gravity="center"
+ android:hint="@string/ipay_ui_pwd_set"
+ android:inputType="numberPassword"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_set_password_ui_et_repeat"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/rl_set_password_modify_ui_et"
+ android:layout_marginLeft="@dimen/ipay_margin_27"
+ android:layout_marginRight="@dimen/ipay_margin_27"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <EditText
+ android:id="@+id/et_set_password_modify_ui_input_password_repeat"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_34"
+ android:background="@drawable/ipay_edit_cursor_color_top"
+ android:digits="0123456789qwertyuiopasdfghjklzxcvbnm"
+ android:gravity="center"
+ android:hint="@string/ipay_ui_login_input_pwd_again"
+ android:inputType="numberPassword"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/tv_set_password_modify_error_hint"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/rl_set_password_ui_et_repeat"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:gravity="center"
+ android:text="@string/ipay_ui_pwd_not_null"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_11"
+ android:visibility="invisible" />
+
+ <View
+ android:id="@+id/v_set_password_modify_ui"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/tv_set_password_modify_error_hint"
+ android:background="@color/ipay_color_value_4_1" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_set_password_modify_ui"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/tv_set_password_modify_ui_cancel"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/ipay_height_40"
+ android:layout_weight="1"
+ android:background="@drawable/ipay_bg_btn_color_2"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_cancel"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <View
+ android:layout_width="@dimen/ipay_divid_line_h"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/rl_modify_password_modify_ui_et"
+ android:background="@color/ipay_color_value_4_1" />
+
+ <TextView
+ android:id="@+id/tv_set_password_modify_ui_confirm"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/ipay_height_40"
+ android:layout_weight="1"
+ android:background="@drawable/ipay_bg_btn_color_2"
+ android:gravity="center"
+ android:text="@string/ipay_common_alert_dialog_ensure"
+ android:textColor="@color/ipay_color_value_7_2"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ </LinearLayout>
+
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_retrieve_password_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_15"
+ android:visibility="gone">
+
+ <RelativeLayout
+ android:id="@+id/rl_retrieve_password_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_40">
+
+ <TextView
+ android:id="@+id/tv_retrieve_password_ui_title"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_find_pwd"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <ImageView
+ android:id="@+id/iv_retrieve_password_ui_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/ipay_margin_15"
+ android:src="@drawable/ipay_dialog_close" />
+
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_retrieve_password_ui_line_0"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:layout_below="@+id/rl_retrieve_password_ui_title"
+ android:background="@color/ipay_color_value_3" />
+
+ <RelativeLayout
+ android:id="@+id/rl_retrieve_password_ui_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_retrieve_password_ui_line_0"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:background="@drawable/ipay_bg_4_1">
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/et_retrieve_password_ui_input_phone_number">
+
+ <EditText
+ android:id="@+id/et_retrieve_password_ui_input_verification_code"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:background="@drawable/ipay_edit_cursor_color_bottom"
+ android:digits="0123456789"
+ android:hint="@string/ipay_ui_login_input_sms_num"
+ android:inputType="number"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center">
+
+ <View
+ android:layout_width="@dimen/ipay_divid_line_h"
+ android:layout_height="@dimen/ipay_margin_15"
+ android:layout_alignLeft="@+id/tv_retrieve_password_ui_verification_code"
+ android:background="@color/ipay_color_value_7" />
+
+ <TextView
+ android:id="@+id/tv_retrieve_password_ui_verification_code"
+ android:layout_width="@dimen/ipay_height_70"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_get_number"
+ android:textColor="@drawable/ipay_account_smscode_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_11" />
+
+ </RelativeLayout>
+
+ </FrameLayout>
+
+ <EditText
+ android:id="@+id/et_retrieve_password_ui_input_phone_number"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_37"
+ android:background="@drawable/ipay_edit_cursor_color_top"
+ android:digits="0123456789"
+ android:hint="@string/ipay_ui_login_input_phone_num"
+ android:inputType="number"
+ android:paddingLeft="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_6"
+ android:textColorHint="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/tv_retrieve_password_ui_next_step"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_height_44"
+ android:layout_below="@+id/rl_retrieve_password_ui_et"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:gravity="center"
+ android:text="@string/ipay_ui_login_next_step"
+ android:textColor="@drawable/ipay_account_common_btn_text_color"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ </RelativeLayout>
+
+
+</FrameLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_h.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_h.xml
new file mode 100644
index 0000000..0f1a407
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_h.xml
@@ -0,0 +1,282 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@drawable/ipay_bg" >
+
+ <include
+ android:id="@+id/v_title_bar_aipay"
+ layout="@layout/ipay_ui_title_bar_normal" />
+
+ <LinearLayout
+ android:id="@+id/rl_feeinfo_aipay_main"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_below="@id/v_title_bar_aipay"
+ android:background="@color/ipay_color_value_1"
+ android:orientation="horizontal" >
+
+ <ScrollView
+ android:layout_width="0dp"
+ android:layout_weight="2"
+ android:layout_height="match_parent"
+ android:background="@drawable/ipay_common_slash_bg">
+
+ <LinearLayout
+ android:id="@+id/rl_feeinfo_aipay_up"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_gravity="center"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="楼"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_23" />
+
+ <TextView
+ android:id="@+id/tv_price_aipay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=" 9.99"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_23" />
+
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/tv_wares_name_aipay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:layout_gravity="center"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <TextView
+ android:id="@+id/tv_wares_order_id_aipay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:text="323451234567656"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+
+ </LinearLayout>
+
+ </ScrollView>
+
+ <View
+ android:id="@+id/v_divider_aipay"
+ android:layout_width="@dimen/ipay_divid_line_h"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_3" />
+
+
+ <RelativeLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="3">
+
+ <LinearLayout
+ android:id="@+id/ll_notice_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_2_0"
+ android:orientation="vertical"
+ android:visibility="visible">
+
+ <com.iapppay.ui.widget.MarqueeTextView
+ android:id="@+id/tv_notice_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_margin_28"
+ android:paddingLeft="@dimen/ipay_margin_10"
+ android:ellipsize="marquee"
+ android:gravity="center_vertical"
+ android:marqueeRepeatLimit="marquee_forever"
+ android:singleLine="true"
+ android:text="qwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwert"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+
+ </LinearLayout>
+
+ <FrameLayout
+ android:layout_below="@+id/ll_notice_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ScrollView
+ android:id="@+id/sl_pay_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_2" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/ll_pay_list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="vertical" >
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_more_paytype"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:paddingBottom="5dp"
+ android:paddingTop="5dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:drawableRight="@drawable/ipay_dropdown_bg"
+ android:text="@string/ipay_ui_pay_hub_more_type"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+ </LinearLayout>
+
+
+ <LinearLayout
+ android:id="@+id/ll_qq_center_service"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:layout_marginBottom="@dimen/ipay_height_80"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:visibility="visible"
+ android:paddingRight="10dp"
+ android:paddingTop="5dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_pay_hub_qq"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_qq"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="4000000000"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_service_center"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dp"
+ android:text="@string/ipay_person_center_server_center"
+ android:textColor="@color/ipay_color_value_7_6"
+ android:textSize="@dimen/ipay_text_size_12" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_qq_center_service_bottom"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:layout_marginBottom="@dimen/ipay_height_80"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:visibility="gone"
+ android:paddingRight="10dp"
+ android:paddingTop="5dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_pay_hub_qq"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_qq_bottom"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="4000000000"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_service_center_bottom"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dp"
+ android:text="@string/ipay_person_center_server_center"
+ android:textColor="@color/ipay_color_value_7_6"
+ android:textSize="@dimen/ipay_text_size_12" />
+ </LinearLayout>
+
+ </LinearLayout>
+
+ </ScrollView>
+
+ <TextView
+ android:id="@+id/tv_bottom_submit_btn"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_20"
+ android:layout_marginRight="@dimen/ipay_margin_20"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:layout_gravity="bottom"
+ android:gravity="center"
+ android:paddingBottom="@dimen/ipay_margin_10"
+ android:paddingTop="@dimen/ipay_margin_10"
+ android:text="@string/ipay_ui_pay_hub_ensure_pay"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_17"
+ android:visibility="visible" />
+
+ <TextView
+ android:id="@+id/tv_bottom_submit_btn_hover"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_20"
+ android:layout_marginRight="@dimen/ipay_margin_20"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:layout_gravity="bottom"
+ android:gravity="center"
+ android:paddingBottom="@dimen/ipay_margin_10"
+ android:paddingTop="@dimen/ipay_margin_10"
+ android:text="@string/ipay_ui_pay_hub_ensure_pay"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_17"
+ android:visibility="visible" />
+
+ </FrameLayout>
+
+ </RelativeLayout>
+
+ </LinearLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_v.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_v.xml
new file mode 100644
index 0000000..433bfd9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_hub_layout_v.xml
@@ -0,0 +1,288 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_1">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_1">
+
+ <include
+ android:id="@+id/v_title_bar_aipay"
+ layout="@layout/ipay_ui_title_bar_normal" />
+
+ <LinearLayout
+ android:id="@+id/ll_notice_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/v_title_bar_aipay"
+ android:background="@color/ipay_color_value_2_0"
+ android:orientation="vertical"
+ android:visibility="visible">
+
+ <com.iapppay.ui.widget.MarqueeTextView
+ android:id="@+id/tv_notice_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_margin_28"
+ android:paddingLeft="@dimen/ipay_margin_10"
+ android:ellipsize="marquee"
+ android:gravity="center_vertical"
+ android:marqueeRepeatLimit="marquee_forever"
+ android:singleLine="true"
+ android:text="qwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwertqwertyuioiuytr1234565432ewwert"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+
+ </LinearLayout>
+
+
+ <LinearLayout
+ android:id="@+id/rl_feeinfo_aipay_up"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/ll_notice_aipay"
+ android:background="@drawable/ipay_common_slash_bg"
+ android:gravity="center"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="楼 "
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_23" />
+
+ <TextView
+ android:id="@+id/tv_price_aipay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=" 9.99"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_23" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/tv_wares_name_aipay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_4"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:textColor="@color/ipay_color_value_5"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_wares_order_id_aipay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="3234567654323"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_line"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/rl_feeinfo_aipay_up"
+ android:orientation="vertical">
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_title_bar_text_line_margin"
+ android:background="@color/ipay_color_value_line_height_2" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_line_height_1" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_margin_15"
+ android:background="@color/ipay_color_value_2" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+
+ </LinearLayout>
+
+ <ScrollView
+ android:id="@+id/sl_pay_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/ll_line"
+ android:background="@color/ipay_color_value_2">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/ll_pay_list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="vertical"></LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_more_paytype"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ android:gravity="center"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/textView"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/ipay_height_38"
+ android:drawableRight="@drawable/ipay_dropdown_bg"
+ android:gravity="center"
+ android:text="@string/ipay_ui_pay_hub_more_type"
+ android:textColor="@color/ipay_color_value_5"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+
+
+ <LinearLayout
+ android:id="@+id/ll_qq_center_service"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/ipay_margin_10"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:visibility="gone"
+ android:paddingRight="10dp"
+ android:paddingTop="5dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_pay_hub_qq"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_qq"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="4000000000"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_service_center"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="10dp"
+ android:text="@string/ipay_person_center_server_center"
+ android:textColor="@color/ipay_color_value_7_6"
+ android:textSize="@dimen/ipay_text_size_12" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/tv_bottom_submit_btn"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_10"
+ android:layout_marginRight="@dimen/ipay_margin_10"
+ android:layout_marginTop="@dimen/ipay_margin_40"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:gravity="center"
+ android:paddingBottom="@dimen/ipay_margin_10"
+ android:paddingTop="@dimen/ipay_margin_10"
+ android:text="@string/ipay_ui_pay_hub_ensure_pay"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_17"
+ android:visibility="visible" />
+
+ </LinearLayout>
+
+ </ScrollView>
+
+ <LinearLayout
+ android:id="@+id/ll_qq_center_service_bottom"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:paddingRight="10dp"
+ android:background="@color/ipay_color_value_2"
+ android:paddingTop="5dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_pay_hub_qq"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_qq_bottom"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="4000000000"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_pay_hub_service_center_bottom"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="10dp"
+ android:text="@string/ipay_person_center_server_center"
+ android:textColor="@color/ipay_color_value_7_6"
+ android:textSize="@dimen/ipay_text_size_12" />
+ </LinearLayout>
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/tv_bottom_submit_btn_hover"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="@dimen/ipay_margin_10"
+ android:layout_marginLeft="@dimen/ipay_margin_10"
+ android:layout_marginRight="@dimen/ipay_margin_10"
+ android:layout_marginTop="@dimen/ipay_margin_40"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:gravity="center"
+ android:paddingBottom="@dimen/ipay_margin_10"
+ android:paddingTop="@dimen/ipay_margin_10"
+ android:text="@string/ipay_ui_pay_hub_ensure_pay"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_17"
+ android:visibility="invisible" />
+
+</FrameLayout>
+
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_type_item.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_type_item.xml
new file mode 100644
index 0000000..41c0a31
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_pay_type_item.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/RelativeLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <RelativeLayout
+ android:id="@+id/rl_list_view_item"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ android:clickable="false"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/iv_pay_type_icon"
+ android:layout_width="@dimen/ipay_margin_25"
+ android:layout_height="@dimen/ipay_margin_25"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:scaleType="fitCenter"
+ android:src="@drawable/ipay_icon_paytype_aibeibi" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/ipay_height_60"
+ android:layout_gravity="center_vertical"
+ android:layout_toLeftOf="@+id/iv_item_right"
+ android:layout_toRightOf="@+id/iv_pay_type_icon"
+ android:gravity="center_vertical"
+ android:orientation="vertical"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:paddingLeft="@dimen/ipay_margin_15">
+
+ <LinearLayout
+ android:id="@+id/ll_pay_type_item_top"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/tv_pay_type_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="TextView"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_15" />
+
+ <TextView
+ android:id="@+id/tv_pay_type_discount"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:background="@drawable/ipay_fillet_border_color_8"
+ android:paddingBottom="1dp"
+ android:paddingLeft="3dp"
+ android:paddingRight="3dp"
+ android:paddingTop="1dp"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_10" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/tv_pay_type_msg"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="3dp"
+ android:singleLine="true"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_10" />
+
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/iv_item_right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:src="@drawable/ipay_ui_checked" />
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/v_divider_aipay"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/ipay_divid_line_h"
+ android:background="@color/ipay_color_value_3" />
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_item.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_item.xml
new file mode 100644
index 0000000..0ded370
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_item.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="@dimen/ipay_height_34"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/tv_select_amount"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_gravity="center"
+ android:background="@drawable/ipay_bg_select_charge_item_color_1"
+ android:gravity="center"
+ android:textColor="@color/ipay_color_value_5"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+ <EditText
+ android:id="@+id/et_input_amount"
+ android:layout_width="match_parent"
+ android:layout_height="fill_parent"
+ android:background="@drawable/ipay_bg_charge_input_color_stroke_2"
+ android:gravity="center"
+ android:hint="@string/ipay_ui_select_amount_hint"
+ android:visibility="gone"
+ android:inputType="number"
+ android:textCursorDrawable="@color/ipay_color_value_7"
+ android:textColorHint="@color/ipay_color_value_5"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_13" />
+
+</FrameLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_layout.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_layout.xml
new file mode 100644
index 0000000..dd52310
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_select_amount_layout.xml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_2"
+ android:orientation="vertical" >
+
+ <include
+ android:id="@+id/title_bar"
+ layout="@layout/ipay_ui_title_bar_normal" />
+
+ <ScrollView
+ android:layout_below="@+id/title_bar"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:fadingEdge="none"
+ android:scrollbarThumbVertical="@drawable/ipay_ui_scrollbar" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/ipay_color_value_1"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_select_amount_tip"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:textColor="@color/ipay_color_value_4"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <RelativeLayout
+ android:id="@+id/rl_select_amount"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1" >
+
+ <ScrollView
+ android:layout_marginTop="@dimen/ipay_margin_15"
+ android:layout_marginBottom="@dimen/ipay_margin_5"
+ android:id="@+id/sv_select_amount"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ android:scrollbars="none" >
+
+ <LinearLayout
+ android:id="@+id/ll_select_amount"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:background="@color/ipay_color_value_1"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/ll_gridview"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/ipay_color_value_1"
+ android:orientation="vertical" >
+ </LinearLayout>
+
+ </LinearLayout>
+
+ </ScrollView>
+
+ <LinearLayout
+ android:layout_below="@+id/sv_select_amount"
+ android:layout_width="fill_parent"
+ android:layout_height="35dip"
+ android:layout_gravity="center_vertical"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginBottom="@dimen/ipay_margin_20"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_select_amount_arrival"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_VirtualCurrency"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="10"
+ android:textColor="@color/ipay_color_value_8"
+ android:textSize="@dimen/ipay_text_size_12" />
+
+ <TextView
+ android:id="@+id/tv_VirtualCurrency_unit"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/ipay_ui_select_amount_unit"
+ android:textColor="@color/ipay_color_value_6"
+ android:textSize="@dimen/ipay_text_size_12" />
+ </LinearLayout>
+
+ </RelativeLayout>
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:background="@color/ipay_color_value_2"
+ android:layout_height="wrap_content">
+
+ <Button
+ android:id="@+id/btn_submit_pay"
+ android:layout_width="fill_parent"
+ android:layout_height="@dimen/ipay_height_50"
+ android:background="@drawable/ipay_common_btn_bg_color"
+ android:text="@string/ipay_person_center_charge"
+ android:layout_marginLeft="@dimen/ipay_margin_15"
+ android:layout_marginRight="@dimen/ipay_margin_15"
+ android:layout_marginBottom="@dimen/ipay_margin_15"
+ android:layout_marginTop="@dimen/ipay_height_40"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_14" />
+
+ </FrameLayout>
+
+ </LinearLayout>
+
+ </ScrollView>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_title_bar_normal.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_title_bar_normal.xml
new file mode 100644
index 0000000..b4b97e9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ipay_ui_title_bar_normal.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/welcome_page"
+ android:layout_width="fill_parent"
+ android:layout_height="@dimen/ipay_title_h"
+ android:background="@color/ipay_color_value_7">
+
+ <ImageView
+ android:id="@+id/activity_title_bar_left"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:contentDescription="@null"
+ android:padding="@dimen/ipay_margin_10"
+ android:scaleType="fitXY"
+ android:src="@drawable/ipay_ui_back_selector"
+ android:visibility="visible" />
+
+ <TextView
+ android:id="@+id/activity_title_bar_middle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text="@string/ipay_ui_title_bar_normal_title"
+ android:textColor="@color/ipay_color_value_1"
+ android:textSize="@dimen/ipay_text_size_18"
+ android:visibility="visible" />
+
+ <TextView
+ android:id="@+id/activity_title_bar_right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:padding="@dimen/ipay_margin_10"
+ android:text="@string/ipay_ui_title_bar_normal_log"
+ android:textColor="@drawable/ipay_ui_title_right_button_selector"
+ android:textSize="@dimen/ipay_text_size_15"
+ android:visibility="visible" />
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/layout_express_smc.xml b/Project/yl_sdk/src/game_ylgame/res/layout/layout_express_smc.xml
new file mode 100644
index 0000000..67e9011
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/layout_express_smc.xml
@@ -0,0 +1,50 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+
+ <WebView
+ android:id="@+id/mainwebview"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:visibility="gone" />
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:id="@+id/splash_layout"
+ android:background="@drawable/smc_bg"
+ android:visibility="visible" >
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:id="@+id/linearLayout"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/msg"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/loading"
+ android:layout_gravity="center_horizontal"
+ android:textColor="#535353" />
+
+ <ProgressBar
+ android:id="@+id/progressBar"
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="10dp"
+ android:indeterminateDrawable="@anim/smc_progress"
+ android:max="10000" />
+ </LinearLayout>
+ <ImageView android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_above="@id/linearLayout"
+ android:src="@drawable/smc_splash"/>
+ </RelativeLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_activity_sdk.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_activity_sdk.xml
new file mode 100644
index 0000000..b0cef75
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_activity_sdk.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@drawable/main_gamebg"
+ android:padding="10dip"
+ android:orientation="vertical">
+
+ <Button
+ android:id="@+id/btn_login"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:alpha="0.6"
+ android:text="鐧诲綍"
+ />
+ <EditText
+ android:hint="璁剧疆鍏呭�奸噾棰�"
+ android:id="@+id/et_money"
+ android:singleLine="true"
+ android:maxLength="8"
+ android:layout_marginTop="10dp"
+ android:layout_marginBottom="10dp"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <Button
+ android:id="@+id/btn_charger"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:alpha="0.6"
+ android:text="鍏呭��"
+ />
+
+ <TextView
+ android:id="@+id/tv_msg"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ />
+
+ <Button
+ android:text="璁剧疆瑙掕壊淇℃伅"
+ android:id="@+id/btn_role"
+ android:layout_width="fill_parent"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:alpha="0.6"
+ android:layout_height="wrap_content"/>
+
+ <Button
+ android:id="@+id/btn_logout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="閫�鍑虹櫥褰�" />
+
+</LinearLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_activity_wechatpay.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_activity_wechatpay.xml
new file mode 100644
index 0000000..7eba6fd
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_activity_wechatpay.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/white"
+ android:orientation="vertical">
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_float_layout.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_float_layout.xml
new file mode 100644
index 0000000..5e4834e
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_float_layout.xml
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" >
+
+ <ImageView
+ android:id="@+id/iv_float"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:maxHeight="58dp"
+ android:maxWidth="58dp"
+ android:adjustViewBounds="true"
+ android:src="@drawable/main_fload"/>
+
+
+ <LinearLayout
+ android:id="@+id/item_lay"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/float_view_height"
+ android:layout_alignLeft="@+id/iv_float"
+ android:visibility="gone"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/float_item_id"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxHeight="@dimen/float_view_height"
+ android:maxWidth="@dimen/float_view_height"
+ android:adjustViewBounds="true"
+ android:src="@drawable/main_floating_view_back_left"/>
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/main_float_body_bg"
+ android:maxHeight="@dimen/float_view_height"
+ android:maxWidth="@dimen/float_view_height"
+ android:adjustViewBounds="true"
+ android:gravity="center_vertical"
+ android:orientation="horizontal">
+
+ <LinearLayout
+ android:id="@+id/menu_item"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="#00000000"
+ android:orientation="horizontal">
+
+ <LinearLayout
+ android:id="@+id/float_item_user_lay"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:background="#00000000"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxHeight="20dp"
+ android:maxWidth="20dp"
+ android:adjustViewBounds="true"
+ android:src="@drawable/main_float_user_bg"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/btn_user"
+ android:layout_gravity="center_horizontal"
+ android:textColor="#ffffff"
+ android:textSize="@dimen/float_min_font"/>
+
+ </LinearLayout>
+
+
+ <LinearLayout
+ android:id="@+id/float_item_gift_lay"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_marginLeft="18dp"
+ android:background="#00000000"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxHeight="20dp"
+ android:maxWidth="20dp"
+ android:adjustViewBounds="true"
+ android:src="@drawable/main_float_gift_bg"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/btn_gift"
+ android:layout_gravity="center_horizontal"
+ android:textColor="#ffffff"
+ android:textSize="@dimen/float_min_font"/>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/float_item_server_lay"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_marginLeft="18dp"
+ android:background="#00000000"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxHeight="20dp"
+ android:maxWidth="20dp"
+ android:adjustViewBounds="true"
+ android:src="@drawable/main_float_server_bg"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/btn_server"
+ android:layout_gravity="center_horizontal"
+ android:textColor="#ffffff"
+ android:textSize="@dimen/float_min_font"/>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/float_item_logout_lay"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_marginLeft="18dp"
+ android:background="#00000000"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxHeight="20dp"
+ android:maxWidth="20dp"
+ android:adjustViewBounds="true"
+ android:src="@drawable/main_float_logout_bg"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/btn_logout"
+ android:layout_gravity="center_horizontal"
+ android:textColor="#ffffff"
+ android:textSize="@dimen/float_min_font"/>
+ </LinearLayout>
+ </LinearLayout>
+
+ </LinearLayout>
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:maxHeight="@dimen/float_view_height"
+ android:maxWidth="@dimen/float_view_height"
+ android:adjustViewBounds="true"
+ android:src="@drawable/main_float_foot_bg"/>
+
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_indentify.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_indentify.xml
new file mode 100644
index 0000000..6d30309
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_indentify.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/gray2"
+ android:gravity="center">
+
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ android:paddingBottom="15dp"
+ android:orientation="vertical"
+ android:layout_centerVertical="true"
+ android:layout_centerHorizontal="true">
+
+ <TextView
+ android:id="@+id/tv_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginBottom="15dp"
+ android:layout_marginTop="15dp"
+ android:text="瀹炲悕璁よ瘉"
+ android:textSize="18sp" />
+
+ <RelativeLayout
+ android:id="@+id/rl_username"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ >
+
+ <EditText
+ android:id="@+id/et_username"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentTop="true"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ョ湡瀹炲鍚�"
+ android:paddingLeft="40dip"
+ android:paddingRight="85dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true"
+ android:textColor="#818181"
+ android:textColorHint="#c8c8c8"
+ android:textSize="15dip" />
+
+ <ImageView
+ android:id="@+id/iv_phoneuser"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_alignBottom="@id/et_username"
+ android:layout_alignTop="@id/et_username"
+ android:layout_alignLeft="@id/et_username"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_user"/>
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_yzm"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_username"
+ android:layout_marginBottom="5dip"
+ android:layout_marginTop="5dip" >
+
+ <EditText
+ android:id="@+id/et_identify"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="韬唤璇佸彿鐮�"
+ android:paddingLeft="40dip"
+ android:paddingRight="20dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true"
+ android:textColor="#818181"
+ android:textColorHint="#c8c8c8"
+ android:textSize="14sp" />
+
+ <ImageView
+ android:id="@+id/iv_user"
+ android:layout_width="40dp"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_identify"
+ android:layout_alignTop="@id/et_identify"
+ android:layout_alignLeft="@id/et_identify"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_identify_code"/>
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_pwd"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_username"
+ android:layout_marginBottom="5dip"
+ android:layout_marginTop="5dip" >
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="15dp"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/btn_cancel"
+ android:layout_width="0dp"
+ android:layout_height="40dip"
+ android:layout_weight="1"
+ android:background="@drawable/ttw_login_in"
+ android:text="鍙栨秷璁よ瘉"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+
+ <Button
+ android:id="@+id/btn_in"
+ android:layout_width="0dp"
+ android:layout_height="40dip"
+ android:layout_marginLeft="15dp"
+ android:layout_weight="1"
+ android:background="@drawable/main_go_login"
+ android:text="绔嬪嵆璁よ瘉"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+
+ </LinearLayout>
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_login.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_login.xml
new file mode 100644
index 0000000..b0e2986
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_login.xml
@@ -0,0 +1,383 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#01000000" >
+
+ <RelativeLayout
+ android:id="@+id/ll_quick_login"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top"
+ android:layout_marginTop="35dip"
+ android:visibility="gone" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="visible" >
+
+ <LinearLayout
+ android:id="@+id/button_layout"
+ android:layout_width="fill_parent"
+ android:layout_height="55dip"
+ android:layout_marginLeft="2dp"
+ android:layout_marginRight="2dp"
+ android:background="@drawable/main_bg_login_tyy"
+ android:gravity="center"
+ android:padding="10dip" >
+
+ <TextView
+ android:id="@+id/tv_quick_username"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="40dip"
+ android:ellipsize="end"
+ android:maxWidth="80dp"
+ android:shadowColor="@android:color/black"
+ android:shadowDx="5"
+ android:shadowDy="5"
+ android:shadowRadius="10"
+ android:singleLine="true"
+ android:text="tttssssaa"
+ android:textColor="@android:color/white"
+ android:textSize="15dip" />
+
+ <TextView
+ android:id="@+id/tv_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=","
+ android:textColor="@android:color/white"
+ android:textSize="15dip" />
+
+ <TextView
+ android:id="@+id/tv_welcome"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dip"
+ android:text="娆㈣繋鍥炴潵"
+ android:textColor="@android:color/white"
+ android:textSize="15dip" />
+
+ <RelativeLayout
+ android:id="@+id/btn_cutaccount"
+ android:layout_width="86dip"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="30dip"
+ android:padding="5dip" >
+
+ <TextView
+ android:id="@+id/tv_cut_login"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="16dip"
+ android:background="@drawable/xs_cutlogin_bg"
+ android:gravity="center"
+ android:text="鍒囨崲璐﹀彿"
+ android:textColor="@android:color/white"
+ android:textSize="14sp" />
+ </RelativeLayout>
+ </LinearLayout>
+
+ <RelativeLayout
+ android:layout_width="170dip"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/button_layout"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="1dp"
+ android:background="@drawable/main_bg_login_tyy"
+ android:paddingBottom="5dp"
+ android:visibility="visible" >
+
+ <ImageView
+ android:id="@+id/iv_loadingline"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/ll_loading"
+ android:layout_marginTop="10dip"
+ android:background="@drawable/ttw_giftdialog_top" />
+
+ <RelativeLayout
+ android:id="@+id/relativeLayout1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:background="#c0000000" >
+ </RelativeLayout>
+
+ <ImageView
+ android:id="@+id/iv_loadingtu"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/iv_loadingline"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="5dp"
+ android:background="@drawable/main_xs_loading2" />
+
+ <LinearLayout
+ android:id="@+id/ll_loading"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/relativeLayout1"
+ android:layout_centerHorizontal="true"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/tv_tip"
+ android:layout_width="wrap_content"
+ android:layout_height="26dip"
+ android:layout_gravity="center"
+ android:layout_marginLeft="10dip"
+ android:gravity="center"
+ android:text="姝e湪鐧婚檰..."
+ android:textColor="@android:color/white"
+ android:textSize="20dip" />
+ </LinearLayout>
+ </RelativeLayout>
+ </RelativeLayout>
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_login"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:layout_marginLeft="20dip"
+ android:layout_marginRight="20dip"
+ android:background="@drawable/main_bg_login_noquick"
+ android:paddingBottom="10dip"
+ android:paddingLeft="18dip"
+ android:paddingRight="18dip"
+ android:paddingTop="10dip"
+ android:visibility="visible" >
+
+ <RelativeLayout
+ android:id="@+id/ll_logo"
+ android:layout_width="fill_parent"
+ android:layout_height="45dip"
+ android:layout_marginBottom="10dip" >
+
+ <ImageView
+ android:id="@+id/iv_logo"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:src="@drawable/main_login" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_username"
+ android:layout_width="match_parent"
+ android:layout_height="50dip"
+ android:layout_below="@id/ll_logo" >
+
+ <EditText
+ android:id="@+id/et_username"
+ android:layout_width="match_parent"
+ android:layout_height="45dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ユ父鎴忓笎鍙�"
+ android:paddingLeft="40dip"
+ android:paddingRight="30dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true"
+ android:textColor="#818181"
+ android:textColorHint="#c8c8c8"
+ android:textSize="15dip" />
+
+ <ImageView
+ android:id="@+id/iv_user"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_username"
+ android:layout_alignLeft="@id/et_username"
+ android:layout_alignTop="@id/et_username"
+ android:focusable="true"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:scaleType="center"
+ android:src="@drawable/main_user" />
+
+ <ImageView
+ android:id="@+id/iv_userselect"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_username"
+ android:layout_alignRight="@id/et_username"
+ android:layout_alignTop="@id/et_username"
+ android:focusable="true"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:scaleType="center"
+ android:src="@drawable/xs_login_up" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_pwd"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:layout_below="@id/rl_username"
+ android:layout_marginBottom="10dip"
+ android:layout_marginTop="10dip" >
+
+ <EditText
+ android:id="@+id/et_pwd"
+ android:layout_width="fill_parent"
+ android:layout_height="50dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ユ父鎴忓瘑鐮�"
+ android:paddingLeft="40dip"
+ android:paddingRight="50dip"
+ android:password="true"
+ android:selectAllOnFocus="true"
+ android:singleLine="true"
+ android:textColor="#818181"
+ android:textColorHint="#c8c8c8"
+ android:textSize="15dip" />
+
+ <ImageView
+ android:id="@+id/iv_pwd"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignLeft="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:focusable="true"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:scaleType="center"
+ android:src="@drawable/main_password" />
+
+ <ImageView
+ android:id="@+id/iv_pwdishow"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignRight="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:focusable="true"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:scaleType="center"
+ android:src="@drawable/main_eye_close" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_login_register"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_pwd" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="40dip"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/tv_register"
+ android:layout_width="0dip"
+ android:layout_height="40dip"
+ android:layout_weight="1"
+ android:background="@drawable/ttw_login_in"
+ android:gravity="center"
+ android:text="涓�閿敞鍐�"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+
+ <Button
+ android:id="@+id/btn_login"
+ android:layout_width="0dip"
+ android:layout_height="40dip"
+ android:layout_marginLeft="15dip"
+ android:layout_weight="1"
+ android:background="@drawable/main_go_login"
+ android:gravity="center"
+ android:text="绔嬪嵆鐧婚檰"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+ </LinearLayout>
+ </RelativeLayout>
+
+ <Button
+ android:id="@+id/btn_forget"
+ android:layout_width="wrap_content"
+ android:layout_height="25dip"
+ android:layout_below="@id/rl_login_register"
+ android:layout_margin="4dip"
+ android:layout_marginLeft="10dip"
+ android:background="#FFFFFF"
+ android:text="蹇樿瀵嗙爜?"
+ android:textColor="#878787"
+ android:textSize="13sp" />
+
+ <LinearLayout
+ android:id="@+id/tv_other_loginway"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/btn_forget"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:visibility="gone" >
+
+ <View
+ android:layout_width="0dip"
+ android:layout_height="1dip"
+ android:layout_weight="1"
+ android:background="#CECBCE" />
+
+ <TextView
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:text="鍏朵粬鐧诲綍鏂瑰紡"
+ android:textColor="#878787"
+ android:textSize="12sp" />
+
+ <View
+ android:layout_width="0dip"
+ android:layout_height="1dip"
+ android:layout_weight="1"
+ android:background="#CECBCE" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/tv_other_loginway"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:layout_marginTop="5dip"
+ android:orientation="horizontal"
+ android:visibility="gone" >
+
+ <ImageView
+ android:id="@+id/iv_login_visitor"
+ android:layout_width="0dp"
+ android:layout_height="50dp"
+ android:layout_weight="1"
+ android:clickable="true"
+ android:src="@drawable/main_login_visitor" />
+
+ <ImageView
+ android:id="@+id/iv_login_wechat"
+ android:layout_width="0dp"
+ android:layout_height="50dp"
+ android:layout_weight="1"
+ android:clickable="true"
+ android:src="@drawable/main_login_weixin" />
+
+ <ImageView
+ android:id="@+id/iv_login_qq"
+ android:layout_width="0dp"
+ android:layout_height="50dp"
+ android:layout_weight="1"
+ android:clickable="true"
+ android:src="@drawable/main_login_qq" />
+ </LinearLayout>
+ </RelativeLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_mobile_register.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_mobile_register.xml
new file mode 100644
index 0000000..1c95c1f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_mobile_register.xml
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#01000000" >
+
+ <RelativeLayout
+ android:id="@+id/rl_login"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:layout_marginLeft="20dip"
+ android:layout_marginRight="20dip"
+ android:background="@drawable/main_bg_login_noquick"
+ android:paddingTop="10dip"
+ android:paddingBottom="10dip"
+ android:paddingLeft="18dip"
+ android:paddingRight="18dip"
+ >
+
+ <RelativeLayout
+ android:id="@+id/ll_logo"
+ android:layout_width="fill_parent"
+ android:layout_height="45dip"
+ android:layout_marginBottom="10dip"
+ >
+
+ <TextView
+ android:id="@+id/tv_logo"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text="鎵嬫満娉ㄥ唽"
+ android:textColor="@color/red"
+ android:textSize="20sp" />
+
+ </RelativeLayout>
+
+
+ <RelativeLayout
+ android:id="@+id/rl_pwd"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/ll_logo"
+ android:layout_marginBottom="5dip"
+ android:layout_marginTop="5dip" >
+
+ <EditText
+ android:id="@+id/et_normal_account"
+ android:layout_marginBottom="10dp"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ヨ处鎴凤紙鍏瓇鍗佷簩浣嶅瓧姣嶆暟瀛楃粍鎴愶級"
+ android:textColorHint="#c8c8c8"
+ android:textSize="14sp"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="20dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true" />
+ <ImageView
+ android:id="@+id/iv_user"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_normal_account"
+ android:layout_alignTop="@id/et_normal_account"
+ android:layout_alignLeft="@id/et_normal_account"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_user"/>
+ <EditText
+ android:id="@+id/et_pwd"
+ android:layout_below="@id/et_normal_account"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ユ父鎴忓瘑鐮�"
+ android:password="true"
+ android:textColorHint="#c8c8c8"
+ android:textSize="14sp"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="20dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true" />
+ <ImageView
+ android:id="@+id/iv_pwd"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:layout_alignLeft="@id/et_pwd"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_password"/>
+ <ImageView
+ android:id="@+id/iv_pwdishow"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:layout_alignRight="@id/et_pwd"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_eye_close"/>
+ <Button
+ android:id="@+id/btn_repwd"
+ android:layout_width="40dip"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignRight="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:text="淇敼"
+ android:textSize="12dip"
+ android:visibility="gone" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_retext"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_pwd"
+ android:layout_marginBottom="5dip">
+ <LinearLayout
+ android:id="@+id/ll_agreement"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal"
+ >
+
+ <ImageView
+ android:id="@+id/iv_agree"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/main_corner_square"
+ />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dip"
+ android:gravity="center"
+ android:text="鎴戝凡闃呰涓斿悓鎰�"
+ android:textColor="@color/black"
+ android:textSize="14dip" />
+
+ <TextView
+ android:id="@+id/tv_user_aggrement"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:gravity="center"
+ android:text="銆婄敤鎴峰崗璁��"
+ android:textColor="@color/red1"
+ android:textSize="14dip" />
+
+ </LinearLayout>
+
+ </RelativeLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_goregister"
+ android:layout_width="match_parent"
+ android:layout_height="40dip"
+ android:orientation="horizontal"
+ android:layout_below="@id/rl_retext">
+ <Button
+ android:id="@+id/btn_normalregister"
+ android:layout_width="0dip"
+ android:layout_height="40dip"
+ android:layout_weight="1"
+ android:background="@drawable/ttw_login_in"
+ android:text="鏅�氭敞鍐�"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+ <Button
+ android:id="@+id/btn_game_in"
+ android:layout_width="0dip"
+ android:layout_height="40dip"
+ android:layout_marginLeft="15dip"
+ android:layout_weight="1"
+ android:background="@drawable/main_go_login"
+ android:text="瀹屾垚娉ㄥ唽"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+
+ </LinearLayout>
+
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/ll_goregister"
+ android:layout_marginBottom="10dip"
+ android:layout_marginTop="10dip" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="浠呴渶涓�姝ワ紝鍗冲彲瀹屾垚锛�"
+ android:textSize="14dip"
+ android:textColor="@color/white"/>
+
+
+
+ <TextView
+ android:id="@+id/tv_cut"
+ android:gravity="center"
+ android:layout_alignParentRight="true"
+ android:layout_width="80dip"
+ android:layout_height="20dip"
+ android:background="#FFFFFF"
+ android:text="杩斿洖鐧婚檰"
+ android:textSize="14sp"
+ android:textColor="#878787" />
+
+ </RelativeLayout>
+ </RelativeLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_pd.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_pd.xml
new file mode 100644
index 0000000..936740b
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_pd.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="150dip"
+ android:layout_height="150dip"
+ android:background="@drawable/ttw_quilogin_bg"
+ android:orientation="vertical"
+ android:gravity="center"
+ android:padding="15dip" >
+
+ <ImageView
+ android:id="@+id/iv_circle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ttw_loading"
+ />
+
+ <TextView
+ android:id="@+id/tv_msg"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@android:color/white"
+ android:layout_marginTop="10dip"
+ android:text="姝e湪鍔姏澶勭悊涓�..."
+ />
+
+</LinearLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_phonebinding.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_phonebinding.xml
new file mode 100644
index 0000000..ecb9986
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_phonebinding.xml
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/gray2"
+ android:gravity="center">
+
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ android:paddingBottom="15dp"
+ android:orientation="vertical"
+ android:layout_centerVertical="true"
+ android:layout_centerHorizontal="true">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="18sp"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="15dp"
+ android:layout_marginBottom="15dp"
+ android:text="鎵嬫満缁戝畾"/>
+ <RelativeLayout
+ android:id="@+id/rl_username"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/ll_logo"
+ >
+ <EditText
+ android:id="@+id/et_username"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ユ墜鏈哄彿"
+ android:textColorHint="#c8c8c8"
+ android:textSize="15dip"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="85dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true" />
+
+ <ImageView
+ android:id="@+id/iv_phoneuser"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_alignBottom="@id/et_username"
+ android:layout_alignTop="@id/et_username"
+ android:layout_alignLeft="@id/et_username"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_user"/>
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_yzm"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_username"
+ android:layout_marginBottom="5dip"
+ android:layout_marginTop="5dip" >
+
+ <EditText
+ android:id="@+id/et_yzm"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ラ獙璇佺爜"
+ android:textColorHint="#c8c8c8"
+ android:textSize="14sp"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="20dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true" />
+ <ImageView
+ android:id="@+id/iv_user"
+ android:layout_width="40dp"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_yzm"
+ android:layout_alignTop="@id/et_yzm"
+ android:layout_alignLeft="@id/et_yzm"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_identify_code"/>
+ <Button
+ android:id="@+id/btn_get_identifycode"
+ android:layout_width="85dip"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_yzm"
+ android:layout_alignRight="@id/et_yzm"
+ android:layout_alignTop="@id/et_yzm"
+ android:focusable="true"
+ android:background="@color/gray4"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:textSize="14sp"
+ android:scaleType="center" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_pwd"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_username"
+ android:layout_marginBottom="5dip"
+ android:layout_marginTop="5dip">
+
+
+ <EditText
+ android:id="@+id/et_pwd"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ユ父鎴忓瘑鐮�"
+ android:password="true"
+ android:textColorHint="#c8c8c8"
+ android:textSize="14sp"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="20dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true" />
+ <ImageView
+ android:id="@+id/iv_pwd"
+ android:layout_width="40dp"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:layout_alignLeft="@id/et_pwd"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_password"/>
+ <ImageView
+ android:id="@+id/iv_pwdishow"
+ android:layout_width="40dp"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:layout_alignRight="@id/et_pwd"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_eye_close"/>
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="15dp"
+ android:orientation="horizontal">
+ <Button
+ android:id="@+id/btn_cancel"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_login_in"
+ android:text="鍙栨秷缁戝畾"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+ <Button
+ android:id="@+id/btn_game_in"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="40dip"
+ android:layout_marginLeft="15dp"
+ android:background="@drawable/main_go_login"
+ android:text="绔嬪嵆缁戝畾"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list.xml
new file mode 100644
index 0000000..44a3a6f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/ll_pw"
+ android:layout_width="100dip"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:gravity="center_vertical"
+ >
+ <ListView
+ android:id="@+id/lv_pw"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:listSelector="@drawable/ttw_pw_list_selector"
+ android:divider="@color/gray1"
+ android:focusable="true"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip">
+ </ListView>
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list_item.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list_item.xml
new file mode 100644
index 0000000..628c646
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_pw_list_item.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="50dip"
+ android:gravity="center_vertical"
+ android:orientation="vertical" >
+ <TextView
+ android:id="@+id/tv_username"
+ android:layout_width="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:gravity="center_vertical"
+ android:layout_height="50dip"
+ />
+ <ImageView
+ android:id="@+id/ib_delete"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:paddingRight="5dip"
+ android:src="@drawable/ttw_delete"
+ />
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_register.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_register.xml
new file mode 100644
index 0000000..5968953
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_register.xml
@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#01000000" >
+
+ <RelativeLayout
+ android:id="@+id/rl_login"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:layout_marginLeft="20dip"
+ android:layout_marginRight="20dip"
+ android:background="@drawable/main_bg_login_noquick"
+ android:paddingTop="10dip"
+ android:paddingBottom="10dip"
+ android:paddingLeft="18dip"
+ android:paddingRight="18dip"
+ >
+
+ <RelativeLayout
+ android:id="@+id/ll_logo"
+ android:layout_width="fill_parent"
+ android:layout_height="45dip"
+ android:layout_marginBottom="10dip"
+ >
+
+ <TextView
+ android:id="@+id/tv_logo"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text="涓�閿敞鍐�"
+ android:textColor="@color/red"
+ android:textSize="20sp" />
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_username"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/ll_logo"
+ android:visibility="gone"
+ >
+
+ <EditText
+ android:id="@+id/et_username"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ユ墜鏈哄彿"
+ android:textColorHint="#c8c8c8"
+ android:textSize="15dip"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="85dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true" />
+ <ImageView
+ android:id="@+id/iv_phoneuser"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_username"
+ android:layout_alignTop="@id/et_username"
+ android:layout_alignLeft="@id/et_username"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_user"/>
+
+
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_pwd"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_username"
+ android:layout_marginBottom="5dip"
+ android:layout_marginTop="5dip" >
+
+ <EditText
+ android:id="@+id/et_normal_account"
+ android:visibility="gone"
+ android:layout_marginBottom="10dp"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ヨ处鎴�(鍏瓇鍗佷簩浣嶅瓧姣嶆暟瀛�)"
+ android:textColorHint="#c8c8c8"
+ android:textSize="14sp"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="20dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true" />
+ <ImageView
+ android:id="@+id/iv_user"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_normal_account"
+ android:layout_alignTop="@id/et_normal_account"
+ android:layout_alignLeft="@id/et_normal_account"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_user"/>
+ <Button
+ android:id="@+id/btn_get_identifycode"
+ android:layout_width="85dip"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_normal_account"
+ android:layout_alignRight="@id/et_normal_account"
+ android:layout_alignTop="@id/et_normal_account"
+ android:focusable="true"
+ android:background="@color/gray4"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:textSize="14sp"
+ android:scaleType="center" />
+ <EditText
+ android:id="@+id/et_pwd"
+ android:layout_below="@id/et_normal_account"
+ android:layout_width="fill_parent"
+ android:layout_height="40dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:hint="璇疯緭鍏ユ父鎴忓瘑鐮�"
+ android:password="true"
+ android:textColorHint="#c8c8c8"
+ android:textSize="14sp"
+ android:textColor="#818181"
+ android:paddingLeft="40dip"
+ android:paddingRight="20dip"
+ android:selectAllOnFocus="true"
+ android:singleLine="true" />
+ <ImageView
+ android:id="@+id/iv_pwd"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:layout_alignLeft="@id/et_pwd"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_password"/>
+ <ImageView
+ android:id="@+id/iv_pwdishow"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:layout_alignRight="@id/et_pwd"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/main_eye_close"/>
+ <Button
+ android:id="@+id/btn_repwd"
+ android:layout_width="40dip"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@id/et_pwd"
+ android:layout_alignRight="@id/et_pwd"
+ android:layout_alignTop="@id/et_pwd"
+ android:text="淇敼"
+ android:textSize="12dip"
+ android:visibility="gone" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_retext"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_pwd"
+ android:layout_marginBottom="5dip">
+ <LinearLayout
+ android:id="@+id/ll_agreement"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal"
+ >
+
+ <ImageView
+ android:id="@+id/iv_agree"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/main_crossout" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dip"
+ android:gravity="center"
+ android:text="鎴戝凡闃呰涓斿悓鎰�"
+ android:textColor="@color/black"
+ android:textSize="14dip" />
+
+ <TextView
+ android:id="@+id/tv_user_aggrement"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:gravity="center"
+ android:text="銆婄敤鎴峰崗璁��"
+ android:textColor="@color/red1"
+ android:textSize="14dip" />
+
+ </LinearLayout>
+
+ </RelativeLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_goregister"
+ android:layout_width="match_parent"
+ android:layout_height="40dip"
+ android:orientation="horizontal"
+ android:layout_below="@id/rl_retext">
+ <Button
+ android:id="@+id/btn_normalregister"
+ android:layout_width="0dip"
+ android:layout_height="40dip"
+ android:layout_weight="1"
+ android:background="@drawable/ttw_login_in"
+ android:text="鎵嬫満娉ㄥ唽"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+ <Button
+ android:id="@+id/btn_game_in"
+ android:layout_width="0dip"
+ android:layout_height="40dip"
+ android:layout_marginLeft="15dip"
+ android:layout_weight="1"
+ android:background="@drawable/main_go_login"
+ android:text="瀹屾垚娉ㄥ唽"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+
+ </LinearLayout>
+
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/ll_goregister"
+ android:layout_marginBottom="10dip"
+ android:layout_marginTop="10dip" >
+
+
+
+
+
+ <TextView
+ android:id="@+id/tv_cut"
+ android:gravity="center"
+ android:layout_alignParentRight="true"
+ android:layout_width="80dip"
+ android:layout_height="20dip"
+ android:background="#FFFFFF"
+ android:text="宸叉湁璐﹀彿"
+ android:textSize="15sp"
+ android:textColor="#878787" />
+
+ </RelativeLayout>
+ </RelativeLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_register_dialog.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_register_dialog.xml
new file mode 100644
index 0000000..936c50f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_register_dialog.xml
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+<RelativeLayout
+ android:id="@+id/dialog_rl_binding"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:background="@drawable/ttw_edit_two_bg">
+ <ImageView
+ android:id="@+id/dialog_iv"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="10dp"
+ android:layout_centerHorizontal="true"
+ android:background="@drawable/main_login"/>
+
+ <LinearLayout
+ android:id="@+id/dialog_ll"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:gravity="center_horizontal"
+ android:layout_below="@id/dialog_iv"
+ android:orientation="horizontal">
+ <TextView
+ android:id="@+id/dialog_tv_count"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="璐﹀彿锛�111111"/>
+
+ <TextView
+ android:id="@+id/dialog_tv_pwd"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="15dp"
+ android:text="瀵嗙爜锛�111111"/>
+ </LinearLayout>
+
+
+ <TextView
+ android:id="@+id/dialog_tv_text"
+ android:layout_height="wrap_content"
+ android:layout_width="250dp"
+ android:layout_marginLeft="15dip"
+ android:layout_marginRight="15dip"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="10dp"
+ android:layout_below="@id/dialog_ll"
+ android:textSize="15sp"
+ android:text="褰撳墠璐﹀彿鏈粦瀹氭墜鏈猴紝缁戝畾鍚庡彲鑷鎵惧洖瀵嗙爜锛屼繚鎶よ处鍙峰畨鍏�"/>
+
+ <Button
+ android:id="@+id/dialog_btn_bind"
+ android:layout_width="match_parent"
+ android:layout_height="50dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_below="@id/dialog_tv_text"
+ android:background="@color/orange"
+ android:textColor="@color/white"
+ android:text="缁戝畾鎵嬫満"/>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="60dp"
+ android:layout_marginTop="10dp"
+ android:gravity="center_vertical"
+ android:layout_below="@id/dialog_btn_bind"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/dialog_btn_ignore"
+ android:layout_height="40dp"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:background="@drawable/main_go_login"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:textSize="16sp"
+ android:text="蹇界暐鏈"/>
+
+
+ <Button
+ android:id="@+id/dialog_btn_nolonger"
+ android:layout_height="40dp"
+ android:layout_width="0dp"
+ android:layout_marginRight="10dp"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:background="@drawable/main_go_login"
+ android:textSize="16sp"
+ android:text="涓嶅啀鎻愮ず"/>
+</LinearLayout>
+</RelativeLayout>
+
+
+ <RelativeLayout
+ android:id="@+id/dialog_rl_notice"
+ android:visibility="gone"
+ android:layout_width="match_parent"
+ android:layout_height="300dp"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:layout_centerInParent="true">
+ <ImageView
+ android:id="@+id/dialog_xx"
+ android:layout_height="15dp"
+ android:layout_width="15dp"
+ android:layout_marginTop="10dp"
+ android:layout_marginRight="10dp"
+ android:layout_alignParentRight="true"
+ android:background="@drawable/ttw_delete"/>
+ <TextView
+ android:id="@+id/dialog_tv2"
+ android:layout_height="wrap_content"
+ android:textSize="20sp"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="10dp"
+ android:textColor="@color/orange_3"
+ android:layout_centerHorizontal="true"
+ android:text="鍏憡鏍�"/>
+
+ <ScrollView
+ android:id="@+id/dialog_scrollview"
+ android:layout_width="fill_parent"
+ android:layout_height="200dp"
+ android:scrollbars="vertical"
+ android:fadingEdge="vertical"
+ android:layout_below="@id/dialog_tv2">
+ <TextView
+ android:id="@+id/dialog_tv_text2"
+ android:layout_height="wrap_content"
+ android:layout_width="250dp"
+ android:layout_marginLeft="15dip"
+ android:layout_marginRight="15dip"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="20dp"
+ android:layout_below="@id/dialog_tv2"
+ android:textSize="15sp"
+ android:text="褰撳墠璐﹀彿鏈粦瀹氭墜鏈猴紝缁戝畾鍚庡彲鑷鎵惧洖瀵嗙爜锛屼繚鎶よ处鍙峰畨鍏�"/>
+ </ScrollView>
+ <Button
+ android:id="@+id/dialog_btn_enter"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_marginBottom="10dp"
+ android:layout_below="@id/dialog_scrollview"
+ android:background="@color/orange"
+ android:textColor="@color/white"
+ android:text="杩涘叆娓告垙"/>
+ </RelativeLayout>
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/main_sdk_float_web.xml b/Project/yl_sdk/src/game_ylgame/res/layout/main_sdk_float_web.xml
new file mode 100644
index 0000000..9b9efe2
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/main_sdk_float_web.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+ <RelativeLayout
+ android:id="@+id/rl_top"
+ android:layout_width="match_parent"
+ android:layout_height="50dip"
+ android:background="@color/black"
+ >
+ <TextView
+ android:id="@+id/tv_back"
+ android:layout_alignParentLeft="true"
+ android:drawableLeft="@drawable/main_float_ic_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:paddingLeft="8dip"
+ android:paddingRight="8dip"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+ android:gravity="center"
+ android:text="杩斿洖"
+ android:textColor="@android:color/white"
+ />
+
+ <TextView
+ android:id="@+id/tv_charge_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="20dp"
+ android:text="鐢ㄦ埛涓績"
+ android:layout_centerInParent="true"
+ android:textColor="@android:color/white"/>
+
+ <ImageView
+ android:id="@+id/iv_cancel"
+ android:src="@drawable/main_float_ic_action_cancel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:paddingLeft="8dip"
+ android:paddingRight="8dip"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+ android:gravity="center"
+ />
+
+ </RelativeLayout>
+ <WebView
+ android:id="@+id/wv_content"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_below="@id/rl_top"
+ />
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_alipay_pay.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_alipay_pay.xml
new file mode 100644
index 0000000..db29e8d
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_alipay_pay.xml
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#EDEDED">
+
+<LinearLayout
+ android:id="@+id/ll_content"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip">
+
+ <LinearLayout
+ android:id="@+id/ll_goods_name"
+ android:layout_width="match_parent"
+ android:layout_height="38dip"
+ android:background="#FFFFFF"
+ android:layout_marginTop="5dip"
+ android:orientation="horizontal"
+ android:focusable="true"
+ android:focusableInTouchMode="true" >
+ <TextView
+ android:id="@+id/tv_desc"
+ android:layout_width="100dip"
+ android:layout_height="fill_parent"
+ android:text="鍟嗗搧鍚嶇О:"
+ android:paddingLeft="15dip"
+ android:gravity="center_vertical"
+ android:textColor="#6E6E6E"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/tv_gold_count"
+ android:layout_width="120dp"
+ android:layout_height="match_parent"
+ android:paddingLeft="1dip"
+ android:gravity="center_vertical"
+ android:text="榄旂"
+ android:textSize="16sp" />
+
+ </LinearLayout>
+
+
+
+ <RelativeLayout
+ android:id="@+id/ll_goods_price"
+ android:layout_width="match_parent"
+ android:layout_height="38dip"
+ android:layout_marginTop="5dip"
+ android:background="#FFFFFF"
+ android:orientation="horizontal"
+ android:focusable="true"
+ android:focusableInTouchMode="true" >
+
+
+ <TextView
+ android:id="@+id/tv_price"
+ android:layout_width="100dip"
+ android:layout_height="fill_parent"
+ android:paddingLeft="15dip"
+ android:textColor="#6E6E6E"
+ android:textSize="16sp"
+ android:text="鍟嗗搧浠锋牸:"
+ android:gravity="center_vertical"/>
+
+ <TextView
+ android:id="@+id/tv_price_count"
+ android:layout_width="120dp"
+ android:layout_height="fill_parent"
+ android:paddingLeft="1dip"
+ android:layout_toRightOf="@id/tv_price"
+ android:gravity="center_vertical"
+ android:text="1"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/tv_yuan"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentRight="true"
+ android:layout_marginRight="15dip"
+ android:gravity="center_vertical"
+ android:text="鍏�"
+ android:textColor="#FF8C00"
+ android:textSize="16sp" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:id="@+id/ll_curent_acount"
+ android:layout_width="match_parent"
+ android:layout_height="38dip"
+ android:layout_marginTop="5dip"
+ android:background="#FFFFFF"
+ android:orientation="horizontal"
+ android:focusable="true"
+ android:focusableInTouchMode="true" >
+
+
+ <TextView
+ android:id="@+id/tv_curent_acount"
+ android:layout_width="100dip"
+ android:layout_height="fill_parent"
+ android:textColor="#6E6E6E"
+ android:paddingLeft="15dip"
+ android:textSize="16sp"
+ android:text="褰撳墠璐﹀彿:"
+ android:gravity="center_vertical"/>
+
+ <TextView
+ android:id="@+id/tv_count_number"
+ android:layout_width="120dp"
+ android:layout_height="fill_parent"
+ android:paddingLeft="1dip"
+ android:layout_toRightOf="@id/tv_price"
+ android:gravity="center_vertical"
+ android:text="1111111"
+ android:textSize="16sp" />
+
+ </LinearLayout>
+
+ <RelativeLayout
+ android:id="@+id/ll_acount_surplus"
+ android:layout_width="match_parent"
+ android:layout_height="38dip"
+ android:layout_marginTop="5dip"
+ android:background="#FFFFFF"
+ android:visibility="visible"
+ android:focusable="true"
+ android:focusableInTouchMode="true" >
+
+
+ <TextView
+ android:id="@+id/tv_surplus"
+ android:layout_width="100dip"
+ android:layout_height="fill_parent"
+ android:textColor="#6E6E6E"
+ android:paddingLeft="15dip"
+ android:textSize="16sp"
+ android:text="骞冲彴甯佷綑棰�:"
+ android:gravity="center_vertical"/>
+
+ <TextView
+ android:id="@+id/tv_ttb_count"
+ android:layout_width="60dp"
+ android:layout_height="fill_parent"
+ android:paddingLeft="1dip"
+ android:layout_toRightOf="@id/tv_surplus"
+ android:gravity="left|center"
+ android:text="0"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/tv_refresh"
+ android:layout_width="60dp"
+ android:layout_height="30dip"
+ android:layout_marginRight="10dip"
+ android:background="@drawable/ttw_edit_bg"
+ android:gravity="center"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:text="鍒锋柊"
+ android:textSize="14sp" />
+
+ </RelativeLayout>
+
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/tv_pay"
+ android:layout_width="match_parent"
+ android:layout_height="40dip"
+ android:layout_marginLeft="15dip"
+ android:layout_marginRight="15dip"
+ android:layout_below="@id/ll_content"
+ android:layout_marginTop="15dip"
+ android:background="#FF8C00"
+ android:gravity="center"
+ android:text="绔嬪嵆浠樻"
+ android:textColor="@android:color/white"
+ android:textSize="16sp" />
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge.xml
new file mode 100644
index 0000000..9b8852d
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/white"
+ >
+
+ <include
+ android:id="@+id/ic_nav"
+ layout="@layout/ttw_cz_navigation"
+ />
+ <View
+ android:id="@+id/charge_view"
+ android:layout_width="match_parent"
+ android:layout_height="2dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:layout_below="@id/ic_nav"
+ />
+
+ <FrameLayout
+ android:id="@+id/fl_charge_channel"
+ android:layout_width="120dp"
+ android:layout_height="match_parent"
+ android:layout_below="@id/charge_view"
+ android:background="#FCFCFC" >
+
+ <View
+ android:id="@+id/v_slider"
+ android:layout_width="match_parent"
+ android:layout_height="40dip"
+ android:layout_gravity="top|left"
+ android:background="#DCDCDC"
+ />
+
+ <LinearLayout
+ android:id="@+id/ll_charge_channel"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <ListView
+ android:id="@+id/lv_pay"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:divider="#FBE5D2"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip"
+ android:scrollingCache="false"
+ android:fadingEdge="none"
+ ></ListView>
+ </LinearLayout>
+ </FrameLayout>
+
+ <TextView
+ android:id="@+id/tv_add"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/ic_nav"
+ android:layout_margin="6dip"
+ android:layout_toRightOf="@id/fl_charge_channel"
+ android:background="#FBE5D2"
+ android:paddingLeft="25dip"
+ android:singleLine="true"
+ android:text="娆㈣繋鎮ㄧ殑鍏呭�硷紒"
+ android:textColor="#f76300"
+ android:textSize="13sp" />
+
+ <com.aoyou.sdk.pager.VerticalViewPager
+ android:id="@+id/dv_chargeContent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_toRightOf="@id/fl_charge_channel"
+ android:layout_below="@id/tv_add"
+ android:layout_marginLeft="6dip"
+ />
+
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge_list.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge_list.xml
new file mode 100644
index 0000000..4bea99c
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_charge_list.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="41dip" >
+ <LinearLayout
+ android:id="@+id/ll_charge_list"
+ android:layout_width="120dip"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:layout_centerInParent="true"
+ android:layout_height="41dip">
+
+ <ImageView
+ android:id="@+id/iv_payicon"
+ android:layout_width="28dip"
+ android:layout_height="28dip"
+ android:layout_gravity="center_vertical"/>
+
+ <TextView
+ android:id="@+id/tv_paymethod"
+ android:layout_width="80dip"
+ android:layout_height="41dip"
+ android:textSize="14sp"
+ android:gravity="center"
+ android:textColor="@android:color/black"
+ />
+ </LinearLayout>
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_cz_navigation.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_cz_navigation.xml
new file mode 100644
index 0000000..fd7ef32
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_cz_navigation.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="50dip"
+ android:background="#FFFFFF"
+ >
+
+ <TextView
+ android:id="@+id/tv_back"
+ android:layout_alignParentLeft="true"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:text="杩斿洖"
+ android:textSize="18dip"
+ android:textColor="@color/black"
+ android:paddingLeft="8dip"
+ android:paddingRight="8dip"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+ android:gravity="center"
+ />
+
+ <TextView
+ android:id="@+id/tv_charge_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="20dip"
+ android:text="鍏呭�间腑蹇�"
+ android:textColor="@color/black"
+ android:layout_centerInParent="true"
+ />
+
+ <ImageView
+ android:id="@+id/iv_ingame"
+ android:layout_width="wrap_content"
+ android:src="@drawable/ttw_charge_help"
+ android:layout_height="40dip"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:layout_marginRight="10dip"/>
+
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_kefu.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_kefu.xml
new file mode 100644
index 0000000..ca9e876
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_kefu.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/common_white">
+
+ <include layout="@layout/ttw_cz_navigation"
+ android:id="@+id/ic_top"
+ />
+ <View
+ android:id="@+id/charge_view"
+ android:layout_width="match_parent"
+ android:layout_height="2dip"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:layout_below="@id/ic_top"
+ />
+ <LinearLayout
+ android:id="@+id/ll_kefu"
+ android:layout_width="match_parent"
+ android:layout_height="90dip"
+ android:gravity="center"
+ android:layout_below="@id/charge_view"
+ android:layout_marginTop="40dip"
+ android:orientation="vertical" >
+ <TableLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ >
+ <TableRow
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ >
+ <TextView
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="right"
+ android:textSize="18dip"
+ android:textColor="@color/orange_2"
+ android:text="瀹㈡湇 Q Q锛�"
+ />
+ <TextView
+ android:id="@+id/tv_service_qq"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textSize="18dip"
+ android:textColor="@color/orange_2"
+ android:text=""
+ />
+ </TableRow>
+
+ <TableRow
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ >
+ <TextView
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:gravity="right"
+ android:layout_weight="1"
+ android:textColor="@color/orange_2"
+ android:textSize="18dip"
+ android:text="瀹㈡湇鐑嚎锛�"
+ />
+ <TextView
+ android:id="@+id/tv_service_tel"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textSize="18dip"
+ android:textColor="@color/orange_2"
+ android:text=""
+ />
+ </TableRow>
+ </TableLayout>
+ </LinearLayout>
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/ll_kefu"
+ android:layout_centerHorizontal="true"
+ android:background="@drawable/main_service" />
+
+ </RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list.xml
new file mode 100644
index 0000000..4a61d17
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/ll_pw"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:background="@drawable/ttw_edit_two_bg"
+ android:gravity="center_vertical"
+ >
+ <ListView
+ android:id="@+id/lv_menu"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:listSelector="@drawable/ttw_pw_list_selector"
+ android:divider="@color/btn_charge_gray"
+ android:focusable="true"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip"
+ ></ListView>
+</LinearLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list_item.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list_item.xml
new file mode 100644
index 0000000..d936fe2
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_menu_list_item.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="30dip"
+ android:gravity="center_vertical"
+ android:orientation="vertical" >
+ <TextView
+ android:id="@+id/tv_menuname"
+ android:layout_width="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:gravity="center"
+ android:layout_height="30dip"
+ />
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_account.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_account.xml
new file mode 100644
index 0000000..47754ce
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_account.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+
+ <include layout="@layout/ttw_cz_navigation"
+ android:id="@+id/ic_top"
+ />
+ <FrameLayout
+ android:id="@+id/tl_nav"
+ android:layout_width="match_parent"
+ android:layout_height="46dip"
+ android:background="#FBE5D2"
+ android:padding="4dip"
+ android:layout_centerVertical="true"
+ android:layout_below="@id/ic_top"
+ >
+ <View
+ android:id="@+id/v_slider"
+ android:layout_width="60dip"
+ android:layout_height="36dip"
+ android:layout_gravity="center_vertical"
+ android:background="@drawable/ttw_order_mark"
+ />
+ <TableLayout
+ android:id="@+id/ll_order_status"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ android:gravity="center"
+ >
+ <TableRow
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ >
+ <TextView
+ android:id="@+id/tv_success"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:text="鏀粯鎴愬姛"
+ android:gravity="center"
+ android:layout_weight="1"
+ android:textColor="@android:color/white"
+ />
+ <TextView
+ android:id="@+id/tv_wait"
+ android:layout_toRightOf="@id/tv_success"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:text="鏈敮浠�"
+ android:gravity="center"
+ android:layout_weight="1"
+ android:textColor="@android:color/black"
+ />
+ <TextView
+ android:id="@+id/tv_fail"
+ android:layout_toRightOf="@id/tv_wait"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:text="鏀粯澶辫触"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:textColor="@android:color/black"
+ /></TableRow>
+ </TableLayout>
+ </FrameLayout>
+ <android.support.v4.view.ViewPager
+ android:layout_below="@id/tl_nav"
+ android:id="@+id/viewPager"
+ android:layout_width="match_parent"
+ android:background="@android:color/white"
+ android:layout_height="match_parent" />
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item.xml
new file mode 100644
index 0000000..975e122
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item.xml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingTop="5dip"
+ android:paddingBottom="5dip"
+ android:paddingLeft="15dip"
+ android:paddingRight="5dip"
+ android:orientation="vertical"
+ android:background="@drawable/ttw_order_bg"
+ >
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="2dip"
+ android:layout_marginTop="2dip"
+ >
+
+ <TextView
+ android:id="@+id/tv_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:textStyle="bold"
+ android:text=" 鏀粯锛�"
+ android:textSize="12dip"
+ />
+ <TextView
+ android:id="@+id/tv_money"
+ android:layout_toRightOf="@id/tv_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="50鍏�"
+ android:textColor="#ed1717"
+ android:textSize="12dip"
+ />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="2dip"
+ android:layout_marginTop="2dip"
+ >
+ <TextView
+ android:id="@+id/tv_paytype_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:textStyle="bold"
+ android:textSize="12dip"
+ android:text="鏀粯鏂瑰紡锛�"
+ />
+ <TextView
+ android:id="@+id/tv_paytype"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/tv_paytype_title"
+ android:text="绉诲姩鍏呭�煎崱"
+ android:textSize="12dip"
+ />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="2dip"
+ android:layout_marginTop="2dip"
+ >
+ <TextView
+ android:id="@+id/tv_order_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:textSize="12dip"
+ android:textStyle="bold"
+ android:text=" 璁㈠崟鍙凤細"
+ />
+ <TextView
+ android:id="@+id/tv_order"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/tv_order_title"
+ android:text="141564168121"
+ android:textSize="12dip"
+ />
+ </RelativeLayout>
+
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="2dip"
+ android:layout_marginTop="2dip"
+ >
+ <TextView
+ android:id="@+id/tv_detail_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:textSize="12dip"
+ android:textStyle="bold"
+ android:text="鏀粯鎯呭喌锛�"
+ />
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_toRightOf="@id/tv_detail_title"
+ >
+ <TextView
+ android:id="@+id/tv_detail"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/tv_detail_title"
+ android:text="鏈敮浠�"
+ android:textSize="12dip"
+ />
+ <TextView
+ android:id="@+id/tv_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dip"
+ android:textSize="12dip"
+ android:textColor="#767676"
+ android:text="2014.03.07 11:34"
+ />
+ </LinearLayout>
+ </RelativeLayout>
+</LinearLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_fail.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_fail.xml
new file mode 100644
index 0000000..01c116a
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_fail.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="2dip"
+ >
+<LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ >
+
+ <com.aoyou.sdk.view.MyNoFocusListView
+ android:id="@+id/lv_order_fail"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:divider="@android:color/white"
+ android:dividerHeight="10dp"
+ />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="80dip"
+ android:paddingTop="5dip"
+ android:paddingBottom="5dip"
+ android:paddingLeft="15dip"
+ android:paddingRight="5dip"
+ android:orientation="vertical"
+ android:layout_marginTop="30dip"
+ android:visibility="gone"
+ android:id="@+id/ll_null"
+ android:gravity="center"
+ android:background="@drawable/ttw_order_bg"
+ >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="浜诧紝浣犺繕娌℃湁鍏呭�煎摝锛�"
+ />
+ </LinearLayout>
+ </LinearLayout>
+ </RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_sucess.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_sucess.xml
new file mode 100644
index 0000000..90c3907
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_sucess.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="2dip"
+ >
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ >
+ <com.aoyou.sdk.view.MyNoFocusListView
+ android:id="@+id/lv_order_success"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:divider="@android:color/white"
+ android:dividerHeight="10dp"
+ />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="80dip"
+ android:paddingTop="5dip"
+ android:paddingBottom="5dip"
+ android:paddingLeft="15dip"
+ android:paddingRight="5dip"
+ android:orientation="vertical"
+ android:layout_marginTop="30dip"
+ android:visibility="gone"
+ android:id="@+id/ll_null"
+ android:gravity="center"
+ android:background="@drawable/ttw_order_bg"
+ >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="浜诧紝浣犺繕娌℃湁鍏呭�煎摝锛�"
+ />
+ </LinearLayout>
+ </LinearLayout>
+ </RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_wait.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_wait.xml
new file mode 100644
index 0000000..05904c9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_order_item_wait.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="2dip"
+ >
+<LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ >
+ <com.aoyou.sdk.view.MyNoFocusListView
+ android:id="@+id/lv_order_wait"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:divider="@android:color/white"
+ android:dividerHeight="10dp"
+ />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="80dip"
+ android:paddingTop="5dip"
+ android:paddingBottom="5dip"
+ android:paddingLeft="15dip"
+ android:paddingRight="5dip"
+ android:orientation="vertical"
+ android:layout_marginTop="30dip"
+ android:visibility="gone"
+ android:id="@+id/ll_null"
+ android:gravity="center"
+ android:background="@drawable/ttw_order_bg"
+ >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="浜诧紝浣犺繕娌℃湁鍏呭�煎摝锛�"
+ />
+ </LinearLayout>
+ </LinearLayout>
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_tell_service.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_tell_service.xml
new file mode 100644
index 0000000..bacdef1
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_tell_service.xml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ttw_circle_bg"
+ android:padding="15dip" >
+
+ <RelativeLayout
+ android:id="@+id/rl_tip"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:padding="5dip" >
+
+ <TextView
+ android:id="@+id/tv_tip"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:text="璇风櫥褰曞钩鍙颁釜浜轰腑蹇僜n淇敼瀵嗙爜鎴栬仈绯�"
+ android:textColor="@android:color/darker_gray" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_order"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_tip"
+ android:layout_centerHorizontal="true"
+ android:padding="5dip" >
+
+ <TextView
+ android:id="@+id/tv_orderid_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:text="瀹㈡湇 QQ:"
+ android:textColor="@android:color/darker_gray"
+ android:textSize="14dip"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/tv_tel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:layout_toRightOf="@id/tv_orderid_title"
+ android:text=""
+ android:textColor="#6361FF"
+ android:textSize="14dip" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/rl_order1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rl_order"
+ android:layout_centerHorizontal="true"
+ android:padding="5dip" >
+
+ <TextView
+ android:id="@+id/tv_orderid_title1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:text="瀹㈡湇鐢佃瘽:"
+ android:textColor="@android:color/darker_gray"
+ android:textSize="14dip"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/tv_qq"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="5dip"
+ android:layout_toRightOf="@id/tv_orderid_title1"
+ android:autoLink="phone"
+ android:text=""
+ android:textColor="#6361FF"
+ android:textSize="14dip" />
+ </RelativeLayout>
+
+ <Button
+ android:id="@+id/btn_sure"
+ android:layout_width="wrap_content"
+ android:layout_height="50dip"
+ android:layout_below="@id/rl_order1"
+ android:layout_centerHorizontal="true"
+ android:layout_marginLeft="5dip"
+ android:layout_marginRight="5dip"
+ android:layout_marginTop="10dip"
+ android:background="@drawable/ttw_btn_selector"
+ android:paddingLeft="30dip"
+ android:paddingRight="30dip"
+ android:text="纭畾"
+ android:textColor="@android:color/white"
+ android:textSize="18dip" />
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/game_ylgame/res/layout/ttw_user_agreement.xml b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_user_agreement.xml
new file mode 100644
index 0000000..315266f
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/layout/ttw_user_agreement.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+ <include
+ android:id="@+id/icl_top"
+ layout="@layout/ttw_cz_navigation" />
+ <View
+ android:id="@+id/charge_view"
+ android:layout_width="match_parent"
+ android:layout_height="2dip"
+ android:background="#CECBCE"
+ android:layout_below="@id/icl_top"
+ />
+ <WebView
+ android:id="@+id/wv_content"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_below="@id/charge_view"
+ />
+</RelativeLayout>
diff --git a/Project/yl_sdk/src/game_ylgame/res/values-v11/styles.xml b/Project/yl_sdk/src/game_ylgame/res/values-v11/styles.xml
new file mode 100644
index 0000000..aeeae24
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/values-v11/styles.xml
@@ -0,0 +1,11 @@
+<resources>
+
+ <!--
+ Base application theme for API 11+. This theme completely replaces
+ AppBaseTheme from res/values/styles.xml on API 11+ devices.
+ -->
+ <style name="AppBaseTheme" parent="android:Theme.Light">
+ <!-- API 11 theme customizations can go here. -->
+ </style>
+
+</resources>
diff --git a/Project/yl_sdk/src/game_ylgame/res/values-v14/styles.xml b/Project/yl_sdk/src/game_ylgame/res/values-v14/styles.xml
new file mode 100644
index 0000000..a91fd03
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/values-v14/styles.xml
@@ -0,0 +1,12 @@
+<resources>
+
+ <!--
+ Base application theme for API 14+. This theme completely replaces
+ AppBaseTheme from BOTH res/values/styles.xml and
+ res/values-v11/styles.xml on API 14+ devices.
+ -->
+ <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
+ <!-- API 14 theme customizations can go here. -->
+ </style>
+
+</resources>
diff --git a/Project/yl_sdk/src/game_ylgame/res/values/color.xml b/Project/yl_sdk/src/game_ylgame/res/values/color.xml
new file mode 100644
index 0000000..c7790ae
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/values/color.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="orange" >#FF8400</color>
+ <color name="orange_1">#FF7600</color>
+ <color name="orange_2">#FF6000</color>
+ <color name="orange_3">#FC9713</color>
+ <color name="orange_4">#FC6013</color>
+ <color name="orange_5">#CC4300</color>
+ <color name="orange_6">#FF5502</color>
+ <color name="gray">#7F7C7C</color>
+ <color name="gray_text">#B1B1B1</color>
+ <color name="gray1">#C3C3C3</color>
+ <color name="gray2">#DDDDDD</color>
+ <color name="gray3">#D6D6D6</color>
+ <color name="gray4">#DEDEDE</color>
+ <color name="gray_textcolor">#BEBDBD</color>
+ <color name="white">#F8F8F8</color>
+ <color name="common_white">#ffffff</color>
+ <color name="tranparent">#00000000</color>
+ <color name="green" >#42BAE2</color>
+ <color name="green1" >#199F5B</color>
+ <color name="red" >#FF3C00</color>
+ <color name="red1" >#CC3636</color>
+ <color name="black">#2A2A2A</color>
+ <color name="blue">#1F59FC</color>
+ <color name="bg_style">#ebebeb</color>
+ <color name="btn_charge_gray">#999999</color>
+ <color name="btn_charge_green">#FF8C69</color>
+ <color name="btn_identifycode_gray">#E8E8E8</color>
+</resources>
diff --git a/Project/yl_sdk/src/game_ylgame/res/values/float_dimens.xml b/Project/yl_sdk/src/game_ylgame/res/values/float_dimens.xml
new file mode 100644
index 0000000..dedca55
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/values/float_dimens.xml
@@ -0,0 +1,18 @@
+<resources>
+
+ <!-- Default screen margins, per the Android Design guidelines. -->
+
+ <dimen name="float_view_height">60dp</dimen>
+ <dimen name="float_btn_up_padding">8dp</dimen>
+ <dimen name="float_version_padding_top_bottom">6dp</dimen>
+ <dimen name="float_btn_height">32dp</dimen>
+ <dimen name="float_marin_padding">14dp</dimen>
+ <dimen name="text_list_font">14sp</dimen>
+ <dimen name="text_list_control_font">18dp</dimen>
+ <dimen name="float_max_font">16sp</dimen>
+ <dimen name="float_normal_font">12sp</dimen>
+ <dimen name="float_normal_two_font">14sp</dimen>
+ <dimen name="float_min_font">9sp</dimen>
+ <dimen name="float_list_line_height">48dp</dimen>
+
+</resources>
diff --git a/Project/yl_sdk/src/game_ylgame/res/values/strings.xml b/Project/yl_sdk/src/game_ylgame/res/values/strings.xml
new file mode 100644
index 0000000..e9106fa
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/values/strings.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">AoyouSDK_1.0</string>
+ <string name="btn_user">鐢ㄦ埛</string>
+ <string name="btn_gift">绀煎寘</string>
+ <string name="btn_server">瀹㈡湇</string>
+ <string name="btn_logout">娉ㄩ攢</string>
+ <string name="btn_bbs">璁哄潧</string>
+ <string name="wx_not_install">鎮ㄨ繕鏈畨瑁呭井淇�</string>
+ <string name="loading">姝e湪鍔姏鐨勫姞杞�...</string>
+ <string name="server_error">鏈嶅姟绔紓甯歌绋嶅�欓噸璇曪紒</string>
+ <string name="net_error">缃戠粶杩炴帴閿欒锛岃妫�鏌ュ綋鍓嶇綉缁滅姸鎬侊紒</string>
+ <string name="go_wx_pay">鍘诲井淇′粯娆�</string>
+ <string name="wx_plug_not_install">寰俊鏀粯鎻掍欢瀹夎澶辫触锛岃閲嶆柊涓嬭浇娓告垙</string>
+ <string name="wx_plug_message">浣跨敤寰俊鏀粯闇�瑕佸畨瑁呭井淇℃敮浠樻彃浠�</string>
+ <string name="other_pay_way">閫夋嫨鍏朵粬鏀粯鏂瑰紡</string>
+ <string name="copy_file">姝e湪鍑嗗鏀粯鎻掍欢</string>
+ <string name="plug_install">瀹夎</string>
+
+ <string name="hello_world">Hello world!</string>
+ <string name="action_settings">Settings</string>
+</resources>
diff --git a/Project/yl_sdk/src/game_ylgame/res/values/styles.xml b/Project/yl_sdk/src/game_ylgame/res/values/styles.xml
new file mode 100644
index 0000000..e1d8cc2
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/values/styles.xml
@@ -0,0 +1,26 @@
+<resources>
+
+ <!--
+ Base application theme, dependent on API level. This theme is replaced
+ by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
+ -->
+ <style name="AppBaseTheme" parent="android:Theme.Light">
+ <!--
+ Theme customizations available in newer API levels can go in
+ res/values-vXX/styles.xml, while customizations related to
+ backward-compatibility can go here.
+ -->
+ </style>
+
+ <!-- Application theme. -->
+ <style name="AppTheme" parent="AppBaseTheme">
+ <!-- All customizations that are NOT specific to a particular API-level can go here. -->
+ </style>
+
+ <style name="customDialog" parent="@android:style/Theme.Dialog">
+ <item name="android:windowFrame">@null</item>
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
+ </style>
+</resources>
diff --git a/Project/yl_sdk/src/game_ylgame/res/values/values.xml b/Project/yl_sdk/src/game_ylgame/res/values/values.xml
new file mode 100644
index 0000000..c6297c9
--- /dev/null
+++ b/Project/yl_sdk/src/game_ylgame/res/values/values.xml
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="ipay_color_title_btn">#93e5ff</color>
+ <color name="ipay_color_value_1">#ffffff</color>
+ <color name="ipay_color_value_2">#f5f5f9</color>
+ <color name="ipay_color_value_2_0">#fafafc</color>
+ <color name="ipay_color_value_2_1">#fafafc</color>
+ <color name="ipay_color_value_3">#e5e5e5</color>
+ <color name="ipay_color_value_4">#a4a4a4</color>
+ <color name="ipay_color_value_4_1">#b9b9b9</color>
+ <color name="ipay_color_value_5">#767676</color>
+ <color name="ipay_color_value_6">#000000</color>
+ <color name="ipay_color_value_7">#0bbcf4</color>
+ <color name="ipay_color_value_7_1">#07ade1</color>
+ <color name="ipay_color_value_7_2">#00c2ff</color>
+ <color name="ipay_color_value_7_6">#709ac4</color>
+ <color name="ipay_color_value_8">#eb5353</color>
+ <color name="ipay_color_value_line_height_1">#e6e6e6</color>
+ <color name="ipay_color_value_line_height_2">#d9d9d9</color>
+ <color name="ipay_transparent">#00000000</color>
+ <color name="ipay_transparent_45">#72000000</color>
+ <color name="ipay_transparent_75">#bf000000</color>
+ <dimen name="ipay_button_heigth">50dp</dimen>
+ <dimen name="ipay_divid_line_h">0.5dp</dimen>
+ <dimen name="ipay_height_34">34dp</dimen>
+ <dimen name="ipay_height_37">37dp</dimen>
+ <dimen name="ipay_height_38">38dp</dimen>
+ <dimen name="ipay_height_40">40dp</dimen>
+ <dimen name="ipay_height_44">44dp</dimen>
+ <dimen name="ipay_height_45">45dp</dimen>
+ <dimen name="ipay_height_48">48dp</dimen>
+ <dimen name="ipay_height_50">50dp</dimen>
+ <dimen name="ipay_height_60">60dp</dimen>
+ <dimen name="ipay_height_70">70dp</dimen>
+ <dimen name="ipay_height_80">80dp</dimen>
+ <dimen name="ipay_height_95">95dp</dimen>
+ <dimen name="ipay_margin_10">10dp</dimen>
+ <dimen name="ipay_margin_11">11dp</dimen>
+ <dimen name="ipay_margin_12">12dp</dimen>
+ <dimen name="ipay_margin_13">13dp</dimen>
+ <dimen name="ipay_margin_15">15dp</dimen>
+ <dimen name="ipay_margin_16">16dp</dimen>
+ <dimen name="ipay_margin_17">17dp</dimen>
+ <dimen name="ipay_margin_18">18dp</dimen>
+ <dimen name="ipay_margin_19">19dp</dimen>
+ <dimen name="ipay_margin_20">20dp</dimen>
+ <dimen name="ipay_margin_22">22dp</dimen>
+ <dimen name="ipay_margin_25">25dp</dimen>
+ <dimen name="ipay_margin_26">26dp</dimen>
+ <dimen name="ipay_margin_27">27dp</dimen>
+ <dimen name="ipay_margin_28">28dp</dimen>
+ <dimen name="ipay_margin_3">3dp</dimen>
+ <dimen name="ipay_margin_30">30dp</dimen>
+ <dimen name="ipay_margin_32">32dp</dimen>
+ <dimen name="ipay_margin_35">35dp</dimen>
+ <dimen name="ipay_margin_4">4dp</dimen>
+ <dimen name="ipay_margin_40">40dp</dimen>
+ <dimen name="ipay_margin_45">45dp</dimen>
+ <dimen name="ipay_margin_47">47dp</dimen>
+ <dimen name="ipay_margin_5">5dp</dimen>
+ <dimen name="ipay_margin_50">50dp</dimen>
+ <dimen name="ipay_margin_6">6dp</dimen>
+ <dimen name="ipay_margin_7">7dp</dimen>
+ <dimen name="ipay_margin_8">8dp</dimen>
+ <dimen name="ipay_margin_9">9dp</dimen>
+ <dimen name="ipay_password_edittext_h">53dp</dimen>
+ <dimen name="ipay_password_edittext_w">318dp</dimen>
+ <dimen name="ipay_text_size_10">10dp</dimen>
+ <dimen name="ipay_text_size_11">11dp</dimen>
+ <dimen name="ipay_text_size_12">12dp</dimen>
+ <dimen name="ipay_text_size_13">13dp</dimen>
+ <dimen name="ipay_text_size_14">14dp</dimen>
+ <dimen name="ipay_text_size_15">15dp</dimen>
+ <dimen name="ipay_text_size_16">16dp</dimen>
+ <dimen name="ipay_text_size_17">17dp</dimen>
+ <dimen name="ipay_text_size_18">18dp</dimen>
+ <dimen name="ipay_text_size_19">19dp</dimen>
+ <dimen name="ipay_text_size_20">20dp</dimen>
+ <dimen name="ipay_text_size_23">23dp</dimen>
+ <dimen name="ipay_text_size_28">28dp</dimen>
+ <dimen name="ipay_title_bar_text_line_margin">1dp</dimen>
+ <dimen name="ipay_title_h">50dp</dimen>
+ <dimen name="ipay_title_line_heigth">1dp</dimen>
+ <dimen name="ipay_title_mini_h">45dp</dimen>
+ <dimen name="ipay_title_person_center_h">80dp</dimen>
+ <dimen name="ipay_wh_13">13dp</dimen>
+ <dimen name="ipay_wh_20">20dp</dimen>
+ <string name="ipau_ui_check_sms_code">姝e湪楠岃瘉鐭俊楠岃瘉鐮�...</string>
+ <string name="ipau_ui_phone_number_wrong">鎵嬫満鍙锋牸寮忎笉瀵�</string>
+ <string name="ipay_account_security_tips">涓轰簡淇濊瘉鎮ㄧ殑璐︽埛瀹夊叏锛岃鐧诲綍鐖辫礉璐﹀彿鍚庝娇鐢ㄧ埍璐濆竵鍔熻兘</string>
+ <string name="ipay_aibeibi_pay_tips">鐖辫礉甯佹敮浠�%1$s鍏�</string>
+ <string name="ipay_aibeibi_pay_tips_commission">鐖辫礉甯佹敮浠�%1$s鍏�(鍚�%2$s鍏冩墜缁垂)</string>
+ <string name="ipay_amount">闈� 棰�</string>
+ <string name="ipay_amount_error_tips">杈撳叆閲戦閿欒,璇烽噸鏂拌緭鍏�!</string>
+ <string name="ipay_are_being_dealt_with">姝e湪澶勭悊涓�</string>
+ <string name="ipay_cancel_pay">鍙栨秷鏀粯</string>
+ <string name="ipay_cancel_query">鍙栨秷鏌ヨ</string>
+ <string name="ipay_card_number">鍗� 鍙�</string>
+ <string name="ipay_card_type">鍗$被鍨�</string>
+ <string name="ipay_charge_type_item_other">鍏朵粬鏀粯鏂瑰紡</string>
+ <string name="ipay_charge_type_item_types">甯哥敤鏀粯鏂瑰紡</string>
+ <string name="ipay_common_alert_dialog_cancel">鍙栨秷</string>
+ <string name="ipay_common_alert_dialog_ensure">纭</string>
+ <string name="ipay_common_alert_dialog_tip">纭鏀惧純璐拱鍟嗗搧?</string>
+ <string name="ipay_common_dialog_title">鎻� 绀�</string>
+ <string name="ipay_common_loading">姝e湪鍔犺浇...</string>
+ <string name="ipay_common_loading_charge">"姝e湪鎻愪氦"</string>
+ <string name="ipay_common_pay_fail">鏀粯澶辫触锛岃閲嶈瘯銆�</string>
+ <string name="ipay_common_single_select_dialog_title">閫夋嫨杩愯惀鍟�</string>
+ <string name="ipay_common_single_select_dialog_tv">绉诲姩鍏呭�煎崱</string>
+ <string name="ipay_confirm">纭畾</string>
+ <string name="ipay_confirm_pay">纭鏀粯</string>
+ <string name="ipay_confirm_recharge">纭鍏呭��</string>
+ <string name="ipay_continue_pay">缁х画鏀粯</string>
+ <string name="ipay_continue_query">缁х画鏌ヨ</string>
+ <string name="ipay_data_exception_try_again">鏁版嵁寮傚父锛岃閲嶈瘯</string>
+ <string name="ipay_game_card_pay">娓告垙鐐瑰崱鏀粯</string>
+ <string name="ipay_game_card_recharge">娓告垙鐐瑰崱鍏呭��</string>
+ <string name="ipay_goto_login">鍘荤櫥褰�</string>
+ <string name="ipay_goto_pay">鍘绘敮浠�</string>
+ <string name="ipay_goto_recharge">鍘诲厖鍊�</string>
+ <string name="ipay_hint_input_card_amount">璇疯緭鍏ュ崱闈㈤(鍏�)</string>
+ <string name="ipay_input_amount_range">杈撳叆閲戦鑼冨洿锛�(%1$s-%2$s鍏�)锛岃閲嶆柊杈撳叆</string>
+ <string name="ipay_input_card_number">璇疯緭鍏ュ崱鍙�</string>
+ <string name="ipay_install_new_client_tips">璇峰畨瑁呮渶鏂扮増鏈鎴风</string>
+ <string name="ipay_login_fail">鐧诲綍澶辫触</string>
+ <string name="ipay_memory_exception">璐拱寮傚父璇疯仈绯诲鏈�</string>
+ <string name="ipay_network_connect_fail_tips">缃戠粶杩炴帴澶辫触锛岃妫�鏌ョ綉缁�(%1$s)</string>
+ <string name="ipay_network_connection_error">缃戠粶杩炴帴鍑洪敊</string>
+ <string name="ipay_network_error">绯荤粺绻佸繖锛岃绋嶅�欏啀璇�...</string>
+ <string name="ipay_network_exception_tips">缃戠粶寮傚父锛岃绋嶅悗閲嶈瘯(%1$s)</string>
+ <string name="ipay_network_fail">缃戠粶杩炴帴澶辫触</string>
+ <string name="ipay_network_unconnent">缃戠粶杩炴帴澶辫触锛岃妫�鏌ョ綉缁滐紒</string>
+ <string name="ipay_operator">杩愯惀鍟�</string>
+ <string name="ipay_password">瀵� 鐮�</string>
+ <string name="ipay_pay_cancel">鏀粯鍙栨秷</string>
+ <string name="ipay_pay_chanel_maintain_other">鏀粯閫氶亾缁存姢涓紝璇蜂娇鐢ㄥ叾浠栨柟寮忔敮浠�</string>
+ <string name="ipay_pay_fail">鏀粯澶辫触</string>
+ <string name="ipay_pay_success">鏀粯鎴愬姛</string>
+ <string name="ipay_pay_tips_commission">璇ユ敮浠樻柟寮忛渶浠樻%1$s鍏冿紝鍏朵腑閫氶亾鎵嬬画璐�%2$s鍏�</string>
+ <string name="ipay_pay_type_load_fail_tips">鏀粯鏂瑰紡鍔犺浇澶辫触</string>
+ <string name="ipay_pay_version">褰撳墠鏀粯鐗堟湰鍙凤細</string>
+ <string name="ipay_person_center_aib">鐖辫礉甯�: </string>
+ <string name="ipay_person_center_b"> 甯�</string>
+ <string name="ipay_person_center_change_account">鍒囨崲璐﹀彿</string>
+ <string name="ipay_person_center_change_pwd">淇敼鐧诲綍瀵嗙爜</string>
+ <string name="ipay_person_center_charge">鍏呭��</string>
+ <string name="ipay_person_center_server_center">鏈嶅姟涓績</string>
+ <string name="ipay_qq_install_new_client_tips">璇峰畨瑁呮渶鏂扮増鏈琎Q瀹㈡埛绔�.</string>
+ <string name="ipay_query_pay_result">姝e湪鏌ヨ鏀粯缁撴灉...</string>
+ <string name="ipay_query_recharge_result">姝e湪鏌ヨ鍏呭�肩粨鏋�...</string>
+ <string name="ipay_query_recharge_result_dialog_tips">鏈煡鍒版敮浠樼粨鏋滐紝鏄惁缁х画鏌ヨ</string>
+ <string name="ipay_recharge_amount_range">鍏呭�奸噾棰濊寖鍥达細(%1$s-%2$s鍏�)锛岃閲嶆柊杈撳叆</string>
+ <string name="ipay_recharge_card_pay">鍏呭�煎崱鏀粯</string>
+ <string name="ipay_recharge_card_recharge">鍏呭�煎崱鍏呭��</string>
+ <string name="ipay_recharge_continue">缁х画鍏呭��</string>
+ <string name="ipay_recharge_fail">鍏呭�煎け璐�</string>
+ <string name="ipay_recharge_success">鍏呭�兼垚鍔�</string>
+ <string name="ipay_recharge_type_other">鍏朵粬鍏呭�兼柟寮�</string>
+ <string name="ipay_retry_pay">閲嶆柊鏀粯</string>
+ <string name="ipay_select_card_amount">璇烽�夋嫨鍗¢潰棰�</string>
+ <string name="ipay_select_card_type">璇烽�夋嫨鍗$被鍨�</string>
+ <string name="ipay_select_recharge_amount">閫夋嫨鍏呭�奸噾棰�</string>
+ <string name="ipay_sms_code_countdown">宸插彂閫�(%1$ss)</string>
+ <string name="ipay_sub_game_chargefeee_tips">鏈鍏呭��%1$s鍏冿紝灏嗘敹鍙�%2$s鍏冩墜缁垂锛岄璁″埌璐�%3$s</string>
+ <string name="ipay_sub_game_final_rate_msg_3_without">鏀粯%1$s鍏冿紝鍏朵腑鏀粯鍟嗗搧%2$s鍏冿紝鍓╀綑%3$s鍏冨皢鍏呭��%4$s%5$s</string>
+ <string name="ipay_sub_game_final_rate_msg_charge">鍗″唴鍓╀綑%1$s鍏冨皢鍏呭叆鐖辫礉甯�, 鏀跺彇%2$s鍏冩墜缁垂</string>
+ <string name="ipay_sub_game_final_rate_msg_new">鏀粯%1$s鍏冿紝鍏朵腑鏀粯鍟嗗搧%2$s鍏�(鍚�%3$s鍏冩墜缁垂)锛屽墿浣�%4$s鍏冨皢鍏呭��%5$s%6$s(鍏朵腑%7$s鍏冧负鎵嬬画璐�)</string>
+ <string name="ipay_sub_game_final_rate_msg_pay">鏀粯%1$s鍏冿紝鍏朵腑鏀粯鍟嗗搧%2$s鍏�(鍚�%3$s鍏冩墜缁垂)锛屽墿浣�%4$s鍏冨皢鍏呭��%5$s%6$s</string>
+ <string name="ipay_sub_game_pay_cardNum_error">鍗″彿鏍煎紡涓嶅锛岃妫�鏌ュ苟閲嶆柊杈撳叆</string>
+ <string name="ipay_sub_game_pay_finish">瀹屾垚</string>
+ <string name="ipay_sub_game_pay_pwd_error">瀵嗙爜閿欒锛岃妫�鏌ュ苟閲嶆柊杈撳叆</string>
+ <string name="ipay_sub_game_pay_tip_info">闈㈤涓嶈冻鏃跺厖鍊肩埍璐濆竵浣跨敤鏇存柟渚�</string>
+ <string name="ipay_switch_recharge_card">鏇存崲鍏呭�煎崱</string>
+ <string name="ipay_tips_android_mani_fest">璇锋娴婣ndroidManifest娓呭崟鏂囦欢</string>
+ <string name="ipay_tips_card_amount_error">鎮ㄩ�夋嫨鐨勫崱闈㈤灏忎簬璁㈠崟閲戦锛屾偍鍙互鍏堝厖鍊煎悗娑堣垂锛屾垨閫夋嫨鍏朵粬闈㈤鐨勫崱鏀粯銆�</string>
+ <string name="ipay_tips_exit_pay">纭閫�鍑烘敮浠橈紵</string>
+ <string name="ipay_tips_network_error">缃戠粶閿欒锛�</string>
+ <string name="ipay_tips_network_exception_retry">缃戠粶寮傚父锛岃閲嶈瘯</string>
+ <string name="ipay_tips_recharge_aibeibi">鎮ㄧ殑鐖辫礉甯佷綑棰濅笉瓒筹紝璇峰厛鍏呭��</string>
+ <string name="ipay_ui_change_pwd">淇敼鐧诲綍瀵嗙爜</string>
+ <string name="ipay_ui_charge_aib">鐖辫礉甯�</string>
+ <string name="ipay_ui_charge_pay">杩涜鏀粯</string>
+ <string name="ipay_ui_charge_tip">鍏呭�煎埌璐︽埛鍚庯紝璇蜂娇鐢�</string>
+ <string name="ipay_ui_charge_title">璇烽�夋嫨鍏呭�兼柟寮�</string>
+ <string name="ipay_ui_input_at_least_six">璇疯緭鍏ヨ嚦灏�6浣嶆暟瀵嗙爜</string>
+ <string name="ipay_ui_input_different">涓ゆ瀵嗙爜杈撳叆涓嶄竴鑷�</string>
+ <string name="ipay_ui_input_original_pwd">璇疯緭鍏ュ師鐧诲綍瀵嗙爜</string>
+ <string name="ipay_ui_input_wrong_pwd">瀵嗙爜杈撳叆鏈夎</string>
+ <string name="ipay_ui_jiaoyan_old_pwd">姝e湪鏍¢獙鏃у瘑鐮�...</string>
+ <string name="ipay_ui_login">鐧诲綍</string>
+ <string name="ipay_ui_login_find_pwd">鎵惧洖瀵嗙爜</string>
+ <string name="ipay_ui_login_forget_pwd">蹇樿瀵嗙爜</string>
+ <string name="ipay_ui_login_get_number">鐐瑰嚮鑾峰彇</string>
+ <string name="ipay_ui_login_input_account">璇疯緭鍏ヨ处鍙�</string>
+ <string name="ipay_ui_login_input_phone_num">璇疯緭鍏ユ墜鏈哄彿鐮�</string>
+ <string name="ipay_ui_login_input_pwd">璇疯緭鍏ュ瘑鐮�</string>
+ <string name="ipay_ui_login_input_pwd_again">璇峰啀娆¤緭鍏ョ櫥褰曞瘑鐮�</string>
+ <string name="ipay_ui_login_input_sms_num">璇疯緭鍏ョ煭淇¢獙璇佺爜</string>
+ <string name="ipay_ui_login_next_step">涓嬩竴姝�</string>
+ <string name="ipay_ui_login_regist">娉ㄥ唽</string>
+ <string name="ipay_ui_login_regist_account">娉ㄥ唽璐﹀彿</string>
+ <string name="ipay_ui_login_success">鐧诲綍鎴愬姛</string>
+ <string name="ipay_ui_logining">鐧诲綍涓�...</string>
+ <string name="ipay_ui_modify_success">淇敼鎴愬姛</string>
+ <string name="ipay_ui_net_failed">缃戠粶杩炴帴澶辫触</string>
+ <string name="ipay_ui_new_old_pwd_wrong">鏂板瘑鐮佽緭鍏ヤ笉涓�鑷�</string>
+ <string name="ipay_ui_pay_hub_ensure_pay">纭鏀粯 楼</string>
+ <string name="ipay_ui_pay_hub_more_type">鏇村鏀粯鏂瑰紡</string>
+ <string name="ipay_ui_pay_hub_qq">瀹㈡湇QQ锛�</string>
+ <string name="ipay_ui_phonenumber_sms_wrong">鎵嬫満鍙锋垨楠岃瘉鐮佹牸寮忎笉瀵�</string>
+ <string name="ipay_ui_pwd_new_set">璇疯緭鍏ユ柊鐨�6-24浣嶇櫥褰曞瘑鐮�</string>
+ <string name="ipay_ui_pwd_not_null">瀵嗙爜涓嶈兘涓虹┖</string>
+ <string name="ipay_ui_pwd_set">璇疯緭鍏�6~24浣嶇櫥褰曞瘑鐮�</string>
+ <string name="ipay_ui_regist_success">娉ㄥ唽鎴愬姛</string>
+ <string name="ipay_ui_reset_pwd">閲嶇疆瀵嗙爜</string>
+ <string name="ipay_ui_select_amount_arrival">棰勮鍒拌处锛�</string>
+ <string name="ipay_ui_select_amount_hint">鍏朵粬閲戦</string>
+ <string name="ipay_ui_select_amount_tip">璇烽�夋嫨鍏呭�奸噾棰�</string>
+ <string name="ipay_ui_select_amount_unit"> 鐖辫礉甯�</string>
+ <string name="ipay_ui_sending_request">姝e湪鍙戦�佽姹�...</string>
+ <string name="ipay_ui_set_pwd">璁剧疆瀵嗙爜</string>
+ <string name="ipay_ui_setting_new_pwd">姝e湪璁剧疆鏂板瘑鐮�...</string>
+ <string name="ipay_ui_setting_pwd">姝e湪璁剧疆瀵嗙爜...</string>
+ <string name="ipay_ui_title_bar_normal_log">鐧诲綍</string>
+ <string name="ipay_ui_title_bar_normal_title">鐖辫礉鏀堕摱鍙�</string>
+ <string name="ipay_unit_yuan">鍏�</string>
+ <string name="ipay_user_center">涓汉涓績</string>
+ <string name="ipay_wechat_install_new_client_tips">寰俊鏀粯浠呮敮鎸�6.0.2 鍙婁互涓婄増鏈紝璇锋洿鏂板畨瑁呮渶鏂扮増鏈井淇°��</string>
+ <style name="custom_dialog" 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:background">@color/ipay_transparent</item>
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:backgroundDimEnabled">true</item>
+ </style>
+ <style name="ipay_dialog" parent="@android:style/Theme.Dialog">
+ <item name="android:windowFrame">@null</item>
+ <!-- 杈规 -->
+ <item name="android:windowIsFloating">true</item>
+ <!-- 鏄惁娴幇鍦╝ctivity涔嬩笂 -->
+ <item name="android:windowIsTranslucent">false</item>
+ <!-- 鍗婇�忔槑 -->
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowBackground">@color/ipay_transparent</item>
+ <item name="android:background">@color/ipay_transparent</item>
+ <item name="android:backgroundDimEnabled">true</item>
+ <!-- 妯$硦 -->
+ <item name="android:paddingTop">35dip</item>
+ <item name="android:paddingBottom">35dip</item>
+ <item name="android:paddingLeft">15dip</item>
+ <item name="android:paddingRight">15dip</item>
+ </style>
+</resources>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/AndroidManifest.xml b/Project/yl_sdk/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..97ca4fe
--- /dev/null
+++ b/Project/yl_sdk/src/main/AndroidManifest.xml
@@ -0,0 +1,244 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.secondworld.univeralsdk"
+ android:installLocation="auto"
+ android:versionCode="1"
+ android:versionName="1.1.0">
+
+ <uses-sdk
+ android:minSdkVersion="16"
+ android:targetSdkVersion="22" />
+
+ <uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
+ <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
+ <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
+ <uses-permission android:name="android.permission.VIBRATE" />
+ <uses-permission android:name="android.permission.GET_TASKS" />
+ <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="android.permission.READ_LOGS" />
+ <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
+ <uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
+ <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
+ <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" android:protectionLevel="signature"/>
+ <!-- Required -->
+ <permission android:name="${appId}.permission.JPUSH_MESSAGE" />
+ <uses-permission android:name="${appId}.permission.JPUSH_MESSAGE" />
+
+ <application
+ android:allowBackup="true"
+ android:icon="@drawable/app_icon"
+ android:hardwareAccelerated="false"
+ android:isGame="true"
+ android:label="@string/app_name"
+ android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen">
+
+ <meta-data
+ android:name="android.max_aspect"
+ android:value="1075838976.000000" />
+
+ <meta-data
+ android:name="com.samsung.android.keepalive.density"
+ android:value="true" />
+
+ <!--<meta-data-->
+ <!--android:name="android.notch_support"-->
+ <!--android:value="true" />-->
+
+ <meta-data
+ android:name="notch.config"
+ android:value="none" />
+
+ <meta-data
+ android:name="android.vendor.full_screen"
+ android:value="true" />
+
+ <activity
+ android:name="com.secondworld.univeralsdk.MainActivity"
+ android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection"
+ android:label="@string/app_name"
+ android:launchMode="singleTask"
+ android:screenOrientation="sensorLandscape">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
+ </intent-filter>
+
+ <meta-data
+ android:name="unityplayer.UnityActivity"
+ android:value="true" />
+ <meta-data
+ android:name="unityplayer.SkipPermissionsDialog"
+ android:value="true" />
+
+ <meta-data
+ android:name="android.vendor.home_indicator"
+ android:value="hide" />
+
+ <meta-data
+ android:name="android.max_aspect"
+ android:value="1075419520.000000" />
+
+ <meta-data
+ android:name="com.samsung.android.keepalive.density"
+ android:value="true" />
+
+ </activity>
+
+ <!-- 閽堝7.0浠ヤ笂鐨刟pi寮�鏀剧殑鏂囦欢鏉冮檺 -->
+ <!--<provider-->
+ <!--android:name="android.support.v4.content.FileProvider"-->
+ <!--android:authorities="${appId}.fileProvider"-->
+ <!--android:grantUriPermissions="true"-->
+ <!--android:exported="false">-->
+ <!--<meta-data-->
+ <!--android:name="android.support.FILE_PROVIDER_PATHS"-->
+ <!--android:resource="@xml/file_paths" />-->
+ <!--</provider>-->
+
+
+ <!-- Required SDK 鏍稿績鍔熻兘-->
+ <!-- 鍙厤缃產ndroid:process鍙傛暟灏哖ushService鏀惧湪鍏朵粬杩涚▼涓� -->
+ <service
+ android:name="cn.jpush.android.service.PushService"
+ android:exported="false"
+ android:process=":mult">
+ <intent-filter>
+ <action android:name="cn.jpush.android.intent.REGISTER" />
+ <action android:name="cn.jpush.android.intent.REPORT" />
+ <action android:name="cn.jpush.android.intent.PushService" />
+ <action android:name="cn.jpush.android.intent.PUSH_TIME" />
+ </intent-filter>
+ </service>
+
+ <!-- since 3.0.9 Required SDK 鏍稿績鍔熻兘-->
+ <provider
+ android:name="cn.jpush.android.service.DataProvider"
+ android:authorities="${appId}.DataProvider"
+ android:exported="true" />
+
+ <!-- since 1.8.0 option 鍙�夐」銆傜敤浜庡悓涓�璁惧涓笉鍚屽簲鐢ㄧ殑JPush鏈嶅姟鐩镐簰鎷夎捣鐨勫姛鑳姐�� -->
+ <!-- 鑻ヤ笉鍚敤璇ュ姛鑳藉彲鍒犻櫎璇ョ粍浠讹紝灏嗕笉鎷夎捣鍏朵粬搴旂敤涔熶笉鑳借鍏朵粬搴旂敤鎷夎捣 -->
+ <service
+ android:name="cn.jpush.android.service.DaemonService"
+ android:enabled="true"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="cn.jpush.android.intent.DaemonService" />
+ <category android:name="${appId}" />
+ </intent-filter>
+ </service>
+
+ <!-- since 3.1.0 Required SDK 鏍稿績鍔熻兘-->
+ <provider
+ android:name="cn.jpush.android.service.DownloadProvider"
+ android:authorities="${appId}.DownloadProvider"
+ android:exported="true" />
+
+ <!-- Required SDK鏍稿績鍔熻兘-->
+ <receiver
+ android:name="cn.jpush.android.service.PushReceiver"
+ android:enabled="true">
+ <intent-filter android:priority="1000">
+ <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" />
+ <category android:name="${appId}" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.USER_PRESENT" />
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
+ </intent-filter>
+ <!-- Optional -->
+ <intent-filter>
+ <action android:name="android.intent.action.PACKAGE_ADDED" />
+ <action android:name="android.intent.action.PACKAGE_REMOVED" />
+
+ <data android:scheme="package" />
+ </intent-filter>
+ </receiver>
+
+ <!-- Required SDK鏍稿績鍔熻兘-->
+ <activity
+ android:name="cn.jpush.android.ui.PushActivity"
+ android:configChanges="orientation|keyboardHidden"
+ android:exported="false"
+ android:theme="@android:style/Theme.NoTitleBar">
+ <intent-filter>
+ <action android:name="cn.jpush.android.ui.PushActivity" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="${appId}" />
+ </intent-filter>
+ </activity>
+ <!-- SDK鏍稿績鍔熻兘-->
+ <activity
+ android:name="cn.jpush.android.ui.PopWinActivity"
+ android:configChanges="orientation|keyboardHidden"
+ android:exported="false"
+ android:theme="@style/MyDialogStyle">
+ <intent-filter>
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="${appId}" />
+ </intent-filter>
+ </activity>
+
+ <!-- Required SDK鏍稿績鍔熻兘-->
+ <service
+ android:name="cn.jpush.android.service.DownloadService"
+ android:enabled="true"
+ android:exported="false"></service>
+
+ <!-- Required SDK鏍稿績鍔熻兘-->
+ <receiver android:name="cn.jpush.android.service.AlarmReceiver" />
+
+ <!-- Required since 3.0.7 -->
+ <!-- 鏂扮殑tag/alias鎺ュ彛缁撴灉杩斿洖闇�瑕佸紑鍙戣�呴厤缃竴涓嚜瀹氱殑骞挎挱 -->
+ <!-- 璇ュ箍鎾渶瑕佺户鎵縅Push鎻愪緵鐨凧PushMessageReceiver绫�, 骞跺涓嬫柊澧炰竴涓� Intent-Filter -->
+ <!--<receiver-->
+ <!--android:name="鑷畾涔� Receiver"-->
+ <!--android:enabled="true" >-->
+ <!--<intent-filter>-->
+ <!--<action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" />-->
+ <!--<category android:name="鎮ㄥ簲鐢ㄧ殑鍖呭悕" />-->
+ <!--</intent-filter>-->
+ <!--</receiver>-->
+
+ <!--<!– User defined. 鐢ㄦ埛鑷畾涔夌殑骞挎挱鎺ユ敹鍣�–>-->
+ <receiver
+ android:name="com.secondworld.univeralsdk.JPushReceiver"
+ android:enabled="true">
+ <intent-filter>
+ <!--Required 鐢ㄦ埛娉ㄥ唽SDK鐨刬ntent-->
+ <action android:name="cn.jpush.android.intent.REGISTRATION" />
+ <!--Required 鐢ㄦ埛鎺ユ敹SDK娑堟伅鐨刬ntent-->
+ <action android:name="cn.jpush.android.intent.MESSAGE_RECEIVED" />
+ <!--Required 鐢ㄦ埛鎺ユ敹SDK閫氱煡鏍忎俊鎭殑intent-->
+ <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED" />
+ <!-- 鎺ユ敹缃戠粶鍙樺寲 杩炴帴/鏂紑 since 1.6.3 -->
+ <action android:name="cn.jpush.android.intent.CONNECTION" />
+ <category android:name="${appId}" />
+ </intent-filter>
+ </receiver>
+
+ <!-- Required. For publish channel feature -->
+ <!-- JPUSH_CHANNEL 鏄负浜嗘柟渚垮紑鍙戣�呯粺璁PK鍒嗗彂娓犻亾銆�-->
+ <!-- 渚嬪: -->
+ <!-- 鍙戝埌 Google Play 鐨凙PK鍙互璁剧疆涓� google-play; -->
+ <!-- 鍙戝埌鍏朵粬甯傚満鐨� APK 鍙互璁剧疆涓� xxx-market銆� -->
+ <meta-data
+ android:name="JPUSH_CHANNEL"
+ android:value="developer-default" />
+ <!-- Required. AppKey copied from Portal -->
+ <meta-data
+ android:name="JPUSH_APPKEY"
+ android:value="${JpushAppKey}" />
+ </application>
+
+</manifest>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java
new file mode 100644
index 0000000..abd77fb
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java
@@ -0,0 +1,113 @@
+package com.secondworld.univeralsdk;
+
+import android.content.BroadcastReceiver;
+import android.content.Context;
+import android.content.Intent;
+import android.content.IntentFilter;
+import android.os.BatteryManager;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Created by Administrator on 2018/7/15 0015.
+ */
+
+public class BatteryUtil
+{
+ private static BatteryUtil s_Instance = null;
+
+ public static BatteryUtil getInstance()
+ {
+ if (s_Instance == null)
+ {
+ s_Instance = new BatteryUtil();
+ }
+ return s_Instance;
+ }
+
+ private BatteryBroadCastReceiver m_BatteryBroadCastReceiver;
+
+ private BatteryUtil() {}
+
+ public void start(Context context)
+ {
+ m_BatteryBroadCastReceiver = new BatteryBroadCastReceiver();
+ IntentFilter filter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED);
+ context.registerReceiver(m_BatteryBroadCastReceiver, filter);
+ }
+
+ public void stop(Context context)
+ {
+ context.unregisterReceiver(m_BatteryBroadCastReceiver);
+ m_BatteryBroadCastReceiver = null;
+ }
+
+ private class BatteryBroadCastReceiver extends BroadcastReceiver
+ {
+ private int m_BatteryLevel;
+ private int m_Status;
+
+ public BatteryBroadCastReceiver()
+ {
+ m_BatteryLevel = 0;
+ }
+
+ @Override
+ public void onReceive(Context context, Intent intent)
+ {
+ if (intent.getAction().equals(Intent.ACTION_BATTERY_CHANGED))
+ {
+ int _batteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0);
+
+ Map<String, Object> _msg = new HashMap<>();
+
+ if (_batteryLevel != m_BatteryLevel)
+ {
+ try
+ {
+ _msg.put("code", CodeA2U.BatteryLevel);
+ _msg.put("level", _batteryLevel);
+
+ UniversalUtil.sendMessageToUnity(_msg);
+
+ m_BatteryLevel = _batteryLevel;
+
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ int _status = intent.getIntExtra("status", 0);
+
+ if (_status != m_Status)
+ {
+ _msg.clear();
+
+ int _transCode = 0;
+ if (_status == BatteryManager.BATTERY_STATUS_CHARGING)
+ {
+ _transCode = 2;
+ }
+ else if (_status == BatteryManager.BATTERY_STATUS_NOT_CHARGING ||
+ _status == BatteryManager.BATTERY_STATUS_DISCHARGING)
+ {
+ _transCode = 1;
+ }
+ else if (_status == BatteryManager.BATTERY_STATUS_FULL)
+ {
+ _transCode = 3;
+ }
+
+ _msg.put("code", CodeA2U.BatteryCharging);
+ _msg.put("status", _transCode);
+
+ UniversalUtil.sendMessageToUnity(_msg);
+
+ m_Status = _status;
+ }
+ }
+ }
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeA2U.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeA2U.java
new file mode 100644
index 0000000..f74f976
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeA2U.java
@@ -0,0 +1,59 @@
+package com.secondworld.univeralsdk;
+
+/**
+ * Created by Administrator on 2018/7/18 0018.
+ */
+
+public class CodeA2U
+{
+ /**
+ * 璧勬簮鎷疯礉瀹屾垚
+ */
+ public static final int AssetCopyFinished = 0;
+ /**
+ * 鐢甸噺鏀瑰彉
+ */
+ public static final int BatteryLevel = 1;
+ /**
+ * 鍏呯數鐘舵�佹敼鍙�
+ */
+ public static final int BatteryCharging = 2;
+ /**
+ * 鍥炶皟sdk閫昏緫瀹屾瘯
+ * */
+ public static final int SdkInitComplete = 90;
+ /**
+ * 鍥炶皟android璁惧淇℃伅
+ * */
+ public static final int DeviceInfo = 3;
+ /**
+ * 鍥炶皟鎺ㄩ�佺殑鐙珛id
+ * */
+ public static final int PushClientID = 4;
+ /**
+ * 鍥炶皟澶栭儴瀛樺偍鏍圭洰褰曞湴鍧�
+ */
+ public static final int ExternalStorage = 5;
+
+ /**
+ * --------------------------------------------------------------------------------------------
+ * 浠ヤ笅涓哄悇鑷」鐩甋DK鐩稿叧
+ * --------------------------------------------------------------------------------------------
+ */
+
+ // ------------------------------------------------------------------------------------------
+ // 鑷敱SDK鐩稿叧鍥炶皟Code
+ // ------------------------------------------------------------------------------------------
+ public static final int FreePlatformInitOk = 10;
+ public static final int FreePlatformInitFail = 11;
+ public static final int FreePlatformLoginOk = 12;
+ public static final int FreePlatformLoginFail = 13;
+ public static final int FreePlatformLoginCancel = 14;
+ public static final int FreePlatformLogoutOk = 15;
+ public static final int FreePlatformLogoutFail = 16;
+ public static final int FreePlatformSwitchAccountOk = 17;
+ public static final int FreePlatformPayOk = 18;
+ public static final int FreePlatformPayFail = 19;
+ public static final int FreePlatformPayCancel = 20;
+ public static final int FreePlatformRegisterOk = 21;
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java
new file mode 100644
index 0000000..ef44ba0
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java
@@ -0,0 +1,84 @@
+package com.secondworld.univeralsdk;
+
+/**
+ * Created by Administrator on 2018/7/18 0018.
+ */
+
+public class CodeU2A
+{
+ /**
+ * 鎵ц璧勬簮鎷疯礉
+ */
+ public static final int AssetCopy = 0;
+ /**
+ * 鎵ц寮�濮嬬數閲忔敼鍙�,鍏呯數鐘舵�佹敼鍙樼洃鍚�
+ */
+ public static final int BatteryListenStart = 1;
+ /**
+ * 鎵ц鍋滄鐢甸噺鏀瑰彉,鍏呯數鐘舵�佹敼鍙樼洃鍚�
+ */
+ public static final int BatteryListenStop = 2;
+ /**
+ * 鑾峰彇鍞竴璇嗗埆鐮�
+ */
+ public static final int UniqueID = 3;
+ /**
+ * 鐢宠鍦ˋndroidManifest鏂囦欢涓�
+ */
+ public static final int RequestManifestPermissions = 4;
+ /**
+ * 鍗曠嫭鍔ㄦ�佺敵璇锋煇涓�涓潈闄�
+ */
+ public static final int RequestPermission = 5;
+ /**
+ * 閲嶅惎搴旂敤
+ */
+ public static final int RestartApp = 6;
+ /**
+ * 鎷疯礉鏂囨湰淇℃伅
+ */
+ public static final int CopyContent = 7;
+ /**
+ * 鎵撳紑缃戝潃
+ */
+ public static final int OpenWebView = 8;
+ /**
+ * SDK鍒濆鍖�, 瀹屽叏鑷姩鍒濆鍖栫殑娴佺▼, 瀹屾垚蹇呰閫昏緫鍚庡啀鍥炶皟鍥炲幓
+ */
+ public static final int Init = 9;
+ /**
+ * 瀹夎搴旂敤
+ */
+ public static final int InstallAPK = 10;
+ /**
+ * 澶栭儴瀛樺偍鏍圭洰褰曞湴鍧�
+ */
+ public static final int ExteneralStorage = 11;
+ public static final int CopyOneAsset = 12;
+ /**
+ * --------------------------------------------------------------------------------------------
+ * 浠ヤ笅涓哄悇鑷」鐩甋DK鐩稿叧
+ * --------------------------------------------------------------------------------------------
+ */
+ /**
+ * 鑷敱sdk鐩稿叧
+ * */
+ public static final int FreePlatformInit = 100;
+ public static final int FreePlatformLogin = 101;
+ public static final int FreePlatformLogout = 102;
+ public static final int FreePlatformSwitchAccount = 103;
+ public static final int FreePlatformPay = 104;
+ public static final int PayFinished = 105;
+ public static final int CreateRole = 106;
+ public static final int RoleLogin = 107;
+ public static final int RoleLevelUp = 108;
+ /**
+ * 鏋佸厜鎺ㄩ��
+ * */
+ public static final int JPushAddLocalMessage = 200;
+ public static final int JPushRemoveLocalMessage = 201;
+ /**
+ * ClientPackage鍚憇dk鍙戦�佸垎鍖卛d
+ */
+ public static final int ClientPackage = 400;
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CrashCatchUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CrashCatchUtil.java
new file mode 100644
index 0000000..21f1d5c
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/CrashCatchUtil.java
@@ -0,0 +1,233 @@
+package com.secondworld.univeralsdk;
+
+import android.content.Context;
+import android.content.pm.PackageInfo;
+import android.content.pm.PackageManager;
+import android.os.Build;
+import android.os.Looper;
+import android.os.SystemClock;
+import android.widget.Toast;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.FilenameFilter;
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.io.Writer;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Created by Administrator on 2018/7/19 0019.
+ */
+
+public class CrashCatchUtil implements Thread.UncaughtExceptionHandler
+{
+ private static final String TAG = "CrashCatchUtil";
+ private Context m_Context;
+ private Thread.UncaughtExceptionHandler m_UncaughtExceptionHandler;
+ private Map<String, String> m_DevicceInfo = new HashMap<>();
+
+ private CrashCatchUtil() {}
+
+ private static CrashCatchUtil m_Instance;
+
+ public static CrashCatchUtil getInstance()
+ {
+ if (m_Instance == null)
+ {
+ m_Instance = new CrashCatchUtil();
+ }
+ return m_Instance;
+ }
+
+ public void init(Context context)
+ {
+ m_Context = context;
+ m_UncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
+ Thread.setDefaultUncaughtExceptionHandler(this);
+ autoClear(5);
+ }
+
+ @Override
+ public void uncaughtException(Thread thread, Throwable throwable)
+ {
+ if (!handleException(throwable) && m_UncaughtExceptionHandler != null)
+ {
+ m_UncaughtExceptionHandler.uncaughtException(thread, throwable);
+ }
+ else
+ {
+ SystemClock.sleep(3000);
+ android.os.Process.killProcess(android.os.Process.myPid());
+ System.exit(1);
+ }
+ }
+
+ private void recordDeviceInfo()
+ {
+ m_DevicceInfo.clear();
+ m_DevicceInfo.put("brand", Build.BRAND);
+ m_DevicceInfo.put("model", Build.MODEL);
+ m_DevicceInfo.put("android_version", String.valueOf(Build.VERSION.SDK_INT));
+ try
+ {
+ PackageManager _pkgMgr = m_Context.getPackageManager();
+ PackageInfo _pkgInfo = _pkgMgr.getPackageInfo(m_Context.getPackageName(),
+ PackageManager.GET_ACTIVITIES);
+ if (_pkgInfo != null)
+ {
+ m_DevicceInfo.put("versionName", _pkgInfo.versionName);
+ m_DevicceInfo.put("versionCode", String.valueOf(_pkgInfo.versionCode));
+ }
+ } catch (PackageManager.NameNotFoundException e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ private boolean handleException(Throwable throwable)
+ {
+ if (throwable == null)
+ {
+ return false;
+ }
+
+ try
+ {
+ new Thread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+ Looper.prepare();
+ Toast.makeText(m_Context, "绋嬪簭鍑虹幇寮傚父,鍗冲皢閲嶅惎", Toast.LENGTH_LONG).show();
+ Looper.loop();
+ }
+ }).start();
+
+ recordDeviceInfo();
+
+ save(throwable);
+
+ SystemClock.sleep(3000);
+
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ return true;
+ }
+
+ private String save(Throwable throwable) throws Exception
+ {
+ StringBuffer sb = new StringBuffer();
+ try
+ {
+ SimpleDateFormat sDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ String date = sDateFormat.format(new Date());
+ sb.append("\r\n" + date + "\n");
+ for (Map.Entry<String, String> entry : m_DevicceInfo.entrySet())
+ {
+ String key = entry.getKey();
+ String value = entry.getValue();
+ sb.append(key + "=" + value + "\n");
+ }
+
+ Writer writer = new StringWriter();
+ PrintWriter printWriter = new PrintWriter(writer);
+ throwable.printStackTrace(printWriter);
+ Throwable cause = throwable.getCause();
+ while (cause != null)
+ {
+ cause.printStackTrace(printWriter);
+ cause = cause.getCause();
+ }
+ printWriter.flush();
+ printWriter.close();
+ String result = writer.toString();
+ sb.append(result);
+
+ String fileName = writeFile(sb.toString());
+ return fileName;
+ } catch (Exception e)
+ {
+ sb.append("鍐欏叆宕╂簝鏃ュ織鏃�, 鍑虹幇浜嗗紓甯哥姸鍐�...\r\n");
+ writeFile(sb.toString());
+ }
+ return null;
+
+ }
+
+ private DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
+
+ private String writeFile(String sb) throws Exception
+ {
+ String time = formatter.format(new Date());
+ String fileName = "crash-" + time + ".log";
+ String path = getPath();
+ File dir = new File(getPath());
+ if (!dir.exists())
+ {
+ dir.mkdirs();
+ }
+ FileOutputStream fos = new FileOutputStream(path + fileName, true);
+ fos.write(sb.getBytes());
+ fos.flush();
+ fos.close();
+ return fileName;
+ }
+
+ private String getPath()
+ {
+ return m_Context.getExternalFilesDir("").getAbsolutePath()
+ + File.separator
+ + "crash"
+ + File.separator;
+ }
+
+ /**
+ * 鏂囦欢鍒犻櫎
+ *
+ * @param autoClearDay 鏂囦欢淇濆瓨澶╂暟
+ */
+ public void autoClear(final int autoClearDay)
+ {
+ delete(getPath(), new FilenameFilter()
+ {
+ @Override
+ public boolean accept(File file, String filename)
+ {
+ String s = FileUtil.getFileNameWithoutExtension(filename);
+ int day = autoClearDay < 0 ? autoClearDay : -1 * autoClearDay;
+ String date = "crash-" + getOtherDay(day);
+ return date.compareTo(s) >= 0;
+ }
+ });
+ }
+
+ private void delete(String path, FilenameFilter filter)
+ {
+ File _file = new File(path);
+ if (!_file.exists())
+ {
+ return;
+ }
+ File[] _files = _file.listFiles(filter);
+ for (int i = _files.length - 1; i >= 0; i--)
+ {
+ _files[i].delete();
+ }
+ }
+
+ private String getOtherDay(int offset)
+ {
+ Calendar _calendar = Calendar.getInstance();
+ _calendar.add(Calendar.DATE, offset);
+ return formatter.format(_calendar.getTime());
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/DebugUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/DebugUtil.java
new file mode 100644
index 0000000..5e6da5d
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/DebugUtil.java
@@ -0,0 +1,59 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+import android.os.Environment;
+import android.util.Log;
+
+import java.io.File;
+
+/**
+ * Created by Administrator on 2018/7/20 0020.
+ */
+
+public class DebugUtil
+{
+ private final String TAG = "DebugUtil";
+
+ private static DebugUtil s_Instance;
+
+ public static DebugUtil getInstance()
+ {
+ if (s_Instance == null)
+ {
+ s_Instance = new DebugUtil();
+ }
+ return s_Instance;
+ }
+
+ private DebugUtil() {}
+
+ private boolean m_Enable = false;
+
+ private Activity m_Activity;
+
+ public void init(Activity activity)
+ {
+ m_Activity = activity;
+
+ String _path = Environment.getExternalStorageDirectory() + File.separator + activity.getPackageName();
+ Log.i(TAG, _path);
+ File _dir = new File(_path);
+ if (!_dir.exists())
+ {
+ _dir.mkdir();
+ }
+ _path = _path + File.separator + "SdkDebug";
+ _dir = new File(_path);
+ m_Enable = _dir.exists();
+ if(m_Enable){
+ Log.i(TAG, "--------- SDK璋冭瘯妯″紡: 寮�鍚� ---------");
+ }else{
+ Log.i(TAG, "--------- SDK璋冭瘯妯″紡: 鍏抽棴 ---------");
+ }
+ }
+
+ public boolean enable()
+ {
+ return m_Enable;
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java
new file mode 100644
index 0000000..9dbafb9
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java
@@ -0,0 +1,211 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+import android.content.Context;
+import android.content.SharedPreferences;
+import android.content.res.AssetManager;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Created by Administrator on 2018/6/14 0014.
+ */
+
+public class FileUtil
+{
+
+ private static final String TAG = "H2Engine_FileUtil";
+
+ /**
+ * Unity闅忓寘璧勬簮(StreamingAssets)鎷疯礉鑷� persistentDataPath 璺緞涓�
+ */
+ public static void copyAssets(final Activity activity)
+ {
+
+ // 鍒ゆ柇鏄惁宸茬粡鎵ц杩�
+ SharedPreferences _sp = activity.getPreferences(Context.MODE_PRIVATE);
+ Boolean _isCopied = hasCopy(activity);
+
+ LogUtil.i(TAG, "鏄惁宸茬粡鎵ц杩囨嫹璐濋�昏緫: " + _isCopied);
+
+ // 鑾峰彇褰撳墠鍖呯殑鐗堟湰鍙�
+ final String _currentVer = UniversalUtil.GetVersionName(activity);
+
+ // 宸茬粡鎷疯礉杩�, 鍒欏啀娆″垽鏂竴娆$増鏈彿
+ // 濡傛灉鐗堟湰鍙蜂笉鐩稿悓, 鍒欓噸鏂拌繘琛屾嫹璐�
+ // 鑾峰彇鏈湴瀛樺偍鐨勭増鏈彿
+ String _installVer = _sp.getString(StaticDefine.LS_KEY_VERSION, "");
+
+ if (!_installVer.equals(_currentVer))
+ {
+ LogUtil.i(TAG, "鐗堟湰姣旇緝杩囧悗鍙戠幇涓嶅悓: " + _installVer + " != " + _currentVer);
+ SharedPreferences.Editor _editor = _sp.edit();
+ // 瀛樺偍姝ゆ鐨勭増鏈俊鎭�
+ _editor.putString(StaticDefine.LS_KEY_VERSION, _currentVer);
+ _editor.apply();
+
+ if (_isCopied)
+ {
+ // 灏嗘湰鍦板瓨鍌ㄤ慨鏀逛负鏈嫹璐濊繃
+ deleteRecord(activity);
+ _isCopied = false;
+ }
+ }
+
+ if (_isCopied)
+ {
+ Map<String, Object> _msg = new HashMap<>();
+ _msg.put("code", CodeA2U.AssetCopyFinished);
+ UniversalUtil.sendMessageToUnity(_msg);
+ return;
+ }
+
+ new Thread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+
+ String _dest = activity.getExternalFilesDir("").getAbsolutePath();
+ AssetManager _assetMgr = activity.getAssets();
+
+ try
+ {
+
+ String[] _fileNames = _assetMgr.list("android");
+ if (_fileNames != null)
+ {
+ for (String _fileName : _fileNames)
+ {
+ copy(activity, "android" + File.separator + _fileName,
+ _dest + File.separator + _fileName);
+ }
+ }
+
+ recordCopy(activity);
+
+ Map<String, Object> _msg = new HashMap<>();
+ _msg.put("code", CodeA2U.AssetCopyFinished);
+ UniversalUtil.sendMessageToUnity(_msg);
+
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+ }).start();
+ }
+
+ public static void copy(Context context, String fileName)
+ {
+ String _originalPath = "android" + File.separator + fileName;
+ String _destPath = context.getExternalFilesDir(
+ "").getAbsolutePath() + File.separator + fileName;
+ String _destDir = _destPath.substring(0, _destPath.lastIndexOf('/') + 1);
+ File _file = new File(_destDir);
+ if(!_file.exists())
+ {
+ LogUtil.i(TAG,"鍗曠嫭鎷疯礉 => 涓嶅瓨鍦ㄦ寚瀹氳矾寰�: " + _destDir + ", 杩欓噷鍒涘缓...");
+ _file.mkdir();
+ }
+ try
+ {
+ InputStream _is = context.getAssets().open(_originalPath);
+ FileOutputStream _fos = new FileOutputStream(new File(_destPath));
+ byte[] _buffer = new byte[1024];
+ int _byteCount;
+ while ((_byteCount = _is.read(_buffer)) != -1)
+ {
+ _fos.write(_buffer, 0, _byteCount);
+ }
+ _fos.flush();
+ _is.close();
+ _fos.close();
+ LogUtil.i("FileUtil", "鍗曠嫭鎷疯礉 => 鏂囦欢: " + _originalPath + " 宸叉嫹璐濊嚦: " + _destPath);
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ public static void copy(Context context, String original, String dest)
+ {
+ try
+ {
+ String _fileNames[] = context.getAssets().list(original);
+ if (_fileNames.length > 0)
+ {
+ File _dir = new File(dest);
+ _dir.mkdir();
+ LogUtil.i("FileUtil", "[" + original + "] 鏄竴涓枃浠跺す, 鍒涘缓鏂囦欢澶�: [" + dest + "]");
+ for (String _fileName : _fileNames)
+ {
+ copy(context, original + File.separator + _fileName,
+ dest + File.separator + _fileName);
+ }
+ }
+ else
+ {
+ InputStream _is = context.getAssets().open(original);
+ FileOutputStream _fos = new FileOutputStream(new File(dest));
+ byte[] _buffer = new byte[1024];
+ int _byteCount;
+ while ((_byteCount = _is.read(_buffer)) != -1)
+ {
+ _fos.write(_buffer, 0, _byteCount);
+ }
+ _fos.flush();
+ _is.close();
+ _fos.close();
+ LogUtil.i("FileUtil", "鏂囦欢: " + original + " 宸叉嫹璐濊嚦: " + dest);
+ }
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ public static String getFileNameWithoutExtension(String fileName)
+ {
+ return fileName.substring(0, fileName.lastIndexOf("."));
+ }
+
+ private static boolean hasCopy(Context context)
+ {
+ File _file = new File(context.getExternalFilesDir(""), "/assetCopyFinish.txt");
+ return _file.exists();
+ }
+
+ private static void deleteRecord(Context context)
+ {
+ File _file = new File(context.getExternalFilesDir(""), "/assetCopyFinish.txt");
+ if (_file.exists())
+ {
+ _file.delete();
+ }
+ }
+
+ private static void recordCopy(Context context)
+ {
+ File _file = new File(context.getExternalFilesDir(""), "/assetCopyFinish.txt");
+ try
+ {
+ FileOutputStream _fos = new FileOutputStream(_file);
+ Writer _writer = new OutputStreamWriter(_fos, "UTF-8");
+ _writer.write(1);
+ _writer.close();
+ _fos.close();
+ } catch (IOException e)
+ {
+ e.printStackTrace();
+ }
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/JPushReceiver.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/JPushReceiver.java
new file mode 100644
index 0000000..9ec4e3b
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/JPushReceiver.java
@@ -0,0 +1,147 @@
+package com.secondworld.univeralsdk;
+
+import android.content.BroadcastReceiver;
+import android.content.Context;
+import android.content.Intent;
+import android.os.Bundle;
+import android.util.Log;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import cn.jpush.android.api.JPushInterface;
+
+/**
+ * Created by Administrator on 2018/6/16 0016.
+ */
+public class JPushReceiver extends BroadcastReceiver
+{
+ private static final String TAG = "JPushReceiver";
+
+ @Override
+ public void onReceive(Context context, Intent intent)
+ {
+ try
+ {
+ Bundle bundle = intent.getExtras();
+ Log.d(TAG,
+ "[MyReceiver] onReceive - " + intent.getAction() + ", extras: " + printBundle(
+ bundle));
+
+ if (JPushInterface.ACTION_REGISTRATION_ID.equals(intent.getAction()))
+ {
+ String regId = bundle.getString(JPushInterface.EXTRA_REGISTRATION_ID);
+ Log.d(TAG, "[MyReceiver] 鎺ユ敹Registration Id : " + regId);
+ //send the Registration Id to your server...
+ Map<String, Object> _msgStruct = new HashMap<>();
+ _msgStruct.put("code", CodeA2U.PushClientID);
+ _msgStruct.put("clientID", regId);
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+ }
+ else if (JPushInterface.ACTION_MESSAGE_RECEIVED.equals(intent.getAction()))
+ {
+ processCustomMessage(context, bundle);
+ }
+ else if (JPushInterface.ACTION_NOTIFICATION_RECEIVED.equals(intent.getAction()))
+ {
+ Log.d(TAG, "[MyReceiver] 鎺ユ敹鍒版帹閫佷笅鏉ョ殑閫氱煡");
+ int notifactionId = bundle.getInt(JPushInterface.EXTRA_NOTIFICATION_ID);
+ Log.d(TAG, "[MyReceiver] 鎺ユ敹鍒版帹閫佷笅鏉ョ殑閫氱煡鐨処D: " + notifactionId);
+ }
+ else if (JPushInterface.ACTION_NOTIFICATION_OPENED.equals(intent.getAction()))
+ {
+ Log.d(TAG, "[MyReceiver] 鐢ㄦ埛鐐瑰嚮鎵撳紑浜嗛�氱煡");
+ //鎵撳紑鑷畾涔夌殑Activity
+ Intent i = new Intent(context, MainActivity.class);
+ i.putExtras(bundle);
+ i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
+ context.startActivity(i);
+ }
+ else if (JPushInterface.ACTION_RICHPUSH_CALLBACK.equals(intent.getAction()))
+ {
+ Log.d(TAG, "[MyReceiver] 鐢ㄦ埛鏀跺埌鍒癛ICH PUSH CALLBACK: " + bundle.getString(
+ JPushInterface.EXTRA_EXTRA));
+ //鍦ㄨ繖閲屾牴鎹� JPushInterface.EXTRA_EXTRA 鐨勫唴瀹瑰鐞嗕唬鐮侊紝姣斿鎵撳紑鏂扮殑Activity锛� 鎵撳紑涓�涓綉椤电瓑..
+ }
+ else if (JPushInterface.ACTION_CONNECTION_CHANGE.equals(intent.getAction()))
+ {
+ boolean connected = intent.getBooleanExtra(JPushInterface.EXTRA_CONNECTION_CHANGE,
+ false);
+ Log.w(TAG,
+ "[MyReceiver]" + intent.getAction() + " connected state change to " + connected);
+ }
+ else
+ {
+ Log.d(TAG, "[MyReceiver] Unhandled intent - " + intent.getAction());
+ }
+ } catch (Exception e)
+ {
+
+ }
+
+ }
+
+ // 鎵撳嵃鎵�鏈夌殑 intent extra 鏁版嵁
+ private static String printBundle(Bundle bundle)
+ {
+ StringBuilder sb = new StringBuilder();
+// for (String key : bundle.keySet()) {
+// if (key.equals(JPushInterface.EXTRA_NOTIFICATION_ID)) {
+// sb.append("\nkey:" + key + ", value:" + bundle.getInt(key));
+// }else if(key.equals(JPushInterface.EXTRA_CONNECTION_CHANGE)){
+// sb.append("\nkey:" + key + ", value:" + bundle.getBoolean(key));
+// } else if (key.equals(JPushInterface.EXTRA_EXTRA)) {
+// if (TextUtils.isEmpty(bundle.getString(JPushInterface.EXTRA_EXTRA))) {
+// Logger.i(TAG, "This message has no Extra data");
+// continue;
+// }
+//
+// try {
+// JSONObject json = new JSONObject(bundle.getString(JPushInterface.EXTRA_EXTRA));
+// Iterator<String> it = json.keys();
+//
+// while (it.hasNext()) {
+// String myKey = it.next();
+// sb.append("\nkey:" + key + ", value: [" +
+// myKey + " - " +json.optString(myKey) + "]");
+// }
+// } catch (JSONException e) {
+// Logger.e(TAG, "Get message extra JSON error!");
+// }
+//
+// } else {
+// sb.append("\nkey:" + key + ", value:" + bundle.get(key));
+// }
+// }
+ return sb.toString();
+ }
+
+// public static final String KEY_TITLE = "title";
+// public static final String KEY_MESSAGE = "message";
+// public static final String KEY_EXTRAS = "extras";
+
+ //send msg to MainActivity
+ private void processCustomMessage(Context context, Bundle bundle)
+ {
+ Log.d(TAG, "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![MyReceiver] 鎺ユ敹鍒版帹閫佷笅鏉ョ殑鑷畾涔夋秷鎭�: " + bundle.getString(
+ JPushInterface.EXTRA_MESSAGE));
+// if (MainActivity.isForeground) {
+// String message = bundle.getString(JPushInterface.EXTRA_MESSAGE);
+// String extras = bundle.getString(JPushInterface.EXTRA_EXTRA);
+// Intent msgIntent = new Intent(MainActivity.MESSAGE_RECEIVED_ACTION);
+// msgIntent.putExtra(MainActivity.KEY_MESSAGE, message);
+// if (!UniversalUtil.isEmpty(extras)) {
+// try {
+// JSONObject extraJson = new JSONObject(extras);
+// if (extraJson.length() > 0) {
+// msgIntent.putExtra(MainActivity.KEY_EXTRAS, extras);
+// }
+// } catch (JSONException e) {
+//
+// }
+//
+// }
+// LocalBroadcastManager.getInstance(context).sendBroadcast(msgIntent);
+// }
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/LogUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/LogUtil.java
new file mode 100644
index 0000000..f92fca1
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/LogUtil.java
@@ -0,0 +1,114 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+import android.util.Log;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+/**
+ * Created by Administrator on 2018/7/25 0025.
+ */
+
+public class LogUtil
+{
+ private static final String Global_TAG = "h2EngineSdk";
+ private static final String TAG = "LogUtil";
+ public static boolean UPLOAD = false;
+ private static boolean SAVE = false;
+ private static boolean SHOW = true;
+
+ private final static SimpleDateFormat m_DateFormatMS = new SimpleDateFormat(
+ "yyyy-MM-dd HH:mm:ss.SSS");
+ private final static SimpleDateFormat m_DateFormatDay = new SimpleDateFormat("yyyy-MM-dd");
+
+ private static Activity m_Activity;
+
+ public static void init(Activity activity, boolean showLog)
+ {
+ m_Activity = activity;
+ SHOW = showLog;
+ File _file = new File(getPath());
+ if (_file.exists())
+ {
+ SAVE = true;
+ i(TAG, "鍚姩鏈湴log瀛樺偍鍔熻兘");
+ }
+ else
+ {
+ SAVE = false;
+ i(TAG, "鏈惎鍔ㄦ湰鍦發og瀛樺偍鍔熻兘");
+ }
+ }
+
+ public static void i(String tag, String content)
+ {
+ content = ("[" + m_DateFormatMS.format(new Date()) + "]") + "[" + tag + "] " + content;
+ Log.i(Global_TAG, content);
+ if (SAVE)
+ {
+ write(content);
+ }
+ }
+
+ public static void w(String tag, String content)
+ {
+ content = ("[" + m_DateFormatMS.format(new Date()) + "]") + "[" + tag + "] " + content;
+ Log.w(Global_TAG, content);
+ if (SAVE)
+ {
+ write(content);
+ }
+ }
+
+ public static void e(String tag, String content)
+ {
+ content = ("[" + m_DateFormatMS.format(new Date()) + "]") + "[" + tag + "] " + content;
+ Log.e(Global_TAG, content);
+ if (SAVE)
+ {
+ write(content);
+ }
+ }
+
+ private static String getPath()
+ {
+ if (m_Activity.getExternalFilesDir("") == null)
+ {
+ Log.i(TAG,"m_Activity.getExternalFilesDir(\"\") == null");
+ return "";
+ }
+
+ return m_Activity.getExternalFilesDir("").getAbsolutePath()
+ + File.separator
+ + "debugLog"
+ + File.separator;
+ }
+
+ private static void write(String content)
+ {
+ try
+ {
+ String time = m_DateFormatDay.format(new Date());
+ String fileName = "log_" + time + ".log";
+ FileOutputStream fos = new FileOutputStream(getPath() + fileName, true);
+ fos.write(content.getBytes());
+ fos.flush();
+ fos.close();
+ } catch (IOException e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ public static void upLoad()
+ {
+ if (!UPLOAD)
+ {
+ return;
+ }
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/MainActivity.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/MainActivity.java
new file mode 100644
index 0000000..0d75805
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/MainActivity.java
@@ -0,0 +1,210 @@
+package com.secondworld.univeralsdk;
+
+import android.Manifest;
+import android.app.AlertDialog;
+import android.content.DialogInterface;
+import android.content.Intent;
+import android.content.pm.PackageManager;
+import android.content.res.Configuration;
+import android.net.Uri;
+import android.os.Bundle;
+import android.os.Process;
+import android.provider.Settings;
+import android.support.v4.content.PermissionChecker;
+import android.view.View;
+import android.widget.FrameLayout;
+import android.widget.RelativeLayout;
+
+import com.unity3d.player.UnityPlayerActivity;
+
+public class MainActivity extends UnityPlayerActivity
+{
+ private static final String TAG = "MainActivity";
+ public static boolean isForeground = false;
+ // 鍚敤6.0浠ヤ笂鏉冮檺鍥炶皟code
+ // private static final int CODE_REQUEST_PERMISSION = 1000;
+
+ private RelativeLayout m_MainContainer;
+ private int mType;
+ private boolean isNotch = false;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState)
+ {
+ super.onCreate(savedInstanceState);
+
+ LogUtil.i(TAG, "onCreate");
+ LogUtil.init(this, true);
+
+ setContentView(R.layout.activity_main);
+
+ m_MainContainer = (RelativeLayout) findViewById(R.id.main_container);
+
+ String _brand = NotchPhoneUtil.getDeviceBrand();
+ if (_brand.toUpperCase().contains("VIVO"))
+ {
+ isNotch = NotchPhoneUtil.HasNotchVivo(MainActivity.this);
+ mType = 1;
+ }
+ else if (_brand.toUpperCase().contains("HUAWEI")
+ || _brand.toUpperCase().contains("HONOR"))
+ {
+// isNotch = NotchPhoneUtil.hasNotchAtHuawei(this);;
+// mType = 2;
+ }
+ else if (_brand.toUpperCase().contains("OPPO"))
+ {
+ isNotch = NotchPhoneUtil.HasNotchOPPO(MainActivity.this);
+ mType = 3;
+ }
+ else if (_brand.toUpperCase().contains("XIAOMI"))
+ {
+ isNotch = NotchPhoneUtil.HasNotchXiaoMi();
+ mType = 4;
+ }
+
+ NotchPhoneUtil.onConfigurationChanged(this, isNotch, mType, m_MainContainer);
+
+ FrameLayout _frameLayout = (FrameLayout) findViewById(R.id.unity_view);
+ View unityView = mUnityPlayer.getView();
+ _frameLayout.addView(unityView);
+
+ H2EngineSDK.onCreate(this, savedInstanceState);
+ }
+
+ @Override
+ public void onWindowFocusChanged(boolean b)
+ {
+ LogUtil.i(TAG, "onWindowFocusChanged: " + b);
+ super.onWindowFocusChanged(b);
+ H2EngineSDK.onWindowFocusChanged(b);
+ }
+
+ @Override
+ protected void onNewIntent(Intent intent)
+ {
+ LogUtil.i(TAG, "onNewIntent");
+ super.onNewIntent(intent);
+ H2EngineSDK.onNewIntent(this, intent);
+ }
+
+ @Override
+ protected void onActivityResult(int requestCode, int resultCode, Intent data)
+ {
+ LogUtil.i(TAG, "onActivityResult");
+ H2EngineSDK.onActivityResult(requestCode, resultCode, data, this);
+ super.onActivityResult(requestCode, resultCode, data);
+ }
+
+ @Override
+ public void onConfigurationChanged(Configuration newConfig)
+ {
+ LogUtil.i(TAG, "onConfigurationChanged");
+ NotchPhoneUtil.onConfigurationChanged(this, isNotch, mType, m_MainContainer);
+
+ H2EngineSDK.onConfigurationChanged(newConfig);
+
+ super.onConfigurationChanged(newConfig);
+ }
+
+ @Override
+ protected void onStart()
+ {
+ LogUtil.i(TAG, "onStart");
+ H2EngineSDK.onStart(this);
+
+ super.onStart();
+ }
+
+ @Override
+ protected void onStop()
+ {
+ LogUtil.i(TAG, "onStop");
+ isForeground = false;
+ H2EngineSDK.onStop(this);
+
+ super.onStop();
+ }
+
+ @Override
+ protected void onResume()
+ {
+ LogUtil.i(TAG, "onResume");
+ isForeground = true;
+ H2EngineSDK.onResume(this);
+
+ super.onResume();
+
+ // 妫�娴嬫湰鍦板瓨鍌ㄦ潈闄愭槸鍚︽湁, 娌℃湁鐨勮瘽瑕佹彁绀虹敤鎴�
+ if (PermissionChecker.checkPermission(this,
+ Manifest.permission.WRITE_EXTERNAL_STORAGE,
+ Process.myPid(), Process.myUid(),
+ getPackageName()) != PackageManager.PERMISSION_GRANTED
+ || PermissionChecker.checkPermission(this,
+ Manifest.permission.READ_EXTERNAL_STORAGE,
+ Process.myPid(), Process.myUid(),
+ getPackageName()) != PackageManager.PERMISSION_GRANTED)
+ {
+ new AlertDialog.Builder(this)
+ .setMessage("搴旂敤娌℃湁瀛樺偍璇诲彇鏉冮檺,鐐瑰嚮纭畾鑷宠缃腑寮�鍚�,鍚﹀垯鏃犳硶缁х画娓告垙.")
+ .setCancelable(false)
+ .setPositiveButton("纭畾",
+ new DialogInterface.OnClickListener()
+ {
+ @Override
+ public void onClick(DialogInterface dialogInterface,
+ int i)
+ {
+ UniversalUtil.hasGoToSetting = true;
+ Intent intent = new Intent(
+ Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ Uri uri = Uri.fromParts("package",
+ getPackageName(),
+ null);
+ intent.setData(uri);
+ startActivity(intent);
+ }
+ })
+ .setNegativeButton("鎷掔粷",
+ new DialogInterface.OnClickListener()
+ {
+ @Override
+ public void onClick(DialogInterface dialogInterface,
+ int i)
+ {
+ finish();
+ }
+ })
+ .show();
+ }
+ }
+
+ @Override
+ protected void onPause()
+ {
+ LogUtil.i(TAG, "onPause");
+ H2EngineSDK.onPause(this);
+
+ super.onPause();
+ }
+
+ @Override
+ protected void onDestroy()
+ {
+ LogUtil.i(TAG, "onDestroy");
+ H2EngineSDK.onDestroy(this);
+
+ super.onDestroy();
+ }
+
+ @Override
+ protected void onRestart()
+ {
+ LogUtil.i(TAG, "onRestart");
+ H2EngineSDK.onRestart(this);
+
+ super.onRestart();
+ }
+
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/NotchPhoneUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/NotchPhoneUtil.java
new file mode 100644
index 0000000..6dac465
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/NotchPhoneUtil.java
@@ -0,0 +1,343 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+import android.content.Context;
+import android.view.Surface;
+import android.view.ViewGroup;
+import android.widget.FrameLayout;
+
+import java.lang.reflect.Method;
+
+/**
+ * Created by Administrator on 2018/9/11 0011.
+ */
+
+public class NotchPhoneUtil
+{
+ private final static String TAG = "Notch";
+ /**
+ * 鍗庝负鎵嬫満鍒ゆ柇鏄笉鏄垬娴锋墜鏈�
+ *
+ * @param context
+ * @return
+ */
+ public static boolean hasNotchAtHuawei(Context context)
+ {
+ boolean ret = false;
+ try
+ {
+ ClassLoader classLoader = context.getClassLoader();
+ Class HwNotchSizeUtil = classLoader.loadClass(
+ "com.huawei.android.util.HwNotchSizeUtil");
+ Method get = HwNotchSizeUtil.getMethod("hasNotchInScreen");
+ ret = (boolean) get.invoke(HwNotchSizeUtil);
+ } catch (ClassNotFoundException e)
+ {
+ LogUtil.e(TAG, "hasNotchAtHuawei ClassNotFoundException");
+ } catch (NoSuchMethodException e)
+ {
+ LogUtil.e(TAG, "hasNotchAtHuawei NoSuchMethodException");
+ } catch (Exception e)
+ {
+ LogUtil.e(TAG, "hasNotchAtHuawei Exception");
+ } finally
+ {
+ return ret;
+ }
+ }
+
+
+ /**
+ * 鍗庝负鎵嬫満鑾峰彇鍒樻捣鐨勫楂�
+ * int[0]鍊间负鍒樻捣瀹藉害 int[1]鍊间负鍒樻捣楂樺害
+ */
+ public static int[] getNotchSizeAtHuawei(Context context)
+ {
+ int[] ret = new int[]{0, 0};
+ try
+ {
+ ClassLoader cl = context.getClassLoader();
+ Class HwNotchSizeUtil = cl.loadClass("com.huawei.android.util.HwNotchSizeUtil");
+ Method get = HwNotchSizeUtil.getMethod("getNotchSize");
+ ret = (int[]) get.invoke(HwNotchSizeUtil);
+ } catch (ClassNotFoundException e)
+ {
+ LogUtil.e(TAG, "getNotchSizeAtHuawei ClassNotFoundException");
+ } catch (NoSuchMethodException e)
+ {
+ LogUtil.e(TAG, "getNotchSizeAtHuawei NoSuchMethodException");
+ } catch (Exception e)
+ {
+ LogUtil.e(TAG, "getNotchSizeAtHuawei Exception");
+ } finally
+ {
+ return ret;
+ }
+ }
+
+
+ /**
+ * OPPO鍒ゆ柇鏄笉鏄垬娴锋墜鏈�,
+ * OPPO涓嶆彁渚涙帴鍙h幏鍙栧垬娴峰昂瀵革紝鐩墠鍏舵湁鍒樻捣灞忕殑鏈哄瀷灏哄瑙勬牸閮芥槸缁熶竴鐨勩�備笉鎺掗櫎浠ュ悗鏈哄瀷浼氭湁鍙樺寲銆�
+ * 鍒樻捣鍖哄煙鍒欓兘鏄搴︿负324px, 楂樺害涓�80px銆�
+ *
+ * @param context
+ * @return
+ */
+ public static boolean HasNotchOPPO(Context context)
+ {
+ return context.getPackageManager().hasSystemFeature(
+ "com.oppo.feature.screen.heteromorphism");
+ }
+
+
+ public static final int VIVO_NOTCH = 0x00000020;//鏄惁鏈夊垬娴�
+
+ /**
+ * vivo鍒ゆ柇鏄笉鏄垬娴锋墜鏈�
+ */
+ public static boolean HasNotchVivo(Context context)
+ {
+ boolean ret = false;
+ try
+ {
+ ClassLoader classLoader = context.getClassLoader();
+ Class FtFeature = classLoader.loadClass("android.util.FtFeature");
+ Method method = FtFeature.getMethod("isFeatureSupport", int.class);
+ ret = (boolean) method.invoke(FtFeature, VIVO_NOTCH);
+ } catch (ClassNotFoundException e)
+ {
+ LogUtil.e(TAG, "hasNotchAtVivo ClassNotFoundException");
+ } catch (NoSuchMethodException e)
+ {
+ LogUtil.e(TAG, "hasNotchAtVivo NoSuchMethodException");
+ } catch (Exception e)
+ {
+ LogUtil.e(TAG, "hasNotchAtVivo Exception");
+ } finally
+ {
+ return ret;
+ }
+
+ }
+
+ /**
+ * 灏忕背鎵嬫満鍒ゆ柇鏄笉鏄垬娴锋墜鏈�
+ *
+ * @return
+ */
+ public static boolean HasNotchXiaoMi()
+ {
+ Boolean _hasNotchXiaoMi = getPropertyInt("ro.miui.notch", 0) == 1 ? true : false;
+ LogUtil.i(TAG,"鏄惁鏄皬绫冲垬娴锋墜鏈�: " + _hasNotchXiaoMi);
+ return _hasNotchXiaoMi;
+ }
+
+ private static int getPropertyInt(String key,int defaultValue)
+ {
+ int value = defaultValue;
+ try
+ {
+ Class<?> c = Class.forName("android.os.SystemProperties");
+ Method get = c.getMethod("get", String.class, String.class);
+ value = (int) (get.invoke(c, key, "unknown"));
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ } finally
+ {
+ return value;
+ }
+ }
+
+ /**
+ * 灏忕背鎵嬫満鑾峰彇鍒樻捣鐨勯珮搴�
+ */
+ public static int getStatusBarHeight(Context context)
+ {
+ int statusBarHeight = 0;
+ int resourceId = context.getResources().getIdentifier("status_bar_height", "dimen",
+ "android");
+ if (resourceId > 0)
+ {
+ statusBarHeight = context.getResources().getDimensionPixelSize(resourceId);
+ }
+ return statusBarHeight;
+ }
+
+ /**
+ * 灞忓箷鏃嬭浆姹囨�荤殑鏂规硶
+ *
+ * @param activity
+ * @param isNotch
+ * @param type
+ * @param viewGroup
+ */
+ public static void onConfigurationChanged(Activity activity, Boolean isNotch, int type,
+ ViewGroup viewGroup)
+ {
+ if (getDisplayRotation(activity) == 0)
+ {
+ if (isNotch)
+ {
+ switch (type)
+ {
+ case 1: //vivo
+ FrameLayout.LayoutParams lpvivo = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lpvivo.topMargin = dp2px(activity, 32);
+ lpvivo.leftMargin = 0;
+ lpvivo.rightMargin = 0;
+ viewGroup.setLayoutParams(lpvivo);
+ break;
+ case 2: //HUAWEI
+
+ int[] sizeAtHuawei = NotchPhoneUtil.getNotchSizeAtHuawei(activity);
+ FrameLayout.LayoutParams lphuawei = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lphuawei.topMargin = sizeAtHuawei[1];
+ lphuawei.leftMargin = 0;
+ lphuawei.rightMargin = 0;
+ viewGroup.setLayoutParams(lphuawei);
+ break;
+ case 3: //OPPO 鐩墠閮戒负 80px
+ FrameLayout.LayoutParams lpOppo = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lpOppo.topMargin = 80;
+ lpOppo.leftMargin = 0;
+ lpOppo.rightMargin = 0;
+ viewGroup.setLayoutParams(lpOppo);
+ break;
+ case 4: //Xiaomi
+ int sizeAtXiaomi = NotchPhoneUtil.getStatusBarHeight(activity);
+ FrameLayout.LayoutParams lpXiaomi = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lpXiaomi.topMargin = sizeAtXiaomi;
+ lpXiaomi.leftMargin = 0;
+ lpXiaomi.rightMargin = 0;
+ viewGroup.setLayoutParams(lpXiaomi);
+ break;
+ }
+
+ }
+
+ }
+ else if (getDisplayRotation(activity) == 90)
+ {
+ leftAndRightChange(activity, isNotch, type, viewGroup);
+ }
+ else if (getDisplayRotation(activity) == 180)
+ {
+ }
+ else if (getDisplayRotation(activity) == 270)
+ {
+ leftAndRightChange(activity, isNotch, type, viewGroup);
+ }
+
+
+ }
+
+ /**
+ * 宸﹀彸妯睆閮芥槸璁� leftMargin 鍜宺ightMargin 绌哄嚭涓�涓垬娴风殑璺濈
+ *
+ * @param activity
+ * @param isNotch
+ * @param type
+ * @param viewGroup
+ */
+ private static void leftAndRightChange(Activity activity, Boolean isNotch, int type,
+ ViewGroup viewGroup)
+ {
+ if (isNotch)
+ {
+ switch (type)
+ {
+ case 1: //vivo
+ FrameLayout.LayoutParams lpvivo = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lpvivo.leftMargin = dp2px(activity, 32);
+ lpvivo.rightMargin = dp2px(activity, 32);
+ lpvivo.topMargin = 0;
+ lpvivo.bottomMargin = 0;
+ viewGroup.setLayoutParams(lpvivo);
+ break;
+ case 2: //HUAWEI
+
+ int[] sizeAtHuawei = NotchPhoneUtil.getNotchSizeAtHuawei(activity);
+ FrameLayout.LayoutParams lphuawei = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lphuawei.leftMargin = sizeAtHuawei[1];
+ lphuawei.rightMargin = sizeAtHuawei[1];
+ lphuawei.topMargin = 0;
+ lphuawei.bottomMargin = 0;
+ viewGroup.setLayoutParams(lphuawei);
+
+ break;
+ case 3: //OPPO 鐩墠閮戒负 80px
+ FrameLayout.LayoutParams lpOppo = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lpOppo.leftMargin = 80;
+ lpOppo.rightMargin = 80;
+ lpOppo.topMargin = 0;
+ lpOppo.bottomMargin = 0;
+ viewGroup.setLayoutParams(lpOppo);
+
+ break;
+ case 4: //Xiaomi
+ int sizeAtXiaomi = NotchPhoneUtil.getStatusBarHeight(activity);
+ FrameLayout.LayoutParams lpXiaomi = (FrameLayout.LayoutParams) viewGroup.getLayoutParams();
+ lpXiaomi.leftMargin = sizeAtXiaomi;
+ lpXiaomi.rightMargin = sizeAtXiaomi;
+ lpXiaomi.topMargin = 0;
+ lpXiaomi.bottomMargin = 0;
+ viewGroup.setLayoutParams(lpXiaomi);
+ break;
+ }
+
+ }
+ }
+
+ /**
+ * 鑾峰彇褰撳墠灞忓箷鏃嬭浆瑙掑害
+ *
+ * @param activity
+ * @return 0琛ㄧず鏄珫灞�; 90琛ㄧず鏄乏妯睆; 180琛ㄧず鏄弽鍚戠珫灞�; 270琛ㄧず鏄彸妯睆
+ */
+ public static int getDisplayRotation(Activity activity)
+ {
+ if (activity == null)
+ {
+ return 0;
+ }
+
+ int rotation = activity.getWindowManager().getDefaultDisplay()
+ .getRotation();
+ switch (rotation)
+ {
+ case Surface.ROTATION_0:
+ return 0;
+ case Surface.ROTATION_90:
+ return 90;
+ case Surface.ROTATION_180:
+ return 180;
+ case Surface.ROTATION_270:
+ return 270;
+ }
+ return 0;
+ }
+
+ /**
+ * px杞琩p
+ *
+ * @param context
+ * @param dipValue
+ */
+ public static int dp2px(Context context, float dipValue)
+ {
+ final float scale = context.getResources().getDisplayMetrics().density;
+ return (int) (dipValue * scale + 0.5f);
+ }
+
+ /**
+ * 鑾峰彇鎵嬫満鍘傚晢
+ *
+ * @return 鎵嬫満鍘傚晢 Xiaomi HUAWEI vivo
+ */
+ public static String getDeviceBrand()
+ {
+ return android.os.Build.BRAND;
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/StaticDefine.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/StaticDefine.java
new file mode 100644
index 0000000..c53009b
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/StaticDefine.java
@@ -0,0 +1,18 @@
+package com.secondworld.univeralsdk;
+
+/**
+ * Created by Administrator on 2018/6/14 0014.
+ */
+
+public class StaticDefine {
+
+ public static final String UnityGameObjectName = "SDKUtility";
+ public static final String UnityHandleFuncName = "HandleSdkMessage";
+
+ public static final String LS_KEY_VERSION = "H2Engine_App_Version";
+ public static final String LS_KEY_COPIED = "H2Engine_Copy_Finished";
+ public final static String LS_KEY_IMEI = "H2Engine_DEVICE_IMEI";
+ public final static String LS_KEY_MAC = "H2Engine_DEVICE_MAC";
+ public final static String LS_KEY_ANDROID_ID = "H2Engine_DEVICE_ANDROID_ID";
+
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java
new file mode 100644
index 0000000..11899ea
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java
@@ -0,0 +1,226 @@
+package com.secondworld.univeralsdk;
+
+import android.Manifest;
+import android.content.Context;
+import android.content.SharedPreferences;
+import android.content.pm.PackageManager;
+import android.provider.Settings;
+import android.support.v4.content.ContextCompat;
+import android.telephony.TelephonyManager;
+import android.util.Log;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.OutputStreamWriter;
+import java.io.Reader;
+import java.io.Writer;
+import java.net.NetworkInterface;
+import java.net.SocketException;
+import java.security.MessageDigest;
+import java.util.UUID;
+
+/**
+ * Created by Administrator on 2018/7/12 0012.
+ */
+
+public class UniqueID
+{
+ public static String get(Context context)
+ {
+ String _id = read(context);
+
+ if (_id != null && !_id.equals(""))
+ {
+ return _id;
+ }
+
+ StringBuffer _buffer = new StringBuffer();
+
+ _id = getDeviceId(context);
+ _buffer.append(_id);
+
+ _id = getLocalMac(context).replace(":", "");
+ _buffer.append(_id);
+
+ if (_buffer == null || _buffer.length() <= 0)
+ {
+ UUID _uuid = UUID.randomUUID();
+ _id = _uuid.toString().replace("-", "");
+ _buffer.append(_id);
+ }
+
+ _id = getMD5(_buffer.toString(), false);
+
+ if (_id.length() > 0)
+ {
+ save(_id, context);
+ }
+ return _id;
+ }
+
+ private static String read(Context context)
+ {
+ File _file = new File(context.getExternalFilesDir(""), "/tsw_device_unique_id.txt");
+ if (!_file.exists())
+ {
+ return null;
+ }
+ StringBuffer _buffer = new StringBuffer();
+ try
+ {
+ FileInputStream _fis = new FileInputStream(_file);
+ InputStreamReader _isr = new InputStreamReader(_fis, "UTF-8");
+ Reader _in = new BufferedReader(_isr);
+ int _index;
+ while ((_index = _in.read()) > -1)
+ {
+ _buffer.append((char) _index);
+ }
+ _in.close();
+ return _buffer.toString();
+ } catch (IOException e)
+ {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ private static void save(String id, Context context)
+ {
+ File _file = new File(context.getExternalFilesDir(""), "/tsw_device_unique_id.txt");
+ try
+ {
+ Log.i("UniqueIDUtil", "path: " + _file.getAbsolutePath());
+ FileOutputStream _fos = new FileOutputStream(_file);
+ Writer _writer = new OutputStreamWriter(_fos, "UTF-8");
+ _writer.write(id);
+ _writer.close();
+ _fos.close();
+ } catch (IOException e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ public static String getAndroidID(Context context)
+ {
+ return Settings.System.getString(context.getContentResolver(), Settings.System.ANDROID_ID);
+ }
+
+ public static String getDeviceId(Context context)
+ {
+ SharedPreferences _sp = context.getSharedPreferences(context.getPackageName(),
+ Context.MODE_PRIVATE);
+ String _deviceId = _sp.getString(StaticDefine.LS_KEY_IMEI, "");
+ if (!_deviceId.equals(""))
+ {
+ return _deviceId;
+ }
+
+ TelephonyManager tm = (TelephonyManager) context
+ .getSystemService(Context.TELEPHONY_SERVICE);
+
+ if (ContextCompat.checkSelfPermission(context,
+ Manifest.permission.READ_PHONE_STATE) == PackageManager.PERMISSION_GRANTED)
+ {
+ _deviceId = tm.getDeviceId();
+ SharedPreferences.Editor _e = _sp.edit();
+ _e.putString(StaticDefine.LS_KEY_IMEI, _deviceId);
+ _e.apply();
+ return _deviceId;
+ }
+ return "";
+ }
+
+ public static String getLocalMac(Context context)
+ {
+ SharedPreferences _sp = context.getSharedPreferences(context.getPackageName(),
+ Context.MODE_PRIVATE);
+ String _macAddress = _sp.getString(StaticDefine.LS_KEY_MAC, "");
+ if (!_macAddress.equals(""))
+ {
+ return _macAddress;
+ }
+ StringBuffer _buffer = new StringBuffer();
+ NetworkInterface _networkInterface;
+ try
+ {
+ _networkInterface = NetworkInterface.getByName("eth1");
+ if (_networkInterface == null)
+ {
+ _networkInterface = NetworkInterface.getByName("wlan0");
+ }
+ if (_networkInterface == null)
+ {
+ return "";
+ }
+ byte[] _addresses = _networkInterface.getHardwareAddress();
+ for (byte b : _addresses)
+ {
+ _buffer.append(String.format("%02X:", b));
+ }
+ if (_buffer.length() > 0)
+ {
+ _buffer.deleteCharAt(_buffer.length() - 1);
+ }
+ _macAddress = _buffer.toString();
+ SharedPreferences.Editor _e = _sp.edit();
+ _e.putString(StaticDefine.LS_KEY_MAC, _macAddress);
+ _e.apply();
+ } catch (SocketException e)
+ {
+ e.printStackTrace();
+ return "";
+ }
+ return _macAddress;
+ }
+
+ public static String getMD5(String message, boolean upperCase)
+ {
+ String md5str = "";
+ try
+ {
+ MessageDigest md = MessageDigest.getInstance("MD5");
+
+ byte[] input = message.getBytes();
+
+ byte[] buff = md.digest(input);
+
+ md5str = bytesToHex(buff, upperCase);
+
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ return md5str;
+ }
+
+ private static String bytesToHex(byte[] bytes, boolean upperCase)
+ {
+ StringBuffer md5str = new StringBuffer();
+ int digital;
+ for (int i = 0; i < bytes.length; i++)
+ {
+ digital = bytes[i];
+
+ if (digital < 0)
+ {
+ digital += 256;
+ }
+ if (digital < 16)
+ {
+ md5str.append("0");
+ }
+ md5str.append(Integer.toHexString(digital));
+ }
+ if (upperCase)
+ {
+ return md5str.toString().toUpperCase();
+ }
+ return md5str.toString().toLowerCase();
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java
new file mode 100644
index 0000000..bb5abb6
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java
@@ -0,0 +1,434 @@
+package com.secondworld.univeralsdk;
+
+import android.Manifest;
+import android.app.Activity;
+import android.app.AlertDialog;
+import android.content.ClipData;
+import android.content.ClipboardManager;
+import android.content.Context;
+import android.content.DialogInterface;
+import android.content.Intent;
+import android.content.pm.ApplicationInfo;
+import android.content.pm.PackageInfo;
+import android.content.pm.PackageManager;
+import android.content.pm.PermissionInfo;
+import android.net.ConnectivityManager;
+import android.net.NetworkInfo;
+import android.net.Uri;
+import android.net.wifi.WifiInfo;
+import android.net.wifi.WifiManager;
+import android.os.Process;
+import android.provider.Settings;
+import android.support.v4.content.PermissionChecker;
+import android.widget.Toast;
+
+import com.unity3d.player.UnityPlayer;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.net.Inet4Address;
+import java.net.InetAddress;
+import java.net.NetworkInterface;
+import java.net.SocketException;
+import java.net.URL;
+import java.net.URLConnection;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.Enumeration;
+import java.util.Map;
+
+/**
+ * Created by Administrator on 2018/6/15 0015.
+ */
+
+public class UniversalUtil
+{
+ private final static String TAG = "UniversalUtil";
+
+ /**
+ * 鑾峰緱搴旂敤鐨勭増鏈彿
+ */
+ public static String GetVersionName(Context context)
+ {
+ PackageManager _packageManager = context.getPackageManager();
+ PackageInfo _packageInfo = null;
+
+ try
+ {
+ _packageInfo = _packageManager.getPackageInfo(context.getPackageName(), 0);
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ if (_packageInfo != null)
+ {
+ return _packageInfo.versionName;
+ }
+ return null;
+ }
+
+ public static void sendMessageToUnity(Map<String, Object> jsonMap)
+ {
+ if (jsonMap == null || jsonMap.isEmpty())
+ {
+ return;
+ }
+
+ JSONObject _jsonObject = new JSONObject(jsonMap);
+
+ UnityPlayer.UnitySendMessage(StaticDefine.UnityGameObjectName,
+ StaticDefine.UnityHandleFuncName,
+ _jsonObject.toString());
+ }
+
+ public static void sendDebugLogToUnity(String content)
+ {
+ JSONObject _jsonObject = new JSONObject();
+ try
+ {
+ _jsonObject.put("code", 6);
+ _jsonObject.put("info", content);
+ } catch (JSONException e)
+ {
+ e.printStackTrace();
+ }
+ UnityPlayer.UnitySendMessage(StaticDefine.UnityGameObjectName,
+ StaticDefine.UnityHandleFuncName,
+ _jsonObject.toString());
+ }
+
+ public static void InstallAPK(Context context, final String path)
+ {
+ File _file = new File(path);
+
+ if (_file == null)
+ {
+ Toast.makeText(context, "缁欏畾鐨勫湴鍧�[" + path + "]鎵句笉鍒拌瀹夎鐨勫簲鐢ㄦ枃浠�", Toast.LENGTH_SHORT).show();
+ return;
+ }
+
+ try
+ {
+ Intent _intent = new Intent(Intent.ACTION_VIEW);
+
+// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
+// {
+// _intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
+// Uri _contentUri = FileProvider.getUriForFile(context,
+// context.getPackageName() + ".fileProvider",
+// _file);
+// _intent.setDataAndType(_contentUri, "application/vnd.android.package-archive");
+// }
+// else
+// {
+ _intent.setDataAndType(Uri.fromFile(_file),
+ "application/vnd.android.package-archive");
+ _intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+// }
+
+ context.startActivity(_intent);
+
+ } catch (Exception e)
+ {
+ e.printStackTrace();
+ Toast.makeText(context, "鎵句笉鍒版墦寮�姝ょ被鍨嬫枃浠剁殑绋嬪簭", Toast.LENGTH_SHORT).show();
+ }
+ }
+
+ public static String getStringDate() {
+ Date currentTime = new Date();
+ SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
+ String dateString = formatter.format(currentTime);
+ return dateString;
+ }
+
+ public static void CopyTextToClipboard(final Activity activity, final String text)
+ {
+ activity.runOnUiThread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+ ClipboardManager _mgr = (ClipboardManager) activity.getSystemService(
+ Context.CLIPBOARD_SERVICE);
+ ClipData _data = ClipData.newPlainText("playerId", text);
+ _mgr.setPrimaryClip(_data);
+ }
+ });
+ }
+
+ public static long getMemTotal()
+ {
+ try
+ {
+ FileReader fileReader = new FileReader("/proc/meminfo");
+ BufferedReader bufferedReader = new BufferedReader(fileReader, 4 * 1024);
+ String str;
+ while ((str = bufferedReader.readLine()) != null)
+ {
+ if (str.contains("MemTotal"))
+ {
+ break;
+ }
+ }
+ bufferedReader.close();
+ fileReader.close();
+ String[] array = str.split("\\s+");
+ // 鑾峰緱绯荤粺鎬诲唴瀛橈紝鍗曚綅鏄疜B
+ return Integer.valueOf(array[1]).intValue();
+ } catch (FileNotFoundException e)
+ {
+ e.printStackTrace();
+ } catch (IOException e)
+ {
+ e.printStackTrace();
+ }
+ return 0;
+ }
+
+ public static String getPublicIp(boolean useHttps)
+ {
+ String _ip;
+ try
+ {
+ URL ipify = useHttps ? new URL("https://api.ipify.org") : new URL(
+ "http://api.ipify.org");
+ URLConnection conn = ipify.openConnection();
+ BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
+ _ip = in.readLine();
+ in.close();
+ } catch (IOException e)
+ {
+ e.printStackTrace();
+ }
+ return "";
+ }
+
+ public static String getIP(Context context)
+ {
+ NetworkInfo info = ((ConnectivityManager) context
+ .getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo();
+ if (info != null && info.isConnected())
+ {
+ if (info.getType() == ConnectivityManager.TYPE_MOBILE)
+ {//褰撳墠浣跨敤2G/3G/4G缃戠粶
+ try
+ {
+ for (Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en.hasMoreElements(); )
+ {
+ NetworkInterface intf = en.nextElement();
+ for (Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses(); enumIpAddr.hasMoreElements(); )
+ {
+ InetAddress inetAddress = enumIpAddr.nextElement();
+ if (!inetAddress.isLoopbackAddress() && inetAddress instanceof Inet4Address)
+ {
+ return inetAddress.getHostAddress();
+ }
+ }
+ }
+ } catch (SocketException e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+ else if (info.getType() == ConnectivityManager.TYPE_WIFI)
+ {//褰撳墠浣跨敤鏃犵嚎缃戠粶
+ WifiManager wifiManager = (WifiManager) context.getSystemService(
+ Context.WIFI_SERVICE);
+ WifiInfo wifiInfo = wifiManager.getConnectionInfo();
+ return intIP2StringIP(wifiInfo.getIpAddress());
+ }
+ }
+ else
+ {
+ //褰撳墠鏃犵綉缁滆繛鎺�,璇峰湪璁剧疆涓墦寮�缃戠粶
+ }
+ return null;
+ }
+
+ private static String intIP2StringIP(int ip)
+ {
+ return (ip & 0xFF) + "." +
+ ((ip >> 8) & 0xFF) + "." +
+ ((ip >> 16) & 0xFF) + "." +
+ (ip >> 24 & 0xFF);
+ }
+
+ public static boolean hasRWP = false;
+ public static boolean hasGoToSetting = false;
+
+ public static void CheckWriteAndReadExternalStorage(final Activity activity)
+ {
+ //Log.i("MainActivity", "CheckWriteAndReadExternalStorage 寮�濮� hasGoToSetting: " + hasGoToSetting);
+
+ if (hasRWP && !hasGoToSetting)
+ {
+ //Log.i("MainActivity", "1111 鏈夋潈闄�");
+ return;
+ }
+
+ if (PermissionChecker.checkPermission(activity, Manifest.permission.WRITE_EXTERNAL_STORAGE,
+ Process.myPid(), Process.myUid(),
+ activity.getPackageName()) == PackageManager.PERMISSION_GRANTED)
+ {
+ //Log.i("MainActivity", "鏈夋潈闄�");
+ hasRWP = true;
+ if (hasGoToSetting)
+ {
+ //Log.i("MainActivity", "鍘昏繃璁剧疆鐣岄潰, 杩欓噷閲嶅惎");
+ activity.runOnUiThread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+ new Thread()
+ {
+ public void run()
+ {
+ String _packageName = activity.getPackageName();
+ Intent _launch = activity.getBaseContext().getPackageManager().getLaunchIntentForPackage(
+ _packageName);
+ _launch.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
+ activity.startActivity(_launch);
+ Process.killProcess(Process.myPid());
+ }
+ }.start();
+ activity.finish();
+ }
+ });
+ }
+ return;
+ }
+
+ if (!hasRWP)
+ {
+ new AlertDialog.Builder(activity)
+ .setMessage("搴旂敤娌℃湁瀛樺偍璇诲彇鏉冮檺,鐐瑰嚮纭畾鑷宠缃腑寮�鍚�,鍚﹀垯鏃犳硶缁х画娓告垙.")
+ .setCancelable(false)
+ .setPositiveButton("纭畾",
+ new DialogInterface.OnClickListener()
+ {
+ @Override
+ public void onClick(DialogInterface dialogInterface,
+ int i)
+ {
+ UniversalUtil.hasGoToSetting = true;
+ Intent intent = new Intent(
+ Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ Uri uri = Uri.fromParts("package",
+ activity.getPackageName(),
+ null);
+ intent.setData(uri);
+ activity.startActivity(intent);
+ }
+ })
+ .setNegativeButton("鎷掔粷",
+ new DialogInterface.OnClickListener()
+ {
+ @Override
+ public void onClick(DialogInterface dialogInterface,
+ int i)
+ {
+ activity.finish();
+ }
+ })
+ .show();
+ }
+ }
+
+ public static boolean checkPermission22(Activity activity, String permission)
+ {
+ PackageManager _pkgMgr = activity.getPackageManager();
+ LogUtil.i(TAG, "寮�濮嬫娴嬫潈闄�: " + permission);
+ try
+ {
+ PermissionInfo _info = _pkgMgr.getPermissionInfo(permission,
+ PackageManager.GET_META_DATA);
+
+ LogUtil.i(TAG, " |-- 淇濇姢绾у埆: " + _info.protectionLevel);
+ if (_info.protectionLevel != PermissionInfo.PROTECTION_DANGEROUS && _info.protectionLevel != 4097)
+ {
+ LogUtil.i(TAG, " |-- 涓嶆槸鍗遍櫓鏉冮檺.");
+ return false;
+ }
+
+ } catch (PackageManager.NameNotFoundException e)
+ {
+ e.printStackTrace();
+ }
+
+ int _result = PermissionChecker.checkPermission(activity, permission,
+ Process.myPid(), Process.myUid(),
+ activity.getPackageName());
+
+ LogUtil.i(TAG, " |-- 鑾峰彇绫诲瀷: " + _result);
+
+ if (_result == PackageManager.PERMISSION_GRANTED)
+ {
+ LogUtil.i(TAG, permission + " 鏈夎繖涓潈闄�.");
+ return false;
+ }
+
+ return true;
+ }
+
+ public static String getMetaString(Activity activity, String key)
+ {
+ PackageManager _pkgMgr = activity.getPackageManager();
+ ApplicationInfo _appInfo;
+ try
+ {
+ _appInfo = _pkgMgr.getApplicationInfo(activity.getPackageName(),
+ PackageManager.GET_META_DATA);
+ return _appInfo.metaData.getString(key);
+ } catch (PackageManager.NameNotFoundException e)
+ {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ public static int getMetaInt(Activity activity, String key)
+ {
+ LogUtil.i(TAG, "灏嗚鑾峰彇鐨凪etaKey: " + key);
+ PackageManager _pkgMgr = activity.getPackageManager();
+ ApplicationInfo _appInfo;
+ try
+ {
+ _appInfo = _pkgMgr.getApplicationInfo(activity.getPackageName(),
+ PackageManager.GET_META_DATA);
+ return _appInfo.metaData.getInt(key);
+ } catch (PackageManager.NameNotFoundException e)
+ {
+ e.printStackTrace();
+ }
+ return -1;
+ }
+
+ public static boolean isEmpty(String s)
+ {
+ if (null == s)
+ {
+ return true;
+ }
+ if (s.length() == 0)
+ {
+ return true;
+ }
+ if (s.trim().length() == 0)
+ {
+ return true;
+ }
+ return false;
+ }
+}
diff --git a/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/WebViewUtil.java b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/WebViewUtil.java
new file mode 100644
index 0000000..8c14377
--- /dev/null
+++ b/Project/yl_sdk/src/main/java/com/secondworld/univeralsdk/WebViewUtil.java
@@ -0,0 +1,185 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+import android.content.ActivityNotFoundException;
+import android.content.Intent;
+import android.net.Uri;
+import android.util.DisplayMetrics;
+import android.view.View;
+import android.view.ViewGroup;
+import android.webkit.WebChromeClient;
+import android.webkit.WebResourceResponse;
+import android.webkit.WebView;
+import android.webkit.WebViewClient;
+import android.widget.Button;
+import android.widget.RelativeLayout;
+
+/**
+ * Created by Administrator on 2018/8/1 0001.
+ */
+public class WebViewUtil
+{
+ private static Activity m_Activity;
+ private static String m_ReceivedUrl;
+ private static WebView m_WebView;
+ private static Button m_BtnClose;
+
+ public static void OpenWebView(final Activity activity, final String url)
+ {
+ m_Activity = activity;
+ m_ReceivedUrl = url;
+
+ activity.runOnUiThread(new Runnable()
+ {
+ @Override
+ public void run()
+ {
+ if (m_WebView != null && m_WebView.getVisibility() == View.VISIBLE)
+ {
+ processClose();
+ return;
+ }
+
+ DisplayMetrics _dm = new DisplayMetrics();
+ m_Activity.getWindowManager().getDefaultDisplay().getMetrics(_dm);
+ final float _scale = _dm.widthPixels * 1f / 1344;
+ final int _width = (int) (_scale * 982);
+ final int _height = (int) (_scale * 560);
+
+ m_BtnClose = (Button) m_Activity.findViewById(R.id.webView_btn_close);
+ ViewGroup.MarginLayoutParams _margin = new ViewGroup.MarginLayoutParams(
+ m_BtnClose.getLayoutParams());
+ RelativeLayout.LayoutParams _params = new RelativeLayout.LayoutParams(_margin);
+ _params.width = 0;
+ _params.height = 0;
+ _params.addRule(RelativeLayout.ALIGN_BOTTOM, R.id.webView);
+ _params.addRule(RelativeLayout.ALIGN_RIGHT, R.id.webView);
+ m_BtnClose.setLayoutParams(_params);
+
+ m_BtnClose.setOnClickListener(new View.OnClickListener()
+ {
+ @Override
+ public void onClick(View view)
+ {
+ processClose();
+ }
+ });
+
+ m_WebView = (WebView) m_Activity.findViewById(R.id.webView);
+ ViewGroup.MarginLayoutParams margin = new ViewGroup.MarginLayoutParams(
+ m_WebView.getLayoutParams());
+ RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(margin);
+ layoutParams.width = 0;
+ layoutParams.height = 0;
+ layoutParams.addRule(RelativeLayout.CENTER_IN_PARENT, RelativeLayout.TRUE);
+ m_WebView.setLayoutParams(layoutParams);
+ m_WebView.getSettings().setJavaScriptEnabled(true);
+ m_WebView.setWebViewClient(new WebViewClient()
+ {
+ @Override
+ public void onReceivedError(WebView view, int errorCode, String description,
+ String failingUrl)
+ {
+ super.onReceivedError(view, errorCode, description, failingUrl);
+ view.loadUrl(m_ReceivedUrl);
+ }
+
+ @Override
+ public boolean shouldOverrideUrlLoading(WebView view, String url)
+ {
+ if (url.startsWith("http") || url.startsWith("https"))
+ { //http鍜宧ttps鍗忚寮�澶寸殑鎵ц姝e父鐨勬祦绋�
+ view.loadUrl(url);
+ return true;
+ }
+ else
+ { //鍏朵粬鐨刄RL鍒欎細寮�鍚竴涓狝citity鐒跺悗鍘昏皟鐢ㄥ師鐢烝PP
+ return super.shouldOverrideUrlLoading(view, url);
+ }
+ }
+
+ @Override
+ public WebResourceResponse shouldInterceptRequest(WebView view, String url)
+ {
+ if (url.startsWith("http") || url.startsWith("https"))
+ { //http鍜宧ttps鍗忚寮�澶寸殑鎵ц姝e父鐨勬祦绋�
+ return super.shouldInterceptRequest(view, url);
+ }
+ else
+ { //鍏朵粬鐨刄RL鍒欎細寮�鍚竴涓狝citity鐒跺悗鍘昏皟鐢ㄥ師鐢烝PP
+ try
+ {
+ Intent in = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
+ m_Activity.startActivity(in);
+ } catch (ActivityNotFoundException e)
+ {
+ e.printStackTrace();
+ }
+ return null;
+ }
+ }
+ });
+ m_WebView.setWebChromeClient(new WebChromeClient()
+ {
+ @Override
+ public void onReceivedTitle(WebView view, String title)
+ {
+ if (title.contains("I'm QQ"))
+ {
+ m_WebView.loadUrl(m_ReceivedUrl);
+ }
+ super.onReceivedTitle(view, title);
+ }
+
+ @Override
+ public void onProgressChanged(WebView view, int newProgress)
+ {
+ if (newProgress == 100)
+ {
+ if (view.getUrl().contains("noticeweb"))
+ {
+
+ ViewGroup.MarginLayoutParams margin = new ViewGroup.MarginLayoutParams(
+ m_WebView.getLayoutParams());
+ RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(
+ margin);
+ layoutParams.width = _width;
+ layoutParams.height = _height;
+ layoutParams.addRule(RelativeLayout.CENTER_IN_PARENT,
+ RelativeLayout.TRUE);
+ m_WebView.setLayoutParams(layoutParams);
+
+ ViewGroup.MarginLayoutParams _margin = new ViewGroup.MarginLayoutParams(
+ m_BtnClose.getLayoutParams());
+ RelativeLayout.LayoutParams _params = new RelativeLayout.LayoutParams(
+ _margin);
+ _params.width = (int) (180 * _scale);
+ _params.height = (int) (72 * _scale);
+ _params.rightMargin = (int) (250 * _scale);
+ _params.bottomMargin = (int) (10 * _scale);
+ _params.addRule(RelativeLayout.ALIGN_BOTTOM, R.id.webView);
+ _params.addRule(RelativeLayout.ALIGN_RIGHT, R.id.webView);
+ m_BtnClose.setLayoutParams(_params);
+ }
+ }
+ }
+ });
+
+ m_WebView.loadUrl(m_ReceivedUrl);
+
+ m_WebView.setVisibility(View.VISIBLE);
+ m_BtnClose.setVisibility(View.VISIBLE);
+ }
+ });
+ }
+
+ private static void processClose()
+ {
+ m_WebView.clearFocus();
+ m_WebView.clearCache(true);
+ m_WebView.clearHistory();
+ m_WebView.clearFormData();
+ m_WebView.setVisibility(View.INVISIBLE);
+ m_BtnClose.setVisibility(View.INVISIBLE);
+ }
+}
diff --git a/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png
new file mode 100644
index 0000000..c9f4e4d
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png
Binary files differ
diff --git a/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png
new file mode 100644
index 0000000..f289651
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png
Binary files differ
diff --git a/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_btn_selector.xml b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_btn_selector.xml
new file mode 100644
index 0000000..c6dd002
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_btn_selector.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <!-- 鑾峰緱鐒︾偣浣嗘湭鎸変笅鏃剁殑鑳屾櫙鍥剧墖 -->
+ <item
+ android:state_focused="true"
+ android:state_enabled="true"
+ android:state_pressed="false"
+ android:drawable="@drawable/jpush_ic_richpush_actionbar_back" />
+ <!-- 鎸変笅鏃剁殑鑳屾櫙鍥剧墖 -->
+ <item
+ android:state_enabled="true"
+ android:state_pressed="true"
+ android:drawable="@android:color/darker_gray" />
+ <!-- 鎸変笅鏃剁殑鑳屾櫙鍥剧墖 -->
+ <item
+ android:state_enabled="true"
+ android:state_checked="true"
+ android:drawable="@android:color/darker_gray" />
+ <!-- 榛樿鏃剁殑鑳屾櫙鍥剧墖 -->
+ <item android:drawable="@drawable/jpush_ic_richpush_actionbar_back" />
+</selector>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_progressbar.xml b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_progressbar.xml
new file mode 100644
index 0000000..a1d9b8f
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/drawable-hdpi/jpush_richpush_progressbar.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <!-- 鑳屾櫙 gradient鏄笎鍙�,corners瀹氫箟鐨勬槸鍦嗚 -->
+ <item android:id="@android:id/background">
+ <shape>
+ <solid android:color="#ffffff" />
+ </shape>
+ </item>
+
+ <!-- 杩涘害鏉� -->
+ <item android:id="@android:id/progress">
+ <clip>
+ <shape>
+ <solid android:color="#4393ea" />
+ </shape>
+ </clip>
+ </item>
+
+</layer-list>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/res/drawable/app_icon.png b/Project/yl_sdk/src/main/res/drawable/app_icon.png
new file mode 100644
index 0000000..9f03b9d
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/drawable/app_icon.png
Binary files differ
diff --git a/Project/yl_sdk/src/main/res/drawable/web_btn_close_icon.png b/Project/yl_sdk/src/main/res/drawable/web_btn_close_icon.png
new file mode 100644
index 0000000..7ac8e4d
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/drawable/web_btn_close_icon.png
Binary files differ
diff --git a/Project/yl_sdk/src/main/res/layout/activity_main.xml b/Project/yl_sdk/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..4bf1374
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/layout/activity_main.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <FrameLayout
+ android:id="@+id/unity_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+ <WebView
+ android:id="@+id/webView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:visibility="invisible" />
+
+ <Button
+ android:id="@+id/webView_btn_close"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@id/webView"
+ android:layout_alignRight="@id/webView"
+ android:background="@drawable/web_btn_close_icon"
+ android:text="鎴戠煡閬撲簡"
+ android:textSize="16dp"
+ android:visibility="invisible" />
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/res/layout/jpush_popwin_layout.xml b/Project/yl_sdk/src/main/res/layout/jpush_popwin_layout.xml
new file mode 100644
index 0000000..f43e478
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/layout/jpush_popwin_layout.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/popLayoutId"
+ style="@style/MyDialogStyle"
+ android:orientation="vertical"
+ android:layout_width="280dp"
+ android:layout_height="250dp" >
+
+ <WebView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/wvPopwin"/>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/res/layout/jpush_webview_layout.xml b/Project/yl_sdk/src/main/res/layout/jpush_webview_layout.xml
new file mode 100644
index 0000000..bebdd61
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/layout/jpush_webview_layout.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<cn.jpush.android.ui.FullScreenView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/actionbarLayoutId"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/rlRichpushTitleBar"
+ android:layout_width="match_parent"
+ android:layout_height="40.0dp"
+ android:background="#29313a">
+
+ <ImageButton
+ android:id="@+id/imgRichpushBtnBack"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="9dp"
+ android:layout_marginRight="10dp"
+ android:background="@drawable/jpush_richpush_btn_selector" />
+
+ <ImageView
+ android:id="@+id/imgView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@id/imgRichpushBtnBack"
+ android:clickable="false"
+ android:src="@drawable/jpush_ic_richpush_actionbar_divider" />
+
+ <TextView
+ android:id="@+id/tvRichpushTitle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="7dp"
+ android:layout_marginRight="5dp"
+ android:layout_toRightOf="@id/imgView"
+ android:clickable="false"
+ android:text=" "
+ android:textSize="20sp"
+ android:textColor="#ffffff" />
+ </RelativeLayout>
+
+ <ProgressBar
+ android:id="@+id/pushPrograssBar"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:progress="0"
+ android:progressDrawable="@drawable/jpush_richpush_progressbar"
+ style="?android:attr/progressBarStyleHorizontal" />
+ <WebView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/fullWebView"
+ android:background="#000000" />
+
+</cn.jpush.android.ui.FullScreenView>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/res/values/colors.xml b/Project/yl_sdk/src/main/res/values/colors.xml
new file mode 100644
index 0000000..3ab3e9c
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="colorPrimary">#3F51B5</color>
+ <color name="colorPrimaryDark">#303F9F</color>
+ <color name="colorAccent">#FF4081</color>
+</resources>
diff --git a/Project/yl_sdk/src/main/res/values/jpush_style.xml b/Project/yl_sdk/src/main/res/values/jpush_style.xml
new file mode 100644
index 0000000..81dfdbb
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/values/jpush_style.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+ <style name="MyDialogStyle">
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:windowFrame">@null</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
+ <item name="android:backgroundDimEnabled">true</item>
+ </style>
+</resources>
\ No newline at end of file
diff --git a/Project/yl_sdk/src/main/res/values/strings.xml b/Project/yl_sdk/src/main/res/values/strings.xml
new file mode 100644
index 0000000..c17e5b3
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+<resources>
+ <string name="app_name">UniveralSDK</string>
+</resources>
diff --git a/Project/yl_sdk/src/main/res/values/styles.xml b/Project/yl_sdk/src/main/res/values/styles.xml
new file mode 100644
index 0000000..ff6c9d2
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/values/styles.xml
@@ -0,0 +1,8 @@
+<resources>
+
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar">
+ <!-- Customize your theme here. -->
+ </style>
+
+</resources>
diff --git a/Project/yl_sdk/src/main/res/xml/file_paths.xml b/Project/yl_sdk/src/main/res/xml/file_paths.xml
new file mode 100644
index 0000000..517ede7
--- /dev/null
+++ b/Project/yl_sdk/src/main/res/xml/file_paths.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<paths>
+ <external-path path="Android/data/com.shandangceshi.snxxz/" name="files_root" />
+ <external-path path="." name="external_storage_root" />
+</paths>
\ No newline at end of file
--
Gitblit v1.8.0