We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题,代码如下: <com.allen.library.SuperTextView android:layout_width="match_parent" android:layout_height="80dp" android:layout_marginTop="5dp" stv:sCenterBottomTextColor="@color/red" stv:sCenterBottomTextString="中下文字" stv:sCenterTopTextString=" " stv:sCenterViewGravity="left_center" stv:sLeftBottomTextColor="@color/yellow" stv:sLeftBottomTextString="左上文字" stv:sLeftIconHeight="30dp" stv:sLeftIconRes="@mipmap/ic_app_icon" stv:sLeftIconWidth="30dp" stv:sLeftTopTextColor="@color/blue" stv:sLeftTopTextString="左上文字" stv:sLeftViewGravity="left_center" stv:sRightViewType="switchBtn" stv:sShapeCornersRadius="10dp" stv:sShapeSolidColor="@color/green_light" stv:sShapeStrokeColor="@color/green" stv:sShapeStrokeWidth="1dp" stv:sThumbResource="@drawable/thumb" stv:sTrackResource="@drawable/track" stv:sUseRipple="true" stv:sUseShape="true" />
The text was updated successfully, but these errors were encountered:
代码里的useSelector默认为true,导致solidColor失效,自己改源码导入吧:)
Sorry, something went wrong.
已修复 请使用新版V2.4.6
V2.4.6升级日志
No branches or pull requests
如题,代码如下:
<com.allen.library.SuperTextView
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_marginTop="5dp"
stv:sCenterBottomTextColor="@color/red"
stv:sCenterBottomTextString="中下文字"
stv:sCenterTopTextString=" "
stv:sCenterViewGravity="left_center"
stv:sLeftBottomTextColor="@color/yellow"
stv:sLeftBottomTextString="左上文字"
stv:sLeftIconHeight="30dp"
stv:sLeftIconRes="@mipmap/ic_app_icon"
stv:sLeftIconWidth="30dp"
stv:sLeftTopTextColor="@color/blue"
stv:sLeftTopTextString="左上文字"
stv:sLeftViewGravity="left_center"
stv:sRightViewType="switchBtn"
stv:sShapeCornersRadius="10dp"
stv:sShapeSolidColor="@color/green_light"
stv:sShapeStrokeColor="@color/green"
stv:sShapeStrokeWidth="1dp"
stv:sThumbResource="@drawable/thumb"
stv:sTrackResource="@drawable/track"
stv:sUseRipple="true"
stv:sUseShape="true" />
The text was updated successfully, but these errors were encountered: