如何更改默认自定义对话框的边框颜色?

时间:2012-10-22 05:32:46

标签: java android android-intent android-emulator

如何更改默认自定义对话框的边框颜色?请​​帮帮我。谢谢。

1 个答案:

答案 0 :(得分:0)

使用TelephonyManager.getPhoneType()

TelephonyManager tm = (TelephonyManager)Context.getSystemService(Context.TELEPHONY_SERVICE);
int phoneType = tm.getPhoneType();

// test if phoneType is PHONE_TYPE_GSM or PHONE_TYPE_CDMA
相关问题