【问题标题】:Can you help me for alert dialog like this picture in API 15 and API 19? [duplicate]你能帮我在 API 15 和 API 19 中像这张图片这样的警报对话框吗? [复制]
【发布时间】:2016-01-29 02:28:08
【问题描述】:

我想为 API 15 和 API 19 使用像这张图片这样的警报对话框

【问题讨论】:

    标签: android android-alertdialog


    【解决方案1】:

    使用 android support v7 appcompat library 来实现这一点。 该库是为了保持向后兼容性。添加此库以引用后,您可以使用AppCompatActivity 而不是Activity。

    要查找此库,请从 sdk/extras/android/support/v7/appcompat 导入库项目,然后在您当前项目的引用中使用它

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-05
      • 1970-01-01
      • 2021-01-28
      相关资源
      最近更新 更多