Comments (12)
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.
Which theme did your PaginaRenderActivity use?
from alertdialogpro.
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.
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.
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.
Ran with that Lenovo A916?
from alertdialogpro.
Unfortunately not :( I don't own that phone. I got the error from an user through the play store.
from alertdialogpro.
: (
from alertdialogpro.
Any idea? I have no idea on how to replicate the issue...
from alertdialogpro.
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.
That's the only one user, and the current version of the application has been in production for one month.
from alertdialogpro.
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)
- Compatibility with support v20 HOT 3
- Suggestion: publish on those websites HOT 3
- Possible to use AlertDialogPro with ListPreference widget?
- White buttons in Activity when using dark theme with AppCompat 22 HOT 2
- adpButtonBarPositiveButtonStyle with Holo theme HOT 5
- Add support for the new Support library 22.1 HOT 6
- Resource not found Exception for Api > 21 HOT 4
- Checkbox Buttons Offset on Xperia T HOT 1
- Error when tryin do compile 23 SDK version HOT 3
- Do it support accent color of edittext in the alert dialog pro? HOT 1
- NoClassDefFoundError AllCapsTransformationMethod HOT 2
- Caused by: java.lang.NoClassDefFoundError: android.support.v7.internal.widget.TintTypedArray HOT 1
- hope upgrade to compile 'com.android.support:appcompat-v7:23.1.1' HOT 2
- in support v7 23.1.1 android.support.v7.internal become private how to solve this problem? HOT 1
- Failed to resolve: com.github.fengdai:alertdialogpro-theme-material:0.2.6 HOT 2
- Changing texts' typeface HOT 3
- have error with compile 'com.android.support:appcompat-v7:23.2.1' HOT 2
- 示例代码报错? HOT 1
- Issue About Deprecated Then How Can Handle That Issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alertdialogpro.