├── README.md ├── app ├── .gitignore ├── libs │ ├── ShareSDK-QQ-2.7.7.jar │ ├── ShareSDK-Core-2.7.7.jar │ ├── ShareSDK-QZone-2.7.7.jar │ ├── ShareSDK-Wechat-2.7.7.jar │ ├── MobCommons-2016.0830.1940.jar │ ├── MobTools-2016.0830.1940.jar │ ├── ShareSDK-SinaWeibo-2.7.7.jar │ ├── ShareSDK-Wechat-Core-2.7.7.jar │ └── ShareSDK-Wechat-Moments-2.7.7.jar ├── src │ ├── main │ │ ├── res │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── photo.jpg │ │ │ │ ├── ic_about.png │ │ │ │ ├── splash.jpg │ │ │ │ ├── btn_close.png │ │ │ │ ├── btn_signin.png │ │ │ │ ├── icon_cart.png │ │ │ │ ├── icon_order.png │ │ │ │ ├── icon_scan.png │ │ │ │ ├── icon_start.png │ │ │ │ ├── logo_title.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── icon_coupon.png │ │ │ │ ├── icon_follow.png │ │ │ │ ├── icon_message.png │ │ │ │ ├── icon_mobile.png │ │ │ │ ├── icon_password.png │ │ │ │ ├── icon_service.png │ │ │ │ ├── me_avatar_boy.png │ │ │ │ ├── me_settings.png │ │ │ │ ├── arrow_index_up.png │ │ │ │ ├── ic_chevron_dark.png │ │ │ │ ├── ic_menu_search.png │ │ │ │ ├── ic_share_wechat.png │ │ │ │ ├── signin_bg_night.png │ │ │ │ ├── arrow_index_down.png │ │ │ │ ├── ic_tab_gift_normal.png │ │ │ │ ├── ic_tab_home_normal.png │ │ │ │ ├── ic_holder_favourite.png │ │ │ │ ├── ic_share_sina_weibo.png │ │ │ │ ├── ic_share_tencent_qq.png │ │ │ │ ├── ic_tab_gift_selected.png │ │ │ │ ├── ic_tab_home_selected.png │ │ │ │ ├── ic_tab_select_normal.png │ │ │ │ ├── attendance_share_icon.png │ │ │ │ ├── ic_action_compact_share.png │ │ │ │ ├── ic_gift_card_tag_chose.png │ │ │ │ ├── ic_small_heart_normal.png │ │ │ │ ├── ic_small_heart_selected.png │ │ │ │ ├── ic_tab_category_normal.png │ │ │ │ ├── ic_tab_profile_normal.png │ │ │ │ ├── ic_tab_profile_selected.png │ │ │ │ ├── ic_tab_select_selected.png │ │ │ │ ├── ic_tab_category_selected.png │ │ │ │ └── nav_bar_icon_search_dark.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── ssdk_logo.png │ │ │ │ ├── ssdk_back_arr.png │ │ │ │ ├── ssdk_title_div.png │ │ │ │ ├── ssdk_oks_classic_qq.png │ │ │ │ ├── ssdk_auth_title_back.png │ │ │ │ ├── ssdk_oks_classic_email.png │ │ │ │ ├── ssdk_oks_classic_line.png │ │ │ │ ├── ssdk_oks_classic_qzone.png │ │ │ │ ├── ssdk_oks_classic_yixin.png │ │ │ │ ├── ssdk_oks_classic_alipay.png │ │ │ │ ├── ssdk_oks_classic_douban.png │ │ │ │ ├── ssdk_oks_classic_dropbox.png │ │ │ │ ├── ssdk_oks_classic_flickr.png │ │ │ │ ├── ssdk_oks_classic_kaixin.png │ │ │ │ ├── ssdk_oks_classic_laiwang.png │ │ │ │ ├── ssdk_oks_classic_mingdao.png │ │ │ │ ├── ssdk_oks_classic_pocket.png │ │ │ │ ├── ssdk_oks_classic_renren.png │ │ │ │ ├── ssdk_oks_classic_tumblr.png │ │ │ │ ├── ssdk_oks_classic_twitter.png │ │ │ │ ├── ssdk_oks_classic_wechat.png │ │ │ │ ├── ssdk_oks_classic_youdao.png │ │ │ │ ├── ssdk_oks_classic_bluetooth.png │ │ │ │ ├── ssdk_oks_classic_evernote.png │ │ │ │ ├── ssdk_oks_classic_facebook.png │ │ │ │ ├── ssdk_oks_classic_foursquare.png │ │ │ │ ├── ssdk_oks_classic_googleplus.png │ │ │ │ ├── ssdk_oks_classic_instagram.png │ │ │ │ ├── ssdk_oks_classic_instapaper.png │ │ │ │ ├── ssdk_oks_classic_kakaostory.png │ │ │ │ ├── ssdk_oks_classic_kakaotalk.png │ │ │ │ ├── ssdk_oks_classic_linkedin.png │ │ │ │ ├── ssdk_oks_classic_pinterest.png │ │ │ │ ├── ssdk_oks_classic_sinaweibo.png │ │ │ │ ├── ssdk_oks_classic_vkontakte.png │ │ │ │ ├── ssdk_oks_classic_whatsapp.png │ │ │ │ ├── ssdk_oks_classic_shortmessage.png │ │ │ │ ├── ssdk_oks_classic_tencentweibo.png │ │ │ │ ├── ssdk_oks_classic_yixinmoments.png │ │ │ │ ├── ssdk_oks_classic_check_checked.png │ │ │ │ ├── ssdk_oks_classic_check_default.png │ │ │ │ ├── ssdk_oks_classic_laiwangmoments.png │ │ │ │ ├── ssdk_oks_classic_wechatfavorite.png │ │ │ │ ├── ssdk_oks_classic_wechatmoments.png │ │ │ │ └── ssdk_oks_classic_facebookmessenger.png │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── arrow_index_up.png │ │ │ │ ├── ic_more_about.png │ │ │ │ ├── btn_delete_grey.png │ │ │ │ ├── ic_chevron_dark.png │ │ │ │ ├── ic_more_feedback.png │ │ │ │ ├── more_icon_score.png │ │ │ │ ├── ic_share_hyperlink.png │ │ │ │ ├── icon_more_identify.png │ │ │ │ ├── ic_default_like_list.png │ │ │ │ ├── ic_more_action_share.png │ │ │ │ ├── ic_more_notification.png │ │ │ │ ├── abc_ic_ab_back_holo_dark.png │ │ │ │ ├── icon_more_mobile_service.png │ │ │ │ ├── ic_more_action_check_update.png │ │ │ │ └── ic_more_action_clean_cache.png │ │ │ ├── drawable-hdpi │ │ │ │ └── ssdk_oks_ptr_ptr.png │ │ │ ├── drawable │ │ │ │ ├── file_name_hot.xml │ │ │ │ ├── dot_focus.xml │ │ │ │ ├── dot_normal.xml │ │ │ │ ├── list_item_bg.xml │ │ │ │ ├── text_color.xml │ │ │ │ ├── ssdk_oks_classic_platform_cell_back.xml │ │ │ │ ├── textview_bg.xml │ │ │ │ ├── file_home_name.xml │ │ │ │ ├── hotspot.xml │ │ │ │ ├── my.xml │ │ │ │ ├── file_name.xml │ │ │ │ ├── classification.xml │ │ │ │ ├── single_underline.xml │ │ │ │ ├── me_underline.xml │ │ │ │ ├── file__edit_name.xml │ │ │ │ ├── file_name2.xml │ │ │ │ ├── home.xml │ │ │ │ └── ssdk_oks_classic_progressbar.xml │ │ │ ├── layout │ │ │ │ ├── fragment_raiders.xml │ │ │ │ ├── header.xml │ │ │ │ ├── fragment_sub.xml │ │ │ │ ├── tab_item.xml │ │ │ │ ├── activity_push.xml │ │ │ │ ├── activity_home_item.xml │ │ │ │ ├── recommend_header.xml │ │ │ │ ├── item_home_image.xml │ │ │ │ ├── item_originality_image.xml │ │ │ │ ├── refresh_home_select.xml │ │ │ │ ├── activity_recommenditem.xml │ │ │ │ ├── item_popup.xml │ │ │ │ ├── fragment_originality.xml │ │ │ │ ├── home_search.xml │ │ │ │ ├── fragment_find.xml │ │ │ │ ├── item_image.xml │ │ │ │ ├── select_raider_layout.xml │ │ │ │ ├── activity_welcom.xml │ │ │ │ ├── item_right_single_group.xml │ │ │ │ ├── all.xml │ │ │ │ ├── fragment_top.xml │ │ │ │ ├── simple_item.xml │ │ │ │ ├── fragment_home_select.xml │ │ │ │ ├── fragment_recommend.xml │ │ │ │ ├── fragment_new_star.xml │ │ │ │ ├── item_left_single.xml │ │ │ │ ├── fragment_hotspot.xml │ │ │ │ ├── expendlist_item.xml │ │ │ │ ├── hotspottitle.xml │ │ │ │ ├── item_record.xml │ │ │ │ ├── setting_dialog.xml │ │ │ │ ├── fragment_single.xml │ │ │ │ ├── item_recommend.xml │ │ │ │ ├── item_top.xml │ │ │ │ ├── item_newstar.xml │ │ │ │ ├── expendlist_group.xml │ │ │ │ ├── fragment_classify.xml │ │ │ │ ├── popup_window.xml │ │ │ │ ├── hometitle.xml │ │ │ │ ├── fragment_home.xml │ │ │ │ ├── activity_strategy_item.xml │ │ │ │ ├── raider_header_item.xml │ │ │ │ ├── vp_home_image.xml │ │ │ │ ├── raider_header_layout.xml │ │ │ │ ├── activity_home_image_item.xml │ │ │ │ ├── activity_home_image_two.xml │ │ │ │ ├── activity_home_image_four.xml │ │ │ │ ├── activity_home_image_one.xml │ │ │ │ ├── item_home_image_five.xml │ │ │ │ ├── activity_home_image_three.xml │ │ │ │ ├── item_home_select.xml │ │ │ │ ├── item_home_kind.xml │ │ │ │ └── activity_start_main.xml │ │ │ ├── values │ │ │ │ ├── ssdk_oks_color_drawables.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── ssdk_oks_strings.xml │ │ │ │ ├── styles.xml │ │ │ │ ├── strings.xml │ │ │ │ └── ssdk_instapaper_strings.xml │ │ │ ├── anim │ │ │ │ ├── hidden_action.xml │ │ │ │ └── show_action.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ └── values-en │ │ │ │ └── ssdk_oks_strings.xml │ │ └── java │ │ │ ├── com │ │ │ └── example │ │ │ │ └── dllo │ │ │ │ └── giftssayingapp │ │ │ │ ├── me │ │ │ │ ├── MeMainAdapter.java │ │ │ │ ├── PushActivity.java │ │ │ │ ├── SubFragment.java │ │ │ │ ├── RaidersFragment.java │ │ │ │ ├── FeedBackActivity.java │ │ │ │ └── MeMainFragment.java │ │ │ │ ├── hotspot │ │ │ │ ├── originality │ │ │ │ │ ├── OnListViewItemClick.java │ │ │ │ │ └── OnListViewItemRightClick.java │ │ │ │ └── main │ │ │ │ │ ├── OnItemClickListener.java │ │ │ │ │ ├── HotSpotMainAdapter.java │ │ │ │ │ └── ItemActivity.java │ │ │ │ ├── netrequest │ │ │ │ ├── VolleyApp.java │ │ │ │ └── VolleySingleton.java │ │ │ │ ├── tools │ │ │ │ ├── GiftsSearchHelper.java │ │ │ │ └── JsonUtil.java │ │ │ │ ├── base │ │ │ │ ├── BaseActivity.java │ │ │ │ ├── BaseFragment.java │ │ │ │ └── URLValues.java │ │ │ │ ├── classify │ │ │ │ └── main │ │ │ │ │ └── ClassifyMainAdapter.java │ │ │ │ ├── main │ │ │ │ └── WelcomActivity.java │ │ │ │ ├── bean │ │ │ │ ├── HomeNameBean.java │ │ │ │ └── HomeQueryBean.java │ │ │ │ └── home │ │ │ │ ├── main │ │ │ │ ├── HomeMainAdapter.java │ │ │ │ └── PopupAdapter.java │ │ │ │ └── selection │ │ │ │ ├── HomeImageAdapter.java │ │ │ │ └── HomeItemActivity.java │ │ │ └── cn │ │ │ └── sharesdk │ │ │ ├── onekeyshare │ │ │ ├── CustomerLogo.java │ │ │ ├── ShareContentCustomizeCallback.java │ │ │ ├── themes │ │ │ │ └── classic │ │ │ │ │ ├── RotateImageView.java │ │ │ │ │ ├── port │ │ │ │ │ ├── PlatformPagePort.java │ │ │ │ │ └── FriendListPagePort.java │ │ │ │ │ ├── land │ │ │ │ │ ├── PlatformPageLand.java │ │ │ │ │ ├── FriendListPageLand.java │ │ │ │ │ └── PlatformPageAdapterLand.java │ │ │ │ │ ├── XView.java │ │ │ │ │ ├── PicViewerPage.java │ │ │ │ │ ├── ClassicTheme.java │ │ │ │ │ └── IndicatorView.java │ │ │ ├── OnekeyShareTheme.java │ │ │ └── OnekeySharePage.java │ │ │ └── demo │ │ │ └── wxapi │ │ │ └── WXEntryActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── dllo │ │ │ └── giftssayingapp │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── dllo │ │ └── giftssayingapp │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── header ├── .gitignore ├── gradle.properties ├── src │ └── main │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── taurus_flyplane ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── colors.xml │ │ │ ├── drawable-hdpi │ │ │ │ ├── airplane.png │ │ │ │ ├── clouds_left.png │ │ │ │ ├── clouds_center.png │ │ │ │ └── clouds_right.png │ │ │ ├── drawable-mdpi │ │ │ │ ├── airplane.png │ │ │ │ ├── clouds_left.png │ │ │ │ ├── clouds_center.png │ │ │ │ └── clouds_right.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── airplane.png │ │ │ │ ├── clouds_left.png │ │ │ │ ├── clouds_right.png │ │ │ │ └── clouds_center.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── airplane.png │ │ │ │ ├── clouds_left.png │ │ │ │ ├── clouds_center.png │ │ │ │ └── clouds_right.png │ │ │ └── drawable-xxxhdpi │ │ │ │ ├── airplane.png │ │ │ │ ├── clouds_center.png │ │ │ │ ├── clouds_left.png │ │ │ │ └── clouds_right.png │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── tellh │ │ │ └── taurus_flyplane │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── tellh │ │ └── taurus_flyplane │ │ └── ApplicationTest.java ├── build.gradle └── proguard-rules.pro ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── PullToRefresh ├── src │ └── main │ │ ├── res │ │ ├── drawable-hdpi │ │ │ ├── heart.png │ │ │ ├── box_01.png │ │ │ ├── box_02.png │ │ │ ├── box_03.png │ │ │ ├── box_04.png │ │ │ └── box_05.png │ │ ├── values │ │ │ ├── ids.xml │ │ │ ├── dimens.xml │ │ │ └── pull_refresh_strings.xml │ │ ├── values-zh │ │ │ └── pull_refresh_strings.xml │ │ ├── values-ja │ │ │ └── pull_refresh_strings.xml │ │ ├── values-ko │ │ │ └── pull_refresh_strings.xml │ │ ├── values-ar │ │ │ └── pull_refresh_strings.xml │ │ ├── values-he │ │ │ └── pull_refresh_strings.xml │ │ ├── values-iw │ │ │ └── pull_refresh_strings.xml │ │ ├── values-cs │ │ │ └── pull_refresh_strings.xml │ │ ├── values-es │ │ │ └── pull_refresh_strings.xml │ │ ├── values-it │ │ │ └── pull_refresh_strings.xml │ │ ├── values-nl │ │ │ └── pull_refresh_strings.xml │ │ ├── values-pl │ │ │ └── pull_refresh_strings.xml │ │ ├── values-pt-rBR │ │ │ └── pull_refresh_strings.xml │ │ ├── values-pt │ │ │ └── pull_refresh_strings.xml │ │ ├── values-de │ │ │ └── pull_refresh_strings.xml │ │ ├── values-fr │ │ │ └── pull_refresh_strings.xml │ │ ├── values-ru │ │ │ └── pull_refresh_strings.xml │ │ ├── values-ro │ │ │ └── pull_refresh_strings.xml │ │ ├── drawable │ │ │ ├── refresh_two.xml │ │ │ ├── indicator_bg_bottom.xml │ │ │ └── refresh.xml │ │ ├── values-fi │ │ │ └── pull_refresh_strings.xml │ │ ├── anim │ │ │ ├── slide_in_from_bottom.xml │ │ │ ├── slide_in_from_top.xml │ │ │ ├── slide_out_to_bottom.xml │ │ │ └── slide_out_to_top.xml │ │ └── layout │ │ │ ├── pull_to_refresh_header_horizontal.xml │ │ │ └── pull_to_refresh_header_vertical.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── handmark │ │ └── pulltorefresh │ │ └── library │ │ ├── internal │ │ ├── Utils.java │ │ ├── EmptyViewMethodAccessor.java │ │ └── ViewCompat.java │ │ ├── ILoadingLayout.java │ │ └── LoadingLayoutProxy.java └── build.gradle ├── .gitignore ├── gradle.properties └── import-summary.txt /README.md: -------------------------------------------------------------------------------- 1 | # GiftsSayingApp -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /header/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /taurus_flyplane/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | include ':PullToRefresh' 3 | -------------------------------------------------------------------------------- /app/libs/ShareSDK-QQ-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/ShareSDK-QQ-2.7.7.jar -------------------------------------------------------------------------------- /header/gradle.properties: -------------------------------------------------------------------------------- 1 | POM_NAME=RecyclerViewHeader Library 2 | POM_ARTIFACT_ID=recyclerviewheader2 3 | POM_PACKAGING=aar -------------------------------------------------------------------------------- /app/libs/ShareSDK-Core-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/ShareSDK-Core-2.7.7.jar -------------------------------------------------------------------------------- /app/libs/ShareSDK-QZone-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/ShareSDK-QZone-2.7.7.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/libs/ShareSDK-Wechat-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/ShareSDK-Wechat-2.7.7.jar -------------------------------------------------------------------------------- /app/libs/MobCommons-2016.0830.1940.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/MobCommons-2016.0830.1940.jar -------------------------------------------------------------------------------- /app/libs/MobTools-2016.0830.1940.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/MobTools-2016.0830.1940.jar -------------------------------------------------------------------------------- /app/libs/ShareSDK-SinaWeibo-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/ShareSDK-SinaWeibo-2.7.7.jar -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Taurus_flyPlane 3 | 4 | -------------------------------------------------------------------------------- /app/libs/ShareSDK-Wechat-Core-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/ShareSDK-Wechat-Core-2.7.7.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/photo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/photo.jpg -------------------------------------------------------------------------------- /app/libs/ShareSDK-Wechat-Moments-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/libs/ShareSDK-Wechat-Moments-2.7.7.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_about.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/splash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/splash.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_logo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/btn_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/btn_close.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/btn_signin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/btn_signin.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_cart.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_order.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_scan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_scan.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_start.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/logo_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/logo_title.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_coupon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_coupon.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_follow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_follow.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_message.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_mobile.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_password.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/icon_service.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/me_avatar_boy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/me_avatar_boy.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/me_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/me_settings.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable-hdpi/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/PullToRefresh/src/main/res/drawable-hdpi/heart.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_back_arr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_back_arr.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_title_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_title_div.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/arrow_index_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/arrow_index_up.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_chevron_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_chevron_dark.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_menu_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_menu_search.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_share_wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_share_wechat.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/signin_bg_night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/signin_bg_night.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/arrow_index_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/arrow_index_up.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_more_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_more_about.png -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable-hdpi/box_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/PullToRefresh/src/main/res/drawable-hdpi/box_01.png -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable-hdpi/box_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/PullToRefresh/src/main/res/drawable-hdpi/box_02.png -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable-hdpi/box_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/PullToRefresh/src/main/res/drawable-hdpi/box_03.png -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable-hdpi/box_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/PullToRefresh/src/main/res/drawable-hdpi/box_04.png -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable-hdpi/box_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/PullToRefresh/src/main/res/drawable-hdpi/box_05.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ssdk_oks_ptr_ptr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-hdpi/ssdk_oks_ptr_ptr.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/arrow_index_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/arrow_index_down.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_gift_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_gift_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_home_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_home_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/btn_delete_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/btn_delete_grey.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_chevron_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_chevron_dark.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_more_feedback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_more_feedback.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/more_icon_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/more_icon_score.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_qq.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/file_name_hot.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_holder_favourite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_holder_favourite.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_share_sina_weibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_share_sina_weibo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_share_tencent_qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_share_tencent_qq.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_gift_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_gift_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_home_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_home_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_select_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_select_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_share_hyperlink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_share_hyperlink.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/icon_more_identify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/icon_more_identify.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-hdpi/airplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-hdpi/airplane.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-mdpi/airplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-mdpi/airplane.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #228FC1 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_auth_title_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_auth_title_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_email.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_line.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_qzone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_qzone.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_yixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_yixin.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/attendance_share_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/attendance_share_icon.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_action_compact_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_action_compact_share.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_gift_card_tag_chose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_gift_card_tag_chose.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_small_heart_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_small_heart_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_small_heart_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_small_heart_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_category_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_category_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_profile_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_profile_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_profile_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_profile_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_select_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_select_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_default_like_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_default_like_list.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_more_action_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_more_action_share.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_more_notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_more_notification.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-hdpi/clouds_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-hdpi/clouds_left.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-mdpi/clouds_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-mdpi/clouds_left.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xhdpi/airplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xhdpi/airplane.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxhdpi/airplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxhdpi/airplane.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxxhdpi/airplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxxhdpi/airplane.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_alipay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_alipay.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_douban.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_douban.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_dropbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_dropbox.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_flickr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_flickr.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_kaixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_kaixin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_laiwang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_laiwang.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_mingdao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_mingdao.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_pocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_pocket.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_renren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_renren.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_tumblr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_tumblr.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_twitter.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_wechat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_youdao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_youdao.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_tab_category_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/ic_tab_category_selected.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/nav_bar_icon_search_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxhdpi/nav_bar_icon_search_dark.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/abc_ic_ab_back_holo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/abc_ic_ab_back_holo_dark.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/icon_more_mobile_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/icon_more_mobile_service.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-hdpi/clouds_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-hdpi/clouds_center.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-hdpi/clouds_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-hdpi/clouds_right.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-mdpi/clouds_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-mdpi/clouds_center.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-mdpi/clouds_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-mdpi/clouds_right.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xhdpi/clouds_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xhdpi/clouds_left.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xhdpi/clouds_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xhdpi/clouds_right.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxhdpi/clouds_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxhdpi/clouds_left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_bluetooth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_bluetooth.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_evernote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_evernote.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_facebook.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_foursquare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_foursquare.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_googleplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_googleplus.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_instagram.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_instapaper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_instapaper.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_kakaostory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_kakaostory.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_kakaotalk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_kakaotalk.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_linkedin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_pinterest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_pinterest.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_sinaweibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_sinaweibo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_vkontakte.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_vkontakte.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_whatsapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_whatsapp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_more_action_check_update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_more_action_check_update.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_more_action_clean_cache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_more_action_clean_cache.png -------------------------------------------------------------------------------- /header/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xhdpi/clouds_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xhdpi/clouds_center.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxhdpi/clouds_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxhdpi/clouds_center.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxhdpi/clouds_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxhdpi/clouds_right.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxxhdpi/clouds_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxxhdpi/clouds_center.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxxhdpi/clouds_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxxhdpi/clouds_left.png -------------------------------------------------------------------------------- /taurus_flyplane/src/main/res/drawable-xxxhdpi/clouds_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/taurus_flyplane/src/main/res/drawable-xxxhdpi/clouds_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_shortmessage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_shortmessage.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_tencentweibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_tencentweibo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_yixinmoments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_yixinmoments.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_check_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_check_checked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_check_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_check_default.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_laiwangmoments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_laiwangmoments.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_wechatfavorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_wechatfavorite.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_wechatmoments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_wechatmoments.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ssdk_oks_classic_facebookmessenger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jingyingfei/GiftsSayingApp/HEAD/app/src/main/res/drawable-xhdpi/ssdk_oks_classic_facebookmessenger.png -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/me/MeMainAdapter.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.me; 2 | 3 | /** 4 | * Created by dllo on 16/9/26. 5 | */ 6 | public class MeMainAdapter { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /taurus_flyplane/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values/ids.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/dot_focus.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/dot_normal.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/hotspot/originality/OnListViewItemClick.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.hotspot.originality; 2 | 3 | /** 4 | * Created by dllo on 16/10/9. 5 | */ 6 | public interface OnListViewItemClick { 7 | void click(int itemPosition); 8 | } 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_raiders.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/ssdk_oks_color_drawables.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ffffffff 4 | #ffeeeeee 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 30dp 5 | 10sp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/hotspot/originality/OnListViewItemRightClick.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.hotspot.originality; 2 | 3 | /** 4 | * Created by dllo on 16/10/10. 5 | */ 6 | public interface OnListViewItemRightClick { 7 | void rightClick(int rightPosition); 8 | } 9 | -------------------------------------------------------------------------------- /app/src/main/res/anim/hidden_action.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/show_action.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-zh/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 下拉刷新… 4 | 放开以刷新… 5 | 正在载入… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-ja/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 画面を引っ張って… 4 | 指を離して更新… 5 | 読み込み中… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-ko/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 당겨서 새로 고침… 4 | 놓아서 새로 고침… 5 | 로드 중… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-ar/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | اسحب للتحديث… 4 | اترك للتحديث… 5 | تحميل… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-he/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | משוך לרענון… 4 | שחרר לרענון… 5 | טוען… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-iw/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | משוך לרענון… 4 | שחרר לרענון… 5 | טוען… 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/hotspot/main/OnItemClickListener.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.hotspot.main; 2 | 3 | import android.view.View; 4 | 5 | /** 6 | * Created by dllo on 16/10/8. 7 | */ 8 | public interface OnItemClickListener { 9 | void OnItemClickListener(View view, int position); 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/list_item_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-cs/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tažením aktualizujete… 4 | Uvolněním aktualizujete… 5 | Načítání… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-es/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tirar para actualizar… 4 | Soltar para actualizar… 5 | Cargando… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-it/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tira per aggiornare… 4 | Rilascia per aggionare… 5 | Caricamento… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-nl/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sleep om te vernieuwen… 4 | Loslaten om te vernieuwen… 5 | Laden… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-pl/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Pociągnij, aby odświeżyć… 4 | Puść, aby odświeżyć… 5 | Wczytywanie… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-pt-rBR/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Puxe para atualizar… 4 | Libere para atualizar… 5 | Carregando… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-pt/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Puxe para atualizar… 4 | Liberação para atualizar… 5 | A carregar… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-de/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Ziehen zum Aktualisieren… 4 | Loslassen zum Aktualisieren… 5 | Laden… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-fr/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tirez pour rafraîchir… 4 | Relâcher pour rafraîchir… 5 | Chargement… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-ru/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Потяните для обновления… 4 | Отпустите для обновления… 5 | Загрузка… 6 | 7 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-ro/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Trage pentru a reîmprospăta… 4 | Eliberează pentru a reîmprospăta… 5 | Încărcare… 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/text_color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ssdk_oks_classic_platform_cell_back.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/textview_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/header.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_sub.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout/tab_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10dp 5 | 12dp 6 | 4dp 7 | 24dp 8 | 12dp 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_push.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/dllo/giftssayingapp/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /taurus_flyplane/src/test/java/com/tellh/taurus_flyplane/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.tellh.taurus_flyplane; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/recommend_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #FF4081 5 | #FF4081 6 | #808080 7 | #ffffff 8 | #ff384f 9 | #0000ff 10 | 11 | -------------------------------------------------------------------------------- /PullToRefresh/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 16 5 | buildToolsVersion "19.1.0" 6 | 7 | defaultConfig { 8 | minSdkVersion 4 9 | targetSdkVersion 4 10 | } 11 | 12 | buildTypes { 13 | release { 14 | minifyEnabled false 15 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_home_image.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_originality_image.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/Utils.java: -------------------------------------------------------------------------------- 1 | package com.handmark.pulltorefresh.library.internal; 2 | 3 | import android.util.Log; 4 | 5 | public class Utils { 6 | 7 | static final String LOG_TAG = "PullToRefresh"; 8 | 9 | public static void warnDeprecation(String depreacted, String replacement) { 10 | Log.w(LOG_TAG, "You're using the deprecated " + depreacted + " attr, please switch over to " + replacement); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/refresh_home_select.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 10 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/dllo/giftssayingapp/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_recommenditem.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | -------------------------------------------------------------------------------- /taurus_flyplane/src/androidTest/java/com/tellh/taurus_flyplane/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.tellh.taurus_flyplane; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/file_home_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/hotspot.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/my.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_popup.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_originality.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/file_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 10 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/classification.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/layout/home_search.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_find.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_image.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/select_raider_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/me/PushActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.me; 2 | 3 | import com.example.dllo.giftssayingapp.R; 4 | import com.example.dllo.giftssayingapp.base.BaseActivity; 5 | 6 | public class PushActivity extends BaseActivity { 7 | 8 | @Override 9 | protected int setLayout() { 10 | return R.layout.activity_push; 11 | } 12 | 13 | @Override 14 | protected void initView() { 15 | 16 | } 17 | 18 | @Override 19 | protected void initData() { 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/single_underline.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_welcom.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_right_single_group.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/all.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/netrequest/VolleyApp.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.netrequest; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | 6 | /** 7 | * Created by dllo on 16/9/20. 8 | */ 9 | public class VolleyApp extends Application { 10 | private static Context mContext; 11 | 12 | @Override 13 | public void onCreate() { 14 | super.onCreate(); 15 | mContext = this; 16 | } 17 | public static Context getContext(){ 18 | return mContext; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/me_underline.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/CustomerLogo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare; 10 | 11 | import android.graphics.Bitmap; 12 | import android.view.View.OnClickListener; 13 | 14 | /** 九宫格自定义的图标对象 */ 15 | public class CustomerLogo { 16 | public String label; 17 | public Bitmap logo; 18 | public OnClickListener listener; 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/file__edit_name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 11 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/simple_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/me/SubFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.me; 2 | 3 | import com.example.dllo.giftssayingapp.R; 4 | import com.example.dllo.giftssayingapp.base.BaseFragment; 5 | 6 | /** 7 | * Created by dllo on 16/9/26. 8 | */ 9 | public class SubFragment extends BaseFragment { 10 | @Override 11 | protected int setLayout() { 12 | return R.layout.fragment_sub; 13 | } 14 | 15 | @Override 16 | protected void initView() { 17 | 18 | } 19 | 20 | @Override 21 | protected void initData() { 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_home_select.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/me/RaidersFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.me; 2 | 3 | import com.example.dllo.giftssayingapp.R; 4 | import com.example.dllo.giftssayingapp.base.BaseFragment; 5 | 6 | /** 7 | * Created by dllo on 16/9/26. 8 | */ 9 | public class RaidersFragment extends BaseFragment { 10 | @Override 11 | protected int setLayout() { 12 | return R.layout.fragment_raiders; 13 | } 14 | 15 | @Override 16 | protected void initView() { 17 | 18 | } 19 | 20 | @Override 21 | protected void initData() { 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/file_name2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 10 | 13 | 14 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/ShareContentCustomizeCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare; 10 | 11 | import cn.sharesdk.framework.Platform; 12 | import cn.sharesdk.framework.Platform.ShareParams; 13 | 14 | /** 自定义不同平台分享不同内容的接口 */ 15 | public interface ShareContentCustomizeCallback { 16 | 17 | public void onShare(Platform platform, ShareParams paramsToShare); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_recommend.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_new_star.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the ART/Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | out/ 15 | 16 | # Gradle files 17 | .gradle/ 18 | build/ 19 | 20 | # Local configuration file (sdk path, etc) 21 | local.properties 22 | 23 | # Proguard folder generated by Eclipse 24 | proguard/ 25 | 26 | # Log Files 27 | *.log 28 | 29 | # Android Studio Navigation editor temp files 30 | .navigation/ 31 | 32 | # Android Studio captures folder 33 | captures/ 34 | 35 | # Intellij 36 | *.iml 37 | .idea/workspace.xml 38 | 39 | # Keystore files 40 | *.jks 41 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/home.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable/refresh_two.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 9 | 11 | 13 | 15 | -------------------------------------------------------------------------------- /taurus_flyplane/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion "23.0.2" 6 | 7 | defaultConfig { 8 | minSdkVersion 14 9 | targetSdkVersion 23 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | compile fileTree(dir: 'libs', include: ['*.jar']) 23 | testCompile 'junit:junit:4.12' 24 | compile 'com.android.support:appcompat-v7:23.1.1' 25 | } 26 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable/indicator_bg_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 11 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_left_single.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | -------------------------------------------------------------------------------- /header/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Applications/ADT/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/drawable/refresh.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/dllo/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /taurus_flyplane/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\AndroidStudio\Android\AndroidStudio/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /header/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | 4 | 5 | android { 6 | compileSdkVersion 24 7 | buildToolsVersion "24.0.1" 8 | 9 | defaultConfig { 10 | 11 | minSdkVersion 19 12 | targetSdkVersion 24 13 | versionCode 1 14 | versionName "1.0" 15 | } 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 20 | } 21 | } 22 | lintOptions { 23 | abortOnError false 24 | } 25 | } 26 | 27 | dependencies { 28 | compile fileTree(dir: 'libs', include: ['*.jar']) 29 | compile 'com.android.support:recyclerview-v7:24.1.1' 30 | } 31 | 32 | //apply from: '../gradle-mvn-push.gradle' -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_hotspot.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 14 | 15 | 16 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/values/ssdk_oks_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 分享 4 | 分享操作正在后台进行… 5 | 分享失败 6 | 分享成功 7 | 分享已取消 8 | 取消 9 | 图文分享 10 | 确定 11 | 联系人 12 | 下拉刷新 13 | 松开刷新 14 | 刷新中… 15 | 16 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Pull to refresh… 5 | Release to refresh… 6 | Loading… 7 | 8 | 9 | @string/pull_to_refresh_pull_label 10 | @string/pull_to_refresh_release_label 11 | @string/pull_to_refresh_refreshing_label 12 | 13 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/values-fi/pull_refresh_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Päivitä vetämällä alas… 5 | Päivitä vapauttamalla… 6 | Päivitetään… 7 | 8 | 9 | Päivitä vetämällä ylös… 10 | @string/pull_to_refresh_release_label 11 | @string/pull_to_refresh_refreshing_label 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ssdk_oks_classic_progressbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/expendlist_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 13 | 14 | 15 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/tools/GiftsSearchHelper.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.tools; 2 | 3 | import android.content.Context; 4 | import android.database.sqlite.SQLiteDatabase; 5 | import android.database.sqlite.SQLiteOpenHelper; 6 | 7 | /** 8 | * Created by dllo on 16/8/25. 9 | */ 10 | public class GiftsSearchHelper extends SQLiteOpenHelper { 11 | 12 | public GiftsSearchHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version) { 13 | super(context, name, factory, version); 14 | } 15 | 16 | @Override 17 | public void onCreate(SQLiteDatabase sqLiteDatabase) { 18 | sqLiteDatabase.execSQL("create table search(id integer primary key autoincrement, name text)"); 19 | } 20 | 21 | @Override 22 | public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) { 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/hotspottitle.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_record.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | 14 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/setting_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 18 | 19 | 23 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | GiftsSayingApp 3 | 海淘宝典 4 | 攻略详情 5 | 攻略详情 6 | 攻略详情 7 | [一个] 8 | 取消 9 | 大家都在搜 10 | 切换频道 11 | 我搜过的 12 | 拨打礼物说客服电话 13 | 客服时间: 周一至周五 14 | 9:00 - 18:00 15 | 首页 16 | 榜单 17 | 分类 18 | 我的 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/values-en/ssdk_oks_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Share 4 | Sharing operation is working in the background… 5 | Operation failed 6 | Operation succeeded 7 | Operation canceled 8 | Cancel 9 | Photo Sharing 10 | Confirm 11 | Contacts 12 | Pull down to refresh 13 | Release to refresh 14 | Refreshing… 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/RotateImageView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic; 10 | 11 | import android.content.Context; 12 | import android.graphics.Canvas; 13 | import android.widget.ImageView; 14 | 15 | /** 在At好友页面中,下拉刷新列表头部的旋转箭头 */ 16 | public class RotateImageView extends ImageView { 17 | private float rotation; 18 | 19 | public RotateImageView(Context context) { 20 | super(context); 21 | } 22 | 23 | public void setRotation(float rotation) { 24 | this.rotation = rotation; 25 | invalidate(); 26 | } 27 | 28 | protected void onDraw(Canvas canvas) { 29 | canvas.rotate(rotation, getWidth() / 2, getHeight() / 2); 30 | super.onDraw(canvas); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/anim/slide_in_from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 22 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/anim/slide_in_from_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 22 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/anim/slide_out_to_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 22 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/anim/slide_out_to_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/base/BaseActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.base; 2 | 3 | import android.os.Bundle; 4 | import android.support.annotation.Nullable; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.view.View; 7 | 8 | /** 9 | * Created by dllo on 16/9/19. 10 | */ 11 | public abstract class BaseActivity extends AppCompatActivity { 12 | @Override 13 | protected void onCreate(@Nullable Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | setContentView(setLayout()); 16 | initView(); 17 | initData(); 18 | } 19 | 20 | 21 | //设置布局 22 | protected abstract int setLayout(); 23 | 24 | //初始化View 执行FindViewbyId等操作 25 | protected abstract void initView(); 26 | 27 | //初始化数据 28 | protected abstract void initData(); 29 | 30 | //简化findViewById的操作 31 | protected T bindView(int id){ 32 | return (T) findViewById(id); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_single.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 17 | 18 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/port/PlatformPagePort.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic.port; 10 | 11 | import java.util.ArrayList; 12 | 13 | import cn.sharesdk.onekeyshare.OnekeyShareThemeImpl; 14 | import cn.sharesdk.onekeyshare.themes.classic.PlatformPage; 15 | import cn.sharesdk.onekeyshare.themes.classic.PlatformPageAdapter; 16 | 17 | /** 竖屏的九宫格页面 */ 18 | public class PlatformPagePort extends PlatformPage { 19 | 20 | public PlatformPagePort(OnekeyShareThemeImpl impl) { 21 | super(impl); 22 | } 23 | 24 | public void onCreate() { 25 | requestPortraitOrientation(); 26 | super.onCreate(); 27 | } 28 | 29 | protected PlatformPageAdapter newAdapter(ArrayList cells) { 30 | return new PlatformPageAdapterPort(this, cells); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/land/PlatformPageLand.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic.land; 10 | 11 | import java.util.ArrayList; 12 | 13 | import cn.sharesdk.onekeyshare.OnekeyShareThemeImpl; 14 | import cn.sharesdk.onekeyshare.themes.classic.PlatformPage; 15 | import cn.sharesdk.onekeyshare.themes.classic.PlatformPageAdapter; 16 | 17 | /** 横屏的九宫格页面 */ 18 | public class PlatformPageLand extends PlatformPage { 19 | 20 | public PlatformPageLand(OnekeyShareThemeImpl impl) { 21 | super(impl); 22 | } 23 | 24 | public void onCreate() { 25 | requestLandscapeOrientation(); 26 | super.onCreate(); 27 | } 28 | 29 | protected PlatformPageAdapter newAdapter(ArrayList cells) { 30 | return new PlatformPageAdapterLand(this, cells); 31 | } 32 | 33 | } 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/me/FeedBackActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.me; 2 | 3 | import android.content.Intent; 4 | import android.view.View; 5 | import android.widget.ImageView; 6 | 7 | import com.example.dllo.giftssayingapp.R; 8 | import com.example.dllo.giftssayingapp.base.BaseActivity; 9 | 10 | public class FeedBackActivity extends BaseActivity implements View.OnClickListener { 11 | 12 | 13 | private ImageView iv_holo_dark; 14 | 15 | @Override 16 | protected int setLayout() { 17 | return R.layout.activity_feed_back; 18 | } 19 | 20 | @Override 21 | protected void initView() { 22 | iv_holo_dark = bindView(R.id.iv_holo_dark); 23 | iv_holo_dark.setOnClickListener(this); 24 | } 25 | 26 | @Override 27 | protected void initData() { 28 | 29 | } 30 | 31 | //返回上一页的点击事件 32 | 33 | @Override 34 | public void onClick(View view) { 35 | Intent intent = new Intent(FeedBackActivity.this, SettingActivity.class); 36 | startActivity(intent); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_recommend.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 22 | 23 | 28 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/land/FriendListPageLand.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic.land; 10 | 11 | import com.mob.tools.utils.R; 12 | 13 | import cn.sharesdk.onekeyshare.OnekeyShareThemeImpl; 14 | import cn.sharesdk.onekeyshare.themes.classic.FriendListPage; 15 | 16 | /** 横屏的好友列表 */ 17 | public class FriendListPageLand extends FriendListPage { 18 | private static final int DESIGN_SCREEN_WIDTH = 1280; 19 | private static final int DESIGN_TITLE_HEIGHT = 70; 20 | 21 | public FriendListPageLand(OnekeyShareThemeImpl impl) { 22 | super(impl); 23 | } 24 | 25 | protected float getRatio() { 26 | float screenWidth = R.getScreenWidth(activity); 27 | return screenWidth / DESIGN_SCREEN_WIDTH; 28 | } 29 | 30 | protected int getDesignTitleHeight() { 31 | return DESIGN_TITLE_HEIGHT; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/port/FriendListPagePort.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic.port; 10 | 11 | import com.mob.tools.utils.R; 12 | 13 | import cn.sharesdk.onekeyshare.OnekeyShareThemeImpl; 14 | import cn.sharesdk.onekeyshare.themes.classic.FriendListPage; 15 | 16 | /** 竖屏的好友列表 */ 17 | public class FriendListPagePort extends FriendListPage { 18 | private static final int DESIGN_SCREEN_WIDTH = 720; 19 | private static final int DESIGN_TITLE_HEIGHT = 96; 20 | 21 | public FriendListPagePort(OnekeyShareThemeImpl impl) { 22 | super(impl); 23 | } 24 | 25 | protected float getRatio() { 26 | float screenWidth = R.getScreenWidth(activity); 27 | return screenWidth / DESIGN_SCREEN_WIDTH; 28 | } 29 | 30 | protected int getDesignTitleHeight() { 31 | return DESIGN_TITLE_HEIGHT; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/OnekeyShareTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare; 10 | 11 | import cn.sharesdk.onekeyshare.themes.classic.ClassicTheme; 12 | 13 | /** 快捷分享的主题样式 */ 14 | public enum OnekeyShareTheme { 15 | /** 九格宫的主题样式 ,对应的实现类ClassicTheme */ 16 | CLASSIC(0, new ClassicTheme()); 17 | 18 | private final int value; 19 | private final OnekeyShareThemeImpl impl; 20 | 21 | private OnekeyShareTheme(int value, OnekeyShareThemeImpl impl) { 22 | this.value = value; 23 | this.impl = impl; 24 | } 25 | 26 | public int getValue() { 27 | return value; 28 | } 29 | 30 | public OnekeyShareThemeImpl getImpl() { 31 | return impl; 32 | } 33 | 34 | public static OnekeyShareTheme fromValue(int value) { 35 | for (OnekeyShareTheme theme : OnekeyShareTheme.values()) { 36 | if (theme.value == value) { 37 | return theme; 38 | } 39 | } 40 | return CLASSIC; 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 24 | 25 | 30 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/classify/main/ClassifyMainAdapter.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.classify.main; 2 | 3 | import android.support.v4.app.Fragment; 4 | import android.support.v4.app.FragmentManager; 5 | import android.support.v4.app.FragmentPagerAdapter; 6 | 7 | import java.util.ArrayList; 8 | 9 | /** 10 | * Created by dllo on 16/9/20. 11 | */ 12 | public class ClassifyMainAdapter extends FragmentPagerAdapter { 13 | private ArrayList fragments; 14 | 15 | public ClassifyMainAdapter(FragmentManager fm, ArrayList fragments) { 16 | super(fm); 17 | this.fragments = fragments; 18 | } 19 | 20 | public ClassifyMainAdapter(FragmentManager fm) { 21 | super(fm); 22 | } 23 | 24 | @Override 25 | public Fragment getItem(int position) { 26 | return fragments.get(position); 27 | } 28 | 29 | @Override 30 | public int getCount() { 31 | return fragments == null? 0 : fragments.size(); 32 | } 33 | 34 | @Override 35 | public CharSequence getPageTitle(int position) { 36 | return super.getPageTitle(position); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_newstar.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 24 | 25 | 30 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 24 5 | buildToolsVersion "24.0.1" 6 | 7 | defaultConfig { 8 | applicationId "com.example.dllo.giftssayingapp" 9 | minSdkVersion 19 10 | targetSdkVersion 24 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(include: ['*.jar'], dir: 'libs') 24 | testCompile 'junit:junit:4.12' 25 | compile 'com.android.support:appcompat-v7:24.1.1' 26 | compile 'com.android.support:design:24.1.1' 27 | compile 'eu.the4thfloor.volley:com.android.volley:2015.05.28' 28 | compile 'com.google.code.gson:gson:2.7' 29 | compile 'com.squareup.picasso:picasso:2.5.2' 30 | compile 'de.hdodenhof:circleimageview:2.1.0' 31 | compile 'com.android.support:recyclerview-v7:24.1.1' 32 | compile files('libs/MobCommons-2016.0830.1940.jar') 33 | compile project(':PullToRefresh') 34 | 35 | } 36 | -------------------------------------------------------------------------------- /app/src/main/res/layout/expendlist_group.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 15 | 23 | 24 | 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/hotspot/main/HotSpotMainAdapter.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.hotspot.main; 2 | 3 | import android.content.Context; 4 | import android.support.v4.app.Fragment; 5 | import android.support.v4.app.FragmentManager; 6 | import android.support.v4.app.FragmentPagerAdapter; 7 | 8 | import java.util.ArrayList; 9 | 10 | /** 11 | * Created by dllo on 16/9/19. 12 | */ 13 | public class HotSpotMainAdapter extends FragmentPagerAdapter { 14 | private ArrayList arrayList; 15 | private Context context; 16 | 17 | public HotSpotMainAdapter(FragmentManager fm, ArrayList arrayList) { 18 | super(fm); 19 | this.arrayList = arrayList; 20 | } 21 | 22 | public HotSpotMainAdapter(FragmentManager fm) { 23 | super(fm); 24 | } 25 | 26 | @Override 27 | public Fragment getItem(int position) { 28 | return arrayList.get(position); 29 | } 30 | 31 | @Override 32 | public int getCount() { 33 | return arrayList == null ? 0 : arrayList.size(); 34 | } 35 | 36 | @Override 37 | public CharSequence getPageTitle(int position) { 38 | return super.getPageTitle(position); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/main/WelcomActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.main; 2 | 3 | import android.content.Intent; 4 | import android.os.Handler; 5 | 6 | import com.example.dllo.giftssayingapp.R; 7 | import com.example.dllo.giftssayingapp.base.BaseActivity; 8 | 9 | public class WelcomActivity extends BaseActivity { 10 | private int time = 3; 11 | 12 | @Override 13 | protected int setLayout() { 14 | return R.layout.activity_welcom; 15 | } 16 | 17 | @Override 18 | protected void initView() { 19 | 20 | } 21 | 22 | @Override 23 | protected void initData() { 24 | final Handler handler = new Handler(); 25 | final Runnable runnable = new Runnable() { 26 | @Override 27 | public void run() { 28 | handler.postDelayed(this, 1000); 29 | time--; 30 | if (0 == time){ 31 | Intent intent = new Intent(WelcomActivity.this, StartMainActivity.class); 32 | startActivity(intent); 33 | finish(); 34 | } 35 | 36 | } 37 | }; 38 | handler.postDelayed(runnable,1000); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_classify.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 21 | 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/popup_window.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 17 | 24 | 25 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/hometitle.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 26 | 27 | 33 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/layout/pull_to_refresh_header_horizontal.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | 18 | 19 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/netrequest/VolleySingleton.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.netrequest; 2 | 3 | import com.android.volley.Request; 4 | import com.android.volley.RequestQueue; 5 | import com.android.volley.toolbox.Volley; 6 | 7 | /** 8 | * Created by dllo on 16/9/20. 9 | * 懒汉单例 建立一个请求队列,方便网络请求 10 | */ 11 | public class VolleySingleton { 12 | 13 | //设置静态全局变量 14 | private static VolleySingleton volleySingleton; 15 | private RequestQueue requestQueue; 16 | 17 | //私有化构造方法 Volley 是导包生成的 18 | private VolleySingleton(){ 19 | requestQueue = Volley.newRequestQueue(VolleyApp.getContext()); 20 | } 21 | //静态方法 22 | public static VolleySingleton getInstance(){ 23 | if (volleySingleton == null){ 24 | synchronized (VolleySingleton.class){ 25 | if (volleySingleton == null){ 26 | volleySingleton = new VolleySingleton(); 27 | } 28 | } 29 | } 30 | return volleySingleton; 31 | } 32 | public RequestQueue getRequestQueue(){ 33 | return requestQueue; 34 | } 35 | /** 36 | * 把请求加到请求队列中 37 | * request :各种网络请求 38 | */ 39 | public void addRequest(Request request){ 40 | requestQueue.add(request); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/XView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic; 10 | 11 | import android.content.Context; 12 | import android.graphics.Canvas; 13 | import android.graphics.Paint; 14 | import android.view.View; 15 | 16 | /** 编辑页面中删除图片“X”按钮 */ 17 | public class XView extends View { 18 | private float ratio; 19 | 20 | public XView(Context context) { 21 | super(context); 22 | } 23 | 24 | public void setRatio(float ratio) { 25 | this.ratio = ratio; 26 | } 27 | 28 | protected void onDraw(Canvas canvas) { 29 | int width = getWidth() / 2; 30 | int height = getHeight() / 2; 31 | 32 | Paint paint = new Paint(); 33 | paint.setAntiAlias(true); 34 | paint.setColor(0xffa0a0a0); 35 | canvas.drawRect(width, 0, getWidth(), height, paint); 36 | 37 | paint = new Paint(); 38 | paint.setAntiAlias(true); 39 | paint.setStrokeWidth(3f * ratio); 40 | paint.setColor(0xffffffff); 41 | float left = 8f * ratio; 42 | canvas.drawLine(width + left, left, getWidth() - left, width - left, paint); 43 | canvas.drawLine(width + left, width - left, getWidth() - left, left, paint); 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/me/MeMainFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.me; 2 | 3 | import android.content.Intent; 4 | import android.view.View; 5 | import android.widget.ImageView; 6 | 7 | import com.example.dllo.giftssayingapp.R; 8 | import com.example.dllo.giftssayingapp.base.BaseFragment; 9 | 10 | /** 11 | * Created by dllo on 16/9/19. 12 | */ 13 | public class MeMainFragment extends BaseFragment implements View.OnClickListener { 14 | 15 | 16 | private ImageView setting; 17 | private ImageView message; 18 | private ImageView scan; 19 | 20 | @Override 21 | protected int setLayout() { 22 | return R.layout.fragment_me; 23 | } 24 | 25 | @Override 26 | protected void initView() { 27 | setting = bindView(R.id.iv_me_setting); 28 | message = bindView(R.id.iv_me_message); 29 | scan = bindView(R.id.iv_me_scan); 30 | setting.setOnClickListener(this); 31 | } 32 | 33 | @Override 34 | protected void initData() { 35 | 36 | } 37 | 38 | @Override 39 | public void onClick(View view) { 40 | switch (view.getId()){ 41 | case R.id.iv_me_setting: 42 | Intent intent = new Intent(context, SettingActivity.class); 43 | getActivity().startActivity(intent); 44 | break; 45 | 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | 14 | 20 | 21 | 22 | 30 | 31 | 32 | 37 | 38 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/bean/HomeNameBean.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.bean; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Created by dllo on 16/10/8. 7 | */ 8 | public class HomeNameBean { 9 | 10 | /** 11 | * code : 200 12 | * data : {"words":["礼物","婚礼礼物","礼物大礼包","成人礼礼物","礼物 男","DlY礼物盒","礼物纸盒","物袋礼","礼物袋盒","礼物男","礼物女生","礼物闺密","足球 礼物","礼物纸","礼物盒","香礼物","男礼物","买礼物","装礼物","礼物书","小礼物","礼物女","礼物的包装","迷你礼物","结果礼物"]} 13 | * message : OK 14 | */ 15 | 16 | private int code; 17 | private DataBean data; 18 | private String message; 19 | 20 | public int getCode() { 21 | return code; 22 | } 23 | 24 | public void setCode(int code) { 25 | this.code = code; 26 | } 27 | 28 | public DataBean getData() { 29 | return data; 30 | } 31 | 32 | public void setData(DataBean data) { 33 | this.data = data; 34 | } 35 | 36 | public String getMessage() { 37 | return message; 38 | } 39 | 40 | public void setMessage(String message) { 41 | this.message = message; 42 | } 43 | 44 | public static class DataBean { 45 | private List words; 46 | 47 | public List getWords() { 48 | return words; 49 | } 50 | 51 | public void setWords(List words) { 52 | this.words = words; 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/home/main/HomeMainAdapter.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.home.main; 2 | 3 | import android.support.v4.app.Fragment; 4 | import android.support.v4.app.FragmentManager; 5 | import android.support.v4.app.FragmentPagerAdapter; 6 | 7 | import java.util.ArrayList; 8 | 9 | /** 10 | * Created by dllo on 16/9/20. 11 | */ 12 | public class HomeMainAdapter extends FragmentPagerAdapter { 13 | private ArrayList fragments; 14 | private ArrayList strings; 15 | 16 | public void setFragments(ArrayList fragments) { 17 | this.fragments = fragments; 18 | } 19 | 20 | public void setStrings(ArrayList strings) { 21 | this.strings = strings; 22 | } 23 | 24 | public HomeMainAdapter(FragmentManager fm, ArrayList fragments, ArrayList strings) { 25 | super(fm); 26 | this.fragments = fragments; 27 | this.strings = strings; 28 | } 29 | 30 | public HomeMainAdapter(FragmentManager fm) { 31 | super(fm); 32 | } 33 | 34 | @Override 35 | public Fragment getItem(int position) { 36 | return fragments.get(position); 37 | } 38 | 39 | @Override 40 | public int getCount() { 41 | return fragments == null ? 0 : fragments.size(); 42 | } 43 | 44 | @Override 45 | public CharSequence getPageTitle(int position) { 46 | return strings.get(position); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_strategy_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 21 | 22 | 28 | 29 | 30 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/tools/JsonUtil.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.tools; 2 | 3 | import com.google.gson.Gson; 4 | import com.google.gson.JsonArray; 5 | import com.google.gson.JsonElement; 6 | import com.google.gson.JsonParser; 7 | 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | 11 | /** 12 | * Created by dllo on 16/10/18. 13 | */ 14 | public class JsonUtil { 15 | private static Gson sGson = new Gson(); 16 | 17 | /** 18 | * 将json字符串转化成实体对象 19 | * @param json 20 | * @param classOfT 21 | * @return 22 | */ 23 | public static Object stringToObject(String json,Class classOfT){ 24 | return sGson.fromJson(json, classOfT); 25 | } 26 | 27 | /** 28 | * 将对象准换为json字符串 或者 把list 转化成json 29 | * @param object 30 | * @param 31 | * @return 32 | */ 33 | public static String objectOfString(T object){ 34 | return sGson.toJson(object); 35 | } 36 | 37 | /** 38 | * 把json 字符串转化成list 39 | * @param json 40 | * @param cls 41 | * @param 42 | * @return 43 | */ 44 | public static List stringToList(String json , Class cls ){ 45 | Gson gson = new Gson(); 46 | List list = new ArrayList(); 47 | JsonArray array = new JsonParser().parse(json).getAsJsonArray(); 48 | for(final JsonElement elem : array){ 49 | list.add(gson.fromJson(elem, cls)); 50 | } 51 | return list ; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /app/src/main/res/layout/raider_header_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 20 | 21 | 28 | 29 | 34 | 35 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /app/src/main/res/layout/vp_home_image.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | 15 | 16 | 24 | 25 | 26 | 27 | 28 | 29 | 35 | 36 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/EmptyViewMethodAccessor.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011, 2012 Chris Banes. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | package com.handmark.pulltorefresh.library.internal; 17 | 18 | import android.view.View; 19 | 20 | /** 21 | * Interface that allows PullToRefreshBase to hijack the call to 22 | * AdapterView.setEmptyView() 23 | * 24 | * @author chris 25 | */ 26 | public interface EmptyViewMethodAccessor { 27 | 28 | /** 29 | * Calls upto AdapterView.setEmptyView() 30 | * 31 | * @param emptyView - to set as Empty View 32 | */ 33 | public void setEmptyViewInternal(View emptyView); 34 | 35 | /** 36 | * Should call PullToRefreshBase.setEmptyView() which will then 37 | * automatically call through to setEmptyViewInternal() 38 | * 39 | * @param emptyView - to set as Empty View 40 | */ 41 | public void setEmptyView(View emptyView); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /app/src/main/res/layout/raider_header_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 17 | 18 | 26 | 27 | 33 | 34 | 35 | 36 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/demo/wxapi/WXEntryActivity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.demo.wxapi; 10 | 11 | import android.content.Intent; 12 | import android.widget.Toast; 13 | import cn.sharesdk.wechat.utils.WXAppExtendObject; 14 | import cn.sharesdk.wechat.utils.WXMediaMessage; 15 | import cn.sharesdk.wechat.utils.WechatHandlerActivity; 16 | 17 | /** 微信客户端回调activity示例 */ 18 | public class WXEntryActivity extends WechatHandlerActivity { 19 | 20 | /** 21 | * 处理微信发出的向第三方应用请求app message 22 | *

23 | * 在微信客户端中的聊天页面有“添加工具”,可以将本应用的图标添加到其中 24 | * 此后点击图标,下面的代码会被执行。Demo仅仅只是打开自己而已,但你可 25 | * 做点其他的事情,包括根本不打开任何页面 26 | */ 27 | public void onGetMessageFromWXReq(WXMediaMessage msg) { 28 | if (msg != null) { 29 | Intent iLaunchMyself = getPackageManager().getLaunchIntentForPackage(getPackageName()); 30 | startActivity(iLaunchMyself); 31 | } 32 | } 33 | 34 | /** 35 | * 处理微信向第三方应用发起的消息 36 | *

37 | * 此处用来接收从微信发送过来的消息,比方说本demo在wechatpage里面分享 38 | * 应用时可以不分享应用文件,而分享一段应用的自定义信息。接受方的微信 39 | * 客户端会通过这个方法,将这个信息发送回接收方手机上的本demo中,当作 40 | * 回调。 41 | *

42 | * 本Demo只是将信息展示出来,但你可做点其他的事情,而不仅仅只是Toast 43 | */ 44 | public void onShowMessageFromWXReq(WXMediaMessage msg) { 45 | if (msg != null && msg.mediaObject != null 46 | && (msg.mediaObject instanceof WXAppExtendObject)) { 47 | WXAppExtendObject obj = (WXAppExtendObject) msg.mediaObject; 48 | Toast.makeText(this, obj.extInfo, Toast.LENGTH_SHORT).show(); 49 | } 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/hotspot/main/ItemActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.hotspot.main; 2 | 3 | import android.content.Intent; 4 | import android.util.Log; 5 | import android.view.KeyEvent; 6 | import android.webkit.WebSettings; 7 | import android.webkit.WebView; 8 | import android.webkit.WebViewClient; 9 | 10 | import com.example.dllo.giftssayingapp.R; 11 | import com.example.dllo.giftssayingapp.base.BaseActivity; 12 | 13 | public class ItemActivity extends BaseActivity { 14 | 15 | 16 | private WebView webView; 17 | 18 | @Override 19 | protected int setLayout() { 20 | return R.layout.activity_recommenditem; 21 | } 22 | 23 | @Override 24 | protected void initView() { 25 | webView = bindView(R.id.recommend_item); 26 | } 27 | 28 | @Override 29 | protected void initData() { 30 | Intent intent = getIntent(); 31 | String url = intent.getStringExtra("purchase_url"); 32 | webView.loadUrl(url); 33 | 34 | String purchase_url = intent.getStringExtra("url"); 35 | webView.loadUrl(purchase_url); 36 | 37 | WebSettings webSettings = webView.getSettings(); 38 | webSettings.setJavaScriptEnabled(true); 39 | webView.setWebViewClient(new WebViewClient()); 40 | 41 | } 42 | 43 | //按返回键时, 不退出程序而是返回上一浏览页面 44 | @Override 45 | public boolean onKeyDown(int keyCode, KeyEvent event) { 46 | if (keyCode == KeyEvent.KEYCODE_BACK && webView.canGoBack()){ 47 | webView.goBack(); 48 | Log.d("ItemActivity", "000000000000"); 49 | return true; 50 | } 51 | return super.onKeyDown(keyCode, event); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/base/BaseFragment.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.base; 2 | 3 | import android.content.Context; 4 | import android.os.Bundle; 5 | import android.support.annotation.Nullable; 6 | import android.support.v4.app.Fragment; 7 | import android.view.LayoutInflater; 8 | import android.view.View; 9 | import android.view.ViewGroup; 10 | 11 | /** 12 | * Created by dllo on 16/9/19. 13 | */ 14 | public abstract class BaseFragment extends Fragment { 15 | protected Context context; 16 | 17 | @Override 18 | public void onAttach(Context context) { 19 | super.onAttach(context); 20 | this.context = context; 21 | } 22 | 23 | @Nullable 24 | @Override 25 | public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { 26 | return inflater.inflate(setLayout(),container,false); 27 | } 28 | protected abstract int setLayout(); 29 | 30 | 31 | @Override 32 | public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { 33 | super.onViewCreated(view, savedInstanceState); 34 | initView(); 35 | } 36 | protected abstract void initView(); 37 | 38 | @Override 39 | public void onActivityCreated(@Nullable Bundle savedInstanceState) { 40 | super.onActivityCreated(savedInstanceState); 41 | initData(); 42 | } 43 | protected abstract void initData(); 44 | 45 | protected T bindView(int id){ 46 | return (T) getView().findViewById(id); 47 | } 48 | // protected T bindView(int id, View view){ 49 | // return (T) view.findViewById(id); 50 | // } 51 | } 52 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/PicViewerPage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic; 10 | 11 | import android.graphics.Bitmap; 12 | import android.graphics.drawable.ColorDrawable; 13 | import android.view.ViewTreeObserver.OnGlobalLayoutListener; 14 | import android.widget.ImageView.ScaleType; 15 | import cn.sharesdk.onekeyshare.OnekeySharePage; 16 | import cn.sharesdk.onekeyshare.OnekeyShareThemeImpl; 17 | 18 | import com.mob.tools.gui.ScaledImageView; 19 | 20 | /** 图片浏览的视图类 */ 21 | public class PicViewerPage extends OnekeySharePage implements OnGlobalLayoutListener { 22 | private Bitmap pic; 23 | /** 图片浏览的缩放控件 */ 24 | private ScaledImageView sivViewer; 25 | 26 | public PicViewerPage(OnekeyShareThemeImpl impl) { 27 | super(impl); 28 | } 29 | 30 | /** 设置图片用于浏览 */ 31 | public void setImageBitmap(Bitmap pic) { 32 | this.pic = pic; 33 | } 34 | 35 | public void onCreate() { 36 | activity.getWindow().setBackgroundDrawable(new ColorDrawable(0x4c000000)); 37 | 38 | sivViewer = new ScaledImageView(activity); 39 | sivViewer.setScaleType(ScaleType.MATRIX); 40 | activity.setContentView(sivViewer); 41 | if (pic != null) { 42 | sivViewer.getViewTreeObserver().addOnGlobalLayoutListener(this); 43 | } 44 | } 45 | 46 | public void onGlobalLayout() { 47 | sivViewer.getViewTreeObserver().removeGlobalOnLayoutListener(this); 48 | sivViewer.post(new Runnable() { 49 | public void run() { 50 | sivViewer.setBitmap(pic); 51 | } 52 | }); 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /import-summary.txt: -------------------------------------------------------------------------------- 1 | ECLIPSE ANDROID PROJECT IMPORT SUMMARY 2 | ====================================== 3 | 4 | Ignored Files: 5 | -------------- 6 | The following files were *not* copied into the new Gradle project; you 7 | should evaluate whether these are still needed in your project and if 8 | so manually move them: 9 | 10 | * .DS_Store 11 | * LICENSE 12 | * pom.xml 13 | 14 | Moved Files: 15 | ------------ 16 | Android Gradle projects use a different directory structure than ADT 17 | Eclipse projects. Here's how the projects were restructured: 18 | 19 | * AndroidManifest.xml => PullToRefreshListView/src/main/AndroidManifest.xml 20 | * res/ => PullToRefreshListView/src/main/res/ 21 | * src/ => PullToRefreshListView/src/main/java/ 22 | * src/.DS_Store => PullToRefreshListView/src/main/resources/.DS_Store 23 | * src/com/.DS_Store => PullToRefreshListView/src/main/resources/com/.DS_Store 24 | * src/com/handmark/.DS_Store => PullToRefreshListView/src/main/resources/com/handmark/.DS_Store 25 | * src/com/handmark/pulltorefresh/.DS_Store => PullToRefreshListView/src/main/resources/com/handmark/pulltorefresh/.DS_Store 26 | * src/com/handmark/pulltorefresh/library/.DS_Store => PullToRefreshListView/src/main/resources/com/handmark/pulltorefresh/library/.DS_Store 27 | 28 | Next Steps: 29 | ----------- 30 | You can now build the project. The Gradle project needs network 31 | connectivity to download dependencies. 32 | 33 | Bugs: 34 | ----- 35 | If for some reason your project does not build, and you determine that 36 | it is due to a bug or limitation of the Eclipse to Gradle importer, 37 | please file a bug at http://b.android.com with category 38 | Component-Tools. 39 | 40 | (This import summary is for your information only, and can be deleted 41 | after import once you are satisfied with the results.) 42 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/bean/HomeQueryBean.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.bean; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Created by dllo on 16/9/30. 7 | */ 8 | public class HomeQueryBean { 9 | 10 | /** 11 | * code : 200 12 | * data : {"hot_words":["钢笔","情侣","手机壳","手表","双肩包","宿舍","杯子","钱包","项链","手链","水杯","耳机"],"placeholder":"十一出游必备清单"} 13 | * message : OK 14 | */ 15 | 16 | private int code; 17 | /** 18 | * hot_words : ["钢笔","情侣","手机壳","手表","双肩包","宿舍","杯子","钱包","项链","手链","水杯","耳机"] 19 | * placeholder : 十一出游必备清单 20 | */ 21 | 22 | private DataBean data; 23 | private String message; 24 | 25 | public int getCode() { 26 | return code; 27 | } 28 | 29 | public void setCode(int code) { 30 | this.code = code; 31 | } 32 | 33 | public DataBean getData() { 34 | return data; 35 | } 36 | 37 | public void setData(DataBean data) { 38 | this.data = data; 39 | } 40 | 41 | public String getMessage() { 42 | return message; 43 | } 44 | 45 | public void setMessage(String message) { 46 | this.message = message; 47 | } 48 | 49 | public static class DataBean { 50 | private String placeholder; 51 | private List hot_words; 52 | 53 | public String getPlaceholder() { 54 | return placeholder; 55 | } 56 | 57 | public void setPlaceholder(String placeholder) { 58 | this.placeholder = placeholder; 59 | } 60 | 61 | public List getHot_words() { 62 | return hot_words; 63 | } 64 | 65 | public void setHot_words(List hot_words) { 66 | this.hot_words = hot_words; 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/ClassicTheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic; 10 | 11 | import android.content.Context; 12 | import android.content.res.Configuration; 13 | import cn.sharesdk.framework.Platform; 14 | import cn.sharesdk.framework.Platform.ShareParams; 15 | import cn.sharesdk.onekeyshare.OnekeyShareThemeImpl; 16 | import cn.sharesdk.onekeyshare.themes.classic.land.EditPageLand; 17 | import cn.sharesdk.onekeyshare.themes.classic.land.PlatformPageLand; 18 | import cn.sharesdk.onekeyshare.themes.classic.port.EditPagePort; 19 | import cn.sharesdk.onekeyshare.themes.classic.port.PlatformPagePort; 20 | 21 | /** 九宫格经典主题样式的实现类*/ 22 | public class ClassicTheme extends OnekeyShareThemeImpl { 23 | 24 | /** 展示平台列表*/ 25 | protected void showPlatformPage(Context context) { 26 | PlatformPage page; 27 | int orientation = context.getResources().getConfiguration().orientation; 28 | if (orientation == Configuration.ORIENTATION_PORTRAIT) { 29 | page = new PlatformPagePort(this); 30 | } else { 31 | page = new PlatformPageLand(this); 32 | } 33 | page.show(context, null); 34 | } 35 | 36 | /** 展示编辑界面*/ 37 | protected void showEditPage(Context context, Platform platform, ShareParams sp) { 38 | EditPage page; 39 | int orientation = context.getResources().getConfiguration().orientation; 40 | if (orientation == Configuration.ORIENTATION_PORTRAIT) { 41 | page = new EditPagePort(this); 42 | } else { 43 | page = new EditPageLand(this); 44 | } 45 | page.setPlatform(platform); 46 | page.setShareParams(sp); 47 | page.show(context, null); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/ILoadingLayout.java: -------------------------------------------------------------------------------- 1 | package com.handmark.pulltorefresh.library; 2 | 3 | import android.graphics.Typeface; 4 | import android.graphics.drawable.Drawable; 5 | 6 | public interface ILoadingLayout { 7 | 8 | /** 9 | * Set the Last Updated Text. This displayed under the main label when 10 | * Pulling 11 | * 12 | * @param label - Label to set 13 | */ 14 | public void setLastUpdatedLabel(CharSequence label); 15 | 16 | /** 17 | * Set the drawable used in the loading layout. This is the same as calling 18 | * setLoadingDrawable(drawable, Mode.BOTH) 19 | * 20 | * @param drawable - Drawable to display 21 | */ 22 | public void setLoadingDrawable(Drawable drawable); 23 | 24 | /** 25 | * Set Text to show when the Widget is being Pulled 26 | * setPullLabel(releaseLabel, Mode.BOTH) 27 | * 28 | * @param pullLabel - CharSequence to display 29 | */ 30 | public void setPullLabel(CharSequence pullLabel); 31 | 32 | /** 33 | * Set Text to show when the Widget is refreshing 34 | * setRefreshingLabel(releaseLabel, Mode.BOTH) 35 | * 36 | * @param refreshingLabel - CharSequence to display 37 | */ 38 | public void setRefreshingLabel(CharSequence refreshingLabel); 39 | 40 | /** 41 | * Set Text to show when the Widget is being pulled, and will refresh when 42 | * released. This is the same as calling 43 | * setReleaseLabel(releaseLabel, Mode.BOTH) 44 | * 45 | * @param releaseLabel - CharSequence to display 46 | */ 47 | public void setReleaseLabel(CharSequence releaseLabel); 48 | 49 | /** 50 | * Set's the Sets the typeface and style in which the text should be 51 | * displayed. Please see 52 | * {@link android.widget.TextView#setTypeface(Typeface) 53 | * TextView#setTypeface(Typeface)}. 54 | */ 55 | public void setTextTypeface(Typeface tf); 56 | 57 | } 58 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home_image_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 20 | 21 | 24 | 25 | 31 | 32 | 39 | 40 | 41 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home_image_two.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 13 | 19 | 20 | 23 | 24 | 30 | 31 | 38 | 39 | 40 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home_image_four.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 13 | 19 | 20 | 23 | 24 | 30 | 31 | 38 | 39 | 40 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home_image_one.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 13 | 19 | 20 | 23 | 24 | 30 | 31 | 38 | 39 | 40 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_home_image_five.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 17 | 23 | 24 | 30 | 31 | 37 | 38 | 39 | 43 | 44 | 49 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home_image_three.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 20 | 21 | 24 | 25 | 31 | 32 | 39 | 40 | 41 | 42 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/IndicatorView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic; 10 | 11 | import android.content.Context; 12 | import android.graphics.Canvas; 13 | import android.graphics.Paint; 14 | import android.view.View; 15 | 16 | /** 九宫格滑动时,下面显示的圆圈 */ 17 | public class IndicatorView extends View { 18 | private static final int DESIGN_INDICATOR_RADIUS = 6; 19 | private static final int DESIGN_INDICATOR_DISTANCE = 14; 20 | private static final int DESIGN_BOTTOM_HEIGHT = 52; 21 | /** 九格宫有多少页数 */ 22 | private int count; 23 | /** 当前显示的是九格宫中的第几页 */ 24 | private int current; 25 | 26 | public IndicatorView(Context context) { 27 | super(context); 28 | } 29 | 30 | public void setScreenCount(int count) { 31 | this.count = count; 32 | } 33 | 34 | public void onScreenChange(int currentScreen, int lastScreen) { 35 | if (currentScreen != current) { 36 | current = currentScreen; 37 | postInvalidate(); 38 | } 39 | } 40 | 41 | protected void onDraw(Canvas canvas) { 42 | if (count <= 1) { 43 | this.setVisibility(View.GONE); 44 | return; 45 | } 46 | float height = getHeight(); 47 | float radius = height * DESIGN_INDICATOR_RADIUS / DESIGN_BOTTOM_HEIGHT; 48 | float distance = height * DESIGN_INDICATOR_DISTANCE / DESIGN_BOTTOM_HEIGHT; 49 | float windowWidth = radius * 2 * count + distance * (count - 1); 50 | float left = (getWidth() - windowWidth) / 2; 51 | float cy = height / 2; 52 | 53 | canvas.drawColor(0xffffffff); 54 | Paint paint = new Paint(); 55 | paint.setAntiAlias(true); 56 | for (int i = 0; i < count; i++) { 57 | if (i == current) { 58 | paint.setColor(0xff5d71a0); 59 | } else { 60 | paint.setColor(0xffafb1b7); 61 | } 62 | float cx = left + (radius * 2 + distance) * i; 63 | canvas.drawCircle(cx, cy, radius, paint); 64 | } 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/home/selection/HomeImageAdapter.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.home.selection; 2 | 3 | import android.content.Context; 4 | import android.support.v4.view.PagerAdapter; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.view.ViewParent; 9 | import android.widget.ImageView; 10 | 11 | import com.example.dllo.giftssayingapp.R; 12 | import com.example.dllo.giftssayingapp.bean.HomeImageBean; 13 | import com.squareup.picasso.Picasso; 14 | 15 | 16 | /** 17 | * Created by dllo on 16/9/21. 18 | */ 19 | public class HomeImageAdapter extends PagerAdapter { 20 | private HomeImageBean bean; 21 | 22 | public void setBean(HomeImageBean bean) { 23 | this.bean = bean; 24 | notifyDataSetChanged(); 25 | } 26 | 27 | private Context context; 28 | 29 | public HomeImageAdapter(Context context) { 30 | this.context = context; 31 | } 32 | 33 | 34 | 35 | @Override 36 | public int getCount() { 37 | return bean == null ? 0 : Integer.MAX_VALUE; 38 | } 39 | 40 | @Override 41 | public boolean isViewFromObject(View view, Object object) { 42 | return view == object; 43 | } 44 | 45 | @Override 46 | public void destroyItem(ViewGroup container, int position, Object object) { 47 | 48 | } 49 | 50 | @Override 51 | public Object instantiateItem(ViewGroup container, int position) { 52 | View view = LayoutInflater.from(context).inflate(R.layout.item_home_image,null); 53 | ImageView image = (ImageView) view.findViewById(R.id.iv_home_image); 54 | Picasso.with(context).load(bean.getData().getBanners().get 55 | (position% bean.getData().getBanners().size()).getImage_url()).into(image); 56 | //如果View已经在之前添加到了一个父组件,则必须先remove,否则会抛出IllegalStateException。 57 | ViewParent vp = view.getParent(); 58 | if (vp != null) { 59 | ViewGroup parent = (ViewGroup) vp; 60 | parent.removeAllViews(); 61 | } 62 | container.addView(view); 63 | return view; 64 | 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/home/selection/HomeItemActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.home.selection; 2 | 3 | import android.content.Intent; 4 | import android.view.KeyEvent; 5 | import android.webkit.WebSettings; 6 | import android.webkit.WebView; 7 | import android.webkit.WebViewClient; 8 | 9 | import com.example.dllo.giftssayingapp.R; 10 | import com.example.dllo.giftssayingapp.base.BaseActivity; 11 | 12 | /** 13 | * Created by dllo on 16/9/30. 14 | */ 15 | public class HomeItemActivity extends BaseActivity { 16 | 17 | private WebView itemWeb; 18 | 19 | @Override 20 | protected int setLayout() { 21 | return R.layout.activity_home_item; 22 | } 23 | 24 | @Override 25 | protected void initView() { 26 | itemWeb = bindView(R.id.web_home_item); 27 | } 28 | 29 | @Override 30 | protected void initData() { 31 | Intent intent = getIntent(); 32 | String url = intent.getStringExtra("url"); 33 | itemWeb.loadUrl(url); 34 | 35 | String url_kind = intent.getStringExtra("url_kind"); 36 | itemWeb.loadUrl(url_kind); 37 | 38 | String url_image = intent.getStringExtra("ImageUrl"); 39 | itemWeb.loadUrl(url_image); 40 | 41 | WebSettings webSettings = itemWeb.getSettings(); 42 | webSettings.setJavaScriptEnabled(true); 43 | itemWeb.setWebViewClient(new WebViewClient()); 44 | 45 | //设置WebView的一些缩放功能点 46 | itemWeb.setScrollBarStyle(WebView.SCROLLBARS_INSIDE_OVERLAY); 47 | itemWeb.setHorizontalScrollBarEnabled(false); 48 | itemWeb.getSettings().setSupportZoom(true); 49 | //设置WebView可触摸放大缩小 50 | itemWeb.getSettings().setBuiltInZoomControls(true); 51 | itemWeb.setInitialScale(200); 52 | itemWeb.setHorizontalScrollbarOverlay(true); 53 | 54 | } 55 | 56 | @Override 57 | public boolean onKeyDown(int keyCode, KeyEvent event) { 58 | if (keyCode == KeyEvent.KEYCODE_BACK && itemWeb.canGoBack()) { 59 | itemWeb.goBack(); 60 | return true; 61 | } 62 | return super.onKeyDown(keyCode, event); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/OnekeySharePage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare; 10 | 11 | import java.util.ArrayList; 12 | import java.util.HashMap; 13 | 14 | import cn.sharesdk.framework.Platform; 15 | import cn.sharesdk.framework.Platform.ShareParams; 16 | import cn.sharesdk.framework.PlatformActionListener; 17 | 18 | import com.mob.tools.FakeActivity; 19 | 20 | /** 快捷分享的基类 */ 21 | public class OnekeySharePage extends FakeActivity { 22 | private OnekeyShareThemeImpl impl; 23 | 24 | public OnekeySharePage(OnekeyShareThemeImpl impl) { 25 | this.impl = impl; 26 | } 27 | 28 | /** 分享界面是否弹窗模式 */ 29 | protected final boolean isDialogMode() { 30 | return impl.dialogMode; 31 | } 32 | 33 | protected final HashMap getShareParamsMap() { 34 | return impl.shareParamsMap; 35 | } 36 | 37 | /** 静默分享开关(没有界面,直接分享 )*/ 38 | protected final boolean isSilent() { 39 | return impl.silent; 40 | } 41 | 42 | protected final ArrayList getCustomerLogos() { 43 | return impl.customerLogos; 44 | } 45 | 46 | protected final HashMap getHiddenPlatforms() { 47 | return impl.hiddenPlatforms; 48 | } 49 | 50 | protected final PlatformActionListener getCallback() { 51 | return impl.callback; 52 | } 53 | 54 | protected final ShareContentCustomizeCallback getCustomizeCallback() { 55 | return impl.customizeCallback; 56 | } 57 | 58 | protected final boolean isDisableSSO() { 59 | return impl.disableSSO; 60 | } 61 | 62 | protected final void shareSilently(Platform platform) { 63 | impl.shareSilently(platform); 64 | } 65 | 66 | protected final ShareParams formateShareData(Platform platform) { 67 | if (impl.formateShareData(platform)) { 68 | return impl.shareDataToShareParams(platform); 69 | } 70 | return null; 71 | } 72 | 73 | protected final boolean isUseClientToShare(Platform platform) { 74 | return impl.isUseClientToShare(platform); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/LoadingLayoutProxy.java: -------------------------------------------------------------------------------- 1 | package com.handmark.pulltorefresh.library; 2 | 3 | import java.util.HashSet; 4 | 5 | import android.graphics.Typeface; 6 | import android.graphics.drawable.Drawable; 7 | 8 | import com.handmark.pulltorefresh.library.internal.LoadingLayout; 9 | 10 | public class LoadingLayoutProxy implements ILoadingLayout { 11 | 12 | private final HashSet mLoadingLayouts; 13 | 14 | LoadingLayoutProxy() { 15 | mLoadingLayouts = new HashSet(); 16 | } 17 | 18 | /** 19 | * This allows you to add extra LoadingLayout instances to this proxy. This 20 | * is only necessary if you keep your own instances, and want to have them 21 | * included in any 22 | * {@link PullToRefreshBase#createLoadingLayoutProxy(boolean, boolean) 23 | * createLoadingLayoutProxy(...)} calls. 24 | * 25 | * @param layout - LoadingLayout to have included. 26 | */ 27 | public void addLayout(LoadingLayout layout) { 28 | if (null != layout) { 29 | mLoadingLayouts.add(layout); 30 | } 31 | } 32 | 33 | @Override 34 | public void setLastUpdatedLabel(CharSequence label) { 35 | for (LoadingLayout layout : mLoadingLayouts) { 36 | layout.setLastUpdatedLabel(label); 37 | } 38 | } 39 | 40 | @Override 41 | public void setLoadingDrawable(Drawable drawable) { 42 | for (LoadingLayout layout : mLoadingLayouts) { 43 | layout.setLoadingDrawable(drawable); 44 | } 45 | } 46 | 47 | @Override 48 | public void setRefreshingLabel(CharSequence refreshingLabel) { 49 | for (LoadingLayout layout : mLoadingLayouts) { 50 | layout.setRefreshingLabel(refreshingLabel); 51 | } 52 | } 53 | 54 | @Override 55 | public void setPullLabel(CharSequence label) { 56 | for (LoadingLayout layout : mLoadingLayouts) { 57 | layout.setPullLabel(label); 58 | } 59 | } 60 | 61 | @Override 62 | public void setReleaseLabel(CharSequence label) { 63 | for (LoadingLayout layout : mLoadingLayouts) { 64 | layout.setReleaseLabel(label); 65 | } 66 | } 67 | 68 | public void setTextTypeface(Typeface tf) { 69 | for (LoadingLayout layout : mLoadingLayouts) { 70 | layout.setTextTypeface(tf); 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_home_select.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 16 | 17 | 21 | 22 | 29 | 30 | 35 | 36 | 42 | 43 | 44 | 45 | 50 | 51 | 57 | -------------------------------------------------------------------------------- /app/src/main/res/values/ssdk_instapaper_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | %s 12 | 46 | 47 | 48 | 49 | 58 |

59 | %s 60 |
61 | 62 | 63 | 64 |
65 |

66 |
67 | 68 | 69 | ]]>
70 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_home_kind.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 16 | 17 | 21 | 22 | 29 | 30 | 35 | 36 | 42 | 43 | 44 | 49 | 50 | 56 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/base/URLValues.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.base; 2 | 3 | /** 4 | * Created by dllo on 16/5/23. 5 | */ 6 | public final class URLValues { 7 | //Editext 中文字url 8 | public static final String EDIT_NAME = "http://api.liwushuo.com/v2/search/hot_words_v2"; 9 | //hometab标题url 10 | public static final String HOME_TITLE = "http://api.liwushuo.com/v2/channels/preset?gender=2&generation=1"; 11 | //home轮播图url 12 | public static final String HOME_CAROUSEL = "http://api.liwushuo.com/v2/banners"; 13 | //home第五张轮播图url 14 | public static final String HOME_CAROUSEL_FIVE = "http://api.liwushuo.com/v2/collections/356/posts?gender=1&generation=2&limit=20&offset=0"; 15 | //home小方框url 16 | public static final String HOME_BOX = "http://api.liwushuo.com/v2/secondary_banners?gender=2&generation=1"; 17 | //home的listview url 18 | public static final String HOME_CELL = "http://api.liwushuo.com/v2/channels/103/items_v2?ad=2&gender=2&generation=1&limit=20&offset=0"; 19 | 20 | //home搜索edittext点击进入后的按钮 21 | public static final String HOME_QUERY = "http://api.liwushuo.com/v2/search/hot_words"; 22 | 23 | //榜单 24 | //每日推荐 25 | public static final String HOTSPOT_RECOMMEND = "http://api.liwushuo.com/v2/ranks_v2/ranks/1?limit=20&offset=0"; 26 | //top100 27 | public static final String HOTSPOT_TOP = "http://api.liwushuo.com/v2/ranks_v2/ranks/2?limit=20&offset=0"; 28 | //独立原创榜 29 | public static final String HOTSPOT_ORIDINALITY = "http://api.liwushuo.com/v2/ranks_v2/ranks/3?limit=20&offset=0"; 30 | //新星榜 31 | public static final String HOTSPOT_NEWSTAR = "http://api.liwushuo.com/v2/ranks_v2/ranks/4?limit=20&offset=0"; 32 | 33 | //分类页 34 | 35 | // 2.攻略-栏目 36 | public static final String STRATEGY_PART = "http://api.liwushuo.com/v2/columns?limit=20&offset=0"; 37 | // 攻略-品类 38 | public static final String STRATEGY_COLUMN = "http://api.liwushuo.com/v2/channel_groups/all"; 39 | 40 | //3.单品 41 | public static final String STRATEGY_SKU = "http://api.liwushuo.com/v2/item_categories/tree"; 42 | 43 | //4.查看更多 44 | public static final String STRATEGY_CHECK = "http://api.liwushuo.com/v2/collections?limit=20&offset=0"; 45 | 46 | //5.礼物 47 | public static final String STRATEGY_GIFT = "http://api.liwushuo.com/v2/item_categories/tree"; 48 | 49 | 50 | } 51 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/java/com/handmark/pulltorefresh/library/internal/ViewCompat.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2011, 2012 Chris Banes. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | package com.handmark.pulltorefresh.library.internal; 17 | 18 | import android.annotation.TargetApi; 19 | import android.graphics.drawable.Drawable; 20 | import android.os.Build.VERSION; 21 | import android.os.Build.VERSION_CODES; 22 | import android.view.View; 23 | 24 | @SuppressWarnings("deprecation") 25 | public class ViewCompat { 26 | 27 | public static void postOnAnimation(View view, Runnable runnable) { 28 | if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN) { 29 | SDK16.postOnAnimation(view, runnable); 30 | } else { 31 | view.postDelayed(runnable, 16); 32 | } 33 | } 34 | 35 | public static void setBackground(View view, Drawable background) { 36 | if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN) { 37 | SDK16.setBackground(view, background); 38 | } else { 39 | view.setBackgroundDrawable(background); 40 | } 41 | } 42 | 43 | public static void setLayerType(View view, int layerType) { 44 | if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { 45 | SDK11.setLayerType(view, layerType); 46 | } 47 | } 48 | 49 | @TargetApi(11) 50 | static class SDK11 { 51 | 52 | public static void setLayerType(View view, int layerType) { 53 | view.setLayerType(layerType, null); 54 | } 55 | } 56 | 57 | @TargetApi(16) 58 | static class SDK16 { 59 | 60 | public static void postOnAnimation(View view, Runnable runnable) { 61 | view.postOnAnimation(runnable); 62 | } 63 | 64 | public static void setBackground(View view, Drawable background) { 65 | view.setBackground(background); 66 | } 67 | 68 | } 69 | 70 | } 71 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_start_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 16 | 17 | 18 | 23 | 24 | 25 | 34 | 35 | 44 | 45 | 54 | 55 | 64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /app/src/main/java/cn/sharesdk/onekeyshare/themes/classic/land/PlatformPageAdapterLand.java: -------------------------------------------------------------------------------- 1 | /* 2 | * 官网地站:http://www.mob.com 3 | * 技术支持QQ: 4006852216 4 | * 官方微信:ShareSDK (如果发布新版本的话,我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题,也可以通过微信与我们取得联系,我们将会在24小时内给予回复) 5 | * 6 | * Copyright (c) 2013年 mob.com. All rights reserved. 7 | */ 8 | 9 | package cn.sharesdk.onekeyshare.themes.classic.land; 10 | 11 | import java.util.ArrayList; 12 | 13 | import android.content.Context; 14 | import cn.sharesdk.onekeyshare.themes.classic.PlatformPage; 15 | import cn.sharesdk.onekeyshare.themes.classic.PlatformPageAdapter; 16 | 17 | import com.mob.tools.utils.R; 18 | 19 | /** 横屏的九宫格页面适配器 */ 20 | public class PlatformPageAdapterLand extends PlatformPageAdapter { 21 | private static final int DESIGN_SCREEN_WIDTH_L = 1280; 22 | private static final int DESIGN_CELL_WIDTH_L = 160; 23 | private static final int DESIGN_SEP_LINE_WIDTH = 1; 24 | private static final int DESIGN_LOGO_HEIGHT = 76; 25 | private static final int DESIGN_PADDING_TOP = 20; 26 | 27 | public PlatformPageAdapterLand(PlatformPage page, ArrayList cells) { 28 | super(page, cells); 29 | } 30 | 31 | protected void calculateSize(Context context, ArrayList plats) { 32 | int screenWidth = R.getScreenWidth(context); 33 | float ratio = ((float) screenWidth) / DESIGN_SCREEN_WIDTH_L; 34 | int cellWidth = (int) (DESIGN_CELL_WIDTH_L * ratio); 35 | lineSize = screenWidth / cellWidth; 36 | 37 | sepLineWidth = (int) (DESIGN_SEP_LINE_WIDTH * ratio); 38 | sepLineWidth = sepLineWidth < 1 ? 1 : sepLineWidth; 39 | logoHeight = (int) (DESIGN_LOGO_HEIGHT * ratio); 40 | paddingTop = (int) (DESIGN_PADDING_TOP * ratio); 41 | bottomHeight = (int) (DESIGN_BOTTOM_HEIGHT * ratio); 42 | cellHeight = (screenWidth - sepLineWidth * 3) / (lineSize - 1); 43 | panelHeight = cellHeight + sepLineWidth; 44 | } 45 | 46 | protected void collectCells(ArrayList plats) { 47 | int count = plats.size(); 48 | if (count < lineSize) { 49 | int lineCount = (count / lineSize); 50 | if (count % lineSize != 0) { 51 | lineCount++; 52 | } 53 | cells = new Object[1][lineCount * lineSize]; 54 | } else { 55 | int pageCount = (count / lineSize); 56 | if (count % lineSize != 0) { 57 | pageCount++; 58 | } 59 | cells = new Object[pageCount][lineSize]; 60 | } 61 | 62 | for (int i = 0; i < count; i++) { 63 | int p = i / lineSize; 64 | cells[p][i - lineSize * p] = plats.get(i); 65 | } 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/dllo/giftssayingapp/home/main/PopupAdapter.java: -------------------------------------------------------------------------------- 1 | package com.example.dllo.giftssayingapp.home.main; 2 | 3 | import android.content.Context; 4 | import android.support.v7.widget.RecyclerView; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.TextView; 9 | 10 | import com.example.dllo.giftssayingapp.R; 11 | import com.example.dllo.giftssayingapp.hotspot.main.OnItemClickListener; 12 | 13 | import java.util.ArrayList; 14 | 15 | /** 16 | * Created by dllo on 16/10/8. 17 | */ 18 | 19 | public class PopupAdapter extends RecyclerView.Adapter { 20 | private ArrayList arrayList; 21 | private Context context; 22 | private OnItemClickListener popupOnItemClickListener; 23 | 24 | public void setPopupOnItemClickListener(OnItemClickListener popupOnItemClickListener) { 25 | this.popupOnItemClickListener = popupOnItemClickListener; 26 | } 27 | 28 | public void setArrayList(ArrayList arrayList) { 29 | this.arrayList = arrayList; 30 | notifyDataSetChanged(); 31 | } 32 | 33 | public PopupAdapter(Context context) { 34 | 35 | this.context = context; 36 | } 37 | 38 | @Override 39 | public PopupAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 40 | View view = LayoutInflater.from(context).inflate(R.layout.item_popup, parent, false); 41 | ViewHolder viewHolder = new ViewHolder(view); 42 | return viewHolder; 43 | } 44 | 45 | @Override 46 | public void onBindViewHolder(final ViewHolder holder, int position) { 47 | holder.name_popup.setText(arrayList.get(position)); 48 | 49 | if (popupOnItemClickListener != null){ 50 | holder.itemView.setOnClickListener(new View.OnClickListener() { 51 | @Override 52 | public void onClick(View view) { 53 | popupOnItemClickListener.OnItemClickListener 54 | (holder.itemView, holder.getLayoutPosition()); 55 | } 56 | }); 57 | } 58 | } 59 | 60 | 61 | @Override 62 | public int getItemCount() { 63 | return arrayList == null ? 0 : arrayList.size(); 64 | } 65 | 66 | public class ViewHolder extends RecyclerView.ViewHolder { 67 | 68 | 69 | private final TextView name_popup; 70 | 71 | public ViewHolder(View itemView) { 72 | super(itemView); 73 | name_popup = (TextView) itemView.findViewById(R.id.tv_popup_window); 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /PullToRefresh/src/main/res/layout/pull_to_refresh_header_vertical.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | 17 | 18 | 23 | 24 | 32 | 33 | 34 | 40 | 41 | 48 | 49 | 56 | 57 | 58 | 59 | --------------------------------------------------------------------------------