android - 围绕另一个文本的 Nativescript 文本

标签 android ios nativescript angular2-nativescript

如何使文本位于其他文本或图像周围?我需要这样的东西:

Label1 Label1 Label2
Label1 Label1 Label1
...

Label1 围绕着 Label 2...

这是我尝试过的:

<FlexboxLayout width="100%" row="1">
        <Label [text]="item.description" textWrap="true"></Label>
        <Label text="3.33" width="100" height="50" textWrap="true"></Label>
</FlexboxLayout>

但它看起来不太好......

最佳答案

我认为尚不支持开箱即用,但如果您有兴趣,可以使用 iOS 的 native 解决方案/Android .

关于android - 围绕另一个文本的 Nativescript 文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54423009/

相关文章:

ios - WatchKit Complication Modular Large Columns - 列的宽度

angular - 如何使用 NativeScript 和 Angular 接收推送通知?

android - 我的 Android 设备无法使用 tns 预览扫描 CLI 中生成的二维码

angularjs - 页面加载时 NativeScript 无法获取或设置 UI 属性

android - Google 地方信息自动完成

android - mopub 广告单元预热需要多长时间?

android - 使用模拟器时android的文件路径

java - 用于 Android 应用程序开发的 JDK

ios - iOS 中的形状动画

iphone - 作为 subview 访问时如何为uibutton设置图片