AlertDialog에서 제목 밑줄의 색상을 변경하는 방법이 있습니까? 사용자 정의 스타일 정의 (아래 참조)를 통해 제목 색상을 이미 변경했지만 밑줄에 대한 xml 속성을 찾지 못했습니다. 나는 안드로이드 4.AlertDialog 제목 밑줄 색상
편집을 실행하는거야
<style name="CustomTitle" parent="@android:style/TextAppearance.Holo">
<item name="android:textColor">@color/green</item>
</style>
: 그건 내가에 AlertDialog
Builder ad = new AlertDialog.Builder(new ContextThemeWrapper(this,
R.style.DialogPrivate));
ad.setTitle("Custom Dialog");
ad.setMessage("blaaaaa");
ad.setPositiveButton("test", null);
ad.setNegativeButton("test2", null);
ad.show();
만드는 방법 그리고 그것은 지금과 같은 방법 Screenshot
http://stackoverflow.com/questions/2394935/can-i-underline-text-in을 참조하십시오. -an-android-layout – AliSh
제목 TextView에 액세스하는 방법을 알고 계십니까? 기본 AlertDialog를 사용하고 있는데, 확장하지 않았습니다. – user1173367