Close button below dtmf dialpad on conference activity.
This commit is contained in:
parent
9234d7f868
commit
16d02ef317
2 changed files with 9 additions and 7 deletions
|
@ -10,6 +10,8 @@
|
|||
|
||||
<string name="skipable_error_service_not_ready">Warning: service is not ready</string>
|
||||
|
||||
<string name="close_button_text">Close</string>
|
||||
|
||||
<string name="status_conf_call">conf</string>
|
||||
<string name="status_active_call">active</string>
|
||||
<string name="state_paused">paused</string>
|
||||
|
|
|
@ -178,13 +178,13 @@ public class ConferenceActivity extends ListActivity implements
|
|||
getLayoutInflater().inflate(R.layout.numpad, null))
|
||||
// .setIcon(R.drawable.logo_linphone_57x57)
|
||||
// .setTitle("Send DTMFs")
|
||||
// .setPositiveButton("hide", new
|
||||
// DialogInterface.OnClickListener() {
|
||||
// public void onClick(DialogInterface dialog, int whichButton)
|
||||
// {
|
||||
// dismissDialog(id);
|
||||
// }
|
||||
// })
|
||||
.setPositiveButton(getString(R.string.close_button_text), new
|
||||
DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int whichButton)
|
||||
{
|
||||
dismissDialog(id);
|
||||
}
|
||||
})
|
||||
.create();
|
||||
default:
|
||||
throw new RuntimeException("unkown dialog id " + id);
|
||||
|
|
Loading…
Reference in a new issue