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
我都是这样定义的,但是一刷新界面图标经常全部消失了,显示不出来。drawable文件显示不出来了,我的操作就是点击跳转另外一个页面,再回到这个页面的时候,界面再次获取焦点的时候,图标全部显示不出来了 <com.bilibili.magicasakura.widgets.TintTextView android:id="@+id/tv_state" style="@style/Text_Content_Nomal_style" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="right" android:drawableLeft="@{model.sceneStatus==model.SCENE_CLOSED?@drawable/scene_closed:@drawable/scene_open}" android:drawableRight="@drawable/arrow_nospace" android:gravity="center_vertical" android:text="@{model.text}" android:textColor='@{model.sceneStatus==model.SCENE_CLOSED?@color/negitive:@color/dark_green}' />
The text was updated successfully, but these errors were encountered:
目前是暂时没有正式适配
Sorry, something went wrong.
No branches or pull requests
我都是这样定义的,但是一刷新界面图标经常全部消失了,显示不出来。drawable文件显示不出来了,我的操作就是点击跳转另外一个页面,再回到这个页面的时候,界面再次获取焦点的时候,图标全部显示不出来了
<com.bilibili.magicasakura.widgets.TintTextView
android:id="@+id/tv_state"
style="@style/Text_Content_Nomal_style"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="right"
android:drawableLeft="@{model.sceneStatus==model.SCENE_CLOSED?@drawable/scene_closed:@drawable/scene_open}"
android:drawableRight="@drawable/arrow_nospace"
android:gravity="center_vertical"
android:text="@{model.text}"
android:textColor='@{model.sceneStatus==model.SCENE_CLOSED?@color/negitive:@color/dark_green}' />
The text was updated successfully, but these errors were encountered: