Стилизация titleDivider в диалоге
Мне интересно, как можно избавиться от (или изменить цвет) titleDivider в диалоге. Это синяя линия под заголовком диалога, отображаемым на устройствах Honeycomb +.
Я предполагаю, что это уместная часть макета из SDK, но так как нет атрибута стиля, я не знаю, как его стилизовать. Если я попробую с findViewById, то нет android.R.id.titleDivider
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:fitsSystemWindows="true">
<TextView android:id="@android:id/title" style="?android:attr/windowTitleStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@android:dimen/alert_dialog_title_height"
android:paddingLeft="16dip"
android:paddingRight="16dip"
android:gravity="center_vertical|left" />
<View android:id="@+id/titleDivider"
android:layout_width="match_parent"
android:layout_height="2dip"
android:background="@android:color/holo_blue_light" />
<FrameLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:foreground="?android:attr/windowContentOverlay">
<FrameLayout android:id="@android:id/content"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
</LinearLayout>
Я попытался переопределить dialogTitleDecorLayout, который является только ссылкой на dialog_title_holo.xml в моем theme.xml, но безуспешно. Ошибка:
error: Error: No resource found that matches the given name: attr 'dialogTitleDecorLayout'.