Hi,
I have created a custom (alert)dialog based on a layout, which
contains some buttons.
I'd like to listen these buttons, so I tried doing a simple
OnclickListener but it crashes... I think this happens since at start
he tries to listen a element which is not displayed. No ?
Is there anybody
Here is how I do it...
___
AlertDialog.Builder builder;
Context mContext = getApplicationContext();
LayoutInflater inflater = (LayoutInflater)
mContext.getSystemService(LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.widget_icon_selection,
2 matches
Mail list logo