0
点赞
收藏
分享

微信扫一扫

databind显示特殊字符大全


< <  <= ≤

  > >  >= ≥

显示 说明 实体名称 实体编号

半方大的空白    

全方大的空白    

不断行的空白格    
< 小于 < <
> 大于 > >
& &符号 & &
" 双引号 " "
© 版权 © ©
® 已注册商标 ® ®
™ 商标(美国) ™ ™
× 乘号 × ×
÷ 除号 ÷ ÷

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">

<TextView
android:layout_width="wrap_content"
app:text="@{model!=null&&model.title!=nulll?model.title:@string/young_tiele_empty}"
android:layout_height="wrap_content"
android:text=""
android:textColor="#999999"
android:textSize="13sp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="职业:"
app:text="@{model!=null?(@string/young_zhiye(model.occupation)??@string/young_zhiye_empty):@string/young_zhiye_empty}"
android:textColor="#999999"
android:textSize="13sp"
/>

</LinearLayout>

举报

相关推荐

0 条评论