在11.0系统中 AlertDialog 对话框 针对确定和取消 两个button 字体默认颜色的不太好看,由于客户的需求修改button字体的颜色
首选先看布局文件alert_dialog.xml 中采用的哪个布局样式
布局为:frameworks\base\core\res\res\layout\alert_dialog.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/parentPanel"
android:layout_width=