【问题标题】:How to create the box application widgets as seen in Google Play? [closed]如何创建在 Google Play 中看到的盒子应用程序小部件? [关闭]
【发布时间】:2013-12-05 15:22:49
【问题描述】:

对于我的 Android 应用程序,我想知道如何最好地创建在 Google Play 中看到的白盒应用程序小部件?请参阅随附的屏幕截图:

您可以单击小部件本身,也可以单击三点图标来调出菜单。

有什么想法吗?

【问题讨论】:

标签: java android android-layout android-fragments android-widget


【解决方案1】:

基本上只是创建一个图像并将该图像设置为背景(在此示例中为 GridView,drawable 将是每个单元格的背景)

你也可以看看这个完全符合你要求的库

https://github.com/gabrielemariotti/cardslib

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-07
    • 2016-09-28
    • 2022-01-12
    相关资源
    最近更新 更多