Como remover a borda no AlertDialog personalizado?
Estou tentando criar @ personalizadAlertDialog
com um texto de imagem e botões. Quando o mostro, recebo uma borda branca que parece horrível.
Como posso me livrar dessa borda branca?
Aqui está minha caixa de diálogo personalizada:
public LinearLayout customeLL;
public void alertD()
{
AlertDialog ad;
AlertDialog.Builder builder;
Context mContext = getApplicationContext();
TextView a = new TextView(getApplicationContext());
a.setText("Test dialog");
ImageView img = new ImageView(getApplicationContext());
img.setBackgroundResource(R.drawable.bottombar_bg);
LinearLayout customeLL = new LinearLayout(getApplicationContext());
customeLL.setOrientation(LinearLayout.VERTICAL);
customeLL.addView(img,curWidth,37);
customeLL.addView(a,curWidth,37);
builder = new AlertDialog.Builder(myClass.this);
builder.setView(customeLL);
ad=builder.create();
ad.show();
}
Como você pode ver, a borda superior e a imagem têm um espaço de 2 a 3 p