Android Studio: 带有分隔线或文本

huangapple 未分类评论51阅读模式
英文:

Android Studio: Seperator Line with or text

问题

对于我的登录界面,我想在分隔线上添加一个带有"或"标签的分隔符。我使用Android Studio和Kotlin进行开发。设计部分我使用Adobe XD完成,效果应如下图所示:

Android Studio: 带有分隔线或文本

我的想法是使用两个视图来创建分隔线,再使用一个TextView来放置"或"标签。
你有更好的建议吗?

英文:

for my login screen i want to add a seperator line with an or tag in the middle of the line.
I use Android Studio and Kotlin. I do the design in Adobe XD and this is how it should look like.

Android Studio: 带有分隔线或文本

My idea is to use two views for the lines and one textView for the or.
Do you have better ideas?

huangapple
  • 本文由 发表于 2020年5月29日 17:11:47
  • 转载请务必保留本文链接:https://java.coder-hub.com/62082433.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定