問題タブ [android-bottomsheetdialog]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - BottomSheetDialogFragment の背景を適用した後、ボタンの背景を変更できません
BottomSheetDialogFragment の角を丸くする必要があったため、背景としてカスタム ドローアブルを適用しました。しかし、カスタム背景を適用した後、BottomSheet のボタンはカスタム背景を受け入れません。白い背景を表示するだけです。backgroundTint は正常に機能し、ボタンの色を変更します。
themes.xml :
add_new_bg.xml :
BottomSheetDialogFragment コード: