形状,材料您和Android小部件
我正在修改我的应用程序的小部件以遵循您指南的最新材料,我发现了许多很棒的灵感来看,例如:
(例如,在这些屏幕截图中使用的其他完全不同的示例(例如图像)在其他完全不同的示例中也看到了时钟的圆形图像或“多边形”形状?据我所知,遵循Google的中等文章和指南,唯一容易获得的效果是圆角。
因此,简而言之:是否有一种简单的来制作图像视图圆形并使用形状,或者我只需要手动获取它们并以编程方式添加它?
I'm revamping my app's widget to follow the latest Material You guidelines, and i found many great inspirations looking at the screenshots from Google, like this one for example:
The main question is, are the shapes (for example, the circular image or the "polygonal" shape of the clock, which i also saw in other examples of totally different nature, like images) used in those screenshots easy to use? As far as i can tell following the Medium articles and guides from Google, the only easy effect to obtain are the rounded corners.
So, to be concise: is there an easy way to make an imageview circular and use shapes, or i simply have to obtain them manually and add this in programmatically?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论