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.
我想知道我可以为我的底部边框绘制这种类型的线(阴影线)有什么帮助吗???
创建一个9 patch相同的图像,将可扩展区域标记为此边框上方的所有内容,并将其设置9 patch为您希望拥有此边框的视图的背景。
9 patch
您还可以创建一个LinearLayout具有所需高度(2-3 dp?)并将其用作背景图像。将此布局放在您想要此边框的视图下方。
LinearLayout