Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 83187200B72 for ; Thu, 11 Aug 2016 14:58:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8059B160A94; Thu, 11 Aug 2016 12:58:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D0471160AB4 for ; Thu, 11 Aug 2016 14:58:23 +0200 (CEST) Received: (qmail 18383 invoked by uid 500); 11 Aug 2016 12:58:23 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 18010 invoked by uid 99); 11 Aug 2016 12:58:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2016 12:58:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BFEC12C02AD for ; Thu, 11 Aug 2016 12:58:22 +0000 (UTC) Date: Thu, 11 Aug 2016 12:58:22 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11677) in cordova-plugin-dialogs prompt text is invisible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 Aug 2016 12:58:24 -0000 [ https://issues.apache.org/jira/browse/CB-11677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417173#comment-15417173 ] ASF GitHub Bot commented on CB-11677: ------------------------------------- Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-plugin-dialogs/pull/81#discussion_r74416632 --- Diff: src/android/Notification.java --- @@ -286,7 +286,9 @@ public synchronized void prompt(final String message, final String title, final Runnable runnable = new Runnable() { public void run() { final EditText promptInput = new EditText(cordova.getActivity()); - promptInput.setHint(defaultText); + final int promptInputColor = 0xff444444; --- End diff -- @matrosovN, i think you should avoid using 'magic' numbers. IMO this value should be read from resources, rather than hardcoded. > in cordova-plugin-dialogs prompt text is invisible > -------------------------------------------------- > > Key: CB-11677 > URL: https://issues.apache.org/jira/browse/CB-11677 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin Dialogs > Affects Versions: 1.2.1 > Environment: ionic-framework 1.1 > Android > Windows 10 > Reporter: dinesh > Labels: easyfix, newbie > > dialog prompt text color is not set. As a result the text appears invisible to the user. > I added c. line 290 in src\Notification.java in function prompt() to temporarily get around this problem > promptInput.setTextColor(0xff444444); -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org