├── README.md └── toutiao └── toutiao ├── .gitignore ├── .idea ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── gradle.xml ├── misc.xml ├── modules.xml └── runConfigurations.xml ├── Module_Bottomtab0 ├── .gitignore ├── Module_Bottomtab0.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── Manifest │ └── AndroidManifest.xml │ ├── assets │ ├── css │ │ ├── android.css │ │ └── forum.css │ ├── images │ │ ├── Play@2x.png │ │ ├── Play@3x.png │ │ ├── Play_night@2x.png │ │ ├── Play_night@3x.png │ │ ├── dashed_split_line.png │ │ ├── dashed_split_line_night.png │ │ ├── film_stars_sprites.png │ │ ├── free_day@3x.png │ │ ├── free_night@3x.png │ │ ├── iconfont.ttf │ │ ├── image_bg_click.png │ │ ├── image_bg_click_night.png │ │ ├── loading-white@2x.png │ │ ├── loading-white@3x.png │ │ ├── loading@2x.png │ │ ├── loading@3x.png │ │ ├── loading_night@2x.png │ │ ├── loading_night@3x.png │ │ ├── red_packet@3x.png │ │ ├── red_packet_night@3x.png │ │ ├── red_packet_shadow@3x.png │ │ ├── red_packet_shadow_night@3x.png │ │ ├── score-bad │ │ │ └── data.json │ │ ├── score-general │ │ │ └── data.json │ │ ├── score-good │ │ │ └── data.json │ │ ├── sell_day@3x.png │ │ └── sell_night@3x.png │ └── js │ │ ├── android-common-forum.js │ │ ├── android-common.js │ │ ├── lib-forum.js │ │ └── lib.js │ ├── java │ └── com │ │ └── yanxuwen │ │ └── module_bottomtab0 │ │ ├── Main │ │ ├── Adapter │ │ │ └── VideoRecommendAdapter.kt │ │ ├── BottomTab0Fragment.kt │ │ ├── NewActivity.kt │ │ └── VideoActivity.kt │ │ ├── Utils │ │ └── Bt0RequestUtils.java │ │ ├── debug │ │ ├── Bottomtab0Application.java │ │ └── MainActivity.kt │ │ └── retrofit │ │ └── Msg │ │ └── Bt0Msg.java │ └── res │ ├── drawable │ ├── ic_arrow_drop_down.xml │ └── ic_arrow_drop_up.xml │ ├── layout │ ├── bt0_.xml │ ├── bt0_activity_new.xml │ ├── bt0_activity_video.xml │ ├── bt0_atlases.xml │ ├── bt0_foot_video_expand.xml │ ├── bt0_friend.xml │ ├── bt0_item_video_recommend.xml │ ├── bt0_main.xml │ ├── bt0_monk.xml │ ├── bt0_nearby.xml │ ├── bt0_new_head.xml │ ├── bt0_recommend.xml │ ├── bt0_temple.xml │ ├── bt0_toptabcollect.xml │ ├── bt0_video_ad.xml │ └── bt0_video_head.xml │ ├── mipmap-xxhdpi │ └── common_camera.png │ └── values │ ├── arrays_news.xml │ ├── colors.xml │ └── strings.xml ├── Module_Bottomtab1 ├── .gitignore ├── Module_Bottomtab1.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── Manifest │ └── AndroidManifest.xml │ ├── java │ └── com │ │ └── yanxuwen │ │ └── module_bottomtab1 │ │ ├── Main │ │ ├── BottomTab1Fragment.kt │ │ ├── LiveActivity.kt │ │ └── LiveActivity2.kt │ │ └── debug │ │ ├── Bottomtab1Application.java │ │ └── MainActivity.kt │ └── res │ ├── layout │ ├── bt1_.xml │ ├── bt1_activity_live.xml │ ├── bt1_activity_live2.xml │ └── bt1_main.xml │ └── values │ ├── arrays_video.xml │ ├── colors.xml │ └── strings.xml ├── Module_Bottomtab2 ├── .gitignore ├── Module_Bottomtab2.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── Manifest │ └── AndroidManifest.xml │ ├── java │ └── com │ │ └── yanxuwen │ │ └── module_bottomtab2 │ │ ├── Main │ │ └── BottomTab2Fragment.kt │ │ └── debug │ │ ├── Bottomtab2Application.java │ │ └── MainActivity.kt │ └── res │ ├── layout │ ├── bt2_.xml │ └── bt2_main.xml │ └── values │ └── strings.xml ├── Module_Bottomtab3 ├── .gitignore ├── Module_Bottomtab3.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── Manifest │ └── AndroidManifest.xml │ ├── java │ └── com │ │ └── yanxuwen │ │ └── module_bottomtab3 │ │ ├── Main │ │ └── BottomTab3Fragment.kt │ │ └── debug │ │ ├── Bottomtab3Application.java │ │ └── MainActivity.kt │ └── res │ ├── layout │ ├── bt3_.xml │ └── bt3_main.xml │ └── values │ ├── arrays_video.xml │ ├── colors.xml │ └── strings.xml ├── Module_Bottomtab4 ├── .gitignore ├── Module_Bottomtab4.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── Manifest │ └── AndroidManifest.xml │ ├── java │ └── com │ │ └── yanxuwen │ │ └── module_bottomtab4 │ │ ├── Main │ │ └── BottomTab4Fragment.kt │ │ └── debug │ │ ├── Bottomtab4Application.java │ │ └── MainActivity.kt │ └── res │ ├── layout │ ├── bt4_.xml │ └── bt4_main.xml │ └── values │ └── strings.xml ├── Module_Login ├── .gitignore ├── Module_Login.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── Manifest │ └── AndroidManifest.xml │ ├── java │ └── com │ │ └── yanxuwen │ │ └── module_login │ │ ├── LoginActivity.kt │ │ └── debug │ │ └── LoginApplication.java │ └── res │ ├── layout │ └── login_main.xml │ └── values │ └── strings.xml ├── app ├── .gitignore ├── app.iml ├── build.gradle ├── proguard-rules.pro ├── src │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── bbxpc │ │ │ └── myapplication │ │ │ └── ApplicationTest.java │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ ├── microlog.properties │ │ └── srca.cer │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── app │ │ │ └── myapplication │ │ │ ├── Activity │ │ │ ├── Guide │ │ │ │ ├── CustomPresentationPagerFragment.java │ │ │ │ ├── FirstCustomPageFragment.java │ │ │ │ └── GuideActivity.java │ │ │ ├── Login │ │ │ │ └── Welcome │ │ │ │ │ ├── IWelcomeContract.java │ │ │ │ │ ├── WelcomeActivity.java │ │ │ │ │ └── WelcomePresenter.java │ │ │ └── Main │ │ │ │ └── MainActivity.kt │ │ │ ├── Bean │ │ │ └── ShareKey.java │ │ │ ├── DB │ │ │ └── BannerDB.java │ │ │ ├── MyApplication.java │ │ │ └── weight │ │ │ └── BottomNavigation │ │ │ ├── BottomNavigationItem.java │ │ │ ├── BottomNavigationUtils.java │ │ │ └── BottomNavigationView.java │ │ └── res │ │ ├── drawable │ │ ├── background_tab.xml │ │ ├── selector_guide_btn.xml │ │ └── shape_shadow.xml │ │ ├── layout │ │ ├── activity_main.xml │ │ ├── activity_welcome.xml │ │ ├── bottom_navigation.xml │ │ ├── fragment_page_first.xml │ │ ├── fragment_page_second.xml │ │ └── fragment_page_third.xml │ │ ├── menu │ │ └── menu_main.xml │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ ├── splash_banner.png │ │ ├── tab_home_normal.png │ │ ├── tab_home_selected.png │ │ ├── tab_loading.png │ │ ├── tab_me_normal.png │ │ ├── tab_me_selected.png │ │ ├── tab_micro_normal.png │ │ ├── tab_micro_selected.png │ │ ├── tab_soonvideo_normal.png │ │ ├── tab_soonvideo_selected.png │ │ ├── tab_video_normal.png │ │ └── tab_video_selected.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── attrs.xml │ │ ├── color.xml │ │ ├── strings.xml │ │ ├── styles.xml │ │ └── values.xml └── yanxuwen.jks ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── import-summary.txt ├── lib_common ├── .gitignore ├── build.gradle ├── lib_common.iml ├── libs │ └── DragView-1.0.aar ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── yanxuwen │ │ └── lib_common │ │ ├── ARouter │ │ ├── DegradeService.java │ │ ├── IInterceptor.java │ │ ├── IInterceptorGroup.java │ │ ├── InterceptorCallback.java │ │ ├── InterceptorService.java │ │ ├── InterceptorServiceImpl.java │ │ ├── LogisticsCenter.java │ │ ├── MyARouter.java │ │ ├── NavigationCallback.java │ │ ├── PathReplaceService.java │ │ ├── Postcard.java │ │ ├── Warehouse.java │ │ └── _ARouter.java │ │ ├── Adapter │ │ ├── CommentAdapter.kt │ │ ├── NewsListAdapter.kt │ │ ├── ReplyListAdapter.kt │ │ ├── ReplySimpleAdapter.kt │ │ └── SoonVideoAdapter.kt │ │ ├── Base │ │ ├── BaseActivity.java │ │ ├── Key │ │ │ └── VideoKey.kt │ │ ├── MyException.java │ │ ├── MyFragment.kt │ │ ├── MyPagerAdapter.java │ │ └── MyStatePagerAdapter.java │ │ ├── BaseApplication.java │ │ ├── Bean │ │ ├── ARouterPath.java │ │ ├── Config.java │ │ ├── Extra │ │ │ └── fragment │ │ │ │ ├── BasefragmentMsg.java │ │ │ │ └── SimpleFragmentMsg.java │ │ ├── HttpError.java │ │ ├── LogType.java │ │ └── Value.java │ │ ├── DB │ │ ├── CategoryDB.kt │ │ ├── CategoryVideoDB.kt │ │ └── SearchSuggestDB.kt │ │ ├── Fragment │ │ ├── AtlasesFragment.kt │ │ ├── ImageViewerFragment.kt │ │ ├── SoonVideoFragment.kt │ │ └── TopTabRecommendFragment.kt │ │ ├── FrameLayout │ │ ├── Base │ │ │ └── BaseFragment.java │ │ ├── Reveal │ │ │ ├── BakedBezierInterpolator.java │ │ │ └── RevealLayout.java │ │ └── SimpleFragment.java │ │ ├── Listener │ │ └── OnFragmentResultListener.java │ │ ├── Proxy │ │ ├── Subject.java │ │ └── Subject2.java │ │ ├── TransparentActivity.java │ │ ├── Utils │ │ ├── BackgroundUtils.java │ │ ├── DataEncrypt │ │ │ ├── DataEncrypt.java │ │ │ └── HexStr.java │ │ ├── Divider │ │ │ ├── DividerGridItemDecoration.java │ │ │ └── RecycleViewDivider.java │ │ ├── Emoji │ │ │ ├── EmojiUtils.java │ │ │ └── EmotionUtils.java │ │ ├── Glide │ │ │ ├── GlideOptions.kt │ │ │ └── GlideRoundTransform.java │ │ ├── MyGsonUtils.java │ │ ├── MyRecyclerViewUtils.kt │ │ ├── RequestUtils.java │ │ ├── TimeUtils.java │ │ ├── Tools.java │ │ ├── WebJsoupUtils.java │ │ └── video │ │ │ ├── LiveCoverVideo.java │ │ │ ├── LiveCoverVideo2.java │ │ │ ├── SampleCoverVideo.java │ │ │ ├── SoonCoverVideo.java │ │ │ ├── TypeConver.kt │ │ │ ├── VideoInfoUtils.kt │ │ │ ├── VideoListUtils.kt │ │ │ └── VideoUtils.kt │ │ ├── retrofit │ │ ├── Msg │ │ │ └── Msg.java │ │ ├── MyBaseModel.java │ │ ├── MyBaseRequest.java │ │ ├── MyBaseTask.java │ │ ├── MyObserverListener.java │ │ ├── MyPublisher.java │ │ └── model │ │ │ ├── Article │ │ │ ├── Article.java │ │ │ ├── ArticleApi.java │ │ │ ├── ArticleBuild.java │ │ │ └── ArticleTask.java │ │ │ ├── Category │ │ │ ├── Category.java │ │ │ ├── CategoryApi.java │ │ │ ├── CategoryBuild.java │ │ │ └── CategoryTask.java │ │ │ ├── CategoryVideo │ │ │ ├── CategoryVideo.java │ │ │ ├── CategoryVideoApi.java │ │ │ ├── CategoryVideoBuild.java │ │ │ └── CategoryVideoTask.java │ │ │ ├── Comment │ │ │ ├── Comment.java │ │ │ ├── CommentApi.java │ │ │ ├── CommentBuild.java │ │ │ └── CommentTask.java │ │ │ ├── HTTPS │ │ │ ├── HttpsApi.java │ │ │ └── HttpsTask.java │ │ │ ├── NewsList │ │ │ ├── NewDetails.java │ │ │ ├── NewsContent.java │ │ │ ├── NewsList.java │ │ │ ├── NewsListApi.java │ │ │ ├── NewsListBuild.java │ │ │ ├── NewsListTask.java │ │ │ └── SoonVideo.java │ │ │ ├── ReplyList │ │ │ ├── ReplyList.java │ │ │ ├── ReplyListApi.java │ │ │ ├── ReplyListBuild.java │ │ │ └── ReplyListTask.java │ │ │ ├── SearchSuggest │ │ │ ├── SearchSuggest.java │ │ │ ├── SearchSuggestApi.java │ │ │ ├── SearchSuggestBuild.java │ │ │ └── SearchSuggestTask.java │ │ │ ├── Token │ │ │ ├── Token.java │ │ │ ├── TokenApi.java │ │ │ ├── TokenBuild.java │ │ │ └── TokenTask.java │ │ │ ├── Version │ │ │ ├── Version.java │ │ │ ├── VersionApi.java │ │ │ ├── VersionBuild.java │ │ │ └── VersionTask.java │ │ │ ├── VideoInfo │ │ │ ├── VideoInfo.java │ │ │ ├── VideoInfoApi.java │ │ │ ├── VideoInfoBuild.java │ │ │ └── VideoInfoTask.java │ │ │ ├── VideoRecommend │ │ │ ├── VideoRecommend.java │ │ │ ├── VideoRecommendApi.java │ │ │ ├── VideoRecommendBuild.java │ │ │ └── VideoRecommendTask.java │ │ │ └── WebData │ │ │ ├── WebData.java │ │ │ ├── WebDataApi.java │ │ │ ├── WebDataBuild.java │ │ │ └── WebDataTask.java │ │ ├── update │ │ ├── MyUpdateLoad.java │ │ └── UpgradeService.java │ │ └── widget │ │ ├── AppBarStateChangeListener.java │ │ ├── AutoScrollTextView.java │ │ ├── Behavior │ │ ├── FlingBehavior.java │ │ └── ScrollAwareFABBehavior.java │ │ ├── Drawer │ │ ├── CommentDragLayout.kt │ │ └── ReplyDragLayout.kt │ │ ├── MyAppBarLayout.java │ │ ├── MyImageSpan.java │ │ ├── MyWebView.java │ │ ├── liveAnim │ │ ├── LineScaleIndicator.java │ │ ├── LineScalePulseOutRapidIndicator.java │ │ └── LiveLineScaleView.java │ │ └── titles │ │ ├── ScaleClipPagerTitleView.java │ │ └── ScaleTransitionPagerTitleView.java │ └── res │ ├── anim │ ├── common_close_enter.xml │ ├── common_close_exit.xml │ ├── common_fab_hide.xml │ ├── common_fab_in.xml │ ├── common_fab_out.xml │ ├── common_fab_show.xml │ ├── common_open_enter.xml │ └── common_open_exit.xml │ ├── color │ └── common_text_blue_white.xml │ ├── drawable-v21 │ ├── common_selector_ripple.xml │ └── common_selector_ripple_oval.xml │ ├── drawable │ ├── common_grid_divider.xml │ ├── common_ic_close.xml │ ├── common_ic_collection.xml │ ├── common_ic_comment.xml │ ├── common_ic_emoji.xml │ ├── common_ic_img_loadfail.xml │ ├── common_ic_img_loading.xml │ ├── common_ic_more.xml │ ├── common_ic_more_horiz.xml │ ├── common_ic_music.xml │ ├── common_ic_play.xml │ ├── common_ic_search.xml │ ├── common_ic_share.xml │ ├── common_ic_share2.xml │ ├── common_selector_bg.xml │ ├── common_selector_ripple.xml │ ├── common_selector_ripple_oval.xml │ ├── common_shape_corners_hollow_blue.xml │ ├── common_shape_corners_hollow_gray.xml │ ├── common_shape_corners_hollow_red.xml │ ├── common_shape_corners_solid_black40.xml │ ├── common_shape_corners_solid_blue.xml │ ├── common_shape_corners_solid_gray.xml │ ├── common_shape_corners_solid_gray2.xml │ ├── common_shape_corners_solid_mask.xml │ ├── common_shape_corners_solid_red.xml │ ├── common_shape_corners_solid_red2_90.xml │ └── common_shape_corners_solid_search.xml │ ├── layout-v21 │ ├── common_live_layout_cover.xml │ ├── common_live_layout_cover2.xml │ ├── common_soon_video.xml │ └── common_video_layout_cover.xml │ ├── layout │ ├── common_activity_dragview.xml │ ├── common_activity_recyclerview.xml │ ├── common_atlases.xml │ ├── common_base_fragment.xml │ ├── common_comment.xml │ ├── common_comment_menu.xml │ ├── common_drag_comments.xml │ ├── common_drag_reply.xml │ ├── common_empty_data.xml │ ├── common_empty_network.xml │ ├── common_images.xml │ ├── common_live_layout_cover.xml │ ├── common_live_layout_cover2.xml │ ├── common_live_video.xml │ ├── common_newslist_image.xml │ ├── common_newslist_image2.xml │ ├── common_newslist_image3.xml │ ├── common_newslist_image_many.xml │ ├── common_newslist_item.xml │ ├── common_newslist_null.xml │ ├── common_newslist_video.xml │ ├── common_notify_upgrade.xml │ ├── common_reply_list.xml │ ├── common_reply_simple.xml │ ├── common_simple_fragment.xml │ ├── common_soon_video.xml │ ├── common_soonvideo_fragment.xml │ ├── common_soonvideo_item.xml │ ├── common_time.xml │ ├── common_video_large.xml │ ├── common_video_layout_cover.xml │ └── common_x.xml │ ├── mipmap-hdpi │ ├── common_ic_launcher.png │ └── common_icon_per_man.png │ ├── mipmap-mdpi │ └── common_ic_launcher.png │ ├── mipmap-xhdpi │ ├── common_ic_launcher.png │ └── common_icon_per_man.png │ ├── mipmap-xxhdpi │ ├── common_camera.png │ ├── common_comment.png │ ├── common_ic_launcher.png │ ├── common_icon_per_man.png │ ├── common_like.png │ ├── common_mask_small.png │ ├── common_no_data.png │ ├── common_no_network.png │ ├── common_write.png │ ├── d_18jin.png │ ├── d_666.png │ ├── d_aimu.png │ ├── d_author.png │ ├── d_baiyan.png │ ├── d_bishi.png │ ├── d_bixin.png │ ├── d_bizui.png │ ├── d_bukan.png │ ├── d_cahan.png │ ├── d_chiguaqunzhong.png │ ├── d_daiwugu.png │ ├── d_dajinya.png │ ├── d_daku.png │ ├── d_dalian.png │ ├── d_dangao.png │ ├── d_dao.png │ ├── d_daxiao.png │ ├── d_deyi.png │ ├── d_fanbaiyan.png │ ├── d_fanu.png │ ├── d_feiwen.png │ ├── d_fendou.png │ ├── d_gaxiao.png │ ├── d_geili.png │ ├── d_guzhang.png │ ├── d_haixiu.png │ ├── d_han.png │ ├── d_hanshui.png │ ├── d_hanxiao.png │ ├── d_haqian.png │ ├── d_heilian.png │ ├── d_heixian.png │ ├── d_honglian.png │ ├── d_hufen.png │ ├── d_hugua.png │ ├── d_jianxiao.png │ ├── d_jiayou.png │ ├── d_jingdai.png │ ├── d_jingxi.png │ ├── d_jizhang.png │ ├── d_jizhi.png │ ├── d_kan.png │ ├── d_keai.png │ ├── d_kelian.png │ ├── d_kiss.png │ ├── d_kongju.png │ ├── d_koubi.png │ ├── d_kuaikule.png │ ├── d_kulou.png │ ├── d_kun.png │ ├── d_kuzhuai.png │ ├── d_laikanwo.png │ ├── d_leiben.png │ ├── d_lingguangyishan.png │ ├── d_liulei.png │ ├── d_liwu.png │ ├── d_lvmaozi.png │ ├── d_masichundeweixiao.png │ ├── d_meigui.png │ ├── d_motou.png │ ├── d_ok.png │ ├── d_pengquan.png │ ├── d_piezui.png │ ├── d_pijiu.png │ ├── d_qian.png │ ├── d_qiang.png │ ├── d_qiaoda.png │ ├── d_qibuchengsheng.png │ ├── d_qidao.png │ ├── d_qiubaobao.png │ ├── d_quwufen.png │ ├── d_ruhua.png │ ├── d_sahua.png │ ├── d_shangxin.png │ ├── d_shi.png │ ├── d_shihua.png │ ├── d_shuai.png │ ├── d_sikao.png │ ├── d_songxin.png │ ├── d_tianping.png │ ├── d_tingge.png │ ├── d_touxiao.png │ ├── d_tu.png │ ├── d_tucaihong.png │ ├── d_tushe.png │ ├── d_tuxie.png │ ├── d_v5.png │ ├── d_weiqu.png │ ├── d_weixiao.png │ ├── d_wen.png │ ├── d_what.png │ ├── d_woshou.png │ ├── d_woxiangjingjing.png │ ├── d_wulian.png │ ├── d_wumai.png │ ├── d_xiao.png │ ├── d_xiaoguzhang.png │ ├── d_xiaoku.png │ ├── d_xin.png │ ├── d_xiongji.png │ ├── d_xu.png │ ├── d_ye.png │ ├── d_yun.png │ ├── d_zaijian.png │ ├── d_zan.png │ ├── d_zhatan.png │ ├── d_zhenjing.png │ ├── d_zhoudongyudeningshi.png │ ├── d_zhoumei.png │ ├── d_zhuakuang.png │ ├── d_ziweibiezou.png │ ├── d_ziya.png │ ├── d_zuoguilian.png │ ├── d_zuoshang.png │ ├── icon.png │ ├── icon_digg.png │ ├── icon_digg_no.png │ ├── icon_x.png │ └── play_normal.png │ ├── mipmap-xxxhdpi │ └── common_ic_launcher.png │ ├── values-v19 │ └── styles.xml │ └── values │ ├── attr_autoscroll_textview.xml │ ├── color.xml │ ├── dimen.xml │ ├── strings.xml │ └── styles.xml ├── settings.gradle ├── toutiao.iml └── versions.gradle /toutiao/toutiao/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | /captures 8 | -------------------------------------------------------------------------------- /toutiao/toutiao/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /toutiao/toutiao/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /toutiao/toutiao/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 25 | 26 | -------------------------------------------------------------------------------- /toutiao/toutiao/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/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:\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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 8 | 12 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play@2x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play_night@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play_night@2x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play_night@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/Play_night@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/dashed_split_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/dashed_split_line.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/dashed_split_line_night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/dashed_split_line_night.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/film_stars_sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/film_stars_sprites.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/free_day@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/free_day@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/free_night@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/free_night@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/iconfont.ttf -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/image_bg_click.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/image_bg_click.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/image_bg_click_night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/image_bg_click_night.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading-white@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading-white@2x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading-white@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading-white@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading@2x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading_night@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading_night@2x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading_night@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/loading_night@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet_night@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet_night@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet_shadow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet_shadow@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet_shadow_night@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/red_packet_shadow_night@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/sell_day@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/sell_day@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/sell_night@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/assets/images/sell_night@3x.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/java/com/yanxuwen/module_bottomtab0/Utils/Bt0RequestUtils.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab0.Utils; 2 | 3 | import android.content.Context; 4 | 5 | import com.yanxuwen.lib_common.Utils.RequestUtils; 6 | import com.yanxuwen.retrofit.Msg.ObserverListener; 7 | 8 | /** 9 | * Created by yanxuwen on 2018/7/4. 10 | */ 11 | 12 | public class Bt0RequestUtils extends RequestUtils { 13 | public Bt0RequestUtils(Context context, ObserverListener ob) { 14 | super(context, ob); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/java/com/yanxuwen/module_bottomtab0/debug/Bottomtab0Application.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab0.debug; 2 | 3 | 4 | import com.yanxuwen.lib_common.BaseApplication; 5 | 6 | /** 7 | * Created by yxe on 2018/4/6. 8 | */ 9 | 10 | public class Bottomtab0Application extends BaseApplication { 11 | @Override 12 | public void onCreate() { 13 | super.onCreate(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/java/com/yanxuwen/module_bottomtab0/retrofit/Msg/Bt0Msg.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab0.retrofit.Msg; 2 | 3 | /** 4 | * 作者:严旭文 on 2016/6/28 10:52 5 | * 邮箱:420255048@qq.com 6 | */ 7 | public class Bt0Msg { 8 | } 9 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/drawable/ic_arrow_drop_down.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/drawable/ic_arrow_drop_up.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_activity_new.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 15 | 18 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_friend.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 13 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_monk.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 13 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_nearby.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 13 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_new_head.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_recommend.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 14 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/layout/bt0_temple.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 14 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/mipmap-xxhdpi/common_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/Module_Bottomtab0/src/main/res/mipmap-xxhdpi/common_camera.png -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @color/common_red 4 | 5 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab0/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 头条首页 3 | 4 | 关注 5 | 推荐 6 | 附近 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/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:\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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 12 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/java/com/yanxuwen/module_bottomtab1/debug/Bottomtab1Application.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab1.debug; 2 | 3 | 4 | import com.yanxuwen.lib_common.BaseApplication; 5 | 6 | /** 7 | * Created by yxe on 2018/4/6. 8 | */ 9 | 10 | public class Bottomtab1Application extends BaseApplication { 11 | @Override 12 | public void onCreate() { 13 | super.onCreate(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/java/com/yanxuwen/module_bottomtab1/debug/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab1.debug 2 | 3 | import android.os.Bundle 4 | import com.yanxuwen.lib_common.Base.BaseActivity 5 | import com.yanxuwen.lib_common.Bean.Value 6 | import com.yanxuwen.module_bottomtab1.Main.BottomTab1Fragment 7 | import com.yanxuwen.module_bottomtab1.R 8 | 9 | /** 10 | * Created by yanxuwen on 2018/4/9. 11 | */ 12 | class MainActivity : BaseActivity(){ 13 | 14 | 15 | override fun onCreate(savedInstanceState: Bundle?) { 16 | setContentView(R.layout.bt1_main) 17 | super.onCreate(savedInstanceState) 18 | setStatusFull(true) 19 | setSlideable(false) 20 | } 21 | override fun initData() = Unit 22 | override fun initView(status: Value.ObservableStatus?) = initFragment() 23 | var f1: BottomTab1Fragment?=null 24 | private fun initFragment(){ 25 | var transaction = supportFragmentManager.beginTransaction() 26 | //第一种方式(add),初始化fragment并添加到事务中,如果为null就new一个 27 | if(f1 == null){ 28 | f1 = BottomTab1Fragment::class.java.newInstance() 29 | transaction.add(R.id.frameLayout_main, f1) 30 | } 31 | f1?.execute_setUserVisibleHint=true 32 | //显示需要显示的fragment 33 | transaction.show(f1) 34 | 35 | transaction.commitAllowingStateLoss() 36 | } 37 | } -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/res/layout/bt1_activity_live.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/res/layout/bt1_activity_live2.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/res/layout/bt1_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/res/values/arrays_video.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 推荐 5 | 音乐 6 | 影视 7 | 社会 8 | 农人 9 | 游戏 10 | 美食 11 | 生活 12 | 体育 13 | 金秒奖 14 | 15 | 16 | video 17 | subv_voice 18 | subv_movie 19 | subv_society 20 | subv_tt_video_agriculture 21 | subv_game 22 | subv_tt_video_food 23 | subv_life 24 | subv_tt_video_sports 25 | subv_jmj 26 | 27 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @color/common_red 4 | 5 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab1/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 西瓜视频 3 | 4 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/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:\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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/Manifest/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 13 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/java/com/yanxuwen/module_bottomtab2/Main/BottomTab2Fragment.kt: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab3.Main 2 | 3 | import android.view.View 4 | import com.alibaba.android.arouter.facade.annotation.Route 5 | import com.yanxuwen.lib_common.Base.MyFragment 6 | import com.yanxuwen.lib_common.Bean.ARouterPath 7 | import com.yanxuwen.module_bottomtab2.R 8 | import com.yanxuwen.retrofit.Msg.ObserverListener 9 | 10 | 11 | /** 12 | * Created by yanxuwen on 2017/9/7. 13 | */ 14 | @Route(path = ARouterPath.Module_Bottomtab2_BottomTab2Fragment) 15 | class BottomTab2Fragment : MyFragment() ,View.OnClickListener{ 16 | override fun getMainView(): View? { 17 | if (mainview == null) { 18 | mainview = inflater.inflate(R.layout.bt2_, null) 19 | 20 | } 21 | return mainview 22 | } 23 | override fun init() { 24 | super.init() 25 | } 26 | 27 | override fun onNotifyData(status: ObserverListener.STATUS, type: String, mobject: Any) { 28 | } 29 | 30 | override fun onClick(v: View?) { 31 | 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/java/com/yanxuwen/module_bottomtab2/debug/Bottomtab2Application.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab2.debug; 2 | 3 | 4 | import com.yanxuwen.lib_common.BaseApplication; 5 | 6 | /** 7 | * Created by yxe on 2018/4/6. 8 | */ 9 | 10 | public class Bottomtab2Application extends BaseApplication { 11 | @Override 12 | public void onCreate() { 13 | super.onCreate(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/java/com/yanxuwen/module_bottomtab2/debug/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab2.debug 2 | 3 | import android.os.Bundle 4 | import com.yanxuwen.lib_common.Base.BaseActivity 5 | import com.yanxuwen.lib_common.Bean.Value 6 | import com.yanxuwen.module_bottomtab2.R 7 | import com.yanxuwen.module_bottomtab3.Main.BottomTab2Fragment 8 | 9 | /** 10 | * Created by yanxuwen on 2018/4/9. 11 | */ 12 | class MainActivity : BaseActivity(){ 13 | 14 | 15 | override fun onCreate(savedInstanceState: Bundle?) { 16 | setContentView(R.layout.bt2_main) 17 | super.onCreate(savedInstanceState) 18 | setStatusFull(true) 19 | setSlideable(false) 20 | } 21 | override fun initData() = Unit 22 | 23 | override fun initView(status: Value.ObservableStatus?) = initFragment() 24 | var f1: BottomTab2Fragment?=null 25 | private fun initFragment(){ 26 | var transaction = supportFragmentManager.beginTransaction() 27 | //第一种方式(add),初始化fragment并添加到事务中,如果为null就new一个 28 | if(f1 == null){ 29 | f1 = BottomTab2Fragment::class.java.newInstance() 30 | transaction.add(R.id.frameLayout_main, f1) 31 | } 32 | f1?.execute_setUserVisibleHint=true 33 | //显示需要显示的fragment 34 | transaction.show(f1) 35 | 36 | transaction.commitAllowingStateLoss() 37 | } 38 | } -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/res/layout/bt2_.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 13 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/res/layout/bt2_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab2/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Module_Bottomtab2 3 | 4 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/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:\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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/Manifest/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/java/com/yanxuwen/module_bottomtab3/debug/Bottomtab3Application.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab3.debug; 2 | 3 | 4 | import com.yanxuwen.lib_common.BaseApplication; 5 | 6 | /** 7 | * Created by yxe on 2018/4/6. 8 | */ 9 | 10 | public class Bottomtab3Application extends BaseApplication { 11 | @Override 12 | public void onCreate() { 13 | super.onCreate(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/java/com/yanxuwen/module_bottomtab3/debug/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab3.debug 2 | 3 | import android.os.Bundle 4 | import com.yanxuwen.lib_common.Base.BaseActivity 5 | import com.yanxuwen.lib_common.Bean.Value 6 | import com.yanxuwen.module_bottomtab3.Main.BottomTab3Fragment 7 | import com.yanxuwen.module_bottomtab3.R 8 | 9 | /** 10 | * Created by yanxuwen on 2018/4/9. 11 | */ 12 | class MainActivity : BaseActivity(){ 13 | 14 | 15 | override fun onCreate(savedInstanceState: Bundle?) { 16 | setContentView(R.layout.bt3_main) 17 | super.onCreate(savedInstanceState) 18 | setStatusFull(true) 19 | setSlideable(false) 20 | } 21 | override fun initData() = Unit 22 | 23 | override fun initView(status: Value.ObservableStatus?) = initFragment() 24 | var f1: BottomTab3Fragment?=null 25 | private fun initFragment(){ 26 | var transaction = supportFragmentManager.beginTransaction() 27 | //第一种方式(add),初始化fragment并添加到事务中,如果为null就new一个 28 | if(f1 == null){ 29 | f1 = BottomTab3Fragment::class.java.newInstance() 30 | transaction.add(R.id.frameLayout_main, f1) 31 | } 32 | f1?.execute_setUserVisibleHint=true 33 | //显示需要显示的fragment 34 | transaction.show(f1) 35 | 36 | transaction.commitAllowingStateLoss() 37 | } 38 | } -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/res/layout/bt3_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/res/values/arrays_video.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 推荐 5 | 美女 6 | 随拍 7 | 美食 8 | 户外 9 | 10 | 11 | hotsoon_video 12 | ugc_video_beauty 13 | ugc_video_casual 14 | ugc_video_food 15 | ugc_video_life 16 | subv_jmj 17 | 18 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @color/common_red 4 | 5 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab3/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 小视频 3 | 4 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/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:\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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/Manifest/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/java/com/yanxuwen/module_bottomtab4/Main/BottomTab4Fragment.kt: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab4.Main 2 | 3 | import android.view.View 4 | import com.alibaba.android.arouter.facade.annotation.Route 5 | import com.yanxuwen.lib_common.Base.MyFragment 6 | import com.yanxuwen.lib_common.Bean.ARouterPath 7 | import com.yanxuwen.module_bottomtab4.R 8 | import com.yanxuwen.retrofit.Msg.ObserverListener 9 | 10 | 11 | /** 12 | * Created by yanxuwen on 2017/9/7. 13 | */ 14 | @Route(path = ARouterPath.Module_Bottomtab4_BottomTab4Fragment) 15 | class BottomTab4Fragment : MyFragment() ,View.OnClickListener{ 16 | override fun getMainView(): View? { 17 | if (mainview == null) { 18 | mainview = inflater.inflate(R.layout.bt4_, null) 19 | 20 | } 21 | return mainview 22 | } 23 | override fun init() { 24 | super.init() 25 | } 26 | 27 | override fun onNotifyData(status: ObserverListener.STATUS, type: String, mobject: Any) { 28 | } 29 | 30 | override fun onClick(v: View?) { 31 | 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/java/com/yanxuwen/module_bottomtab4/debug/Bottomtab4Application.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab4.debug; 2 | 3 | 4 | import com.yanxuwen.lib_common.BaseApplication; 5 | 6 | /** 7 | * Created by yxe on 2018/4/6. 8 | */ 9 | 10 | public class Bottomtab4Application extends BaseApplication { 11 | @Override 12 | public void onCreate() { 13 | super.onCreate(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/java/com/yanxuwen/module_bottomtab4/debug/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_bottomtab4.debug 2 | 3 | import android.os.Bundle 4 | import com.yanxuwen.lib_common.Base.BaseActivity 5 | import com.yanxuwen.lib_common.Bean.Value 6 | import com.yanxuwen.module_bottomtab4.Main.BottomTab4Fragment 7 | import com.yanxuwen.module_bottomtab4.R 8 | 9 | /** 10 | * Created by yanxuwen on 2018/4/9. 11 | */ 12 | class MainActivity : BaseActivity(){ 13 | 14 | 15 | override fun onCreate(savedInstanceState: Bundle?) { 16 | setContentView(R.layout.bt4_main) 17 | super.onCreate(savedInstanceState) 18 | setStatusFull(true) 19 | setSlideable(false) 20 | } 21 | override fun initData() = Unit 22 | 23 | override fun initView(status: Value.ObservableStatus?) = initFragment() 24 | var f1: BottomTab4Fragment?=null 25 | fun initFragment(){ 26 | var transaction = supportFragmentManager.beginTransaction() 27 | //第一种方式(add),初始化fragment并添加到事务中,如果为null就new一个 28 | if(f1 == null){ 29 | f1 = BottomTab4Fragment::class.java.newInstance() 30 | transaction.add(R.id.frameLayout_main, f1) 31 | } 32 | f1?.execute_setUserVisibleHint=true 33 | //显示需要显示的fragment 34 | transaction.show(f1) 35 | 36 | transaction.commitAllowingStateLoss() 37 | } 38 | } -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/res/layout/bt4_.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 13 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/res/layout/bt4_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Bottomtab4/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Module_Bottomtab3 3 | 4 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/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:\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 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/src/main/Manifest/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 13 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/src/main/java/com/yanxuwen/module_login/LoginActivity.kt: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_login 2 | 3 | import android.os.Bundle 4 | import com.alibaba.android.arouter.facade.annotation.Route 5 | import com.yanxuwen.lib_common.Base.BaseActivity 6 | import com.yanxuwen.lib_common.Bean.ARouterPath 7 | import com.yanxuwen.lib_common.Bean.Value 8 | 9 | /** 10 | * Created by yanxuwen on 2018/4/9. 11 | */ 12 | 13 | @Route(path= ARouterPath.Module_Login_LoginActivity) 14 | class LoginActivity : BaseActivity(){ 15 | 16 | 17 | override fun onCreate(savedInstanceState: Bundle?) { 18 | setContentView(R.layout.login_main) 19 | super.onCreate(savedInstanceState) 20 | } 21 | override fun initData() = Unit 22 | 23 | override fun initView(status: Value.ObservableStatus?)=Unit 24 | } -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/src/main/java/com/yanxuwen/module_login/debug/LoginApplication.java: -------------------------------------------------------------------------------- 1 | package com.yanxuwen.module_login.debug; 2 | 3 | 4 | import com.yanxuwen.lib_common.BaseApplication; 5 | 6 | /** 7 | * Created by yxe on 2018/4/6. 8 | */ 9 | 10 | public class LoginApplication extends BaseApplication { 11 | @Override 12 | public void onCreate() { 13 | super.onCreate(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/src/main/res/layout/login_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | -------------------------------------------------------------------------------- /toutiao/toutiao/Module_Login/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | module_login 3 | 4 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/androidTest/java/com/example/bbxpc/myapplication/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.example.bbxpc.myapplication; 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 | } -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/assets/microlog.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/app/src/main/assets/microlog.properties -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/assets/srca.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yanxuwen/toutiao/0e761fe03cb7d8554c3be432ac6924a06ee3bc4c/toutiao/toutiao/app/src/main/assets/srca.cer -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/java/com/example/app/myapplication/Activity/Login/Welcome/IWelcomeContract.java: -------------------------------------------------------------------------------- 1 | package com.example.app.myapplication.Activity.Login.Welcome; 2 | 3 | /** 4 | * 作者:严旭文 on 2016/8/10 16:50 5 | * 邮箱:420255048@qq.com 6 | */ 7 | public interface IWelcomeContract { 8 | interface View { 9 | /**Presenter判断完成后通过传递isFirstIn在View判断跳转*/ 10 | public void onJump(boolean isFirstIn); 11 | public void onfinish(); 12 | } 13 | interface Presenter { 14 | /** 初始化 */ 15 | public void initData(); 16 | /** 主要判断是跳转到M主界面还是引导页 */ 17 | public void onJump(); 18 | /** 版本更新*/ 19 | public void onUpdate(final boolean isForce, final String url); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/java/com/example/app/myapplication/Bean/ShareKey.java: -------------------------------------------------------------------------------- 1 | package com.example.app.myapplication.Bean; 2 | 3 | /** 4 | * 作者:严旭文 on 2016/7/8 09:50 5 | * 邮箱:420255048@qq.com 6 | */ 7 | public class ShareKey { 8 | public static String isFirstIn="isFirstIn"; 9 | } 10 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/java/com/example/app/myapplication/MyApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.app.myapplication; 2 | 3 | import android.view.WindowManager; 4 | 5 | import com.yanxuwen.lib_common.BaseApplication; 6 | 7 | /** 8 | * 作者:严旭文 on 2016/7/5 17:45 9 | * 邮箱:420255048@qq.com 10 | */ 11 | public class MyApplication extends BaseApplication { 12 | // public static synchronized MyApplication getInstance() { 13 | // return mApplication; 14 | // } 15 | @Override 16 | public void onCreate() { 17 | super.onCreate(); 18 | isLog=BuildConfig.LOG_DEBUG; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/java/com/example/app/myapplication/weight/BottomNavigation/BottomNavigationItem.java: -------------------------------------------------------------------------------- 1 | package com.example.app.myapplication.weight.BottomNavigation; 2 | 3 | public class BottomNavigationItem { 4 | 5 | private String title; 6 | private int color; 7 | private int imageResource; 8 | private int imageResourceActive = 0; 9 | 10 | public BottomNavigationItem(String title, int color, int imageResource, int imageResource2) { 11 | this.title = title; 12 | this.color = color; 13 | this.imageResource = imageResource; 14 | this.imageResourceActive=imageResource2; 15 | } 16 | public int getImageResource() { 17 | return imageResource; 18 | } 19 | 20 | public void setImageResource(int imageResource) { 21 | this.imageResource = imageResource; 22 | } 23 | 24 | public int getColor() { 25 | return color; 26 | } 27 | 28 | public void setColor(int color) { 29 | this.color = color; 30 | } 31 | 32 | public String getTitle() { 33 | return title; 34 | } 35 | 36 | public void setTitle(String title) { 37 | this.title = title; 38 | } 39 | 40 | public int getImageResourceActive() { 41 | return imageResourceActive; 42 | } 43 | 44 | public void setImageResourceActive(int imageResourceActive) { 45 | this.imageResourceActive = imageResourceActive; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/res/drawable/background_tab.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/res/drawable/selector_guide_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 10 | 12 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/res/drawable/shape_shadow.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 22 | 23 | 28 | 29 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/res/layout/activity_welcome.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 15 | 16 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/res/layout/bottom_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 23 | 24 | 33 | 34 | -------------------------------------------------------------------------------- /toutiao/toutiao/app/src/main/res/layout/fragment_page_first.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 16 | 17 |