Created
May 17, 2018 10:31
-
-
Save xingstarx/cf290711b4b3a7774d2a47da54ce75c4 to your computer and use it in GitHub Desktop.
使用布局创建一个虚线view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<shape xmlns:android="http://schemas.android.com/apk/res/android" | |
android:shape="line"> | |
<stroke | |
android:color="#C7B299" | |
android:dashWidth="10px" | |
android:dashGap="10px" | |
android:width="1dp"/> | |
</shape> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在具体的layout布局中,可以这样使用