Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ICS-Devices のダイアログにカスタム カラーを使用したいと考えています。デフォルトは青 (画像を参照) ですが、これをアプリの配色に合う色 (赤など) に設定するにはどうすればよいですか?
これを試すことができます:
AlertDialog alert = builder.create(); alert.show(); alert.getListView().setBackgroundColor(Color.RED); //This is for Color alert.setCancelable(true);