Giter Site home page Giter Site logo

MainTabGenerateData about hellonews HOT 4 OPEN

murdererhuan avatar murdererhuan commented on June 19, 2024
MainTabGenerateData

from hellonews.

Comments (4)

ldlywt avatar ldlywt commented on June 19, 2024

能请问一下 drawable下面的 一些 fragment的xml加载不了了

能具体一点么?
drawable目录下面都是一些selector,没有Fragment的xml

from hellonews.

murdererhuan avatar murdererhuan commented on June 19, 2024

我把 drawable下面的 xml写好了 现在在MainTabGenerateData 的27行 初始化这几个xml 老是加载不了
是我写错了吗?

from hellonews.

ldlywt avatar ldlywt commented on June 19, 2024

我把 drawable下面的 xml写好了 现在在MainTabGenerateData 的27行 初始化这几个xml 老是加载不了
是我写错了吗?

public static final int[] tabResNormal = new int[]{R.drawable.tab_home_selector, R.drawable.tab_discovery_selector, R.drawable.tab_attention_selector, R.drawable.tab_profile_selector};
这个的意思就是加载底部按钮的图片,你直接拉项目能跑起来么

from hellonews.

murdererhuan avatar murdererhuan commented on June 19, 2024

项目能跑 我是仿照楼主的项目 重写一遍 现在可以了 我把代码重新拉取一遍 放另一台电脑上就能跑了

from hellonews.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.