Skip to content

Commit

Permalink
v1.2.0 Release
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sriramramani authored and facebook-github-bot committed Dec 15, 2017
1 parent 67e7e2d commit 7c196e4
Show file tree
Hide file tree
Showing 30 changed files with 354 additions and 129 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Download
If using Gradle, add this to your `build.gradle`:

```groovy
compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.1.0'
compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.2.0'
```

or, if using Maven:
Expand All @@ -25,7 +25,7 @@ or, if using Maven:
<dependency>
<groupId>com.facebook.fbui.textlayoutbuilder</groupId>
<artifactId>textlayoutbuilder</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
<type>aar</type>
</dependency>
```
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ <h3>Download</h3>
<ul>
<li>
If using Gradle, add this to your <code>build.gradle</code>:
<pre>compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.1.0'</pre>
<pre>compile 'com.facebook.fbui.textlayoutbuilder:textlayoutbuilder:1.2.0'</pre>
</li>
<li>
or, if using Maven:
<pre>
&lt;dependency&gt;
&lt;groupId&gt;com.facebook.fbui.textlayoutbuilder&lt;/groupId&gt;
&lt;artifactId&gt;textlayoutbuilder&lt;/artifactId&gt;
&lt;version&gt;1.1.0&lt;/version&gt;
&lt;version&gt;1.2.0&lt;/version&gt;
&lt;typen&gt;aar&lt;/type&gt;
&lt;/dependency&gt;</pre>
</li>
Expand Down
4 changes: 2 additions & 2 deletions docs/javadoc/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:17 PST 2017 -->
<title>All Classes (TextLayoutBuilder API)</title>
<meta name="date" content="2017-04-07">
<meta name="date" content="2017-12-14">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/javadoc/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:17 PST 2017 -->
<title>All Classes (TextLayoutBuilder API)</title>
<meta name="date" content="2017-04-07">
<meta name="date" content="2017-12-14">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:16 PST 2017 -->
<title>GlyphWarmer (TextLayoutBuilder API)</title>
<meta name="date" content="2017-04-07">
<meta name="date" content="2017-12-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:16 PST 2017 -->
<title>ResourceTextLayoutHelper (TextLayoutBuilder API)</title>
<meta name="date" content="2017-04-07">
<meta name="date" content="2017-12-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
Expand Down Expand Up @@ -96,7 +96,7 @@ <h2 title="Class ResourceTextLayoutHelper" class="title">Class ResourceTextLayou
</div>
<div class="contentContainer">
<ul class="inheritance">
<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>
<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>
<li>
<ul class="inheritance">
<li>com.facebook.fbui.textlayoutbuilder.ResourceTextLayoutHelper</li>
Expand All @@ -109,7 +109,7 @@ <h2 title="Class ResourceTextLayoutHelper" class="title">Class ResourceTextLayou
<hr>
<br>
<pre>public class <span class="typeNameLabel">ResourceTextLayoutHelper</span>
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>
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>
<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>
</li>
</ul>
Expand Down Expand Up @@ -186,8 +186,8 @@ <h3>Method Summary</h3>
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<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>
<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>
<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>
<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>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Fri Apr 07 17:15:16 PDT 2017 -->
<!-- Generated by javadoc (1.8.0_144) on Thu Dec 14 21:30:17 PST 2017 -->
<title>TextLayoutBuilder.MeasureMode (TextLayoutBuilder API)</title>
<meta name="date" content="2017-04-07">
<meta name="date" content="2017-12-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
Expand Down Expand Up @@ -92,7 +92,7 @@ <h2 title="Annotation Type TextLayoutBuilder.MeasureMode" class="title">Annotati
<li class="blockList">
<hr>
<br>
<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>)
<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>)
public static @interface <span class="memberNameLabel">TextLayoutBuilder.MeasureMode</span></pre>
<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>
<dl>
Expand Down

0 comments on commit 7c196e4

Please sign in to comment.