From bb8cfa8ea82e2f27d880e41396d28a660519e19e Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 04 九月 2019 23:15:55 +0800
Subject: [PATCH] update 恺英SDK代码部分提交.未成功编译.
---
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_toast_login_success.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_activity_real_name.xml | 151
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_usericon.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/mg_ic_toolbar_back.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_center_head.png | 0
Project/ky_sdk/src/game_ky/res/anim/dialog_push_out.xml | 13
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_close_imag.png | 0
Project/ky_sdk/libs/okhttp.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_xypay_shuruk.png | 0
Project/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_checked.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_exit_btn.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help.png | 0
Project/ky_sdk/src/game_ky/res/drawable/dialog_left_bg.xml | 11
Project/ky_sdk/src/main/res/xml/file_paths.xml | 5
Project/ky_sdk/src/game_ky/res/drawable/mg_new_login_input_bg.xml | 14
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/alipay.png | 0
Project/ky_sdk/src/game_ky/res/drawable/submit_selector.xml | 5
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java | 211 +
Project/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_yanzhengma.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_code.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_gift.png | 0
Project/ky_sdk/src/game_ky/res/drawable/edittext_bg.xml | 11
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_blue_gift.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind.png | 0
Project/ky_sdk/src/game_ky/res/drawable/checkbox_bg.xml | 6
Project/ky_sdk/src/main/res/values/styles.xml | 8
Project/ky_sdk/src/game_ky/res/drawable-hdpi/login_logo.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_activity_bind_phone.xml | 178 +
Project/ky_sdk/src/game_ky/res/values/dimens.xml | 8
Project/ky_sdk/src/game_ky/res/drawable/shape_corner_stroke_white.xml | 6
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift.xml | 57
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_toplayoutback.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_dialog_item_bg.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_float_acitivity.xml | 12
Project/ky_sdk/libs/jcore-android-1.2.1.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_edit_user_name.png | 0
Project/ky_sdk/src/game_ky/res/drawable/back_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_msg_code.png | 0
Project/ky_sdk/src/game_ky/res/drawable/cancel_pay_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_left.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_hide_float.png | 0
Project/ky_sdk/src/game_ky/res/layout/mg_download_dialog.xml | 67
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdownback.png | 0
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/DebugUtil.java | 59
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_expand.png | 0
Project/ky_sdk/build.gradle | 84
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_account_secrity.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_customer.xml | 28
Project/ky_sdk/src/main/res/drawable/app_icon.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_new_close.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changepass_imag.png | 0
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CrashCatchUtil.java | 233 +
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_loding_title.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_editname.png | 0
Project/ky_sdk/libs/classes.jar | 0
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_bind_phone.xml | 137
Project/ky_sdk/src/game_ky/res/drawable/binding_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right.xml | 13
Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_non_checked.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_3.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_btn_securityicon.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_normal.png | 0
Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left.xml | 13
Project/ky_sdk/.gitignore | 1
Project/ky_sdk/libs/gson.jar | 0
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account_security.xml | 78
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_back.png | 0
Project/ky_sdk/src/game_ky/res/drawable/account_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable/exit_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_activity_login.xml | 11
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_auto_login_image.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_line.png | 0
Project/ky_sdk/libs/jpush-android-3.1.3.jar | 0
Project/ky_sdk/src/game_ky/res/drawable/login_onkeytologin_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_1.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_bg.png | 0
Project/ky_sdk/src/game_ky/res/drawable/help_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable/mg_user_center_top_bg.xml | 18
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_phone_reg.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_unchecked.png | 0
Project/ky_sdk/src/game_ky/res/drawable/progressbar_bg.xml | 30
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn.png | 0
Project/ky_sdk/libs/wftsdk3.3.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-mdpi/ic_launcher.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_normal.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/ic_launcher.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mg_login.png | 0
Project/ky_sdk/src/game_ky/res/values/color.xml | 33
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_custom.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_normal.png | 0
Project/ky_sdk/src/main/res/layout/jpush_webview_layout.xml | 59
Project/ky_sdk/src/game_ky/res/drawable/xy_phone_regin_bg.xml | 14
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift.png | 0
Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/KYPlatformUtil.java | 336 ++
Project/ky_sdk/src/game_ky/res/drawable/get_the_game_selector.xml | 5
Project/ky_sdk/src/game_ky/res/layout/xy_activity_detail.xml | 42
Project/ky_sdk/src/game_ky/res/drawable/verify_identity_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_close.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_holder_login_loading.xml | 51
Project/ky_sdk/libs/pay_mg.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_mobile.png | 0
Project/ky_sdk/libs/buglyagent.jar | 0
Project/ky_sdk/libs/ky_sdk_common.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_open.png | 0
Project/ky_sdk/src/game_ky/res/drawable/finish_regin_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_get_code.xml | 144
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CodeA2U.java | 59
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_ic_back.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_pwd.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_normal.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getpass_phoneicon.png | 0
Project/ky_sdk/src/game_ky/res/values-v14/styles.xml | 12
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_checkback.png | 0
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/LogUtil.java | 114
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accounticon.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_main.xml | 76
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dellhistory.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_custom_toast.xml | 21
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_changename.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_bg.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_reset.xml | 128
Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_close_bg.xml | 18
Project/ky_sdk/src/game_ky/res/drawable-hdpi/shuk2.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_dialog.xml | 15
Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_login.xml | 194 +
Project/ky_sdk/src/game_ky/res/drawable-hdpi/exit_ad_img.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_checked.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_close.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_login_fragment.xml | 10
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_centify.png | 0
Project/ky_sdk/src/game_ky/res/drawable/white_round_bg.xml | 21
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/JPushReceiver.java | 147
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/MainActivity.java | 210 +
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_history_imag.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone2.png | 0
Project/ky_sdk/src/game_ky/res/values/styles.xml | 138
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java | 124
Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_save_bg.xml | 13
Project/ky_sdk/src/game_ky/res/drawable/gift_selector.xml | 5
Project/ky_sdk/src/game_ky/res/layout/xy_activity_help.xml | 39
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/StaticDefine.java | 18
Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_checked.png | 0
Project/ky_sdk/src/game_ky/res/layout/mg_download_box_dialog.xml | 117
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_2.png | 0
Project/ky_sdk/src/main/res/layout/activity_main.xml | 28
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_change_pwd.xml | 157
Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/H2EngineSDK.java | 480 ++
Project/ky_sdk/src/game_ky/res/anim/dialog_push_in.xml | 12
Project/ky_sdk/src/game_ky/res/layout/mg_start_box_dialog.xml | 73
Project/ky_sdk/proguard-rules.pro | 125
Project/ky_sdk/src/main/res/values/colors.xml | 6
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java | 455 ++
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdown.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable/shape_dialog_transparent.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/wechat.png | 0
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/NotchPhoneUtil.java | 343 ++
Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin.xml | 152
Project/ky_sdk/src/main/AndroidManifest.xml | 251 +
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable/download_box_left_bg.xml | 15
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_icbc.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_close.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_checked.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_forum.xml | 53
Project/ky_sdk/src/game_ky/res/layout/xy_holder_login.xml | 115
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_real_name.xml | 168 +
Project/ky_sdk/src/game_ky/res/layout/xy_dialog_new.xml | 81
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_select_autonym.xml | 48
Project/ky_sdk/libs/bugly.jar | 0
Project/ky_sdk/libs/unity-classes.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xyloginling_background.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift_detail.xml | 175 +
Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin_security_code.xml | 120
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1.png | 0
Project/ky_sdk/src/game_ky/res/drawable/download_box_bottom_bg.xml | 16
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame_pressed.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_gift_list_item.xml | 66
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java | 86
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount.png | 0
Project/ky_sdk/src/game_ky/res/drawable/shape_circle_red.xml | 8
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_account.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_open.png | 0
Project/ky_sdk/src/game_ky/res/drawable/pay_tab_bg_selector.xml | 5
Project/ky_sdk/src/game_ky/AndroidManifest.xml | 232 +
Project/ky_sdk/src/game_ky/res/layout/xy_anti_addiction.xml | 108
Project/ky_sdk/libs/base_mg.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_normal.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_select_login_type.xml | 123
Project/ky_sdk/src/game_ky/res/drawable/bbs_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable/xy_mobile_get_code_bg.xml | 12
Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_gray_gift.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_more_welfare.png | 0
Project/ky_sdk/src/game_ky/res/drawable/login_phonetologin_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phoneicon.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_right.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_holder_reset_confirm.xml | 48
Project/ky_sdk/src/game_ky/res/drawable/dialog_right_bg.xml | 11
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_default.png | 0
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java | 234 +
Project/ky_sdk/src/game_ky/res/drawable/login_login_butn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/layout/xy_activity_modify_pwd.xml | 314 +
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_quick_register.png | 0
Project/ky_sdk/src/game_ky/res/layout/mg_activity_account_security.xml | 156
Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left_choose.xml | 13
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_phonesettext.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_collapse.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_mine_forward.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_activity_game.xml | 20
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_next_imag.png | 0
Project/ky_sdk/src/main/res/values/strings.xml | 3
Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right_choose.xml | 13
Project/ky_sdk/src/main/res/layout/jpush_popwin_layout.xml | 15
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_bg.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_normal.png | 0
Project/ky_sdk/src/game_ky/res/drawable/reset_pwd_get_the_game_selector.xml | 5
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_pay_history.xml | 43
Project/ky_sdk/src/game_ky/res/layout/xy_toast_comeback.xml | 55
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_selected.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accountsafe_imag.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_normal.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/center.png | 0
Project/ky_sdk/src/game_ky/res/drawable/black_round_line.xml | 12
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_activity_pay_center.xml | 194 +
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_quick_login.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_bg.png | 0
Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/WebViewUtil.java | 185 +
Project/ky_sdk/src/game_ky/res/drawable/drawable_exit_account_button.xml | 5
Project/ky_sdk/src/game_ky/res/layout/xy_toast_quick_login.xml | 122
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_modify_pwd.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_holder_one_key_regin.xml | 138
Project/ky_sdk/src/main/res/drawable-hdpi/jpush_richpush_progressbar.xml | 20
Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_unchecked.png | 0
Project/ky_sdk/src/main/res/values/jpush_style.xml | 13
Project/ky_sdk/src/game_ky/res/drawable/auto_login_cb_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/qq.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_register.xml | 165
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_normal.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1_exapnd.png | 0
Project/ky_sdk/src/game_ky/res/drawable/bg_btn_yellow.xml | 6
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getcode.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_find_pwd.png | 0
Project/ky_sdk/src/game_ky/res/drawable/back_game_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropup.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn_pressed.png | 0
Project/ky_sdk/src/main/res/drawable-hdpi/jpush_richpush_btn_selector.xml | 21
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_xyloginicon.png | 0
Project/ky_sdk/src/game_ky/res/drawable/hide_selector.xml | 5
Project/ky_sdk/libs/tracking1.3.0.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat1.png | 0
Project/ky_sdk/src/game_ky/res/drawable/change_account_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable/enter_forum_btn_selector.xml | 5
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xysdk_iv_bg.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_line.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_launcher.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_float_layout.xml | 13
Project/ky_sdk/src/game_ky/res/layout/xy_holder_regin_success.xml | 121
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn.png | 0
Project/ky_sdk/libs/android-support-v4.jar | 0
Project/ky_sdk/src/game_ky/res/layout/xy_activity_float_webview.xml | 56
Project/ky_sdk/libs/okio.jar | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_background.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account.xml | 369 ++
Project/ky_sdk/src/game_ky/res/values/strings.xml | 29
Project/ky_sdk/src/game_ky/res/drawable/download_box_right_bg.xml | 15
Project/ky_sdk/src/game_ky/res/drawable/com_xy_login_white_bg.xml | 11
Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mobile_login.png | 0
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_forum.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_bbs.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_dialog_select_autonym.xml | 10
Project/ky_sdk/src/game_ky/res/layout/xy_activity_user_center.xml | 305 +
Project/ky_sdk/src/game_ky/res/values-v11/styles.xml | 11
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn_pressed.png | 0
Project/ky_sdk/src/main/res/drawable/web_btn_close_icon.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn_pressed.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_activity_protocol.xml | 39
Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_change_account.png | 0
Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide.png | 0
Project/ky_sdk/src/game_ky/res/layout/xy_account_list_item.xml | 29
310 files changed, 10,063 insertions(+), 0 deletions(-)
diff --git a/Project/ky_sdk/.gitignore b/Project/ky_sdk/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/Project/ky_sdk/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/Project/ky_sdk/build.gradle b/Project/ky_sdk/build.gradle
new file mode 100644
index 0000000..efb19ae
--- /dev/null
+++ b/Project/ky_sdk/build.gradle
@@ -0,0 +1,84 @@
+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_ky {
+ dimension "default"
+ // --------------------------------------------------------------
+ // manifestPlaceholders.put("JpushAppKey", "de9e26bb35598bd8c602e1d9") //1.6
+ // manifestPlaceholders.put("appId", "com.android.yiru.menghtj") //1.6
+ // manifestPlaceholders.put("TrackAppID", "ffae98b68ba32b45a6d5fbd1203b9ae1") // 1.6
+ // manifestPlaceholders.put("TT_AppName", "menghuantianjiao") // 1.6
+ // manifestPlaceholders.put("TT_AppID", "155534") // 1.6
+ // --------------------------------------------------------------
+ manifestPlaceholders.put("JpushAppKey", "75cabb6bec28ffc681878516") // 2.0
+ manifestPlaceholders.put("appId", "com.yiru.menhtj") //2.0
+ manifestPlaceholders.put("TrackAppID", "34984be594b93353e6fd41d0b4f3b78d") // 2.0
+ manifestPlaceholders.put("TT_AppName", "mhtj_new") // 2.0
+ manifestPlaceholders.put("TT_AppID", "162325") // 2.0
+ // --------------------------------------------------------------
+ manifestPlaceholders.put("TrackChannelID", "_default_")
+ manifestPlaceholders.put("TT_Chanel", "_default_")
+ // --------------------------------------------------------------
+// <meta-data android:name="qd_code" android:value="32016"></meta-data>
+// <meta-data android:name="XOPENSDK_APPKEY" android:value="323"></meta-data>
+ manifestPlaceholders.put("qd_code", "32016")
+ manifestPlaceholders.put("XOPENSDK_APPKEY", "323")
+ }
+ }
+}
+
+dependencies {
+ implementation files('libs/base_mg.jar')
+ implementation files('libs/classes.jar')
+ implementation files('libs/ky_sdk_common.jar')
+ implementation files('libs/pay_mg.jar')
+ implementation files('libs/wftsdk3.3.jar')
+ implementation files('libs/okhttp.jar')
+ implementation files('libs/tracking1.3.0.jar')
+ implementation files('libs/android-support-v4.jar')
+ implementation files('libs/bugly.jar')
+ implementation files('libs/jcore-android-1.2.1.jar')
+ implementation files('libs/jpush-android-3.1.3.jar')
+ implementation files('libs/okio.jar')
+ implementation files('libs/gson.jar')
+ implementation files('libs/buglyagent.jar')
+ compileOnly files('libs/unity-classes.jar')
+}
+
+task autoCopy_ky_Manifest(type: Copy) {
+ dependsOn 'assembleGame_kyRelease'
+ from zipTree("build/outputs/aar/ky_sdk-game_ky-release.aar")
+ include "AndroidManifest.xml"
+ into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\kygame\\"
+}
+
+task autoCopy_kygame(type: Copy) {
+ dependsOn autoCopy_ky_Manifest
+ from "build/outputs/aar/"
+ include "ky_sdk-game_ky-release.aar"
+ into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\kygame\\libs\\"
+}
+
diff --git a/Project/ky_sdk/libs/android-support-v4.jar b/Project/ky_sdk/libs/android-support-v4.jar
new file mode 100644
index 0000000..2ff47f4
--- /dev/null
+++ b/Project/ky_sdk/libs/android-support-v4.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/base_mg.jar b/Project/ky_sdk/libs/base_mg.jar
new file mode 100644
index 0000000..090758c
--- /dev/null
+++ b/Project/ky_sdk/libs/base_mg.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/bugly.jar b/Project/ky_sdk/libs/bugly.jar
new file mode 100644
index 0000000..618cff3
--- /dev/null
+++ b/Project/ky_sdk/libs/bugly.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/buglyagent.jar b/Project/ky_sdk/libs/buglyagent.jar
new file mode 100644
index 0000000..b3d5fcf
--- /dev/null
+++ b/Project/ky_sdk/libs/buglyagent.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/classes.jar b/Project/ky_sdk/libs/classes.jar
new file mode 100644
index 0000000..c9739b0
--- /dev/null
+++ b/Project/ky_sdk/libs/classes.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/gson.jar b/Project/ky_sdk/libs/gson.jar
new file mode 100644
index 0000000..8e8ed7e
--- /dev/null
+++ b/Project/ky_sdk/libs/gson.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/jcore-android-1.2.1.jar b/Project/ky_sdk/libs/jcore-android-1.2.1.jar
new file mode 100644
index 0000000..9cb8439
--- /dev/null
+++ b/Project/ky_sdk/libs/jcore-android-1.2.1.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/jpush-android-3.1.3.jar b/Project/ky_sdk/libs/jpush-android-3.1.3.jar
new file mode 100644
index 0000000..ed4e115
--- /dev/null
+++ b/Project/ky_sdk/libs/jpush-android-3.1.3.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/ky_sdk_common.jar b/Project/ky_sdk/libs/ky_sdk_common.jar
new file mode 100644
index 0000000..89e233f
--- /dev/null
+++ b/Project/ky_sdk/libs/ky_sdk_common.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/okhttp.jar b/Project/ky_sdk/libs/okhttp.jar
new file mode 100644
index 0000000..3ffd56a
--- /dev/null
+++ b/Project/ky_sdk/libs/okhttp.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/okio.jar b/Project/ky_sdk/libs/okio.jar
new file mode 100644
index 0000000..b99378b
--- /dev/null
+++ b/Project/ky_sdk/libs/okio.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/pay_mg.jar b/Project/ky_sdk/libs/pay_mg.jar
new file mode 100644
index 0000000..f56a0e2
--- /dev/null
+++ b/Project/ky_sdk/libs/pay_mg.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/tracking1.3.0.jar b/Project/ky_sdk/libs/tracking1.3.0.jar
new file mode 100644
index 0000000..612fcd5
--- /dev/null
+++ b/Project/ky_sdk/libs/tracking1.3.0.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/unity-classes.jar b/Project/ky_sdk/libs/unity-classes.jar
new file mode 100644
index 0000000..3c32bf7
--- /dev/null
+++ b/Project/ky_sdk/libs/unity-classes.jar
Binary files differ
diff --git a/Project/ky_sdk/libs/wftsdk3.3.jar b/Project/ky_sdk/libs/wftsdk3.3.jar
new file mode 100644
index 0000000..c27785b
--- /dev/null
+++ b/Project/ky_sdk/libs/wftsdk3.3.jar
Binary files differ
diff --git a/Project/ky_sdk/proguard-rules.pro b/Project/ky_sdk/proguard-rules.pro
new file mode 100644
index 0000000..01d1489
--- /dev/null
+++ b/Project/ky_sdk/proguard-rules.pro
@@ -0,0 +1,125 @@
+# 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.switfpass.pay.**
+-keep class com.switfpass.pay.** { *;}
+
+#-dontwarn com.a.a.**
+#-keep class com.a.a.** { *;}
+#
+#-dontwarn com.alipay.**
+#-keep class com.alipay.** { *;}
+
+#-dontwarn com.heepay.plugin.**
+#-keep com.heepay.plugin.** { *;}
+#
+#-dontwarn com.ipaynow.plugin.**
+#-keep com.ipaynow.plugin.** { *;}
+
+#-dontwarn com.mgpay.**
+#-keep com.mgpay.** { *;}
+#
+#-dontwarn com.ta.utdid2.**
+#-keep com.ta.utdid2.** { *;}
+#
+#-dontwarn com.tencent.mm.sdk.platformtools.**
+#-keep com.tencent.mm.sdk.platformtools.** { *;}
+#
+#-dontwarn com.tencent.mm.sdk.platformtools.**
+#-keep com.tencent.mm.sdk.platformtools.** { *;}
+#
+#-dontwarn com.ut.device.**
+#-keep class com.ut.device {*;}
+
+-dontwarn org.json.alipay.**
+-keep class org.json.alipay {*;}
+
+-dontwarn com.luy.event.**
+-keep class com.luy.event {*;}
+
+-dontwarn com.com.xy.xypay.**
+-keep class com.xy.xypay {*;}
+
+-dontwarn android.net.**
+-keep class android.net {*;}
+
+-dontwarn com.bytedance.**
+-keep class com.ss.android.common {*;}
+
+-dontwarn com.mgbase.**
+-keep class com.mgbase.common {*;}
+
+-dontwarn org.apache.commons.**
+-keep class org.apache.commons {*;}
+
+-dontwarn org.apache.http.**
+-keep class org.apache.http {*;}
+
+#-libraryjars libs/pay_mg.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/ky_sdk/src/game_ky/AndroidManifest.xml b/Project/ky_sdk/src/game_ky/AndroidManifest.xml
new file mode 100644
index 0000000..a08178e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/AndroidManifest.xml
@@ -0,0 +1,232 @@
+<?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.READ_PHONE_STATE"/>
+ <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
+ <uses-permission android:name="android.permission.GET_TASKS"/>
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
+ <uses-permission android:name="ANDROID.PERMISSION.READ_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
+ <uses-permission android:name="android.permission.SYSTEM_OVERLAY_WINDOW" />
+ <uses-permission android:name="android.permission.NFC" />
+
+ <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.Black.NoTitleBar.Fullscreen">
+
+ <meta-data android:name="qd_code" android:value="${qd_code}"></meta-data>
+ <meta-data android:name="XOPENSDK_APPKEY" android:value="${XOPENSDK_APPKEY}"></meta-data>
+
+ <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}" />
+
+ <!-- 浠婃棩澶存潯鐩稿叧閰嶇疆 -->
+ <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}" />
+
+ <!-- MG SDK 閰嶇疆 start -->
+ <activity
+ android:name="com.mgbase.ui.LoginActivity"
+ android:screenOrientation="behind"
+ android:configChanges="keyboardHidden|orientation|screenSize"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.LogoutActivity"
+ android:screenOrientation="behind"
+ android:configChanges="keyboardHidden|orientation|screenSize"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.UserCenterActivity"
+ android:screenOrientation="behind"
+ android:configChanges="keyboardHidden|orientation|screenSize"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" >
+ </activity>
+ <activity
+ android:name="com.mgbase.dialog.SelectAutonymDialog"
+ android:screenOrientation="landscape"
+ android:windowSoftInputMode="adjustPan|stateHidden"
+ android:theme="@style/DialogActivityTheme" >
+ </activity>
+ <activity
+ android:name="com.mgbase.ui.HelpActivity"
+ android:screenOrientation="portrait"
+ android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
+ </activity>
+ <activity
+ android:name="com.mgbase.ui.ProtocolActivity"
+ android:screenOrientation="portrait"
+ android:theme="@style/dialog_activity" >
+ </activity>
+ <activity
+ android:name="com.mgpay.ui.PayCenterActivity"
+ android:screenOrientation="behind"
+ android:launchMode="singleTask"
+ android:configChanges="keyboardHidden|orientation|screenSize"
+ android:theme="@style/DialogActivity" >
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.AccountDetailActivity"
+ android:label="@string/app_name"
+ android:screenOrientation="portrait"
+ android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.ModifyPwdActivity"
+ android:label="@string/app_name"
+ android:screenOrientation="portrait"
+ android:theme="@style/dialog_activity" >
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.AccountSecurityActivity"
+ android:label="@string/app_name"
+ android:screenOrientation="portrait"
+ android:theme="@style/dialog_activity" >
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.BindPhoneActivity"
+ android:label="@string/app_name"
+ android:screenOrientation="portrait"
+ android:theme="@style/dialog_activity"
+ >
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.RealNameActivity"
+ android:label="@string/app_name"
+ android:screenOrientation="portrait"
+ android:theme="@style/dialog_activity"
+ >
+ </activity>
+
+ <activity
+ android:name="com.mgbase.ui.FloatWebActivity"
+ android:label="@string/app_name"
+ android:screenOrientation="portrait"
+ android:theme="@style/dialog_activity"
+ >
+ </activity>
+
+ <!--<activity-->
+ <!--android:name="com.mokredit.payment.MktPayment"-->
+ <!--android:configChanges="orientation|keyboardHidden|screenLayout|screenSize"-->
+ <!--android:excludeFromRecents="true"-->
+ <!--android:label="@string/app_name">-->
+ <!--</activity>-->
+
+ <activity
+ android:name="com.switfpass.pay.activity.QQWapPayWebView"
+ android:screenOrientation="behind"
+ android:configChanges="orientation|keyboardHidden|navigation"
+ android:exported="false"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
+
+ <!-- 姹囦粯瀹� SDK 闇�娣诲姞 -->
+ <activity
+ android:name="com.heepay.plugin.activity.HyNotityActivity"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:screenOrientation="behind"
+ android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
+ <activity
+ android:name="com.alipay.sdk.app.H5PayActivity"
+ android:configChanges="orientation|keyboardHidden|navigation|screenSize"
+ android:exported="false"
+ android:screenOrientation="behind"
+ android:theme="@style/AppBaseTheme"
+ android:windowSoftInputMode="adjustResize|stateHidden"/>
+ <!-- 鏀粯瀹濆師鐢� SDK 闇�娣诲姞 -->
+ <activity
+ android:name="com.alipay.sdk.auth.AuthActivity"
+ android:configChanges="orientation|keyboardHidden|navigation"
+ android:exported="false"
+ android:screenOrientation="behind"/>
+ <!-- 鐜板湪鏀粯 -->
+ <activity
+ android:name="com.ipaynow.plugin.presenter.PayMethodActivity"
+ android:configChanges="orientation|keyboardHidden|navigation|screenSize"
+ android:theme="@android:style/Theme.Dialog"
+ android:exported="false"
+ android:screenOrientation="behind" >
+ </activity>
+
+ <!-- 寰俊WAP鐗堟敮浠� android:windowSoftInputMode="stateHidden"-->
+ <activity
+ android:name="com.ipaynow.plugin.inner_plugin.wechatwp.activity.WeChatNotifyActivity"
+ android:configChanges="keyboardHidden|navigation|orientation|screenSize"
+ android:exported="false"
+ android:launchMode="singleTop"
+ android:screenOrientation="behind"
+ android:theme="@android:style/Theme.Dialog" />
+ <service android:name="com.mgbase.service.FloatWindowService"></service>
+ <!-- MG SDK 閰嶇疆 end -->
+
+ </application>
+
+ <!-- 鎺ユ敹鐭俊楠岃瘉鐮� -->
+ <uses-permission android:name="android.permission.RECEIVE_SMS" />
+
+</manifest>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/H2EngineSDK.java b/Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/H2EngineSDK.java
new file mode 100644
index 0000000..3711c27
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/H2EngineSDK.java
@@ -0,0 +1,480 @@
+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.util.Log;
+import android.widget.Toast;
+
+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 = "H2EngineSDK";
+ private static String APP_ID = "";
+ private static String GAME_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");
+ if (_json.has("gameID"))
+ {
+ GAME_ID = _json.getString("gameID");
+ }
+ 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:
+ KYPlatformUtil.getInstance().init(_activity);
+ break;
+ case CodeU2A.FreePlatformLogin:
+ KYPlatformUtil.getInstance().login();
+ break;
+ case CodeU2A.FreePlatformSwitchAccount:
+ KYPlatformUtil.getInstance().switchAccount();
+ break;
+ case CodeU2A.FreePlatformLogout:
+ KYPlatformUtil.getInstance().logout();
+ break;
+ case CodeU2A.FreePlatformPay:
+ JSONObject _extraData = new JSONObject();
+// String productId,
+// String productName,
+// String money,
+// String roleID,
+// String roleName,
+// String orderId,
+// String extraData,
+// String serverID
+ _extraData.put("appid", APP_ID);
+ _extraData.put("cpinfo", _json.getString("cpInfo"));
+ _extraData.put("cporderid", _json.getString("orderId"));
+ _extraData.put("productid", GAME_ID);
+ KYPlatformUtil.getInstance().pay(_json.getString("cpInfo"),
+ _json.getString("title"),
+ _json.getString("mount"),
+ _json.getString("roleID"),
+ _json.getString("roleName"),
+ _json.getString("orderId"),
+ _extraData.toString(),
+ _json.getString("sid"));
+
+ KYPlatformUtil.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);
+
+ KYPlatformUtil.getInstance().payProcessing = false;
+ break;
+ case CodeU2A.CreateRole:
+ KYPlatformUtil.getInstance().createRole(_json.getString("roleID"),
+ _json.getString("sid"),
+ _json.getString("roleName"));
+ break;
+ case CodeU2A.RoleLogin:
+ KYPlatformUtil.getInstance().enterWorld(_json.getString("roleID"),
+ _json.getString(
+ "roleName").trim().replace(" ",
+ ""),
+ _json.getString("level"),
+ _json.getString("sid"),
+ _json.getString("job"));
+ 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;
+ case CodeU2A.SendRegistEvent:
+ KYPlatformUtil.getInstance().SendRegisterEvent();
+ break;
+ case CodeU2A.SendLoginEvent:
+ KYPlatformUtil.getInstance().SendLoginEvent();
+ 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)
+ {
+ Log.i(TAG, "=============== 璋冪敤浜嗛噸鍚簲鐢ㄧ殑鎺ュ彛 ===============");
+ 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());
+ Log.i(TAG, "=============== 閲嶅惎娴佺▼鎵ц瀹屾瘯 ===============");
+ }
+ }.start();
+ activity.finish();
+ Log.i(TAG, "=============== 搴旂敤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.yiru.menhtj");
+
+ 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", "ky");
+ _msgStruct.put("kyAppID", UniversalUtil.getMetaString(activity,
+ "XOPENSDK_APPKEY"));
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+
+ LogUtil.i(TAG, "鍒濆鍖栨墽琛屽畬姣�");
+ }
+
+ }).start();
+ }
+
+ public static void onCreate(Activity activity, Bundle savedInstanceState)
+ {
+ // ------------------------------- 鐚�砈DK -------------------------------
+ KYPlatformUtil.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 (KYPlatformUtil.getInstance().payProcessing)
+ {
+ if (b)
+ {
+ Map<String, Object> _msgStruct = new HashMap<>();
+ _msgStruct.put("code", CodeA2U.FreePlatformPayCancel);
+ UniversalUtil.sendMessageToUnity(_msgStruct);
+ KYPlatformUtil.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)
+ {
+ TeaAgent.onResume(activity);
+ }
+
+ public static void onStop(final Activity activity)
+ {
+ }
+
+ public static void onDestroy(final Activity activity)
+ {
+ Tracking.exitSdk();
+ }
+}
diff --git a/Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/KYPlatformUtil.java b/Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/KYPlatformUtil.java
new file mode 100644
index 0000000..299be58
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/java/com/secondworld/univeralsdk/KYPlatformUtil.java
@@ -0,0 +1,336 @@
+package com.secondworld.univeralsdk;
+
+import android.app.Activity;
+import android.os.Handler;
+import android.os.Message;
+import android.util.Log;
+
+import com.mgbase.utils.BaseAnchorImpl;
+import com.mgbase.utils.PreferenceUtils;
+import com.mgbase.utils.StringUtils;
+import com.mgpay.utils.MGPayAnchor;
+import com.reyun.tracking.sdk.Tracking;
+//import com.ss.android.common.lib.EventUtils;
+import com.xy.xypay.bean.LoginResult;
+import com.xy.xypay.bean.LogoutResult;
+import com.xy.xypay.bean.PayArgsCheckResult;
+import com.xy.xypay.bean.XPayArg;
+import com.xy.xypay.inters.XYLoginCallback;
+import com.xy.xypay.inters.XYLogoutCallback;
+import com.xy.xypay.inters.XYPayCallback;
+import com.xy.xypay.utils.XYPaySDK;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Created by Administrator on 2018/9/3 0003.
+ */
+
+public class KYPlatformUtil
+{
+ private static final String TAG = "KYPlatformUtil";
+
+ private boolean m_Init = false;
+
+ private static KYPlatformUtil s_Instance;
+
+ public static KYPlatformUtil getInstance()
+ {
+ if (s_Instance == null)
+ {
+ s_Instance = new KYPlatformUtil();
+ }
+ return s_Instance;
+ }
+
+ public boolean payProcessing = false;
+
+ private Map<String, Object> m_Message = new HashMap<>();
+
+ private static final int CALL_QUIT = 1;//閫�鍑烘父鎴�
+ private static final int CALL_RESUME = 2;//杩斿洖鎸夐敭澶勭悊
+
+ public Handler handler = new Handler(new Handler.Callback()
+ {
+ @Override
+ public boolean handleMessage(Message msg)
+ {
+ switch (msg.what)
+ {
+ case CALL_QUIT:
+ //鎮诞鐞冮噷鍒囨崲甯愬彿鏃堕��鍑烘父鎴忚繖閲屽鐞�
+ XYPaySDK.hideFloatWindow(mainActivity);
+ login();
+ break;
+ case CALL_RESUME:
+ //杩斿洖澶勭悊
+
+ break;
+ default:
+ break;
+
+ }
+ return false;
+ }
+ });
+
+ private Activity mainActivity;
+
+ public void init(final Activity activity)
+ {
+ if (m_Init)
+ {
+ return;
+ }
+ mainActivity = activity;
+
+ XYPaySDK.init(activity.getApplication(), new BaseAnchorImpl(), new MGPayAnchor());
+ XYPaySDK.setHandler(handler);
+ }
+
+ private String m_AccountID;
+
+ public void login()
+ {
+ XYPaySDK.login(mainActivity, new XYLoginCallback()
+ {
+ @Override
+ public void onLogin(LoginResult loginResult)
+ {
+ //鐧诲綍鎴愬姛
+ if (loginResult.getCode() == LoginResult.LOGIN_CODE_SUCCESS)
+ {
+ //Toast.makeText(mainActivity,"鐧诲綍鎴愬姛:"+loginResult.isBindPhone(),Toast.LENGTH_LONG).show();
+ String _uid = PreferenceUtils.getUid(mainActivity);
+ String _token = PreferenceUtils.getToken(mainActivity);//
+ String _appId = PreferenceUtils.getAppid(mainActivity);
+
+ m_AccountID = _uid;
+
+ try
+ {
+ JSONObject _info = new JSONObject();
+ _info.put("account", m_AccountID);
+ _info.put("token", _token);
+ _info.put("account_id", m_AccountID);
+ _info.put("appId", _appId);
+ m_Message.put("code", CodeA2U.FreePlatformLoginOk);
+ m_Message.put("info", _info);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ } catch (JSONException e)
+ {
+ e.printStackTrace();
+ }
+ }
+ else if (loginResult.getCode() == LoginResult.LOGIN_CODE_APPID_NOT_FOUND)
+ {
+ m_Message.clear();
+ m_Message.put("code", CodeA2U.FreePlatformLoginFail);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ }
+ else if (loginResult.getCode() == LoginResult.LOGIN_CODE_FAILED)
+ {
+ // Toast.makeText(mainActivity,"鐧诲綍澶辫触",Toast.LENGTH_LONG).show();
+ PreferenceUtils.setHasChangeAccount(mainActivity, "Y");
+ login();
+ }
+ else if (loginResult.getCode() == LoginResult.LOGIN_CODE_CANCEL)
+ {
+ m_Message.clear();
+ m_Message.put("code", CodeA2U.FreePlatformLoginFail);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ }
+ }
+ });
+ }
+
+ // public void logout(final Activity activity) { }
+
+ public void pay(String productId,
+ String productName,
+ String money,
+ String roleID,
+ String roleName,
+ String orderId,
+ String extraData,
+ String serverID)
+ {
+ XPayArg payArg = new XPayArg();
+ payArg.APP_USER_ID = roleID;
+ payArg.NOTIFY_URI = "http://s10000.ryby.9377.cn/xyrecharge";
+ String amount = money;
+ if (StringUtils.isEmpty(amount))
+ {
+ payArg.AMOUNT = "0.01";
+ }
+ else
+ {
+ payArg.AMOUNT = amount;
+ }
+ payArg.APP_EXT1 = extraData;
+ payArg.APP_NAME = UniversalUtil.getAppName(mainActivity);
+ payArg.APP_ORDER_ID = orderId;
+ payArg.APP_USER_NAME = roleName;
+ payArg.PRODUCT_ID = productId;
+ payArg.OPEN_UID = PreferenceUtils.getUid(mainActivity);
+ payArg.SID = serverID;
+ payArg.PRODUCT_NAME = productName;
+ XYPaySDK.pay(mainActivity, payArg, new XYPayCallback()
+ {
+ @Override
+ public void onPayFinished(int status)
+ {
+ Log.i(TAG, "鏀粯鍥炶皟缁撴灉: " + status);
+ }
+
+ //妫�娴嬪弬鏁版槸鍚︽纭�
+ public void onStart(PayArgsCheckResult result)
+ {
+ switch (result.getCode())
+ {
+ case PayArgsCheckResult.CHECK_RESULT_OK:
+ break;
+ case PayArgsCheckResult.NOT_INIT:
+ Log.i(TAG, "鏈皟鐢╔YPaySDK.init()鏂规硶");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_NULL:
+ Log.i(TAG, "鏀粯鍙傛暟鏈厤缃�");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_CALLBACK_NULL:
+ Log.i(TAG, "鏀粯鍥炶皟鍑芥暟鏈厤缃�");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_AMOUNT:
+ Log.i(TAG, "閲戦鏃犳晥");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_APP_ID:
+ Log.i(TAG, "app_id鏃犳晥,璇锋鏌ndroidManifest.xml鏂囦欢");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_APP_NAME:
+ Log.i(TAG, "搴旂敤鍚嶇О鏃犳晥");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_APP_USER_ID:
+ Log.i(TAG, "鐢ㄦ埛缂栧彿(瑙掕壊)涓虹┖");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_APP_USER_NAME:
+ Log.i(TAG, "瑙掕壊鍚嶄负绌�");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_NOTIFY_URI:
+ Log.i(TAG, "閫氱煡鏈嶅姟鍣ㄥ湴鍧�涓虹┖");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_OPEN_UID:
+ Log.i(TAG, "鐢ㄦ埛open_uid涓虹┖");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_ORDER_ID:
+ Log.i(TAG, "璁㈠崟鍙锋棤鏁�");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_PRODUCT_ID:
+ Log.i(TAG, "浜у搧鍙蜂负绌�");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_PRODUCT_NAME:
+ Log.i(TAG, "浜у搧鍚嶇О涓虹┖");
+ break;
+ case PayArgsCheckResult.CHECK_RESULT_PAY_INVALID_RESOURCE_ID:
+ Log.i(TAG, "鏈櫥褰曟垨APP_KEY鏃犳晥");
+ break;
+ }
+ }
+ });
+ }
+
+ public void logout()
+ {
+ XYPaySDK.logout(mainActivity, new XYLogoutCallback()
+ {
+ @Override
+
+ public void onLogout(LogoutResult logoutResult)
+ {
+ switch (logoutResult.getCode()){
+ case LogoutResult.LOGOUT_CODE_OUT:
+ //Toast.makeText(MyActivity.this,"閫�鍑烘父鎴�",Toast.LENGTH_LONG).show();
+ break;
+ case LogoutResult.LOGOUT_CODE_BBS:
+ // Toast.makeText(MyActivity.this,"杩涘叆璁哄潧",Toast.LENGTH_LONG).show();
+ break;
+ }
+ }
+ });
+ }
+
+ public void switchAccount()
+ {
+ XYPaySDK.changAccount(mainActivity, new XYLoginCallback()
+ {
+ @Override
+ public void onLogin(LoginResult loginResult)
+ {
+ //鐧诲綍鎴愬姛
+ if (loginResult.getCode() == LoginResult.LOGIN_CODE_SUCCESS)
+ {
+ String _uid = PreferenceUtils.getUid(mainActivity);
+ String _token = PreferenceUtils.getToken(mainActivity);//
+ String _appId = PreferenceUtils.getAppid(mainActivity);
+ m_AccountID = _uid;
+ try
+ {
+ JSONObject _info = new JSONObject();
+ _info.put("account", m_AccountID);
+ _info.put("token", _token);
+ _info.put("account_id", m_AccountID);
+ _info.put("appId", _appId);
+ m_Message.put("code", CodeA2U.FreePlatformLoginOk);
+ m_Message.put("info", _info);
+ UniversalUtil.sendMessageToUnity(m_Message);
+ } catch (JSONException e)
+ {
+ e.printStackTrace();
+ }
+ //Toast.makeText(mainActivity, "鐧诲綍鎴愬姛:"+loginResult.isBindPhone(), Toast.LENGTH_LONG).show();
+ }
+ else if (loginResult.getCode() == LoginResult.LOGIN_CODE_APPID_NOT_FOUND)
+ {
+ Log.i(TAG,"APP_ID鏈湪AndroidManifest.xml涓厤缃�");
+ }
+ else if (loginResult.getCode() == LoginResult.LOGIN_CODE_FAILED)
+ {
+ Log.i(TAG,"鐧诲綍澶辫触");
+ switchAccount();
+ }
+ else if (loginResult.getCode() == LoginResult.LOGIN_CODE_CANCEL)
+ {
+ Log.i(TAG,"鐧诲綍鍙栨秷");
+ }
+ // txt.setText(loginResult.getCode() + ";" + loginResult.getMessage() + ";" + loginResult.getOpenUid());
+ }
+ });
+ }
+
+ public void createRole(String roleId, String sid, String roleName)
+ {
+ XYPaySDK.createRole(roleId, sid, roleName);
+ }
+
+ public void enterWorld(String roleID,
+ String roleName,
+ String roleLv,
+ String serverID,
+ String job)
+ {
+ XYPaySDK.roleLogin(roleID, serverID, roleName, roleLv, job);
+ }
+
+ public void SendRegisterEvent()
+ {
+ Tracking.setRegisterWithAccountID(m_AccountID);
+// EventUtils.setRegister("mobile", true);
+ }
+
+ public void SendLoginEvent()
+ {
+ Tracking.setLoginSuccessBusiness(m_AccountID);
+ }
+}
diff --git a/Project/ky_sdk/src/game_ky/res/anim/dialog_push_in.xml b/Project/ky_sdk/src/game_ky/res/anim/dialog_push_in.xml
new file mode 100644
index 0000000..844d148
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/anim/dialog_push_in.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate
+ android:duration="300"
+ android:fromXDelta="-100%p"
+ android:toXDelta="0.0" />
+
+ <alpha
+ android:duration="300"
+ android:fromAlpha="0.0"
+ android:toAlpha="1.0" />
+</set>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/anim/dialog_push_out.xml b/Project/ky_sdk/src/game_ky/res/anim/dialog_push_out.xml
new file mode 100644
index 0000000..762c7cf
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/anim/dialog_push_out.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate
+ android:duration="300"
+ android:fromXDelta="0"
+ android:toXDelta="-100%p" />
+
+ <alpha
+ android:duration="300"
+ android:fromAlpha="1.0"
+ android:toAlpha="0.0" />
+
+</set>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/alipay.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/alipay.png
new file mode 100644
index 0000000..e6f98c1
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/alipay.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/center.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/center.png
new file mode 100644
index 0000000..365d278
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/center.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_collapse.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_collapse.png
new file mode 100644
index 0000000..975af99
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_collapse.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_expand.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_expand.png
new file mode 100644
index 0000000..705541c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_expand.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_bg.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_bg.png
new file mode 100644
index 0000000..f616491
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_bg.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_changename.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_changename.png
new file mode 100644
index 0000000..e60859a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_changename.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_checkback.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_checkback.png
new file mode 100644
index 0000000..d7c3a4d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_login_checkback.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_phonesettext.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_phonesettext.png
new file mode 100644
index 0000000..4c8b414
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_phonesettext.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_1.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_1.png
new file mode 100644
index 0000000..6c470e5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_1.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_2.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_2.png
new file mode 100644
index 0000000..61e6049
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_2.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_3.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_3.png
new file mode 100644
index 0000000..21d6e21
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_3.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind.png
new file mode 100644
index 0000000..de6d8ad
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind_pressed.png
new file mode 100644
index 0000000..1f7d4db
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_bind_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_normal.png
new file mode 100644
index 0000000..abe9ffc
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_pressed.png
new file mode 100644
index 0000000..6bd44e9
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_editname.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_editname.png
new file mode 100644
index 0000000..b86dd01
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_editname.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn.png
new file mode 100644
index 0000000..1df6501
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn_pressed.png
new file mode 100644
index 0000000..a42278b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_account_setnewpassbutn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accounticon.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accounticon.png
new file mode 100644
index 0000000..64b5b8d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accounticon.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accountsafe_imag.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accountsafe_imag.png
new file mode 100644
index 0000000..80da112
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_accountsafe_imag.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_normal.png
new file mode 100644
index 0000000..c2b2fc1
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_pressed.png
new file mode 100644
index 0000000..75938a5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_action_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_auto_login_image.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_auto_login_image.png
new file mode 100644
index 0000000..c57605d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_auto_login_image.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_checked.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_checked.png
new file mode 100644
index 0000000..d25041c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_checked.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_normal.png
new file mode 100644
index 0000000..57f3a7b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_autologin_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn.png
new file mode 100644
index 0000000..9eacb04
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn_pressed.png
new file mode 100644
index 0000000..a3a5137
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_backbutn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_background.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_background.png
new file mode 100644
index 0000000..afefb87
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_background.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount.png
new file mode 100644
index 0000000..bc740af
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount_pressed.png
new file mode 100644
index 0000000..98bce1b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changaccount_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changepass_imag.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changepass_imag.png
new file mode 100644
index 0000000..58f5d91
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_changepass_imag.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_code.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_code.png
new file mode 100644
index 0000000..b49202e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_code.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dellhistory.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dellhistory.png
new file mode 100644
index 0000000..29bfb7d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dellhistory.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdown.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdown.png
new file mode 100644
index 0000000..45acade
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdown.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdownback.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdownback.png
new file mode 100644
index 0000000..102069c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropdownback.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropup.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropup.png
new file mode 100644
index 0000000..42bb992
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_dropup.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn.png
new file mode 100644
index 0000000..e0c7ff3
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn_pressed.png
new file mode 100644
index 0000000..8666a90
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_finishregin_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_normal.png
new file mode 100644
index 0000000..0b736cf
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_pressed.png
new file mode 100644
index 0000000..33691ee
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_forum_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_normal.png
new file mode 100644
index 0000000..984d605
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_pressed.png
new file mode 100644
index 0000000..2d07586
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_game_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getcode.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getcode.png
new file mode 100644
index 0000000..e160f05
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getcode.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getpass_phoneicon.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getpass_phoneicon.png
new file mode 100644
index 0000000..0420011
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getpass_phoneicon.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame.png
new file mode 100644
index 0000000..2f48fd8
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame_pressed.png
new file mode 100644
index 0000000..14858e0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_getthegame_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_history_imag.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_history_imag.png
new file mode 100644
index 0000000..814235a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_history_imag.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_normal.png
new file mode 100644
index 0000000..814c0eb
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_pressed.png
new file mode 100644
index 0000000..f6014da
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_kefu_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_line.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_line.png
new file mode 100644
index 0000000..e446e86
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_line.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_loding_title.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_loding_title.png
new file mode 100644
index 0000000..bb42e33
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_loding_title.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn.png
new file mode 100644
index 0000000..22ada45
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn_pressed.png
new file mode 100644
index 0000000..41456f6
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_login_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_next_imag.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_next_imag.png
new file mode 100644
index 0000000..f4ebc4d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_next_imag.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn.png
new file mode 100644
index 0000000..1e48982
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn_pressed.png
new file mode 100644
index 0000000..a554f13
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_onkeytologin_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phoneicon.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phoneicon.png
new file mode 100644
index 0000000..8233fc1
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phoneicon.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn.png
new file mode 100644
index 0000000..a03a508
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn_pressed.png
new file mode 100644
index 0000000..572352c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_phonetologin_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn.png
new file mode 100644
index 0000000..c8369f3
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn_pressed.png
new file mode 100644
index 0000000..cf20269
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_resetpass_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn.png
new file mode 100644
index 0000000..9625b4e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn_pressed.png
new file mode 100644
index 0000000..e82d413
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_sendmmsbutn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_normal.png
new file mode 100644
index 0000000..e1d920b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_pressed.png
new file mode 100644
index 0000000..a7379f0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_shiming_butn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_toplayoutback.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_toplayoutback.png
new file mode 100644
index 0000000..dd8dbf5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_toplayoutback.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_usericon.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_usericon.png
new file mode 100644
index 0000000..af0e243
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_usericon.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_xyloginicon.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_xyloginicon.png
new file mode 100644
index 0000000..f97278e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_xyloginicon.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_yanzhengma.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_yanzhengma.png
new file mode 100644
index 0000000..c8836d0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xylogin_yanzhengma.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xyloginling_background.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xyloginling_background.png
new file mode 100644
index 0000000..49f4bf3
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xyloginling_background.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_bg.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_bg.png
new file mode 100644
index 0000000..fbc182f
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_bg.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_pressed.png
new file mode 100644
index 0000000..ad4c769
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_back_btn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_btn_securityicon.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_btn_securityicon.png
new file mode 100644
index 0000000..267c0b9
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_btn_securityicon.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_close_imag.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_close_imag.png
new file mode 100644
index 0000000..c37c9d8
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_close_imag.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_dialog_item_bg.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_dialog_item_bg.png
new file mode 100644
index 0000000..e89b7c7
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_dialog_item_bg.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_exit_btn.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_exit_btn.png
new file mode 100644
index 0000000..cdcdbd1
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_exit_btn.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_line.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_line.png
new file mode 100644
index 0000000..09a1df0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_line.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_bg.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_bg.png
new file mode 100644
index 0000000..0825ba1
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_bg.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_pressed.png
new file mode 100644
index 0000000..c2862fc
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_pay_btn_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_bg.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_bg.png
new file mode 100644
index 0000000..77bdc5b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_bg.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_default.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_default.png
new file mode 100644
index 0000000..16bbc93
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xypay_side_on_default.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xysdk_iv_bg.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xysdk_iv_bg.png
new file mode 100644
index 0000000..697f7d8
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/com_xy_xysdk_iv_bg.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/exit_ad_img.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/exit_ad_img.png
new file mode 100644
index 0000000..14e0187
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/exit_ad_img.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/login_logo.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/login_logo.png
new file mode 100644
index 0000000..b5a7dcb
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/login_logo.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/mg_ic_toolbar_back.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/mg_ic_toolbar_back.png
new file mode 100644
index 0000000..4313a4b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/mg_ic_toolbar_back.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_checked.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_checked.png
new file mode 100644
index 0000000..60ba5e5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_checked.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_unchecked.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_unchecked.png
new file mode 100644
index 0000000..ec5a72c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/protocol_unchecked.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/qq.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/qq.png
new file mode 100644
index 0000000..d53a650
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/qq.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_checked.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_checked.png
new file mode 100644
index 0000000..dcec45c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_checked.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_non_checked.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_non_checked.png
new file mode 100644
index 0000000..b602aba
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/selection_non_checked.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/shuk2.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/shuk2.png
new file mode 100644
index 0000000..97bf692
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/shuk2.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat.png
new file mode 100644
index 0000000..d21392c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat1.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat1.png
new file mode 100644
index 0000000..6b3fb37
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat1.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account.png
new file mode 100644
index 0000000..5d67dd0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account_pressed.png
new file mode 100644
index 0000000..cd986b4
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_account_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs.png
new file mode 100644
index 0000000..542b549
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs_pressed.png
new file mode 100644
index 0000000..22ce4aa
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_bbs_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_bbs.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_bbs.png
new file mode 100644
index 0000000..d21392c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_bbs.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_gift.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_gift.png
new file mode 100644
index 0000000..d21392c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_front_gift.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift.png
new file mode 100644
index 0000000..2eaa520
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift_pressed.png
new file mode 100644
index 0000000..57d6715
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_gift_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help.png
new file mode 100644
index 0000000..22877c7
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help_pressed.png
new file mode 100644
index 0000000..67bc5c2
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_help_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide.png
new file mode 100644
index 0000000..ad1d0a6
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide_pressed.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide_pressed.png
new file mode 100644
index 0000000..2483646
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_hide_pressed.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_left.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_left.png
new file mode 100644
index 0000000..777f179
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_left.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_right.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_right.png
new file mode 100644
index 0000000..8b72859
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/tfloat_right.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/wechat.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/wechat.png
new file mode 100644
index 0000000..4235e2a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/wechat.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_icbc.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_icbc.png
new file mode 100644
index 0000000..30f2cad
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_icbc.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1.png
new file mode 100644
index 0000000..042c377
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1_exapnd.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1_exapnd.png
new file mode 100644
index 0000000..4283cea
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_shuk1_exapnd.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_xypay_shuruk.png b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_xypay_shuruk.png
new file mode 100644
index 0000000..5191fef
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-hdpi/xypay_xypay_shuruk.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-mdpi/ic_launcher.png b/Project/ky_sdk/src/game_ky/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..6ae570b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/ic_launcher.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..d4fb7cd
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_find_pwd.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_find_pwd.png
new file mode 100644
index 0000000..a77ab06
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_find_pwd.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_ic_back.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_ic_back.png
new file mode 100644
index 0000000..5ab9653
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_ic_back.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_account.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_account.png
new file mode 100644
index 0000000..fc43ddd
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_account.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_close.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_close.png
new file mode 100644
index 0000000..334c55e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_close.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_open.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_open.png
new file mode 100644
index 0000000..119d765
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_eye_open.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_mobile.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_mobile.png
new file mode 100644
index 0000000..1ee80ea
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_mobile.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_pwd.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_pwd.png
new file mode 100644
index 0000000..38ad3b2
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_login_pwd.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_msg_code.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_msg_code.png
new file mode 100644
index 0000000..56381a1
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_msg_code.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_new_close.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_new_close.png
new file mode 100644
index 0000000..1a0427b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_new_close.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_phone_reg.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_phone_reg.png
new file mode 100644
index 0000000..3838f9a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_phone_reg.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_quick_register.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_quick_register.png
new file mode 100644
index 0000000..b08dbf6
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_quick_register.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_checked.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_checked.png
new file mode 100644
index 0000000..7fee705
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_checked.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_unchecked.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_unchecked.png
new file mode 100644
index 0000000..eb4fa53
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/mg_register_protocol_unchecked.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mg_login.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mg_login.png
new file mode 100644
index 0000000..280acfa
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mg_login.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mobile_login.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mobile_login.png
new file mode 100644
index 0000000..d920ba7
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_mobile_login.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_quick_login.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_quick_login.png
new file mode 100644
index 0000000..d831042
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_quick_login.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_toast_login_success.png b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_toast_login_success.png
new file mode 100644
index 0000000..05708c7
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xhdpi/xy_toast_login_success.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_normal.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_normal.png
new file mode 100644
index 0000000..cc6574d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_normal.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_selected.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_selected.png
new file mode 100644
index 0000000..e4e4228
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/checkbox_selected.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_launcher.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..85a6081
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_launcher.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_mine_forward.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_mine_forward.png
new file mode 100644
index 0000000..fd442c5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/ic_mine_forward.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_account_secrity.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_account_secrity.png
new file mode 100644
index 0000000..7bc3b9a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_account_secrity.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_edit_user_name.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_edit_user_name.png
new file mode 100644
index 0000000..a28c0b4
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_edit_user_name.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_back.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_back.png
new file mode 100644
index 0000000..6db3b62
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_back.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_close.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_close.png
new file mode 100644
index 0000000..2b2c2d5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_close.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_open.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_open.png
new file mode 100644
index 0000000..a3cf127
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_float_eye_open.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_hide_float.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_hide_float.png
new file mode 100644
index 0000000..ec0b257
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_hide_float.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_more_welfare.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_more_welfare.png
new file mode 100644
index 0000000..ee69aea
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_more_welfare.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone.png
new file mode 100644
index 0000000..c876c90
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone2.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone2.png
new file mode 100644
index 0000000..71aa4f9
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_bind_phone2.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_center_head.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_center_head.png
new file mode 100644
index 0000000..d21392c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_center_head.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_centify.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_centify.png
new file mode 100644
index 0000000..22bf044
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_centify.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_change_account.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_change_account.png
new file mode 100644
index 0000000..66eb800
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_change_account.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_close.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_close.png
new file mode 100644
index 0000000..3991edd
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_close.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_custom.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_custom.png
new file mode 100644
index 0000000..97def73
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_custom.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_forum.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_forum.png
new file mode 100644
index 0000000..a1e2ab3
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_forum.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_modify_pwd.png b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_modify_pwd.png
new file mode 100644
index 0000000..351113c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable-xxhdpi/mg_user_modify_pwd.png
Binary files differ
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/account_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/account_selector.xml
new file mode 100644
index 0000000..63dd1e9
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/account_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="true" android:drawable="@drawable/tfloat_account_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/tfloat_account" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/auto_login_cb_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/auto_login_cb_selector.xml
new file mode 100644
index 0000000..bce11f0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/auto_login_cb_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_checked="true" android:drawable="@drawable/com_xy_xylogin_autologin_checked" />
+ <item android:state_checked="false" android:drawable="@drawable/com_xy_xylogin_autologin_normal" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/back_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/back_btn_selector.xml
new file mode 100644
index 0000000..6bf670d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/back_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="true" android:drawable="@drawable/com_xy_xypay_back_btn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xypay_back_btn_bg" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/back_game_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/back_game_btn_selector.xml
new file mode 100644
index 0000000..7f17a85
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/back_game_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="true" android:drawable="@drawable/com_xy_xylogin_backbutn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_backbutn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/bbs_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/bbs_selector.xml
new file mode 100644
index 0000000..d80156b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/bbs_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="true" android:drawable="@drawable/tfloat_bbs_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/tfloat_bbs" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/bg_btn_yellow.xml b/Project/ky_sdk/src/game_ky/res/drawable/bg_btn_yellow.xml
new file mode 100644
index 0000000..66c9836
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/bg_btn_yellow.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="@color/yellow" />
+ <corners android:radius="2dp" />
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/binding_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/binding_btn_selector.xml
new file mode 100644
index 0000000..9d9a64f
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/binding_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="true" android:drawable="@drawable/com_xy_xylogin_account_bind_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_account_bind" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/black_round_line.xml b/Project/ky_sdk/src/game_ky/res/drawable/black_round_line.xml
new file mode 100644
index 0000000..7d4d295
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/black_round_line.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <corners android:radius="6dp" />
+ <stroke
+ android:color="#B4B4B4"
+ android:width="0.5dp"/>
+
+ <solid
+ android:color="@android:color/transparent"/>
+
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/cancel_pay_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/cancel_pay_btn_selector.xml
new file mode 100644
index 0000000..575986f
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/cancel_pay_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="true" android:drawable="@drawable/com_xy_xypay_pay_btn_bg" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xypay_pay_btn_pressed"/>
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/change_account_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/change_account_btn_selector.xml
new file mode 100644
index 0000000..85390af
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/change_account_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="true" android:drawable="@drawable/com_xy_xylogin_changaccount_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_changaccount" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/checkbox_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/checkbox_bg.xml
new file mode 100644
index 0000000..843cc4a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/checkbox_bg.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android" >
+ <item android:drawable="@drawable/checkbox_selected" android:state_checked="true"/>
+ <item android:drawable="@drawable/checkbox_normal" android:state_checked="false"/>
+ <item android:drawable="@drawable/checkbox_normal"/>
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/com_xy_login_white_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/com_xy_login_white_bg.xml
new file mode 100644
index 0000000..79b9794
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/com_xy_login_white_bg.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="7dp"/>
+
+ <solid
+ android:color="@color/white"
+ />
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/dialog_left_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/dialog_left_bg.xml
new file mode 100644
index 0000000..12bc87a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/dialog_left_bg.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="#fff" />
+ <stroke
+ android:width="0.8dp"
+ android:color="#ff8f17" />
+ <!-- 鍦嗚 -->
+ <corners android:radius="20dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/dialog_right_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/dialog_right_bg.xml
new file mode 100644
index 0000000..3c65b1e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/dialog_right_bg.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="#ff8f17" />
+ <stroke
+ android:width="0.8dp"
+ android:color="#ff8f17" />
+ <!-- 鍦嗚 -->
+ <corners android:radius="20dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/download_box_bottom_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/download_box_bottom_bg.xml
new file mode 100644
index 0000000..ca2ee9a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/download_box_bottom_bg.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+
+ <solid
+ android:color="#d5d5d5"
+ />
+
+ <corners
+ android:bottomLeftRadius="7dp"
+ android:bottomRightRadius="7dp"
+ />
+
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/download_box_left_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/download_box_left_bg.xml
new file mode 100644
index 0000000..5619e85
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/download_box_left_bg.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+
+ <solid
+ android:color="#d5d5d5"
+ />
+
+ <corners
+ android:bottomLeftRadius="7dp"
+ />
+
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/download_box_right_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/download_box_right_bg.xml
new file mode 100644
index 0000000..a5fb790
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/download_box_right_bg.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+
+ <solid
+ android:color="#d5d5d5"
+ />
+
+ <corners
+ android:bottomRightRadius="7dp"
+ />
+
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/drawable_exit_account_button.xml b/Project/ky_sdk/src/game_ky/res/drawable/drawable_exit_account_button.xml
new file mode 100644
index 0000000..244f4e5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/drawable_exit_account_button.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="#99ff0000" />
+ <corners android:radius="8dp" />
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/edittext_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/edittext_bg.xml
new file mode 100644
index 0000000..7930f22
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/edittext_bg.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="@color/touming" />
+ <stroke
+ android:width="0.8dp"
+ android:color="#666666" />
+ <!-- 鍦嗚 -->
+ <corners android:radius="5dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/enter_forum_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/enter_forum_btn_selector.xml
new file mode 100644
index 0000000..572d412
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/enter_forum_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="true" android:drawable="@drawable/com_xy_xypay_pay_btn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xypay_pay_btn_bg" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/exit_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/exit_btn_selector.xml
new file mode 100644
index 0000000..d63aa7c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/exit_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="true" android:drawable="@drawable/com_xy_xypay_pay_btn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xypay_exit_btn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/finish_regin_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/finish_regin_btn_selector.xml
new file mode 100644
index 0000000..341b1f0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/finish_regin_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="true" android:drawable="@drawable/com_xy_xylogin_finishregin_butn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_finishregin_butn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left.xml b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left.xml
new file mode 100644
index 0000000..74350d3
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="@color/touming" />
+ <stroke
+ android:width="0.8dp"
+ android:color="@color/text_999" />
+ <!-- 鍦嗚 -->
+ <corners
+ android:topLeftRadius="7dp"
+ android:bottomLeftRadius="7dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left_choose.xml b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left_choose.xml
new file mode 100644
index 0000000..78e47c5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_left_choose.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="@color/btn_bg" />
+ <stroke
+ android:width="0.8dp"
+ android:color="@color/btn_bg" />
+ <!-- 鍦嗚 -->
+ <corners
+ android:topLeftRadius="7dp"
+ android:bottomLeftRadius="7dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right.xml b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right.xml
new file mode 100644
index 0000000..9132dc8
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="@color/touming" />
+ <stroke
+ android:width="0.8dp"
+ android:color="@color/text_999" />
+ <!-- 鍦嗚 -->
+ <corners
+ android:topRightRadius="7dp"
+ android:bottomRightRadius="7dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right_choose.xml b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right_choose.xml
new file mode 100644
index 0000000..9b5329c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/float_usercenter_right_choose.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <solid android:color="@color/btn_bg" />
+ <stroke
+ android:width="0.8dp"
+ android:color="@color/btn_bg" />
+ <!-- 鍦嗚 -->
+ <corners
+ android:topRightRadius="7dp"
+ android:bottomRightRadius="7dp" />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/get_the_game_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/get_the_game_selector.xml
new file mode 100644
index 0000000..229b99b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/get_the_game_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="true" android:drawable="@drawable/com_xy_xylogin_getthegame_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_getthegame" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/gift_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/gift_selector.xml
new file mode 100644
index 0000000..ba60e47
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/gift_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="true" android:drawable="@drawable/tfloat_gift_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/tfloat_gift" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/help_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/help_selector.xml
new file mode 100644
index 0000000..1a93987
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/help_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="true" android:drawable="@drawable/tfloat_help_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/tfloat_help" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/hide_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/hide_selector.xml
new file mode 100644
index 0000000..705fd2d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/hide_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="true" android:drawable="@drawable/tfloat_hide_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/tfloat_hide" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/login_login_butn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/login_login_butn_selector.xml
new file mode 100644
index 0000000..6b760e1
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/login_login_butn_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="true" android:drawable="@drawable/com_xy_xylogin_login_butn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_login_butn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/login_onkeytologin_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/login_onkeytologin_btn_selector.xml
new file mode 100644
index 0000000..b4ed3b4
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/login_onkeytologin_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="true" android:drawable="@drawable/com_xy_xylogin_onkeytologin_butn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_onkeytologin_butn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/login_phonetologin_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/login_phonetologin_btn_selector.xml
new file mode 100644
index 0000000..d7c6b2f
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/login_phonetologin_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="true" android:drawable="@drawable/com_xy_xylogin_phonetologin_butn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_phonetologin_butn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/mg_new_login_input_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/mg_new_login_input_bg.xml
new file mode 100644
index 0000000..9c249e9
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/mg_new_login_input_bg.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"
+ >
+
+ <solid
+ android:color="#ececec"
+ />
+
+ <corners
+ android:radius="5dp"
+ />
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/mg_user_center_top_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/mg_user_center_top_bg.xml
new file mode 100644
index 0000000..694c04c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/mg_user_center_top_bg.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+
+ <gradient
+ android:type="linear"
+ android:startColor="#FF8F17"
+ android:endColor="#FFC357"
+ android:angle="90"
+ />
+
+ <corners
+ android:topLeftRadius="7dp"
+ android:topRightRadius="7dp"
+ />
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/pay_tab_bg_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/pay_tab_bg_selector.xml
new file mode 100644
index 0000000..0c6d17f
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/pay_tab_bg_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_checked="true" android:drawable="@drawable/com_xy_xypay_side_on_bg" />
+ <item android:state_checked="false" android:drawable="@drawable/com_xy_xypay_side_on_default" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/progressbar_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/progressbar_bg.xml
new file mode 100644
index 0000000..2d1d4f3
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/progressbar_bg.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item android:id="@android:id/background">
+
+ <shape>
+
+ <solid android:color="@color/white"></solid>
+
+ </shape>
+
+ </item>
+
+ <!-- 璁剧疆杩涘害鏉¢鑹诧紙鐧借壊锛� -->
+
+
+ <item android:id="@android:id/progress">
+
+ <clip>
+ <shape>
+
+ <solid android:color="#ff8d4a"></solid>
+
+ </shape>
+
+ </clip>
+
+ </item>
+
+</layer-list>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/reset_pwd_get_the_game_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/reset_pwd_get_the_game_selector.xml
new file mode 100644
index 0000000..79c7ecb
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/reset_pwd_get_the_game_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="true" android:drawable="@drawable/com_xy_xylogin_resetpass_butn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_resetpass_butn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/shape_circle_red.xml b/Project/ky_sdk/src/game_ky/res/drawable/shape_circle_red.xml
new file mode 100644
index 0000000..5282c61
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/shape_circle_red.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<shape
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval"
+ android:useLevel="false">
+
+ <solid android:color="@color/red" />
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/shape_corner_stroke_white.xml b/Project/ky_sdk/src/game_ky/res/drawable/shape_corner_stroke_white.xml
new file mode 100644
index 0000000..2ee0e0b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/shape_corner_stroke_white.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="#ffffff" />
+ <corners android:radius="8dp" />
+ <stroke android:color="@color/mg_line" android:width="0.6dp"/>
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/shape_dialog_transparent.xml b/Project/ky_sdk/src/game_ky/res/drawable/shape_dialog_transparent.xml
new file mode 100644
index 0000000..e0cbb2d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/shape_dialog_transparent.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="#00FFFFFF" />
+ <padding android:bottom="0dp" android:left="0dp" android:right="0dp" android:top="0dp" />
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_blue_gift.xml b/Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_blue_gift.xml
new file mode 100644
index 0000000..fe102b4
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_blue_gift.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="#31a1fa" />
+ <corners android:radius="10dp" />
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_gray_gift.xml b/Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_gray_gift.xml
new file mode 100644
index 0000000..f7c4dfd
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/shape_solid_corner_gray_gift.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="#bcbcbc" />
+ <corners android:radius="10dp" />
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/submit_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/submit_selector.xml
new file mode 100644
index 0000000..fd75d30
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/submit_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="true" android:drawable="@drawable/com_xy_xylogin_account_setnewpassbutn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_account_setnewpassbutn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/verify_identity_btn_selector.xml b/Project/ky_sdk/src/game_ky/res/drawable/verify_identity_btn_selector.xml
new file mode 100644
index 0000000..696e62e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/verify_identity_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="true" android:drawable="@drawable/com_xy_xylogin_sendmmsbutn_pressed" />
+ <item android:state_pressed="false" android:drawable="@drawable/com_xy_xylogin_sendmmsbutn" />
+</selector>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/white_round_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/white_round_bg.xml
new file mode 100644
index 0000000..22285f9
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/white_round_bg.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ android:useLevel="false" >
+ <corners android:radius="5dp" />
+
+ <solid android:color="@color/white" />
+ <!-- 鎻忚竟鐏拌壊 -->
+ <stroke
+ android:width="0.5dp"
+ android:color="@color/white" />
+ <!-- 瀛椾綋鍐呰竟璺濈 -->
+ <padding
+ android:bottom="5dp"
+ android:left="10dp"
+ android:right="10dp"
+ android:top="5dp" />
+
+
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/xy_mobile_get_code_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/xy_mobile_get_code_bg.xml
new file mode 100644
index 0000000..f9ad0ef
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/xy_mobile_get_code_bg.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+ <corners
+ android:radius="45dp"
+ />
+ <solid
+ android:color="#ff4445"
+ />
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/xy_phone_regin_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/xy_phone_regin_bg.xml
new file mode 100644
index 0000000..551d280
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/xy_phone_regin_bg.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"
+ >
+
+ <corners
+ android:radius="45dp"
+ />
+ <stroke
+ android:width="1dp"
+ android:color="#c8c8c8"
+ />
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_close_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_close_bg.xml
new file mode 100644
index 0000000..76ac654
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_close_bg.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+ <corners
+ android:radius="45dp"
+
+ />
+ <solid
+ android:color="@color/white"
+ />
+
+ <stroke
+ android:width="1dp"
+ android:color="#ff4f4f"
+ />
+
+</shape>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_save_bg.xml b/Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_save_bg.xml
new file mode 100644
index 0000000..d769ee0
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/drawable/xy_quick_login_save_bg.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+ <corners
+ android:radius="45dp"
+
+ />
+ <solid
+ android:color="#ff8f17"
+ />
+
+</shape>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/mg_activity_account_security.xml b/Project/ky_sdk/src/game_ky/res/layout/mg_activity_account_security.xml
new file mode 100644
index 0000000..6f53de5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/mg_activity_account_security.xml
@@ -0,0 +1,156 @@
+<?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="#efeff4"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="48dp"
+ android:background="@color/white"
+ android:gravity="center_vertical" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_float_back" />
+
+ <TextView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text="璐﹀彿瀹夊叏"
+ android:textStyle="bold"
+ android:textColor="@color/text_4c"
+ android:textSize="16sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="#dddddd" />
+
+ <LinearLayout
+ android:id="@+id/modify_pwd_ll"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/white"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp" >
+
+ <ImageView
+ android:layout_width="35dp"
+ android:layout_height="35dp"
+ android:layout_marginLeft="10dp"
+ android:src="@drawable/mg_user_modify_pwd" />
+
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:layout_weight="1"
+ android:text="淇敼瀵嗙爜"
+ android:textColor="#343434"
+ android:textSize="14sp"
+ />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_mine_forward"
+ android:layout_marginRight="10dp"
+ />
+
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:background="#dddddd" />
+ <LinearLayout
+ android:id="@+id/bind_phone_ll"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/white"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp" >
+
+ <ImageView
+ android:layout_width="35dp"
+ android:layout_height="35dp"
+ android:layout_marginLeft="10dp"
+ android:src="@drawable/mg_user_bind_phone" />
+
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:layout_weight="1"
+ android:text="缁戝畾鎵嬫満"
+ android:textColor="#343434"
+ android:textSize="14sp"
+ />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_mine_forward"
+ android:layout_marginRight="10dp"
+ />
+
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:background="#dddddd" />
+ <LinearLayout
+ android:id="@+id/real_name_ll"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/white"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp" >
+
+ <ImageView
+ android:layout_width="35dp"
+ android:layout_height="35dp"
+ android:layout_marginLeft="10dp"
+ android:src="@drawable/mg_user_centify" />
+
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:layout_weight="1"
+ android:text="瀹炲悕璁よ瘉"
+ android:textColor="#343434"
+ android:textSize="14sp"
+ />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_mine_forward"
+ android:layout_marginRight="10dp"
+ />
+
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:background="#dddddd" />
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/mg_download_box_dialog.xml b/Project/ky_sdk/src/game_ky/res/layout/mg_download_box_dialog.xml
new file mode 100644
index 0000000..0d1157a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/mg_download_box_dialog.xml
@@ -0,0 +1,117 @@
+<?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/touming">
+
+ <LinearLayout
+ android:layout_width="300dp"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical"
+ android:gravity="center_horizontal"
+ >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鏄惁瀹夎MG娓告垙鐩掑瓙?"
+ android:textSize="16sp"
+ android:textColor="#4f4f4f"
+ android:layout_marginTop="20dp"
+ />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="浣撻獙娓告垙鏇存柟渚�"
+ android:textSize="16sp"
+ android:textColor="#4f4f4f"
+ android:layout_marginTop="10dp"
+ />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:layout_marginTop="20dp"
+ android:layout_marginBottom="20dp"
+ >
+ <CheckBox
+ android:id="@+id/checkbox"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:button="@drawable/checkbox_bg"
+ android:checked="true"
+ />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="浠婃棩鍐呬笉鍐嶆彁閱�"
+ android:textSize="12sp"
+ android:layout_marginLeft="5dp"
+ android:textColor="#8b8b8b"
+ />
+ </LinearLayout>
+
+
+ <ProgressBar
+ android:id="@+id/progressbar"
+ android:layout_width="match_parent"
+ android:layout_height="2dp"
+ style="@android:style/Widget.ProgressBar.Horizontal"
+ android:progressDrawable="@drawable/progressbar_bg"
+ android:indeterminate="false"
+ android:max="100"
+ android:progress="0"
+ android:visibility="invisible"
+ />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+
+ <TextView
+ android:id="@+id/tv_cancel"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:text="鍙栨秷"
+ android:textSize="16sp"
+ android:textColor="#565656"
+ android:gravity="center"
+ android:background="@drawable/download_box_left_bg"
+ />
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="match_parent"
+ android:background="#cdcaca"
+ />
+
+ <TextView
+ android:id="@+id/tv_download"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:text="涓嬭浇"
+ android:textSize="16sp"
+ android:textColor="#565656"
+ android:gravity="center"
+ android:background="@drawable/download_box_right_bg"
+ />
+
+ </LinearLayout>
+
+
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/mg_download_dialog.xml b/Project/ky_sdk/src/game_ky/res/layout/mg_download_dialog.xml
new file mode 100644
index 0000000..1025e9b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/mg_download_dialog.xml
@@ -0,0 +1,67 @@
+<?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/touming">
+
+ <LinearLayout
+ android:layout_width="280dp"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical"
+ android:gravity="center_horizontal"
+ >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="娓╅Θ鎻愮ず"
+ android:textSize="16sp"
+ android:textColor="#4f4f4f"
+ android:layout_marginTop="20dp"
+ />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="姝e湪涓嬭浇MG娓告垙鐩掑瓙锛岃绋嶇瓑"
+ android:textSize="14sp"
+ android:textColor="#4f4f4f"
+ android:layout_marginTop="10dp"
+ />
+
+ <ProgressBar
+ android:id="@+id/progressbar"
+ android:layout_width="match_parent"
+ android:layout_height="2dp"
+ style="@android:style/Widget.ProgressBar.Horizontal"
+ android:progressDrawable="@drawable/progressbar_bg"
+ android:indeterminate="false"
+ android:max="100"
+ android:progress="0"
+ android:visibility="invisible"
+ android:layout_marginTop="20dp"
+ />
+
+
+
+ <TextView
+ android:id="@+id/tv_cancel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:text="鍙栨秷"
+ android:textSize="16sp"
+ android:textColor="#565656"
+ android:gravity="center"
+ android:background="@drawable/download_box_bottom_bg"
+ />
+
+
+
+ </LinearLayout>
+
+</RelativeLayout>
+
diff --git a/Project/ky_sdk/src/game_ky/res/layout/mg_start_box_dialog.xml b/Project/ky_sdk/src/game_ky/res/layout/mg_start_box_dialog.xml
new file mode 100644
index 0000000..befeaaf
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/mg_start_box_dialog.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"
+ android:background="@color/touming">
+
+ <LinearLayout
+ android:layout_width="280dp"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical"
+ android:gravity="center_horizontal"
+ >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鏄惁鎵撳紑MG娓告垙鐩掑瓙APP?"
+ android:textSize="16sp"
+ android:textColor="#4f4f4f"
+ android:layout_marginTop="20dp"
+ />
+
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="20dp"
+ >
+
+ <TextView
+ android:id="@+id/tv_cancel"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:text="鍙栨秷"
+ android:textSize="16sp"
+ android:textColor="#565656"
+ android:gravity="center"
+ android:background="@drawable/download_box_left_bg"
+ />
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="match_parent"
+ android:background="#cdcaca"
+ />
+
+ <TextView
+ android:id="@+id/tv_start"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:text="鎵撳紑"
+ android:textSize="16sp"
+ android:textColor="#565656"
+ android:gravity="center"
+ android:background="@drawable/download_box_right_bg"
+ />
+
+ </LinearLayout>
+
+
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_account_list_item.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_account_list_item.xml
new file mode 100644
index 0000000..98792cc
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_account_list_item.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="40dp" >
+
+ <TextView
+ android:id="@+id/xy_account_list_item_account_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:textSize="17sp"
+ android:textColor="@android:color/black"
+ android:text="TextView" />
+
+ <Button
+ android:id="@+id/xy_account_list_item_dell_btn"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:layout_marginRight="15dp"
+ android:visibility="visible"
+ android:focusable="false"
+ android:background="@drawable/com_xy_xylogin_dellhistory" />
+
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_bind_phone.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_bind_phone.xml
new file mode 100644
index 0000000..536b046
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_bind_phone.xml
@@ -0,0 +1,178 @@
+<?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:orientation="vertical"
+ android:background="@color/background" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="48dp"
+ android:gravity="center_vertical" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_float_back" />
+
+ <TextView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text="缁戝畾鎵嬫満"
+ android:textColor="@color/text_4c"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/go_game"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="12dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center"
+ android:padding="6dp"
+ android:text="鍥炲埌娓告垙"
+ android:textColor="@color/white"
+ android:textSize="12sp" />
+ </RelativeLayout>
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:src="@color/text_999" />
+
+ <LinearLayout
+ android:id="@+id/xy_activity_unbind_phone"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="20dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="缁戝畾鎵嬫満鍚庯紝鍙敤浜庢壘鍥炲瘑鐮併�佷慨鏀瑰瘑鐮侊紝鎵嬫満鍙蜂篃鍙敤浜庣洿鎺ョ櫥褰曘��"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <EditText
+ android:id="@+id/xy_activity_bind_phone_et"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="12dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:hint="璇疯緭鍏ユ墜鏈哄彿"
+ android:lines="1"
+ android:paddingLeft="12dp"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp" >
+
+ <EditText
+ android:id="@+id/xy_activity_bind_phone_code_et"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@null"
+ android:hint="璇疯緭鍏ラ獙璇佺爜"
+ android:inputType="number"
+ android:lines="1"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_bind_phone_getcode"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+ <TextView
+ android:id="@+id/xy_activity_bind_phone_btn"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center"
+ android:text="纭畾"
+ android:textColor="@color/white"
+ android:textSize="16sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/xy_activity_bind_phone"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="20dp"
+ android:visibility="gone" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄧ殑璐﹀彿涓猴細"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_bind_phone_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="mg123456"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄧ殑缁戝畾鎵嬫満鍙蜂负锛�"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_bind_phone_phone"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="123456"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dp"
+ android:text="缁戝畾鎵嬫満鍚庯紝鍙敤浜庢壘鍥炲瘑鐮併�佷慨鏀瑰瘑鐮侊紝鎵嬫満鍙蜂篃鍙敤浜庣洿鎺ョ櫥褰曘��"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_detail.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_detail.xml
new file mode 100644
index 0000000..3ddda69
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_detail.xml
@@ -0,0 +1,42 @@
+<?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:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/xy_activity_account_detail_title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="53dp"
+ android:layout_alignParentTop="true"
+ android:background="@color/yellow2" >
+
+ <TextView
+ android:id="@+id/xy_activity_account_detail_title_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="title"
+ android:textColor="@color/white"
+ android:textSize="17sp" />
+
+ <Button
+ android:id="@+id/xy_activity_account_detail_back_btn"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:background="@drawable/com_xy_login_checkback" />
+
+ </RelativeLayout>
+
+ <FrameLayout
+ android:id="@+id/xy_activity_account_detail_main_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/white"
+ android:layout_above="@+id/xy_activity_account_detail_title_layout">
+ </FrameLayout>
+</LinearLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_float_webview.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_float_webview.xml
new file mode 100644
index 0000000..c70417a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_float_webview.xml
@@ -0,0 +1,56 @@
+<?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:orientation="vertical"
+ android:background="@color/background" >
+
+
+ <RelativeLayout
+ android:id="@+id/webTitleLayout"
+ android:layout_width="match_parent"
+ android:layout_height="48dp"
+ android:gravity="center_vertical" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_float_back" />
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text=""
+ android:textColor="@color/text_4c"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/go_game"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="12dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center"
+ android:padding="6dp"
+ android:text="鍥炲埌娓告垙"
+ android:textColor="@color/white"
+ android:textSize="12sp" />
+ </RelativeLayout>
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:src="@color/text_999" />
+
+ <WebView
+ android:id="@+id/xy_activity_help_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/xy_title_layout"/>
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_game.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_game.xml
new file mode 100644
index 0000000..6945042
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_game.xml
@@ -0,0 +1,20 @@
+<?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:orientation="vertical"
+ android:background="#FFFFFF">
+ <WebView
+ android:id="@+id/xy_activity_game_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ />
+
+ <ImageView
+ android:id="@+id/mImageLoading"
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:layout_centerInParent="true"
+ android:visibility="gone"
+ />
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_help.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_help.xml
new file mode 100644
index 0000000..63dd5bb
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_help.xml
@@ -0,0 +1,39 @@
+<?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:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/xy_title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="53dp"
+ android:layout_alignParentTop="true"
+ android:background="@color/yellow2" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="甯姪"
+ android:textColor="@color/white"
+ android:textSize="17sp" />
+
+ <Button
+ android:id="@+id/xy_activity_help_back_btn"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:background="@drawable/com_xy_login_checkback" />
+ </RelativeLayout>
+
+
+ <WebView
+ android:id="@+id/xy_activity_help_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/xy_title_layout"/>
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_login.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_login.xml
new file mode 100644
index 0000000..fd6dc6d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_login.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/xy_main"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:gravity="center"
+ android:background="#00000000" >
+
+
+</LinearLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_modify_pwd.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_modify_pwd.xml
new file mode 100644
index 0000000..0b79b32
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_modify_pwd.xml
@@ -0,0 +1,314 @@
+<?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/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="48dp"
+ android:gravity="center_vertical" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_float_back" />
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text="淇敼瀵嗙爜"
+ android:textColor="@color/text_4c"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/go_game"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="12dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center"
+ android:padding="6dp"
+ android:text="鍥炲埌娓告垙"
+ android:textColor="@color/white"
+ android:textSize="12sp" />
+ </RelativeLayout>
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="0.5dp"
+ android:src="@color/text_999" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="20dp"
+ android:orientation="horizontal"
+ android:paddingLeft="20dp"
+ android:paddingRight="20dp" >
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_by_pwd"
+ android:layout_width="0dp"
+ android:layout_height="40dp"
+ android:layout_weight="1"
+ android:background="@drawable/float_usercenter_left_choose"
+ android:gravity="center"
+ android:text="閫氳繃鍘熷瘑鐮�"
+ android:textColor="@color/white"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_by_phone"
+ android:layout_width="0dp"
+ android:layout_height="40dp"
+ android:layout_weight="1"
+ android:background="@drawable/float_usercenter_right"
+ android:gravity="center"
+ android:text="閫氳繃缁戝畾鎵嬫満鍙�"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/xy_activity_modify_pwd_usepwd"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="20dp" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄧ殑璐﹀彿涓猴細"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="mg123456"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <EditText
+ android:id="@+id/xy_activity_modify_pwd_old_pwd"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="12dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:hint="璇疯緭鍏ュ師瀵嗙爜"
+ android:lines="1"
+ android:paddingLeft="12dp"
+ android:password="true"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp" >
+
+ <EditText
+ android:id="@+id/xy_activity_modify_pwd_new_pwd"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@null"
+ android:hint="璇疯緭鍏ユ柊瀵嗙爜"
+ android:inputType="textPassword"
+ android:lines="1"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <ImageView
+ android:id="@+id/xy_activity_modify_pwd_new_pwd_see"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_float_eye_close" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/xy_activity_modify_pwd_usephone"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="20dp"
+ android:visibility="gone" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄧ殑璐﹀彿涓猴細"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_usephone_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="mg123456"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄧ殑缁戝畾鎵嬫満鍙蜂负锛�"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_usephone_phone"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="123456"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp" >
+
+ <EditText
+ android:id="@+id/xy_activity_modify_pwd_usephone_code"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@null"
+ android:hint="璇疯緭鍏ラ獙璇佺爜"
+ android:inputType="number"
+ android:lines="1"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_usephone_getcode"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp" >
+
+ <EditText
+ android:id="@+id/xy_activity_modify_pwd_usephone_new_pwd"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@null"
+ android:hint="璇疯緭鍏ユ柊瀵嗙爜"
+ android:inputType="textPassword"
+ android:lines="1"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <ImageView
+ android:id="@+id/xy_activity_modify_pwd_usephone_new_pwd_see"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_float_eye_close" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/xy_activity_modify_pwd_usephone_nobind"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="20dp"
+ android:visibility="gone" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄧ殑璐﹀彿涓猴細"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_usephone_nobind_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="mg123456"
+ android:textColor="@color/btn_bg"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:text="鎮ㄥ皻鏈粦瀹氭墜鏈哄彿锛岃鍏堝墠寰�缁戝畾鎵嬫満鍙凤紝缁戝畾鍚庡彲淇敼瀵嗙爜"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/xy_activity_modify_pwd_ok"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center"
+ android:text="纭畾"
+ android:textColor="@color/white"
+ android:textSize="16sp" />
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_pay_center.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_pay_center.xml
new file mode 100644
index 0000000..f34b055
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_pay_center.xml
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="300dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:background="@color/white2"
+ android:orientation="vertical"
+ android:id="@+id/ll_pay_center">
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:background="@android:color/white">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:text="@string/recharge_center"
+ android:textColor="@color/black"
+ android:textSize="16sp" />
+
+ <ImageView
+ android:id="@+id/closeButton"
+ android:layout_width="wrap_content"
+ android:layout_height="35dp"
+ android:layout_gravity="right"
+ android:layout_marginRight="5dp"
+ android:clickable="true"
+ android:onClick="onClick"
+ android:padding="10dp"
+ android:src="@drawable/com_xy_xypay_close_imag" />
+ </FrameLayout>
+
+
+
+ <LinearLayout
+ style="@style/PayDialogLinearContainer"
+ android:layout_height="30dp"
+ android:layout_marginTop="0dp">
+ <TextView
+ android:id="@+id/recharge_money"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:gravity="right|center_vertical"
+ android:textColor="@color/red"
+ tools:text="锟� 6鍏�"
+ android:textSize="16sp"
+ android:textStyle="bold"
+ />
+
+ </LinearLayout>
+
+
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/gray2" />
+
+
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="3dp"
+ android:paddingLeft="20dp"
+ android:paddingTop="10dp"
+ android:text="@string/select_pay_type"
+ android:textColor="@color/gray3"
+ android:textSize="10sp" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/gray2" />
+ <!--寰俊-->
+ <LinearLayout
+ android:id="@+id/wechatContainer"
+ style="@style/PayDialogLinearContainer"
+ android:clickable="true"
+ android:onClick="onClick">
+
+ <ImageView
+ android:layout_width="25dp"
+ android:layout_height="25dp"
+ android:src="@drawable/wechat" />
+
+ <TextView
+ style="@style/PayDialogTextViewStyle"
+ android:paddingLeft="10dp"
+ android:text="@string/wechat" />
+
+ <ImageView
+ android:id="@+id/wechatCheck"
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:src="@drawable/selection_checked" />
+ </LinearLayout>
+
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/gray2" />
+
+ <!--鏀粯瀹�-->
+ <LinearLayout
+ android:id="@+id/alipayContainer"
+ style="@style/PayDialogLinearContainer"
+ android:layout_marginTop="0dp"
+ android:clickable="true"
+ android:onClick="onClick">
+
+ <ImageView
+ android:layout_width="25dp"
+ android:layout_height="25dp"
+ android:src="@drawable/alipay" />
+
+ <TextView
+ style="@style/PayDialogTextViewStyle"
+ android:paddingLeft="10dp"
+ android:text="@string/alipay" />
+
+ <ImageView
+ android:id="@+id/alipayCheck"
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:src="@drawable/selection_non_checked" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/gray2" />
+
+ <!--QQ閽卞寘-->
+ <LinearLayout
+ android:id="@+id/qqPay"
+ style="@style/PayDialogLinearContainer"
+ android:clickable="true"
+ android:onClick="onClick">
+
+ <ImageView
+ android:layout_width="25dp"
+ android:layout_height="25dp"
+ android:src="@drawable/qq" />
+
+ <TextView
+ style="@style/PayDialogTextViewStyle"
+ android:paddingLeft="10dp"
+ android:text="@string/qqPay" />
+
+ <ImageView
+ android:id="@+id/qqCheck"
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:src="@drawable/selection_non_checked" />
+ </LinearLayout>
+
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/gray2" />
+
+ <Button
+ android:id="@+id/payButton"
+ android:layout_width="wrap_content"
+ android:layout_height="30dp"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="10dp"
+ android:layout_marginBottom="10dp"
+ android:background="@drawable/bg_btn_yellow"
+ android:clickable="true"
+ android:onClick="onClick"
+ android:paddingBottom="5dp"
+ android:paddingLeft="30dp"
+ android:paddingRight="30dp"
+ android:paddingTop="5dp"
+ android:textColor="@android:color/white"
+ android:textSize="14sp"
+ android:text="@string/confirm"/>
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:id="@+id/web_layout"
+ android:visibility="gone"
+ />
+</LinearLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_protocol.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_protocol.xml
new file mode 100644
index 0000000..1de25a4
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_protocol.xml
@@ -0,0 +1,39 @@
+<?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:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/xy_title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="53dp"
+ android:layout_alignParentTop="true"
+ android:background="@color/yellow2" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="娉ㄥ唽鍗忚"
+ android:textColor="@color/white"
+ android:textSize="17sp" />
+
+ <Button
+ android:id="@+id/xy_activity_help_back_btn"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:background="@drawable/com_xy_login_checkback" />
+ </RelativeLayout>
+
+
+ <WebView
+ android:id="@+id/xy_activity_help_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/xy_title_layout"/>
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_real_name.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_real_name.xml
new file mode 100644
index 0000000..f59643d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_real_name.xml
@@ -0,0 +1,151 @@
+<?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/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="48dp" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_float_back" />
+
+ <TextView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:text="瀹炲悕璁よ瘉"
+ android:textColor="@color/text_4c"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/go_game"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="12dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center"
+ android:padding="6dp"
+ android:text="鍥炲埌娓告垙"
+ android:textColor="@color/white"
+ android:textSize="12sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="#d1d1d1" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+
+ <LinearLayout
+ android:id="@+id/real_name_ll"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dp"
+ android:layout_marginTop="20dp"
+ android:text="灏婃暚鐨勭敤鎴�:"
+ android:textColor="#505050"
+ android:textSize="14sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_marginTop="5dp"
+ android:lineSpacingExtra="5dp"
+ android:text="鎸夋枃鍖栭儴銆婄綉缁滄父鎴忕鐞嗘殏琛屽姙娉曘�嬭姹傦紝缃戠粶娓告垙鐢ㄦ埛闇�瑕佽繘琛屽疄鍚嶈璇併�備俊鎭粎闄愮敤浜庤璇佷笖缁濆淇濆瘑銆�"
+ android:textColor="#505050"
+ android:textSize="14sp" />
+
+ <EditText
+ android:id="@+id/input_real_name_et"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:hint="璇疯緭鍏ョ湡瀹炲鍚�"
+ android:paddingLeft="10dp"
+ android:textColor="#969696"
+ android:textSize="14sp" />
+
+ <EditText
+ android:id="@+id/input_idcard_et"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/edittext_bg"
+ android:gravity="center_vertical"
+ android:hint="璇疯緭鍏ヨ韩浠借瘉鍙风爜"
+ android:paddingLeft="10dp"
+ android:textColor="#969696"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/real_name_confirm_tv"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center"
+ android:text="纭畾"
+ android:textColor="@color/white"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/has_real_name_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄥ凡瀹屾垚瀹炲悕璁よ瘉"
+ android:textColor="#505050"
+ android:textSize="14sp"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="20dp"
+ android:visibility="gone"
+ />
+
+ </RelativeLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_horizontal"
+ >
+ <TextView
+ android:id="@+id/sdk_version_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="3.0.20"
+ android:textColor="#c8c8c8"
+ android:textSize="14sp"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="5dp"
+ />
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_activity_user_center.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_user_center.xml
new file mode 100644
index 0000000..b1e4101
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_activity_user_center.xml
@@ -0,0 +1,305 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/user_center_layout_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#00000000"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="300dp"
+ android:layout_height="wrap_content" >
+
+ <LinearLayout
+ android:layout_width="280dp"
+ android:layout_height="wrap_content"
+ android:layout_margin="15dp"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_user_center_top_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingBottom="20dp"
+ android:paddingTop="20dp" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dp"
+ android:src="@drawable/mg_user_center_head" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" >
+
+ <LinearLayout
+ android:id="@+id/nick_name_ll"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:visibility="visible" >
+
+ <TextView
+ android:id="@+id/mg_user_nick_name_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingBottom="3dp"
+ android:paddingTop="3dp"
+ android:text="鏈缃樀绉�"
+ android:textColor="#000000"
+ android:textSize="14sp" />
+
+ <ImageView
+ android:id="@+id/edit_nick_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_edit_user_name" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/input_name_ll"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:visibility="gone" >
+
+ <EditText
+ android:id="@+id/edit_nick_name_et"
+ android:layout_width="100dp"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_new_login_input_bg"
+ android:inputType="text"
+ android:maxLines="1"
+ android:padding="3dp"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/confirm_nick_name_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:background="#ff8f17"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp"
+ android:text="纭畾"
+ android:textColor="@color/white"
+ android:textSize="14sp" />
+ </LinearLayout>
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/mg_user_account_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:textColor="#646464"
+ android:textSize="12sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:id="@+id/account_security_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_account_secrity" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:text="璐﹀彿瀹夊叏"
+ android:textColor="#929292"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="match_parent"
+ android:background="#f5f5f5" />
+
+ <LinearLayout
+ android:id="@+id/more_welfare_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp" >
+
+ <ImageView
+ android:id="@+id/mg_user_bind_phone"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_more_welfare" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:text="鏇村绂忓埄"
+ android:textColor="#929292"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="match_parent"
+ android:background="#f5f5f5" />
+
+ <LinearLayout
+ android:id="@+id/user_custom_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_user_custom" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:text="鑱旂郴瀹㈡湇"
+ android:textColor="#929292"
+ android:textSize="12sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="#f5f5f5" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:id="@+id/user_form_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_user_forum" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:text="璁哄潧"
+ android:textColor="#929292"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="match_parent"
+ android:background="#f5f5f5" />
+
+ <LinearLayout
+ android:id="@+id/hide_float_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_hide_float" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:text="闅愯棌"
+ android:textColor="#929292"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="match_parent"
+ android:background="#f5f5f5" />
+
+ <LinearLayout
+ android:id="@+id/change_account_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_user_change_account" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:text="鍒囨崲璐﹀彿"
+ android:textColor="#929292"
+ android:textSize="12sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/mg_close_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:src="@drawable/mg_user_close" />
+ </RelativeLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_anti_addiction.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_anti_addiction.xml
new file mode 100644
index 0000000..d2d8632
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_anti_addiction.xml
@@ -0,0 +1,108 @@
+<?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="wrap_content"
+ android:background="@drawable/com_xy_login_white_bg"
+ >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="10dp"
+ android:src="@drawable/login_logo" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:lineSpacingExtra="5dp"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp"
+ android:text="鎸夋枃鍖栭儴銆婄綉缁滄父鎴忕鐞嗘殏琛屽姙娉曘�嬭姹傦紝缃戠粶娓告垙鐢ㄦ埛闇�杩涜瀹炲悕璁よ瘉锛岃鍏堝疄鍚嶈璇佸悗鍐嶈繘鍏ユ父鎴忋��"
+ android:textColor="#575757"
+ android:textSize="12sp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="100dp"
+ android:layout_margin="6dp"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_margin="5dp"
+ android:layout_weight="1"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:padding="8dp" >
+
+ <EditText
+ android:id="@+id/anti_addiction_name_edit"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ android:hint="璇疯緭鍏ュ鍚�"
+ android:inputType="text"
+ android:maxLength="10"
+ android:singleLine="true"
+ android:textSize="15sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_margin="5dp"
+ android:layout_weight="1"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:padding="8dp" >
+
+ <EditText
+ android:id="@+id/anti_addiction_id_edit"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ android:hint="璇疯緭鍏ヨ韩浠借瘉"
+ android:inputType="text"
+ android:maxLength="18"
+ android:singleLine="true"
+ android:textSize="15sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/anti_addiction_ok_btn"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="11dp"
+ android:layout_marginRight="11dp"
+ android:layout_marginTop="10dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center_horizontal"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp"
+ android:text="鐧诲綍"
+ android:layout_marginBottom="10dp"
+ android:textColor="@color/white"
+ android:textSize="14sp" />
+
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/anti_addiction_cancel_btn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_new_close"
+ android:layout_alignParentRight="true"
+ />
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_custom_toast.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_custom_toast.xml
new file mode 100644
index 0000000..e6f94af
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_custom_toast.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="wrap_content"
+ android:layout_height="35dp"
+ android:background="@android:drawable/toast_frame"
+ android:padding="10dp" >
+
+ <TextView
+ android:id="@+id/toast_message"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:gravity="center"
+ android:maxLines="2"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:paddingLeft="2dp"
+ android:paddingRight="2dp"
+ android:text="缃戠粶杩炴帴澶辫触"/>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_dialog.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_dialog.xml
new file mode 100644
index 0000000..228e26e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_dialog.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/login_top_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="dialog" />
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_dialog_new.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_dialog_new.xml
new file mode 100644
index 0000000..a05cf9d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_dialog_new.xml
@@ -0,0 +1,81 @@
+<?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="#11ffffff">
+
+ <LinearLayout
+ android:layout_width="300dp"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_marginTop="15dp"
+ android:layout_marginBottom="30dp"
+ android:gravity="center"
+ android:text="娑堟伅鎻愮ず"
+ android:textColor="#4c4c4c"
+ android:textSize="18sp" />
+
+ <TextView
+ android:id="@+id/message"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="20dp"
+ android:layout_gravity="center"
+ android:text="鎻愮ず娑堟伅"
+ android:textSize="16sp"
+ android:textColor="#4c4c4c"/>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:layout_marginTop="30dp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="50dp"
+ android:layout_marginBottom="20dp"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/no"
+ android:layout_width="120dp"
+ android:layout_height="40dp"
+ android:layout_marginLeft="20dp"
+ android:background="@drawable/dialog_left_bg"
+ android:gravity="center"
+ android:singleLine="true"
+ android:text="No"
+ android:textColor="#ff8f17"
+ android:textSize="18sp" />
+ <View
+ android:layout_width="0dp"
+ android:layout_height="1px"
+ android:layout_weight="1"
+ />
+
+
+ <Button
+ android:id="@+id/yes"
+ android:layout_width="120dp"
+ android:layout_height="40dp"
+ android:layout_marginRight="20dp"
+
+ android:background="@drawable/dialog_right_bg"
+ android:gravity="center"
+ android:singleLine="true"
+ android:text="Yes"
+ android:textColor="#fff"
+ android:textSize="18sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_dialog_select_autonym.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_dialog_select_autonym.xml
new file mode 100644
index 0000000..0753167
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_dialog_select_autonym.xml
@@ -0,0 +1,10 @@
+<?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:orientation="vertical" >
+ <FrameLayout
+ android:id="@+id/xy_dialog_select_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+</LinearLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_float_acitivity.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_float_acitivity.xml
new file mode 100644
index 0000000..53cb416
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_float_acitivity.xml
@@ -0,0 +1,12 @@
+<?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:orientation="vertical" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Test Float" />
+
+</LinearLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_float_layout.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_float_layout.xml
new file mode 100644
index 0000000..088ba0c
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_float_layout.xml
@@ -0,0 +1,13 @@
+<?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:orientation="vertical" >
+
+ <Button
+ android:id="@+id/float_id"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮诞绐楀彛"/>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account.xml
new file mode 100644
index 0000000..8db7292
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account.xml
@@ -0,0 +1,369 @@
+<?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/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <ImageView
+ android:id="@+id/mImageTitleBack"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="8dp"
+ android:padding="5dp"
+ android:src="@drawable/mg_ic_toolbar_back"
+ android:visibility="invisible" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="涓汉涓績"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:scrollbars="none" >
+
+ <LinearLayout
+ android:id="@+id/fragment_icon_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:orientation="vertical"
+ android:padding="10dp" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/shape_corner_stroke_white"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鏄电О锛�"
+ android:textColor="#7f7f7f"
+ android:textSize="14sp" />
+
+ <EditText
+ android:id="@+id/fragment_account_nickname_edit"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:background="@null"
+ android:includeFontPadding="true"
+ android:maxEms="7"
+ android:maxHeight="30dp"
+ android:maxLength="7"
+ android:minWidth="120dp"
+ android:singleLine="true"
+ android:text="鏈缃樀绉�"
+ android:textSize="15sp" />
+
+ <ImageView
+ android:id="@+id/fragment_account_edit_img"
+ android:layout_width="25dp"
+ android:layout_height="25dp"
+ android:layout_marginLeft="4dp"
+ android:padding="5dp"
+ android:src="@drawable/com_xy_xylogin_account_editname" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="璐﹀彿锛�"
+ android:textColor="#7f7f7f"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/fragment_account_account_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:text="TextView"
+ android:textColor="@color/gray2"
+ android:textSize="14sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:background="@drawable/shape_corner_stroke_white"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <LinearLayout
+ android:id="@+id/fragment_account_change_pwd_layout"
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <TextView
+ android:id="@+id/xy_fragment_account_sercuity_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="淇敼瀵嗙爜"
+ android:textColor="#7f7f7f"
+ android:textSize="14sp" />
+
+ <ImageView
+ android:layout_width="23dp"
+ android:layout_height="23dp"
+ android:src="@drawable/com_xy_xylogin_next_imag" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <LinearLayout
+ android:id="@+id/fragment_account_account_security_layout"
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <TextView
+ android:id="@+id/xy_fragment_account_sercuity_way_tv"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="鎵嬫満缁戝畾"
+ android:textColor="#7f7f7f"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/fragment_account_security_tip_tv"
+ android:layout_width="50dp"
+ android:layout_height="18dp"
+ android:text=""
+ android:textColor="@color/text_999"
+ android:textSize="13sp" />
+
+ <ImageView
+ android:layout_width="23dp"
+ android:layout_height="23dp"
+ android:src="@drawable/com_xy_xylogin_next_imag" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:background="@drawable/shape_corner_stroke_white"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <LinearLayout
+ android:id="@+id/fragment_account_recharge_record_layout"
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="鍏呭�艰褰�"
+ android:textColor="#7f7f7f"
+ android:textSize="14sp" />
+
+ <ImageView
+ android:layout_width="23dp"
+ android:layout_height="23dp"
+ android:src="@drawable/com_xy_xylogin_next_imag" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:background="@drawable/shape_corner_stroke_white"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <LinearLayout
+ android:id="@+id/fragment_account_real_name_layout"
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="瀹炲悕璁よ瘉"
+ android:textColor="#7f7f7f"
+ android:textSize="14sp" />
+
+ <View
+ android:id="@+id/mViewRealNameRedPoint"
+ android:layout_width="5dp"
+ android:layout_height="5dp"
+ android:background="@drawable/shape_circle_red"
+ android:visibility="invisible" />
+
+ <ImageView
+ android:layout_width="23dp"
+ android:layout_height="23dp"
+ android:src="@drawable/com_xy_xylogin_next_imag" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:background="@drawable/shape_corner_stroke_white"
+ android:orientation="vertical"
+ android:visibility="gone"
+ android:padding="10dp" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="鑷姩鐧诲綍娓告垙"
+ android:textColor="#7f7f7f"
+ android:textSize="14sp" />
+
+ <CheckBox
+ android:id="@+id/fragment_account_auto_login_cb"
+ android:layout_width="50dp"
+ android:layout_height="22dp"
+ android:layout_weight="0"
+ android:background="@drawable/auto_login_cb_selector"
+ android:button="@null"
+ android:checked="true" />
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/fragment_account_autologin_tip_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp"
+ android:text="@string/close_to_select_other_account"
+ android:textColor="@color/gray2"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/fragment_account_recharge_login"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/drawable_exit_account_button"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鍒囨崲璐﹀彿"
+ android:textColor="@color/white"
+ android:textSize="20sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="17dp"
+ android:layout_marginRight="17dp"
+ android:layout_marginTop="20dp"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/fragment_account_tip_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:text="@string/account_page_tip_qmqj"
+ android:textColor="@color/light_black"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/fragment_account_version_tv"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dp"
+ android:gravity="center_horizontal"
+ android:text="@string/version_code"
+ android:textColor="@color/light_black"
+ android:textSize="16sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account_security.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account_security.xml
new file mode 100644
index 0000000..8ef7b2e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_account_security.xml
@@ -0,0 +1,78 @@
+<?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/background"
+ android:focusable="true"
+ android:clickable="true"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <ImageView
+ android:id="@+id/mImageTitleBack"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="8dp"
+ android:padding="5dp"
+ android:src="@drawable/mg_ic_toolbar_back" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="甯愬彿瀹夊叏"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <TextView
+ android:id="@+id/fragment_accountsecurity_account_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="12dp"
+ android:layout_marginTop="30dp"
+ android:text="TextView"
+ android:textColor="@color/light_black"
+ android:textSize="15sp" />
+
+ <TextView
+ android:id="@+id/fragment_accountsecurity_phone_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="12dp"
+ android:layout_marginTop="10dp"
+ android:text="TextView"
+ android:textColor="@color/light_black"
+ android:textSize="15sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="12dp"
+ android:layout_marginRight="12dp"
+ android:layout_marginTop="30dp"
+ android:text="@string/you_has_bind_phone"
+ android:textColor="@color/gray4"
+ android:textSize="14sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:text=""
+ android:textColor="@color/gray4" />
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_bind_phone.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_bind_phone.xml
new file mode 100644
index 0000000..436f6bb
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_bind_phone.xml
@@ -0,0 +1,137 @@
+<?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:focusable="true"
+ android:clickable="true"
+ android:id="@+id/bind_phone_ll"
+ android:background="@color/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <ImageView
+ android:id="@+id/mImageTitleBack"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="8dp"
+ android:padding="5dp"
+ android:src="@drawable/mg_ic_toolbar_back"
+ />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="缁戝畾鎵嬫満"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginLeft="30dp"
+ android:layout_marginRight="30dp"
+ android:layout_marginTop="30dp"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/fragment_bindphone_phone_ts"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="10dp"
+ android:text="淇敼瀵嗙爜鍓嶈鍏堢粦瀹氭墜鏈�"
+ android:textColor="@color/red"
+ android:textSize="14sp"
+ android:visibility="gone" />
+
+ <EditText
+ android:id="@+id/fragment_bindphone_phone_ed"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:background="@color/white2"
+ android:gravity="center_vertical"
+ android:hint="杈撳叆鎵嬫満鍙�"
+ android:inputType="number"
+ android:maxLength="16"
+ android:paddingLeft="10dp"
+ android:singleLine="true"
+ android:textColor="@color/light_black"
+ android:textColorHint="@color/light_black2"
+ android:textSize="15sp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:orientation="horizontal" >
+
+ <EditText
+ android:id="@+id/fragment_bindphone_security_code_ed"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_weight="1"
+ android:background="@color/white2"
+ android:gravity="center_vertical"
+ android:hint="杈撳叆楠岃瘉鐮�"
+ android:inputType="number"
+ android:maxLength="16"
+ android:paddingLeft="10dp"
+ android:singleLine="true"
+ android:textColor="@color/light_black"
+ android:textColorHint="@color/light_black2"
+ android:textSize="15sp" />
+
+ <TextView
+ android:id="@+id/fragment_bindphone_get_security_code_tv"
+ android:layout_width="106dp"
+ android:layout_height="40dp"
+ android:layout_marginLeft="5dp"
+ android:layout_weight="0"
+ android:background="@drawable/com_xy_xylogin_yanzhengma"
+ android:gravity="center"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:textColor="@color/light_black3" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/fragment_bindphone_bind_btn"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:layout_marginTop="15dp"
+ android:layout_marginBottom="15dp"
+ android:background="@drawable/drawable_exit_account_button"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="缁� 瀹�"
+ android:textColor="@color/white"
+ android:textSize="20sp" />
+ </LinearLayout>
+ <!-- <Button
+ android:id="@+id/fragment_bindphone_bind_btn"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:layout_marginTop="20dp"
+ android:layout_marginBottom="20dp"
+ android:background="@drawable/binding_btn_selector" />-->
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_change_pwd.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_change_pwd.xml
new file mode 100644
index 0000000..24f671e
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_change_pwd.xml
@@ -0,0 +1,157 @@
+<?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:id="@+id/change_pwd_ll"
+ android:background="@color/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <ImageView
+ android:id="@+id/mImageTitleBack"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="8dp"
+ android:padding="5dp"
+ android:src="@drawable/mg_ic_toolbar_back" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="淇敼瀵嗙爜"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:scrollbars="none" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="30dp"
+ android:layout_marginRight="30dp"
+ android:paddingBottom="30dp"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/fragment_changepwd_account_tip_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="15dp"
+ android:layout_marginTop="15dp"
+ android:text="@string/your_account_is"
+ android:textColor="@color/light_black"
+ android:textSize="15sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="褰撳墠瀵嗙爜"
+ android:textColor="@color/light_black"
+ android:textSize="15sp" />
+
+ <EditText
+ android:id="@+id/fragment_changepwd_current_pwd_ed"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:background="@color/white2"
+ android:gravity="center_vertical"
+ android:hint="璇疯緭鍏�6-20浣嶅瓧姣嶅拰鏁板瓧"
+ android:inputType="textPassword"
+ android:maxLength="20"
+ android:paddingLeft="5dp"
+ android:singleLine="true"
+ android:textColor="@color/light_black"
+ android:textColorHint="@color/light_black2"
+ android:textSize="13sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:text="鏂板瘑鐮�"
+ android:textColor="@color/light_black"
+ android:textSize="15sp" />
+
+ <EditText
+ android:id="@+id/fragment_changepwd_new_pwd_ed"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:background="@color/white2"
+ android:gravity="center_vertical"
+ android:hint="璇疯緭鍏�6-20浣嶅瓧姣嶅拰鏁板瓧"
+ android:inputType="textPassword"
+ android:maxLength="20"
+ android:paddingLeft="5dp"
+ android:singleLine="true"
+ android:textColor="@color/light_black"
+ android:textColorHint="@color/light_black2"
+ android:textSize="13sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:text="纭鏂板瘑鐮�"
+ android:textColor="@color/light_black"
+ android:textSize="15sp" />
+
+ <EditText
+ android:id="@+id/fragment_changepwd_confirm_new_pwd_ed"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:background="@color/white2"
+ android:gravity="center_vertical"
+ android:hint="璇疯緭鍏�6-20浣嶅瓧姣嶅拰鏁板瓧"
+ android:inputType="textPassword"
+ android:maxLength="20"
+ android:paddingLeft="5dp"
+ android:singleLine="true"
+ android:textColor="@color/light_black"
+ android:textColorHint="@color/light_black2"
+ android:textSize="13sp" />
+
+ <LinearLayout
+ android:id="@+id/fragment_changepwd_submit_btn"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/drawable_exit_account_button"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎻� 浜�"
+ android:textColor="@color/white"
+ android:textSize="20sp" />
+ </LinearLayout>
+ <!-- <Button
+ android:id="@+id/fragment_changepwd_submit_btn"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/submit_selector" /> -->
+ </LinearLayout>
+ </ScrollView>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_customer.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_customer.xml
new file mode 100644
index 0000000..351bdba
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_customer.xml
@@ -0,0 +1,28 @@
+<?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/background"
+ android:orientation="vertical" >
+
+ <FrameLayout android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+ <WebView
+ android:id="@+id/fragment_forum_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/background" />
+
+ <ImageView
+ android:id="@+id/mImageLoading"
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:layout_gravity="center"
+ android:visibility="gone"
+ />
+
+ </FrameLayout>
+
+
+</LinearLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_forum.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_forum.xml
new file mode 100644
index 0000000..1833388
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_forum.xml
@@ -0,0 +1,53 @@
+<?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/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:visibility="gone"
+ android:background="@color/white" >
+
+ <ImageView
+ android:id="@+id/fragment_forum_back_btn"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="8dp"
+ android:padding="5dp"
+ android:src="@drawable/mg_ic_toolbar_back"
+ android:visibility="invisible" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="璁哄潧"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <FrameLayout android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+ <WebView
+ android:id="@+id/fragment_forum_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/background" />
+
+ <ImageView
+ android:id="@+id/mImageLoading"
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:layout_gravity="center"
+ android:visibility="gone"
+ />
+
+ </FrameLayout>
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift.xml
new file mode 100644
index 0000000..dce4aeb
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift.xml
@@ -0,0 +1,57 @@
+<?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/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="绀煎寘"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <View
+ android:id="@+id/view_line"
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line"
+ android:layout_below="@id/title_layout"
+ />
+
+ <ListView
+ android:id="@+id/listView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:divider="@null"
+ android:listSelector="#00000000"
+ android:focusable="false"
+ android:layout_below="@id/view_line"
+ android:scrollbars="none" />
+
+ <LinearLayout
+ android:id="@+id/loading_view_ll"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:visibility="gone"
+ >
+ <ImageView
+ android:id="@+id/mImageLoading"
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:visibility="gone"
+ />
+ </LinearLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift_detail.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift_detail.xml
new file mode 100644
index 0000000..63d4b32
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_gift_detail.xml
@@ -0,0 +1,175 @@
+<?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:orientation="vertical"
+ android:background="@color/background"
+ >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <LinearLayout
+ android:id="@+id/gift_detail_back_ll"
+ android:layout_width="45dp"
+ android:layout_height="45dp"
+ android:gravity="center"
+ >
+ <ImageView
+ android:layout_width="25dp"
+ android:layout_height="25dp"
+ android:src="@drawable/mg_ic_toolbar_back"
+ />
+ </LinearLayout>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="绀煎寘璇︽儏"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+ <View
+ android:id="@+id/view_line"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:layout_below="@id/title_layout"
+ android:background="@color/mg_line"
+ />
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/view_line"
+ >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ >
+
+ <TextView
+ android:id="@+id/gift_name_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/black"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textStyle="bold"
+ android:textSize="16sp"
+ />
+ <TextView
+ android:id="@+id/gift_left_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/text_4c"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textSize="12sp"
+ />
+
+ <TextView
+ android:id="@+id/gift_get_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="14sp"
+ android:textColor="@color/white"
+ android:paddingTop="5dp"
+ android:paddingBottom="5dp"
+ android:paddingLeft="20dp"
+ android:paddingRight="20sp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:background="@drawable/shape_solid_corner_gray_gift"
+ />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:layout_marginTop="10dp"
+ android:background="@color/mg_line"
+ />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="绀煎寘鍐呭"
+ android:textStyle="bold"
+ android:textColor="@color/black"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textSize="16sp"
+ />
+ <TextView
+ android:id="@+id/gift_txt_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/text_4c"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textSize="14sp"
+ />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="浣跨敤鏂规硶"
+ android:textStyle="bold"
+ android:textColor="@color/black"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textSize="16sp"
+ />
+ <TextView
+ android:id="@+id/gift_desc_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/text_4c"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textSize="12sp"
+ />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鏈夋晥鏈�"
+ android:textStyle="bold"
+ android:textColor="@color/black"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textSize="16sp"
+ />
+ <TextView
+ android:id="@+id/gift_period_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/text_4c"
+ android:layout_marginTop="10dp"
+ android:layout_marginLeft="10dp"
+ android:textSize="12sp"
+ />
+ </LinearLayout>
+
+ </ScrollView>
+
+ <LinearLayout
+ android:id="@+id/loading_view_ll"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:visibility="gone"
+ >
+ <ImageView
+ android:id="@+id/mImageLoading"
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:visibility="gone"
+ />
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_pay_history.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_pay_history.xml
new file mode 100644
index 0000000..581fbd5
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_pay_history.xml
@@ -0,0 +1,43 @@
+<?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:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <ImageView
+ android:id="@+id/mImageTitleBack"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="8dp"
+ android:padding="5dp"
+ android:src="@drawable/mg_ic_toolbar_back"
+ />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="鍏呭�艰褰�"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <WebView
+ android:id="@+id/fragment_payhistory_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
+
+</LinearLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_real_name.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_real_name.xml
new file mode 100644
index 0000000..f0ae139
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_real_name.xml
@@ -0,0 +1,168 @@
+<?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/background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/title_layout"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:background="@color/white" >
+
+ <ImageView
+ android:id="@+id/mImageTitleBack"
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="8dp"
+ android:padding="5dp"
+ android:src="@drawable/mg_ic_toolbar_back"
+ />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:text="瀹炲悕璁よ瘉"
+ android:textColor="@color/text_4c"
+ android:textSize="17sp" />
+ </RelativeLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <ScrollView
+ android:id="@+id/mScrollView"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:scrollbars="none" >
+
+ <LinearLayout
+ android:id="@+id/fragment_icon_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:orientation="vertical"
+ android:padding="10dp" >
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="灏婃暚鐨勭敤鎴凤細\n鏍规嵁鍥藉瑙勫畾锛屾父鎴忕敤鎴烽渶瑕佸疄鍚嶈璇併��"
+ android:textColor="@color/text_666" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:background="@color/white"
+ android:orientation="vertical"
+ android:padding="8dp" >
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="鈥� 淇℃伅浠呴檺鐢ㄤ簬璁よ瘉涓旂粷瀵逛繚瀵�"
+ android:textColor="@color/text_666" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:text="鈥� 鏈垚骞翠汉涓嶅厑璁稿湪娓告垙鍐呮敮浠�"
+ android:textColor="@color/text_666" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:background="@drawable/shape_corner_stroke_white"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <LinearLayout
+ android:id="@+id/fragment_account_change_pwd_layout"
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <EditText
+ android:id="@+id/mEditRealName"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/white"
+ android:hint="濮撳悕"
+ android:textColorHint="@color/text_999"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0.6dp"
+ android:background="@color/mg_line" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp" >
+
+ <EditText
+ android:id="@+id/mEditCardNum"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/white"
+ android:hint="韬唤鍙风爜"
+ android:inputType="text"
+ android:textColorHint="@color/text_999"
+ android:textSize="14sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/mLayoutConfirm"
+ android:layout_width="match_parent"
+ android:layout_height="45dp"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/drawable_exit_account_button"
+ android:gravity="center"
+ android:orientation="horizontal"
+ android:paddingBottom="8dp"
+ android:paddingTop="8dp" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="纭� 瀹�"
+ android:textColor="@color/white"
+ android:textSize="20sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+
+ <TextView
+ android:id="@+id/mTextSuccess"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:visibility="gone"
+ android:text="宸茬粡瀹屾垚缁戝畾" />
+ </FrameLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_select_autonym.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_select_autonym.xml
new file mode 100644
index 0000000..a4f0d8b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_fragment_select_autonym.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/white"
+ android:gravity="center"
+ android:orientation="vertical"
+ tools:context=".ui.UserCenterActivity" >
+
+ <ImageView
+ android:id="@+id/mImageClosed"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_gravity="right"
+ android:src="@drawable/com_xy_xylogin_dellhistory" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="涓轰簡鎮ㄧ殑甯愬彿瀹夊叏锛岃灏藉揩缁戝畾"
+ android:layout_marginLeft="35dp"
+ android:layout_marginRight="35dp"
+ android:textColor="@color/text_999"
+ android:textSize="13sp" />
+
+ <TextView
+ android:id="@+id/mTextBindPhone"
+ android:layout_width="160dp"
+ android:layout_height="30dp"
+ android:layout_marginTop="20dp"
+ android:background="#FF801D"
+ android:gravity="center"
+ android:text="缁戝畾鎵嬫満"
+ android:textColor="@color/white" />
+
+ <TextView
+ android:id="@+id/mTextRealName"
+ android:layout_width="160dp"
+ android:layout_height="30dp"
+ android:layout_marginTop="10dp"
+ android:background="#009AE0"
+ android:gravity="center"
+ android:text="瀹炲悕璁よ瘉"
+ android:layout_marginBottom="35dp"
+ android:textColor="@color/white" />
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_gift_list_item.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_gift_list_item.xml
new file mode 100644
index 0000000..2d5a6b7
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_gift_list_item.xml
@@ -0,0 +1,66 @@
+<?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="wrap_content"
+ android:id="@+id/gift_item_rl"
+ >
+
+ <TextView
+ android:id="@+id/ling_gift_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="10dp"
+ android:textColor="@color/white"
+ android:paddingTop="5dp"
+ android:paddingBottom="5dp"
+ android:paddingLeft="20dp"
+ android:paddingRight="20sp"
+ android:background="@drawable/shape_solid_corner_blue_gift"
+ android:textSize="14sp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ />
+
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="10dp"
+ android:layout_centerVertical="true"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/ling_gift_tv"
+ >
+ <TextView
+ android:id="@+id/gift_name_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/black"
+ android:textSize="16sp"
+ />
+ <TextView
+ android:id="@+id/gift_left_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:textColor="@color/black"
+ android:textSize="12sp"
+ />
+ <TextView
+ android:id="@+id/gift_txt_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:textColor="@color/black"
+ android:textSize="12sp"
+ />
+ </LinearLayout>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="@color/mg_line"
+ android:layout_alignParentBottom="true"
+ />
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_get_code.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_get_code.xml
new file mode 100644
index 0000000..1f056c7
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_get_code.xml
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="280dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/rl_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_ic_back" />
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/login_logo" />
+
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_below="@id/rl_title"
+ android:gravity="center"
+ >
+
+ <LinearLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:orientation="horizontal"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_login_mobile"
+ />
+
+ <EditText
+ android:id="@+id/xy_reg_account_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ android:layout_marginLeft="10dp"
+ android:textSize="14sp"
+ android:inputType="text"
+ android:hint="璇疯緭鍏ユ墜鏈哄彿"
+ />
+
+ </LinearLayout>
+
+ <RelativeLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:orientation="horizontal"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ >
+
+
+ <ImageView
+ android:id="@+id/reset_pwd_code_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:background="@drawable/mg_msg_code"
+ />
+
+ <TextView
+ android:id="@+id/reg_mobile_code_tv"
+ android:layout_width="80dp"
+ android:layout_height="30dp"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:gravity="center"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:textColor="#ff8f17"
+ android:textSize="12sp"
+ />
+
+ <EditText
+ android:id="@+id/xy_reg_mobile_et"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@null"
+ android:layout_centerVertical="true"
+ android:textSize="12sp"
+ android:layout_marginLeft="10dp"
+ android:layout_toLeftOf="@id/reg_mobile_code_tv"
+ android:layout_toRightOf="@id/reset_pwd_code_iv"
+ android:inputType="number"
+ android:hint="璇疯緭鍏ラ獙璇佺爜"
+ />
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/reg_next_tv"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="15dp"
+ android:text="纭畾"
+ android:gravity="center_horizontal"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ />
+
+ <TextView
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="15dp"
+ android:text="鎻愮ず锛氭湭缁戝畾鎵嬫満鐢ㄦ埛瀵嗙爜鎵惧洖璇疯仈绯诲鏈�"
+ android:textSize="12sp"
+ android:textColor="#7f7f7f"/>
+
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_reset.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_reset.xml
new file mode 100644
index 0000000..fe41987
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_find_pwd_reset.xml
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="280dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/rl_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_ic_back" />
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/login_logo" />
+
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_below="@id/rl_title"
+ android:gravity="center"
+ >
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:orientation="horizontal">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鎮ㄧ殑璐﹀彿涓猴細"
+ android:textColor="#7f7f7f"
+ android:textSize="12sp"/>
+ <TextView
+ android:id="@+id/find_pwd_account_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="12sp"
+ android:textColor="#fe4543"
+ android:text="01234567890"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="锛岃杈撳叆鏂板瘑鐮侊細"
+ android:textColor="#7f7f7f"
+ android:textSize="12sp"/>
+
+ </LinearLayout>
+ <RelativeLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:orientation="horizontal"
+ android:layout_marginTop="30dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ >
+
+ <ImageView
+ android:id="@+id/mg_reset_pwd_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:background="@drawable/mg_login_pwd"
+ />
+
+ <ImageView
+ android:id="@+id/mg_reset_pwd_eye"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:background="@drawable/mg_login_eye_close"
+ android:layout_alignParentRight="true"
+ />
+
+ <EditText
+ android:id="@+id/xy_reg_account_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ android:layout_marginLeft="10dp"
+ android:layout_toLeftOf="@id/mg_reset_pwd_eye"
+ android:textSize="14sp"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@id/mg_reset_pwd_iv"
+ android:inputType="textPassword"
+ android:hint="璇疯緭鍏ユ柊瀵嗙爜"
+ />
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/reg_next_tv"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="30dp"
+ android:text="纭畾"
+ android:gravity="center_horizontal"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ />
+
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_login.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_login.xml
new file mode 100644
index 0000000..af224de
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_login.xml
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="280dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="10dp"
+ android:src="@drawable/login_logo" />
+
+
+ <AutoCompleteTextView
+ android:id="@+id/login_holer_account_edit"
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:layout_below="@+id/login_holder_mg_icon"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="35dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:completionThreshold="2"
+ android:dropDownHorizontalOffset="0dp"
+ android:dropDownVerticalOffset="2dp"
+ android:ems="20"
+ android:editable="false"
+ android:hint="璐﹀彿/鎵嬫満鍙�"
+ android:imeOptions="flagNoExtractUi"
+ android:maxLength="20"
+ android:paddingLeft="60dp"
+ android:singleLine="true"
+ android:textSize="15sp" >
+
+ <requestFocus />
+ </AutoCompleteTextView>
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@+id/login_holer_account_edit"
+ android:layout_alignLeft="@+id/login_holer_account_edit"
+ android:layout_alignTop="@+id/login_holer_account_edit"
+ android:layout_marginLeft="18dp"
+ android:src="@drawable/mg_login_account" />
+
+ <ImageView
+ android:id="@+id/login_holder_drop_iv"
+ android:layout_width="50dp"
+ android:layout_height="40dp"
+ android:layout_alignRight="@+id/login_holer_account_edit"
+ android:layout_alignTop="@+id/login_holer_account_edit"
+ android:src="@drawable/com_xy_xylogin_dropdown" />
+
+ <TextView
+ android:id="@+id/login_holder_login_btn"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="35dp"
+ android:text="鐧诲綍"
+ android:gravity="center_horizontal"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:layout_centerHorizontal="true"
+ android:layout_below="@id/login_holer_account_edit"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ />
+
+
+ <LinearLayout
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:layout_centerHorizontal="true"
+ android:layout_below="@id/login_holder_login_btn"
+ android:layout_marginTop="35dp"
+ >
+
+ <!-- <TextView
+ android:id="@+id/find_pwd_tv"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="鎵惧洖瀵嗙爜"
+ android:textSize="14sp"
+ android:textColor="#4c4c4c"
+ />
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="15dp"
+ android:background="#4c4c4c"
+ />
+ -->
+ <TextView
+ android:id="@+id/other_login_way_tv"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="浣跨敤鍏跺畠璐﹀彿鐧诲綍"
+ android:gravity="center"
+ android:textSize="14sp"
+ android:textColor="#787878"
+ />
+
+ </LinearLayout>
+
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_login_loading.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_login_loading.xml
new file mode 100644
index 0000000..0dd4663
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_login_loading.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="278dp"
+ android:layout_height="98dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_xyloginling_background"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="61dp"
+ android:background="@drawable/com_xy_xylogin_toplayoutback" >
+
+ <TextView
+ android:id="@+id/loginloading_holder_tip_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="25dp"
+ android:text="姝e湪鍔犺浇涓�..."
+ android:textColor="@color/white"
+ android:textSize="@dimen/txt_size" />
+
+ <ImageView
+ android:layout_width="105dp"
+ android:layout_height="25dp"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:src="@drawable/com_xy_xylogin_loding_title" />
+
+ <ImageView
+ android:id="@+id/loginloading_holder_loading_iv"
+ android:layout_width="42dp"
+ android:layout_height="21dp"
+ android:layout_centerVertical="true"
+ android:layout_toLeftOf="@+id/loginloading_holder_tip_tv"
+ android:src="@drawable/com_xy_xysdk_iv_bg" />
+
+ </RelativeLayout>
+
+ <Button
+ android:id="@+id/loginloading_holder_change_account_btn"
+ android:layout_width="278dp"
+ android:layout_height="37dp"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:background="@drawable/change_account_btn_selector"
+ android:scaleType="fitXY" />
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_one_key_regin.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_one_key_regin.xml
new file mode 100644
index 0000000..ba1147b
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_one_key_regin.xml
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="250dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_centerInParent="true"
+ android:gravity="center"
+ >
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:src="@drawable/login_logo" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="20dp"
+ >
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="娓告垙鍚嶇О:"
+ android:layout_weight="1"
+ android:gravity="right"
+ android:textColor="#7e7e7e"
+ android:textSize="14sp"
+ />
+ <TextView
+ android:id="@+id/game_name_tv"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="鐜嬭�呬紶濂�"
+ android:layout_weight="1"
+ android:gravity="left"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="10dp"
+ >
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="娓告垙璐﹀彿:"
+ android:layout_weight="1"
+ android:textColor="#7e7e7e"
+ android:gravity="right"
+ android:textSize="14sp"
+ />
+ <TextView
+ android:id="@+id/game_account_tv"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="123456"
+ android:layout_weight="1"
+ android:textColor="#4c4c4c"
+ android:gravity="left"
+ android:textSize="14sp"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="10dp"
+ >
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="娓告垙瀵嗙爜:"
+ android:layout_weight="1"
+ android:gravity="right"
+ android:textColor="#7e7e7e"
+ android:textSize="14sp"
+ />
+ <TextView
+ android:id="@+id/game_pwd_tv"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:text="123456"
+ android:gravity="left"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp"
+ />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="20dp"
+ android:gravity="center_horizontal"
+ >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="淇濆瓨"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:paddingLeft="30dp"
+ android:paddingRight="30dp"
+ />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="鍏抽棴"
+ android:textColor="#ff4f4f"
+ android:textSize="14sp"
+ android:layout_marginLeft="30dp"
+ android:background="@drawable/xy_quick_login_close_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:paddingLeft="30dp"
+ android:paddingRight="30dp"
+ />
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin.xml
new file mode 100644
index 0000000..8fb9bae
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin.xml
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="280dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/rl_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:src="@drawable/mg_ic_back" />
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/login_logo" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@id/rl_title"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_login_mobile" />
+
+ <EditText
+ android:id="@+id/xy_reg_mobile_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:background="@null"
+ android:hint="璇疯緭鍏ユ墜鏈哄彿"
+ android:inputType="number"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <RelativeLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp" >
+
+ <ImageView
+ android:id="@+id/mobile_login_msg_code_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:background="@drawable/mg_msg_code" />
+
+ <TextView
+ android:id="@+id/reg_mobile_code_tv"
+ android:layout_width="60dp"
+ android:layout_height="30dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:gravity="center"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:textColor="#ff8f17"
+ android:textSize="12sp" />
+
+ <EditText
+ android:id="@+id/xy_reg_code_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:layout_toLeftOf="@id/reg_mobile_code_tv"
+ android:layout_toRightOf="@id/mobile_login_msg_code_iv"
+ android:background="@null"
+ android:hint="璇疯緭鍏ラ獙璇佺爜"
+ android:inputType="number"
+ android:textSize="14sp" />
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/reg_next_tv"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center_horizontal"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp"
+ android:text="鐧诲綍"
+ android:textColor="@color/white"
+ android:textSize="14sp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="center"
+ android:layout_marginTop="15dp"
+ >
+
+ <ImageView
+ android:id="@+id/onekeyregin_holder_check_xieyi_iv"
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:checked="true"
+ android:src="@drawable/mg_register_protocol_checked" />
+ <TextView
+ android:id="@+id/onekeyregin_holder_check_xieyi_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=" 鎴戝凡缁忛槄璇诲苟鍚屾剰"
+ android:textColor="@color/gray"
+ android:textSize="14sp" />
+ <TextView
+ android:id="@+id/onekeyregin_holder_xieyi_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="14sp"
+ android:text="銆奙G鐢ㄦ埛鏈嶅姟鍗忚銆�"
+ android:textColor="@color/xieyi"
+ />
+ </LinearLayout>
+
+ </LinearLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin_security_code.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin_security_code.xml
new file mode 100644
index 0000000..8e5a782
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_phone_regin_security_code.xml
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="250dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="25dp"
+ android:layout_height="25dp"
+ android:layout_marginTop="20dp"
+ android:layout_marginLeft="20dp"
+ android:src="@drawable/mg_ic_toolbar_back"
+ />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_centerInParent="true"
+ android:gravity="center"
+ >
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:src="@drawable/login_logo" />
+
+
+
+ <RelativeLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:orientation="horizontal"
+ android:layout_marginTop="20dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:paddingLeft="15dp"
+ android:paddingRight="5dp"
+ >
+
+ <TextView
+ android:id="@+id/reg_mobile_code_tv"
+ android:layout_width="80dp"
+ android:layout_height="30dp"
+ android:text="鑾峰彇楠岃瘉鐮�"
+ android:gravity="center"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:textColor="@color/white"
+ android:textSize="12sp"
+ android:background="@drawable/xy_mobile_get_code_bg"
+ />
+
+ <EditText
+ android:id="@+id/xy_reg_mobile_et"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@null"
+ android:layout_centerVertical="true"
+ android:textSize="12sp"
+ android:layout_toLeftOf="@id/reg_mobile_code_tv"
+ android:inputType="number"
+ android:hint="璇疯緭鍏ラ獙璇佺爜"
+ />
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/reg_next_tv"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dp"
+ android:text="娉ㄥ唽骞剁櫥褰�"
+ android:gravity="center_horizontal"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ />
+ <LinearLayout
+ android:id="@+id/ll_register"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="center"
+ android:layout_marginTop="10dp"
+ >
+
+ <ImageView
+ android:id="@+id/onekeyregin_holder_check_xieyi_iv"
+ android:layout_width="20dp"
+ android:layout_height="20dp"
+ android:checked="true"
+ android:src="@drawable/mg_register_protocol_checked" />
+ <TextView
+ android:id="@+id/onekeyregin_holder_check_xieyi_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=" 鎴戝凡缁忛槄璇诲苟鍚屾剰"
+ android:textColor="@color/gray"
+ android:textSize="12sp" />
+ <TextView
+ android:id="@+id/onekeyregin_holder_xieyi_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="12sp"
+ android:text="MG鐢ㄦ埛鏈嶅姟鍗忚"
+ android:textColor="@color/xieyi"
+ />
+ </LinearLayout>
+
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_regin_success.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_regin_success.xml
new file mode 100644
index 0000000..dd7e6af
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_regin_success.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="250dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_centerInParent="true"
+ android:gravity="center"
+ >
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:src="@drawable/login_logo" />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="15dp"
+ >
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="娓告垙璐﹀彿:"
+ android:layout_weight="1"
+ android:textColor="#7e7e7e"
+ android:gravity="right"
+ android:textSize="14sp"
+ />
+ <TextView
+ android:id="@+id/game_account_tv"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="123456"
+ android:layout_weight="1"
+ android:textColor="#4c4c4c"
+ android:gravity="left"
+ android:textSize="14sp"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="15dp"
+ >
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:text="娓告垙瀵嗙爜:"
+ android:layout_weight="1"
+ android:gravity="right"
+ android:textColor="#7e7e7e"
+ android:textSize="14sp"
+ />
+ <TextView
+ android:id="@+id/game_pwd_tv"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:text="123456"
+ android:gravity="left"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp"
+ />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_marginTop="20dp"
+ android:gravity="center_horizontal"
+ >
+ <TextView
+ android:id="@+id/reg_save_tv"
+ android:layout_width="90dp"
+ android:layout_height="wrap_content"
+ android:text="淇濆瓨璐﹀彿"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:gravity="center_horizontal"
+ />
+ <TextView
+ android:id="@+id/reg_close_tv"
+ android:layout_width="90dp"
+ android:layout_height="wrap_content"
+ android:text="鍏抽棴"
+ android:gravity="center_horizontal"
+ android:textColor="#ff4f4f"
+ android:textSize="14sp"
+ android:layout_marginLeft="30dp"
+ android:background="@drawable/xy_quick_login_close_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+
+ />
+
+ </LinearLayout>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="12sp"
+ android:layout_marginTop="10dp"
+ android:textColor="#ff4f4f"
+ android:text="鐐瑰嚮淇濆瓨 璐﹀彿瀵嗙爜灏嗕繚瀛樿嚦鐩稿唽"
+ />
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_holder_reset_confirm.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_reset_confirm.xml
new file mode 100644
index 0000000..ec505e7
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_holder_reset_confirm.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="250dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_centerInParent="true"
+ android:gravity="center"
+ >
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:src="@drawable/login_logo" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="淇敼瀵嗙爜鎴愬姛锛佽閲嶆柊杩涘叆娓告垙锛�"
+ android:textColor="#939393"
+ android:layout_marginTop="30dp"
+ android:textSize="14sp"
+ />
+
+ <TextView
+ android:id="@+id/reg_next_tv"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="30dp"
+ android:text="纭畾"
+ android:gravity="center_horizontal"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ />
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_login_fragment.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_login_fragment.xml
new file mode 100644
index 0000000..e05a501
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_login_fragment.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/login_fragment_main_layout"
+ android:layout_width="300dp"
+ android:layout_height="280dp"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_main.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_main.xml
new file mode 100644
index 0000000..a41c127
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_main.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:text="res sdk" />
+
+ <Button
+ android:id="@+id/button"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="鐧诲綍"
+ android:onClick="login"/>
+
+ <Button
+ android:id="@+id/changAccount"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="changAccount"
+ android:text="鍒囨崲璐﹀彿"/>
+
+ <Button
+ android:id="@+id/payBtn"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="鏀粯"
+ android:onClick="pay"/>
+
+ <Button
+ android:id="@+id/userinfo"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="鐢ㄦ埛涓績"
+ android:layout_gravity="center_horizontal"
+ android:onClick="userinfo"
+ android:visibility="visible"/>
+
+ <Button
+ android:id="@+id/bindphone"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="bindphone"
+ android:text="缁戝畾鎵嬫満" />
+
+ <Button
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="閫�鍑�"
+ android:onClick="logout"/>
+
+ <TextView
+ android:id="@+id/txt"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="娆㈣繋浣跨敤"
+ />
+
+ <EditText
+ android:id="@+id/ed_amount"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="閲戦"
+ android:ems="10" >
+
+ <requestFocus />
+ </EditText>
+
+
+</LinearLayout>
+
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_login.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_login.xml
new file mode 100644
index 0000000..41e329d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_login.xml
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="280dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/rl_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:src="@drawable/mg_ic_back" />
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/login_logo" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@id/rl_title"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:background="@drawable/xy_phone_regin_bg" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="15dp"
+ android:background="@drawable/mg_login_account" />
+
+ <AutoCompleteTextView
+ android:id="@+id/xy_reg_account_et"
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:background="@null"
+ android:completionThreshold="2"
+ android:dropDownHorizontalOffset="0dp"
+ android:dropDownVerticalOffset="2dp"
+ android:ems="20"
+ android:hint="6-20涓暟瀛楁垨鑰呭瓧姣�"
+ android:imeOptions="flagNoExtractUi"
+ android:inputType="text"
+ android:maxLength="20"
+ android:paddingLeft="40dp"
+ android:paddingRight="40dp"
+ android:singleLine="true"
+ android:textSize="14sp" >
+ </AutoCompleteTextView>
+
+ <ImageView
+ android:id="@+id/login_holder_drop_iv"
+ android:layout_width="50dp"
+ android:layout_height="40dp"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="5dp"
+ android:layout_alignParentRight="true"
+ android:src="@drawable/com_xy_xylogin_dropdown" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp" >
+
+ <ImageView
+ android:id="@+id/login_pwd_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:background="@drawable/mg_login_pwd" />
+
+ <ImageView
+ android:id="@+id/hide_show_pwd_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="@drawable/mg_login_eye_close" />
+
+ <EditText
+ android:id="@+id/xy_reg_pwd_et"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:layout_toLeftOf="@id/hide_show_pwd_iv"
+ android:layout_toRightOf="@id/login_pwd_iv"
+ android:background="@null"
+ android:hint="6-20涓暟瀛楁垨鑰呭瓧姣�"
+ android:inputType="textPassword"
+ android:textSize="14sp" />
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/reg_next_tv"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:gravity="center_horizontal"
+ android:paddingBottom="10dp"
+ android:paddingTop="10dp"
+ android:text="鐧诲綍"
+ android:textColor="@color/white"
+ android:textSize="14sp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/login_holder_login_btn"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="15dp"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_find_pwd" />
+
+ <TextView
+ android:id="@+id/find_pwd_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:text="鎵惧洖瀵嗙爜"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <View
+ android:layout_width="1dp"
+ android:layout_height="20dp"
+ android:background="#c8c8c8" />
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/mg_reg_icon_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mg_quick_register" />
+
+ <TextView
+ android:id="@+id/register_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:gravity="right"
+ android:text="绔嬪嵆娉ㄥ唽"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_register.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_register.xml
new file mode 100644
index 0000000..9830c0d
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_mg_account_register.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="280dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+
+ <RelativeLayout
+ android:id="@+id/rl_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_ic_back" />
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/login_logo" />
+
+ </RelativeLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_below="@id/rl_title"
+ android:gravity="center"
+ >
+
+ <LinearLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:orientation="horizontal"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/mg_login_account"
+ />
+
+
+ <EditText
+ android:id="@+id/xy_reg_account_et"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@null"
+ android:layout_marginLeft="10dp"
+ android:textSize="14sp"
+ android:inputType="text"
+ android:hint="6-16涓暟瀛楁垨鑰呭瓧姣�"
+ />
+
+ </LinearLayout>
+
+ <RelativeLayout
+ android:layout_width="250dp"
+ android:layout_height="40dp"
+ android:orientation="horizontal"
+ android:layout_marginTop="15dp"
+ android:background="@drawable/xy_phone_regin_bg"
+ android:gravity="center_vertical"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ >
+
+ <ImageView
+ android:id="@+id/login_pwd_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:background="@drawable/mg_login_pwd"
+ />
+
+ <ImageView
+ android:id="@+id/hide_show_pwd_iv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:src="@drawable/mg_login_eye_close"
+ android:layout_alignParentRight="true"
+ />
+
+ <EditText
+ android:id="@+id/xy_reg_pwd_et"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@null"
+ android:layout_marginLeft="10dp"
+ android:textSize="14sp"
+ android:layout_centerVertical="true"
+ android:inputType="textPassword"
+ android:layout_toLeftOf="@id/hide_show_pwd_iv"
+ android:layout_toRightOf="@id/login_pwd_iv"
+ android:hint="6-20涓暟瀛楁垨鑰呭瓧姣�"
+ />
+
+
+ </RelativeLayout>
+
+ <TextView
+ android:id="@+id/reg_next_tv"
+ android:layout_width="250dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="15dp"
+ android:text="娉ㄥ唽骞剁櫥褰�"
+ android:gravity="center_horizontal"
+ android:textColor="@color/white"
+ android:textSize="14sp"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="center"
+ android:layout_marginTop="15dp"
+ >
+
+ <ImageView
+ android:id="@+id/onekeyregin_holder_check_xieyi_iv"
+ android:layout_width="15dp"
+ android:layout_height="15dp"
+ android:checked="true"
+ android:src="@drawable/mg_register_protocol_checked" />
+ <TextView
+ android:id="@+id/onekeyregin_holder_check_xieyi_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text=" 鎴戝凡缁忛槄璇诲苟鍚屾剰"
+ android:textColor="@color/gray"
+ android:textSize="14sp" />
+ <TextView
+ android:id="@+id/onekeyregin_holder_xieyi_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="14sp"
+ android:text="銆奙G鐢ㄦ埛鏈嶅姟鍗忚銆�"
+ android:textColor="@color/xieyi"
+ />
+ </LinearLayout>
+
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_select_login_type.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_select_login_type.xml
new file mode 100644
index 0000000..ea2fddd
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_select_login_type.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="300dp"
+ android:layout_height="250dp"
+ android:layout_gravity="center"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="vertical" >
+
+ <RelativeLayout
+ android:id="@+id/rl_title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp" >
+
+ <ImageView
+ android:id="@+id/iv_back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:src="@drawable/mg_ic_back" />
+
+ <ImageView
+ android:id="@+id/login_holder_mg_icon"
+ android:layout_width="145dp"
+ android:layout_height="45dp"
+ android:layout_centerInParent="true"
+ android:src="@drawable/login_logo" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@id/rl_title"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/login_way_hint_tv"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="璇烽�夋嫨鐧诲綍鏂瑰紡"
+ android:textColor="#787878"
+ android:textSize="12sp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="15dp"
+ android:layout_marginRight="15dp"
+ android:layout_marginTop="40dp"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:id="@+id/quick_login_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_horizontal"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/xy_quick_login" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:text="涓�閿敞鍐�"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/mobile_login_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_horizontal"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/xy_mobile_login" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:text="鎵嬫満璐﹀彿"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/mg_login_ll"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_horizontal"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/xy_mg_login" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:text="MG璐﹀彿"
+ android:textColor="#4c4c4c"
+ android:textSize="14sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_toast_comeback.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_toast_comeback.xml
new file mode 100644
index 0000000..c742f6a
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_toast_comeback.xml
@@ -0,0 +1,55 @@
+<?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:gravity="center_horizontal"
+ >
+
+ <LinearLayout
+ android:layout_width="343dp"
+ android:layout_height="wrap_content"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:padding="10dp"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="娆㈣繋杩涘叆娓告垙锛�"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/toast_username"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="MG"
+ android:textColor="#ff8f17"
+ android:textSize="14sp" />
+
+ <TextView
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="锛�"
+ android:textColor="@color/text_4c"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/toast_change_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:paddingBottom="4dp"
+ android:paddingLeft="8dp"
+ android:paddingRight="8dp"
+ android:paddingTop="4dp"
+ android:text="鍒囨崲璐﹀彿(3)"
+ android:visibility="gone"
+ android:textColor="@color/white"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/layout/xy_toast_quick_login.xml b/Project/ky_sdk/src/game_ky/res/layout/xy_toast_quick_login.xml
new file mode 100644
index 0000000..f8df1bf
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/layout/xy_toast_quick_login.xml
@@ -0,0 +1,122 @@
+<?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:orientation="horizontal"
+ android:gravity="center"
+ >
+
+ <LinearLayout
+ android:layout_width="355dp"
+ android:layout_height="wrap_content"
+ android:background="@drawable/com_xy_login_white_bg"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/xy_toast_login_success" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="2dp"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="涓轰簡鎮ㄧ殑璐﹀彿瀹夊叏锛岃灏藉揩鍓嶅線鎮诞绐楀唴"
+ android:lines="1"
+ android:textColor="@color/text_4c"
+ android:textSize="10sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:lines="1"
+ android:text="缁戝畾鎵嬫満"
+ android:textColor="@color/red"
+ android:textSize="10sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="6dp"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="璐﹀彿锛�"
+ android:textColor="@color/text_4c"
+ android:textSize="12sp" />
+
+ <TextView
+ android:id="@+id/toast_username"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:lines="1"
+ android:text="MG"
+ android:textColor="#ff8f17"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="瀵嗙爜锛�"
+ android:textColor="@color/text_4c"
+ android:textSize="12sp" />
+
+ <TextView
+ android:id="@+id/toast_pwd"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:lines="1"
+ android:text="MG"
+ android:textColor="#ff8f17"
+ android:textSize="12sp" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/toast_save_to_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/xy_quick_login_save_bg"
+ android:layout_gravity="center_vertical"
+ android:paddingBottom="8dp"
+ android:paddingLeft="8dp"
+ android:paddingRight="8dp"
+ android:paddingTop="8dp"
+ android:text="淇濆瓨鍒扮浉鍐�(5)"
+ android:textColor="@color/white"
+ android:textSize="12sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/game_ky/res/values-v11/styles.xml b/Project/ky_sdk/src/game_ky/res/values-v11/styles.xml
new file mode 100644
index 0000000..3c02242
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/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.Holo.Light">
+ <!-- API 11 theme customizations can go here. -->
+ </style>
+
+</resources>
diff --git a/Project/ky_sdk/src/game_ky/res/values-v14/styles.xml b/Project/ky_sdk/src/game_ky/res/values-v14/styles.xml
new file mode 100644
index 0000000..a91fd03
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/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/ky_sdk/src/game_ky/res/values/color.xml b/Project/ky_sdk/src/game_ky/res/values/color.xml
new file mode 100644
index 0000000..288ef52
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/values/color.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="red">#FF4500</color>
+ <color name="red2">#E70909</color>
+ <color name="red3">#ffEF420D</color>
+ <color name="gray">#ffbcbcbc</color>
+ <color name="gray2">#ff979797</color>
+ <color name="gray3">#ff6e6e6e</color>
+ <color name="gray4">#666666</color>
+ <color name="drak_gray">#ff606060</color>
+ <color name="yellow">#fffc6009</color>
+ <color name="yellow2">#ffff9320</color>
+ <color name="yellow3">#fff99720</color>
+ <color name="white">#FFFFFF</color>
+ <color name="white2">#fff5f5f5</color>
+ <color name="dark_purple">#FF843249</color>
+ <color name="light_black">#99000000</color>
+ <color name="light_black2">#7f000000</color>
+ <color name="light_black3">#787878</color>
+ <color name="pay_tab_text_color">#ff9e5200</color>
+ <color name="user_product_color">#ffCC9933</color>
+ <color name="black">#ff5d5d5d</color>
+ <color name="black2">#ffaaaaaa</color>
+ <color name="xieyi">#ff6000</color>
+ <color name="text_333">#333333</color>
+ <color name="text_666">#666666</color>
+ <color name="text_999">#999999</color>
+ <color name="text_4c">#4c4c4c</color>
+ <color name="mg_line">#f0f0f0</color>
+ <color name="background">#f8f8fa</color>
+ <color name="touming">#00000000</color>
+ <color name="btn_bg">#ff8f17</color>
+</resources>
diff --git a/Project/ky_sdk/src/game_ky/res/values/dimens.xml b/Project/ky_sdk/src/game_ky/res/values/dimens.xml
new file mode 100644
index 0000000..c07091f
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/values/dimens.xml
@@ -0,0 +1,8 @@
+<resources>
+
+ <!-- Default screen margins, per the Android Design guidelines. -->
+ <dimen name="activity_horizontal_margin">16dp</dimen>
+ <dimen name="activity_vertical_margin">16dp</dimen>
+
+ <dimen name="txt_size">17sp</dimen>
+</resources>
diff --git a/Project/ky_sdk/src/game_ky/res/values/strings.xml b/Project/ky_sdk/src/game_ky/res/values/strings.xml
new file mode 100644
index 0000000..e779745
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/values/strings.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">MG_SDK_SRC</string>
+ <string name="action_settings">Settings</string>
+ <string name="hello_world">Hello world!</string>
+ <string name="version_code">鐗堟湰鍙穃t</string>
+ <string name="close_to_select_other_account">鍏抽棴鍚庢瘡娆¤繘鍏ユ父鎴忔椂鍙噸鏂伴�夋嫨璐﹀彿鐧诲綍</string>
+ <string name="open_to_login_recent_account">寮�鍚悗灏嗚嚜鍔ㄤ娇鐢ㄦ渶杩戠櫥褰曟父鎴忕殑璐﹀彿杩涘叆娓告垙</string>
+ <string name="your_account_is">鎮ㄧ殑璐﹀彿涓猴細</string>
+ <string name="you_has_bind_phone">鎮ㄥ凡缁戝畾鎵嬫満,鍙�氳繃鎵嬫満鍙锋壘鍥炶处鍙峰拰瀵嗙爜,杩樺彲浠ョ洿鎺ヤ娇鐢ㄦ墜鏈哄彿鐧诲綍娓告垙</string>
+ <string name="if_changed_phone_to_account_center">濡傞渶淇敼鎵嬫満鍙凤紝璇峰墠寰�璐︽埛涓績璁剧疆</string>
+ <string name="account">璐﹀彿锛�</string>
+ <string name="phone_number">鎵嬫満鍙风爜锛�</string>
+ <string name="net_failure_tip">缃戠粶杩炴帴閿欒锛岃妫�鏌ョ綉缁�</string>
+ <string name="account_page_tip_qmqj">瀹㈡湇\n锛堝伐浣滄棩10-18鏃跺湪绾匡級</string>
+ <string name="account_page_tip_cqws">鐜╁浜ゆ祦缇� </string>
+ <string name="bind_success">缁戝畾鎴愬姛</string>
+ <string name="pay_failure">鏀粯澶辫触</string>
+ <string name="anti_addiction_verify_failed_tip">濮撳悕鎴栬韩浠借瘉鍙蜂笉姝g‘</string>
+ <string name="recharge_center">娓告垙鍏呭��</string>
+ <string name="select_pay_type">閫夋嫨鏀粯鏂瑰紡</string>
+ <string name="alipay">鏀粯瀹�</string>
+ <string name="wechat">寰俊</string>
+ <string name="qqPay">QQ閽卞寘</string>
+ <string name="confirm">纭</string>
+
+
+</resources>
diff --git a/Project/ky_sdk/src/game_ky/res/values/styles.xml b/Project/ky_sdk/src/game_ky/res/values/styles.xml
new file mode 100644
index 0000000..b98fe29
--- /dev/null
+++ b/Project/ky_sdk/src/game_ky/res/values/styles.xml
@@ -0,0 +1,138 @@
+<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="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
+
+ <!-- All customizations that are NOT specific to a particular API-level can go here. -->
+ <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:background">@android:color/transparent</item>
+ <item name="android:windowBackground">@android:color/transparent</item> <!-- 鑳屾櫙閫忔槑 -->
+ <item name="android:backgroundDimEnabled">false</item> <!-- 妯$硦 -->
+ </style>
+
+ <style name="pay_tab_style">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:layout_weight">1</item>
+ <item name="android:background">@drawable/pay_tab_bg_selector</item>
+ <item name="android:textColor">@color/pay_tab_text_color</item>
+ <item name="android:gravity">center</item>
+ <item name="android:button">@null</item>
+ </style>
+
+ <style name="recharge_card_pay_cardtype_style">
+ <item name="android:layout_width">80dp</item>
+ <item name="android:layout_height">35dp</item>
+ <item name="android:button">@null</item>
+ <item name="android:layout_marginRight">10dp</item>
+ </style>
+
+ <style name="customDialog" parent="@android:Theme.Dialog">
+ <item name="android:windowFrame">@null</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:background">@android:color/transparent</item>
+ <item name="android:windowCloseOnTouchOutside">false</item>
+ <item name="android:windowBackground">@android:color/transparent</item>
+ </style>
+
+ <style name="DialogActivityTheme" parent="@android:style/Theme.Dialog">
+ <item name="android:windowFrame">@android:color/transparent</item> <!-- 杈规 -->
+ <item name="android:windowIsFloating">true</item> <!-- 鏄惁娴幇鍦╝ctivity涔嬩笂 -->
+ <item name="android:windowIsTranslucent">true</item> <!-- 鍗婇�忔槑 -->
+ <item name="android:windowNoTitle">true</item> <!-- 鏃犳爣棰� -->
+ <item name="android:windowBackground">@android:color/transparent</item> <!-- 鑳屾櫙閫忔槑 -->
+ <item name="android:backgroundDimAmount">0.4</item> <!-- 閫忔槑搴� 0.0f鍒�1.0f涔嬮棿銆�1.0瀹屽叏涓嶉�忔槑锛�0.0f瀹屽叏閫忔槑 -->
+ <item name="android:windowAnimationStyle">@style/dialogAnim</item>
+ <item name="android:windowFullscreen">true</item>
+ <item name="android:windowCloseOnTouchOutside">true</item>
+ </style>
+
+ <style name="dialogAnim" mce_bogus="1" parent="android:Animation">
+ <item name="android:windowEnterAnimation">@anim/dialog_push_in</item>
+ <item name="android:windowExitAnimation">@anim/dialog_push_out</item>
+ </style>
+
+ <style name="PayDialogLinearContainer">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">40dp</item>
+ <item name="android:background">@android:color/white</item>
+ <item name="android:orientation">horizontal</item>
+ <item name="android:paddingLeft">20dp</item>
+ <item name="android:paddingRight">20dp</item>
+ <item name="android:gravity">center_vertical</item>
+ </style>
+ <style name="PayDialogTextViewStyle">
+ <item name="android:layout_width">0dp</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:layout_weight">1</item>
+ <item name="android:textColor">@color/black</item>
+ <item name="android:textSize">12sp</item>
+ <item name="android:gravity">center_vertical</item>
+ </style>
+ <!--鏂板Style-->
+ <style name="DialogActivity">
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:windowFrame">@null</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowIsFloating">false</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>
+
+ <style name="MyDialog" parent="android:style/Theme.Dialog">
+ <!--鑳屾櫙棰滆壊鍙婂拰閫忔槑绋嬪害-->
+ <item name="android:windowBackground">@color/touming</item>
+ <!--鏄惁鍘婚櫎鏍囬 -->
+ <item name="android:windowNoTitle">true</item>
+ <!--鏄惁鍘婚櫎杈规-->
+ <item name="android:windowFrame">@null</item>
+ <!--鏄惁娴幇鍦╝ctivity涔嬩笂-->
+ <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>
+
+ <style name="dialog_activity" parent="@android: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:backgroundDimEnabled">true</item>
+
+ <item name="android:windowContentOverlay">@null</item>
+
+ <item name="android:background">@android:color/transparent</item>
+
+ <item name="android:windowBackground">@android:color/transparent</item>
+
+ <item name="android:windowCloseOnTouchOutside">false</item>
+
+ </style>
+
+</resources>
diff --git a/Project/ky_sdk/src/main/AndroidManifest.xml b/Project/ky_sdk/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..6937799
--- /dev/null
+++ b/Project/ky_sdk/src/main/AndroidManifest.xml
@@ -0,0 +1,251 @@
+<?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">
+
+ <supports-screens
+ android:smallScreens="true"
+ android:normalScreens="true"
+ android:largeScreens="true"
+ android:resizeable="true"
+ android:anyDensity="true" />
+
+ <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.Black.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/ky_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java
new file mode 100644
index 0000000..d4e9b30
--- /dev/null
+++ b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/BatteryUtil.java
@@ -0,0 +1,124 @@
+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)
+ {
+ if (m_BatteryBroadCastReceiver != null)
+ {
+ try{
+ context.unregisterReceiver(m_BatteryBroadCastReceiver);
+ m_BatteryBroadCastReceiver = null;
+ }catch (IllegalArgumentException e)
+ {
+ if (!e.getMessage().contains("Receiver not registered"))
+ {
+ throw e;
+ }
+ }
+ }
+ }
+
+ 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/ky_sdk/src/main/java/com/secondworld/univeralsdk/CodeA2U.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CodeA2U.java
new file mode 100644
index 0000000..f74f976
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java
new file mode 100644
index 0000000..bd92cb7
--- /dev/null
+++ b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CodeU2A.java
@@ -0,0 +1,86 @@
+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;
+ public static final int SendRegistEvent = 500;
+ public static final int SendLoginEvent = 600;
+}
diff --git a/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CrashCatchUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/CrashCatchUtil.java
new file mode 100644
index 0000000..21f1d5c
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/DebugUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/DebugUtil.java
new file mode 100644
index 0000000..5e6da5d
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/FileUtil.java
new file mode 100644
index 0000000..9dbafb9
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/JPushReceiver.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/JPushReceiver.java
new file mode 100644
index 0000000..9ec4e3b
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/LogUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/LogUtil.java
new file mode 100644
index 0000000..f92fca1
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/MainActivity.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/MainActivity.java
new file mode 100644
index 0000000..0d75805
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/NotchPhoneUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/NotchPhoneUtil.java
new file mode 100644
index 0000000..6dac465
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/StaticDefine.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/StaticDefine.java
new file mode 100644
index 0000000..c53009b
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java
new file mode 100644
index 0000000..036232e
--- /dev/null
+++ b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniqueID.java
@@ -0,0 +1,234 @@
+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();
+ }
+ else
+ {
+ _deviceId = get(context);
+ }
+
+ if (_deviceId.length() != 0)
+ {
+ SharedPreferences.Editor _e = _sp.edit();
+ _e.putString(StaticDefine.LS_KEY_IMEI, _deviceId);
+ _e.apply();
+ }
+
+ return _deviceId;
+ }
+
+ 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/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java
new file mode 100644
index 0000000..e4ee07a
--- /dev/null
+++ b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/UniversalUtil.java
@@ -0,0 +1,455 @@
+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 synchronized String getAppName(Context context)
+ {
+ try
+ {
+ PackageManager packageManager = context.getPackageManager();
+ PackageInfo packageInfo = packageManager.getPackageInfo(
+ context.getPackageName(), 0);
+ int labelRes = packageInfo.applicationInfo.labelRes;
+ return context.getResources().getString(labelRes);
+ } catch (Exception 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/ky_sdk/src/main/java/com/secondworld/univeralsdk/WebViewUtil.java b/Project/ky_sdk/src/main/java/com/secondworld/univeralsdk/WebViewUtil.java
new file mode 100644
index 0000000..8c14377
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png b/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png
new file mode 100644
index 0000000..c9f4e4d
--- /dev/null
+++ b/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_back.png
Binary files differ
diff --git a/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png b/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png
new file mode 100644
index 0000000..f289651
--- /dev/null
+++ b/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_ic_richpush_actionbar_divider.png
Binary files differ
diff --git a/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_richpush_btn_selector.xml b/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_richpush_btn_selector.xml
new file mode 100644
index 0000000..c6dd002
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/drawable-hdpi/jpush_richpush_progressbar.xml b/Project/ky_sdk/src/main/res/drawable-hdpi/jpush_richpush_progressbar.xml
new file mode 100644
index 0000000..a1d9b8f
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/drawable/app_icon.png b/Project/ky_sdk/src/main/res/drawable/app_icon.png
new file mode 100644
index 0000000..9f03b9d
--- /dev/null
+++ b/Project/ky_sdk/src/main/res/drawable/app_icon.png
Binary files differ
diff --git a/Project/ky_sdk/src/main/res/drawable/web_btn_close_icon.png b/Project/ky_sdk/src/main/res/drawable/web_btn_close_icon.png
new file mode 100644
index 0000000..58e9256
--- /dev/null
+++ b/Project/ky_sdk/src/main/res/drawable/web_btn_close_icon.png
Binary files differ
diff --git a/Project/ky_sdk/src/main/res/layout/activity_main.xml b/Project/ky_sdk/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..cfbd6c2
--- /dev/null
+++ b/Project/ky_sdk/src/main/res/layout/activity_main.xml
@@ -0,0 +1,28 @@
+<?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:visibility="invisible" />
+
+</RelativeLayout>
\ No newline at end of file
diff --git a/Project/ky_sdk/src/main/res/layout/jpush_popwin_layout.xml b/Project/ky_sdk/src/main/res/layout/jpush_popwin_layout.xml
new file mode 100644
index 0000000..f43e478
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/layout/jpush_webview_layout.xml b/Project/ky_sdk/src/main/res/layout/jpush_webview_layout.xml
new file mode 100644
index 0000000..bebdd61
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/values/colors.xml b/Project/ky_sdk/src/main/res/values/colors.xml
new file mode 100644
index 0000000..3ab3e9c
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/values/jpush_style.xml b/Project/ky_sdk/src/main/res/values/jpush_style.xml
new file mode 100644
index 0000000..81dfdbb
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/values/strings.xml b/Project/ky_sdk/src/main/res/values/strings.xml
new file mode 100644
index 0000000..c17e5b3
--- /dev/null
+++ b/Project/ky_sdk/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+<resources>
+ <string name="app_name">UniveralSDK</string>
+</resources>
diff --git a/Project/ky_sdk/src/main/res/values/styles.xml b/Project/ky_sdk/src/main/res/values/styles.xml
new file mode 100644
index 0000000..ff6c9d2
--- /dev/null
+++ b/Project/ky_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/ky_sdk/src/main/res/xml/file_paths.xml b/Project/ky_sdk/src/main/res/xml/file_paths.xml
new file mode 100644
index 0000000..517ede7
--- /dev/null
+++ b/Project/ky_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