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.
如果我有一个视图的引用,我如何在现有视图之上叠加一个图标图像?就像下面的截图(http://android.kanokgems.com/sms-unread-count):
它在拨号器图标的右上角覆盖了一个图标。我怎样才能做到这一点?
谢谢你。
使用RelativeLayout,您可以在同一个地方放置2 个图像视图。第二个图像视图将自动放置在第一个图像视图之上。您可以将第二个属性分配到第一个属性的左侧、底部、上方或右侧。