lucianchen / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

Text is black on black in Dialog #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I click the share button, the dialog with the list of providers has black 
titles, which when using Holo theme it is black on dark.

Is there any way to change the title text of the provider?

Original issue reported on code.google.com by i...@venderbase.com on 19 Jun 2013 at 4:54

GoogleCodeExporter commented 8 years ago
Hi , Can you please post ur screenshot

Original comment by vineet.a...@3pillarglobal.com on 20 Jun 2013 at 10:52

GoogleCodeExporter commented 8 years ago
Sure. Here's 2 images.
1 using Theme_Sherlock_Light and one with Theme_Sherlock which are just 
backward ports of Holo & Holo light

Original comment by i...@venderbase.com on 20 Jun 2013 at 11:02

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

You need to do changes in source code in sharebuttonadapter. We haven't check 
for themes.

Original comment by vineet.a...@3pillarglobal.com on 21 Jun 2013 at 5:56

GoogleCodeExporter commented 8 years ago
Just for your information. I fixed this problem by changing this line in 
SocialAuthAdapter:
AlertDialog.Builder builder = new AlertDialog.Builder(ctx);

To this:
AlertDialog.Builder builder = new AlertDialog.Builder(new 
ContextThemeWrapper(ctx, android.R.style.Theme_Dialog));

Original comment by i...@venderbase.com on 23 Jun 2013 at 9:33