-
Notifications
You must be signed in to change notification settings - Fork 533
Application Crash after strating the Activity io.card.payment.CardIOActivity; #44
Comments
Thank you for reporting this. Would you mind pasting the contents of the entire stack trace? The important part got cutoff at the bottom of your screenshot. |
please find complete stack trace..
|
Thanks for providing the full stack trace. Hmm, the ActionBar object is null. What device OS are you testing on? Are you able to run the Gradle sample app successfully on the same device? |
Android-21; I don't know about Gradle sample app. |
Can you provide more details about the device, including the manufacturer, model number, OS, etc... Also, installing the sample gradle app would really help us nail down this issue. The instructions should be contained within the sample app itself. |
Hello, I have the same problem, Maybe It's about some settings in xml file or layout file. |
I think The problem may be related with this setting.
|
|
I had the same problem, I think it's not working fine with your current theme. |
Does your theme disable the ActionBar? If so, this would explain the NPE. This should be a simple to check if the ActionBar is not null as a means to see if the ActionBar is supported here. Until we fix this, the temporary workaround is removing the following line (or setting to false):
|
I reproduced this by turning off the action bar in my application's theme. The issue has been corrected in |
@braebot I tried to change the background color of the ActionBar to white, but unfortunately can't make it work. Could you kindly guide me what's the correct way to do it. Many Thanks!
|
@braebot continue to previous message. How to change the EditText hint text color? Also, please see the screenshot below, the height of the left 'Done' button is not in the same size of the right one. How can we change the layout of the button? Thanks! |
For change the EditText hint text color, use : *android:textColorHint="#FFFFFF" * Example : - On Tue, Jun 2, 2015 at 8:26 PM, chezhong notifications@github.com wrote:
|
@dhannajha thanks for your reply. But I don't see the possibility to change the layout in card-io SDK. Please kindly share with us if you can. @braebot is there a way to change the layout of the DataEntryActivity from my project. I think the only way is to change source in the project card.io-Android-source, right? |
The hint should be coming from the theme if you're using Also, the regarding the button size, it is actually intended to have a border for the 'selected' button, for use in consoles with controllers. I agree that there is definitely room for improvement. You're welcome to poke at the source to change this up a bit, and submit a Pull Request. |
@braebot Thanks for your reply. We are rush to release this time, so I just hide the confirmation page for now. I will checkout the source code of the library and to see how can I improve the UIs later. But many thanks for your GREAT library. It works very well so far. P.S. You can close this issue. |
I have the same issue as above. I am setting the Card.io Intent extra to use my App's theme, but my theme's value of |
@eliasbagley, ah ha! Let's use card-io/card.io-Android-source#59 to track progress regarding the hint color. |
These steps are followed by me..
error page
The text was updated successfully, but these errors were encountered: