cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Bohrer (JIRA)" <>
Subject [jira] [Created] (CB-8292) notification.prompt has invisible white text for user input
Date Sun, 11 Jan 2015 17:40:34 GMT
Steve Bohrer created CB-8292:

             Summary: notification.prompt has invisible white text for user input
                 Key: CB-8292
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Dialogs
    Affects Versions: 3.5.0
         Environment:, with core plugins from source= ""
(Sorry I can't verify if this is just a problem or an issue with the plugin,
but from the code diffs, seems it is the plugin.)
            Reporter: Steve Bohrer
            Priority: Minor

In 0.2.9 of the core dialogs plugin, the change note says: "When you don't specify a theme
the platform defaults back to gingerbread styling. By applying the device default theme it
will change it to the new (and much nicer looking) styles on newer devices."

However, the EditText item is not changed, so user-entered text is still in the gingerbread
styling, which results in white text on the new white dialog background. This issue persists
through dialogs plugin 0.2.11. (Note that the default prompt string is drawn with the proper
font, but when the user enters text, it is white.)

>From the diffs at;a=commitdiff;h=90ad94c3309619b9e629ccf416d1a787df7c3d0e

It is clear that AlertDialog.Builder is called with the new default style, but the EditText
item is unchanged.

Here's the excerpt of the relevant diffs:

@@ -270,7 +270,7 @@ public class Notification extends CordovaPlugin {
             public void run() {
                 final EditText promptInput =  new EditText(cordova.getActivity());
-                AlertDialog.Builder dlg = new AlertDialog.Builder(cordova.getActivity());
+                AlertDialog.Builder dlg = new AlertDialog.Builder(cordova.getActivity(),

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message