[Q] N2E (NST) popup text invisible

cristoslc

New member
Aug 16, 2008
2
0
0
In many application popups, such as the XKCD Browser's "Hint" function (to show the alt-text), most of the dialog box's text is invisible [see attached photo].

Does anyone know why that is? Is there some kind of "white on white" problem? If so, can I modify such popups system-wide?

Running TouchNooter 2.1.31 over Nook 1.1.0 firmware on Nook Simple Touch (N2E)
 
Last edited:

rhhd

Senior Member
Jan 19, 2011
70
7
0
MUC
I am also seeing this quite often. For example on the intent dialogue the "always open with this application" text is invisible (you only see the checkbox).
 

Renate NST

Inactive Recognized Developer / Recognized Contrib
Feb 3, 2012
2,676
1,217
193
Boston
The XKCD and the "always open" dialog are two separate, but related issues.

It's the clash of frameworks, themes and styles.

For XKCD, I'd take it apart using apktool and fix it so that the text is black.

For "always open", the problem is that they got fancy inserting the option
and they didn't leave space for it in the dialog.
That needs to get fixed in framework-res.apk.
 
  • Like
Reactions: cristoslc

johhosoe48

New member
Jan 31, 2013
1
0
0
I have a similar white on white problem with submenus in Goldendict. It could be fixed in the res of the goldendict .apk, but after decompiling/recompling and signing, the resulting .apk will install, but gives errors during usage due to "corruption."

As an alternative approach, what specifically would I need to change in the framework-res.apk in order to fix the problem. Is there some style I could modify to adjust the text color in the framework-res.apk?

This is the responsible code from the goldendict apk that is producing the white-on-white problem.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
    <TextView android:textAppearance="?android:textAppearanceLarge" android:id="@id/textView1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5.0px" android:text="@string/from" />
    <GridView android:id="@id/fromGrid" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="10.0px" android:listSelector="@android:color/transparent" android:columnWidth="50.0sp" android:numColumns="auto_fit" android:layout_weight="1.0" />
    <TextView android:textAppearance="?android:textAppearanceLarge" android:id="@id/textView2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5.0px" android:text="@string/to" />
    <GridView android:id="@id/toGrid" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="10.0px" android:listSelector="@android:color/transparent" android:columnWidth="50.0sp" android:numColumns="auto_fit" android:layout_weight="1.0" />
    <TextView android:textAppearance="?android:textAppearanceLarge" android:id="@id/switchToRecentPairs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5.0px" android:text="@string/switch_to_recent_pairs" />
</LinearLayout>
 

paroariax

Senior Member
Feb 25, 2010
55
7
0
I just logged on here to report this same problem, but I wasn't sure if it was a white-on-white problem or a missing font problem. Would be really great if someone could fix this globally, although I suspect there's nothing you can do globally to fix a hard-coded colour (I may be wrong). App developers should never use a hard-coded colour, its a sloppy design practice. :(