Andriod 文本处理库 TextLayoutBuilder

码农软件 · 软件分类 · Android UI 组件 · 2019-04-24 07:13:29

软件介绍

TextLayoutBuilder 使用和 builder 模式来配置创建 Layout 所需的参数。这个 Builder 类和 TextView 的很相似。调用 build(),TextLayoutBuilder 即可根据设定的参数创建一个文本 Layout

  • 轻松创建文字布局。

  • 相似风格的布局,可重用 builder。

  • 可缓存常用文字布局。

  • FreeType 缓存预热。

Layout layout = new TextLayoutBuilder()
    .setTextAppearance(context, resId)
    .setText("TextLayoutBuilder makes life easy")
    .setWidth(400 /*, MEASURE_MODE_EXACTLY */)
    .build();

本文地址:https://www.codercto.com/soft/d/4257.html

Implementing Responsive Design

Implementing Responsive Design

Tim Kadlec / New Riders / 2012-7-31 / GBP 27.99

New devices and platforms emerge daily. Browsers iterate at a remarkable pace. Faced with this volatile landscape we can either struggle for control or we can embrace the inherent flexibility of the w......一起来看看 《Implementing Responsive Design》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具