Skip to content

Commit 7c196e4

Browse files
sriramramanifacebook-github-bot
authored andcommitted
v1.2.0 Release
Summary: @public Version 1.2.0 Release. - Adds support for breakStrategy and hyphenationFrequency - Fixes AbsoluteSpan problems - Adds a sample app Reviewed By: xiphirx Differential Revision: D6577108 fbshipit-source-id: 8cebc26dd8f859dd6b0b837c6154e78fc7842ea9
1 parent 67e7e2d commit 7c196e4

30 files changed

+354
-129
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Download
1616
If using Gradle, add this to your `build.gradle`:
1717

1818
```groovy
19-
compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.1.0'
19+
compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.2.0'
2020
```
2121

2222
or, if using Maven:
@@ -25,7 +25,7 @@ or, if using Maven:
2525
<dependency>
2626
<groupId>com.facebook.fbui.textlayoutbuilder</groupId>
2727
<artifactId>textlayoutbuilder</artifactId>
28-
<version>1.1.0</version>
28+
<version>1.2.0</version>
2929
<type>aar</type>
3030
</dependency>
3131
```

docs/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ <h3>Download</h3>
116116
<ul>
117117
<li>
118118
If using Gradle, add this to your <code>build.gradle</code>:
119-
<pre>compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.1.0'</pre>
119+
<pre>compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.2.0'</pre>
120120
</li>
121121
<li>
122122
or, if using Maven:
123123
<pre>
124124
&lt;dependency&gt;
125125
&lt;groupId&gt;com.facebook.fbui.textlayoutbuilder&lt;/groupId&gt;
126126
&lt;artifactId&gt;textlayoutbuilder&lt;/artifactId&gt;
127-
&lt;version&gt;1.1.0&lt;/version&gt;
127+
&lt;version&gt;1.2.0&lt;/version&gt;
128128
&lt;typen&gt;aar&lt;/type&gt;
129129
&lt;/dependency&gt;</pre>
130130
</li>

docs/javadoc/allclasses-frame.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:17 PST 2017 -->
66
<title>All Classes (TextLayoutBuilder API)</title>
7-
<meta name="date" content="2017-04-07">
7+
<meta name="date" content="2017-12-14">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>

docs/javadoc/allclasses-noframe.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:17 PST 2017 -->
66
<title>All Classes (TextLayoutBuilder API)</title>
7-
<meta name="date" content="2017-04-07">
7+
<meta name="date" content="2017-12-14">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>

docs/javadoc/com/facebook/fbui/textlayoutbuilder/GlyphWarmer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:16 PST 2017 -->
66
<title>GlyphWarmer (TextLayoutBuilder API)</title>
7-
<meta name="date" content="2017-04-07">
7+
<meta name="date" content="2017-12-14">
88
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
99
<script type="text/javascript" src="../../../../script.js"></script>
1010
</head>

docs/javadoc/com/facebook/fbui/textlayoutbuilder/ResourceTextLayoutHelper.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:16 PST 2017 -->
66
<title>ResourceTextLayoutHelper (TextLayoutBuilder API)</title>
7-
<meta name="date" content="2017-04-07">
7+
<meta name="date" content="2017-12-14">
88
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
99
<script type="text/javascript" src="../../../../script.js"></script>
1010
</head>
@@ -96,7 +96,7 @@ <h2 title="Class ResourceTextLayoutHelper" class="title">Class ResourceTextLayou
9696
</div>
9797
<div class="contentContainer">
9898
<ul class="inheritance">
99-
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
99+
<li><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
100100
<li>
101101
<ul class="inheritance">
102102
<li>com.facebook.fbui.textlayoutbuilder.ResourceTextLayoutHelper</li>
@@ -109,7 +109,7 @@ <h2 title="Class ResourceTextLayoutHelper" class="title">Class ResourceTextLayou
109109
<hr>
110110
<br>
111111
<pre>public class <span class="typeNameLabel">ResourceTextLayoutHelper</span>
112-
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
112+
extends <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
113113
<div class="block">An utility class to update a <a href="../../../../com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.html" title="class in com.facebook.fbui.textlayoutbuilder"><code>TextLayoutBuilder</code></a> from an Android resource.</div>
114114
</li>
115115
</ul>
@@ -186,8 +186,8 @@ <h3>Method Summary</h3>
186186
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
187187
<!-- -->
188188
</a>
189-
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
190-
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
189+
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
190+
<code><a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://developer.android.com/reference/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
191191
</ul>
192192
</li>
193193
</ul>

docs/javadoc/com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.MeasureMode.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:17 PST 2017 -->
66
<title>TextLayoutBuilder.MeasureMode (TextLayoutBuilder API)</title>
7-
<meta name="date" content="2017-04-07">
7+
<meta name="date" content="2017-12-14">
88
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
99
<script type="text/javascript" src="../../../../script.js"></script>
1010
</head>
@@ -92,7 +92,7 @@ <h2 title="Annotation Type TextLayoutBuilder.MeasureMode" class="title">Annotati
9292
<li class="blockList">
9393
<hr>
9494
<br>
95-
<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#SOURCE" title="class or interface in java.lang.annotation">SOURCE</a>)
95+
<pre><a href="https://developer.android.com/reference/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#SOURCE" title="class or interface in java.lang.annotation">SOURCE</a>)
9696
public static @interface <span class="memberNameLabel">TextLayoutBuilder.MeasureMode</span></pre>
9797
<div class="block">Measure mode constants similar to <a href="https://developer.android.com/reference/android/view/View.MeasureSpec.html?is-external=true" title="class or interface in android.view"><code>View.MeasureSpec</code></a></div>
9898
<dl>

0 commit comments

Comments
 (0)