0
아래는 AlertDialog 상자의 코드입니다. 나는 이것을 Google지도에서 사용하고 있습니다. "더보기"를 추가하고 싶습니다 하이퍼 링크 메시지 끝에 ... 링크 작업을 위해 지금까지 내가 무엇을 놓쳤는 지 모르겠습니다. 도움에 미리 감사드립니다.안드로이드에서 AlertDialog 메시지에 링크 추가
@Override
protected boolean onTap(int index) {
// TODO Auto-generated method stub
OverlayItem item = pinpoints.get(index);
AlertDialog.Builder dialog = new AlertDialog.Builder(c);
dialog.setTitle(item.getTitle());
dialog.setMessage(item.getSnippet()+"\n\n"+Html.fromHtml("<a href=\'http://www.nip.org.np\'>See more</a>"));
dialog.show();
return true;
}
가능한 중복 : http://stackoverflow.com/questions/1997328/android-clickable-hyperlinks-in-alertdialog – Dalmas