I'm using a custom dialog with an image as a background. The problem is that the image has round corners and when they appear (during runtime) they are white.
I've tried:
dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
Here is my code.
Context context = Deck_Creator.this;
Dialog dialog = new Dialog(context);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.setContentView(R.layout.content_deck_view);
Deck_Big_Screen_Adapter deck_big_screen_adapter = new Deck_Big_Screen_Adapter(Deck_Creator.this, android.R.layout.simple_list_item_1, _Custom_Hash.getHash_Table(), Image_Loader);
GridView Deck_Cards = (GridView) dialog.findViewById(R.id.dv_grid_cards);
Deck_Cards.setAdapter(deck_big_screen_adapter);
dialog.show();
Here is how it looks now: