GithubHelp home page GithubHelp logo

Comments (12)

fengdai avatar fengdai commented on July 18, 2024

That's weird. The layout's resource ID of the ProgressDialogPro is #0x0. Be honest, I don't know the actual reason only if I can get that Lenovo A916 with Android 4.4.

from alertdialogpro.

fengdai avatar fengdai commented on July 18, 2024

Which theme did your PaginaRenderActivity use?

from alertdialogpro.

marbat87 avatar marbat87 commented on July 18, 2024

It uses the following theme on kitkat:

<style name="AppTheme" parent="Theme.MyTheme" >
        <item name="toolbar_shadow">@drawable/toolbar_shadow</item>
</style> 

The parent is the one which I mentioned above.

from alertdialogpro.

fengdai avatar fengdai commented on July 18, 2024

Hi. I want to know whether ProgressDialogPro has obtained the right layout id. Please add below code to your PaginaRenderActivity's onCreate method. And log the value of layoutId. Tell me the result. It should not be 0x0.

        TypedValue outValue = new TypedValue();
        getTheme().resolveAttribute(com.alertdialogpro.R.attr.alertDialogProTheme,
                outValue,
                true);
        int layoutId = new ContextThemeWrapper(this, outValue.resourceId).getTheme().obtainStyledAttributes(null,
                com.alertdialogpro.R.styleable.AlertDialogPro,
                com.alertdialogpro.R.attr.alertDialogProStyle, 0).getResourceId(
                com.alertdialogpro.R.styleable.AlertDialogPro_adpProgressLayout, 0);

from alertdialogpro.

marbat87 avatar marbat87 commented on July 18, 2024

It is not 0x0

03-25 12:50:18.672  11364-11364/it.cammino.risuscito I/class it.cammino.risuscito.PaginaRenderActivity﹕ layoutId: 2130968618 

from alertdialogpro.

fengdai avatar fengdai commented on July 18, 2024

Ran with that Lenovo A916?

from alertdialogpro.

marbat87 avatar marbat87 commented on July 18, 2024

Unfortunately not :( I don't own that phone. I got the error from an user through the play store.

from alertdialogpro.

fengdai avatar fengdai commented on July 18, 2024

: (

from alertdialogpro.

marbat87 avatar marbat87 commented on July 18, 2024

Any idea? I have no idea on how to replicate the issue...

from alertdialogpro.

fengdai avatar fengdai commented on July 18, 2024

How many users have been affected by this issue? If the error occurs only on that Lenovo A916 now. I recommend you to hold it until you get more reports.

from alertdialogpro.

marbat87 avatar marbat87 commented on July 18, 2024

That's the only one user, and the current version of the application has been in production for one month.

from alertdialogpro.

marbat87 avatar marbat87 commented on July 18, 2024

I solved the problem using a normal AlertDialogPro and inflating, as custom view, the same layout took from the ProgressDialogPro.
I emailed the user and he answered that now it works fine.

from alertdialogpro.

Related Issues (20)

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.