Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Commit c5b676e

Browse files
committed
Added Apache licenses for new files and updated the README to reflect support for tables.
1 parent b5d2822 commit c5b676e

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

HtmlTextView/src/main/java/org/sufficientlysecure/htmltextview/ClickableTableSpan.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (C) 2016 Richard Thai
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package org.sufficientlysecure.htmltextview;
218

319
import android.text.style.ClickableSpan;

HtmlTextView/src/main/java/org/sufficientlysecure/htmltextview/DrawTableLinkSpan.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright (C) 2016 Richard Thai
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package org.sufficientlysecure.htmltextview;
218

319
import android.graphics.Canvas;

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ text.setHtmlFromRawResource(this, R.raw.help, new RemoteImageGetter());
8888
* ``<code>``
8989
* ``<center>``
9090
* ``<strike>``
91+
* ``<table>``
92+
* ``<tr>``
93+
* ``<th>``
94+
* ``<td>``
9195

9296
## License
9397
Apache License v2
@@ -100,6 +104,7 @@ See LICENSE for full license text.
100104
- Original [HtmlRemoteImageGetter](https://gist.github.com/Antarix/4167655) developed by Antarix Tandon
101105
- Original [HtmlLocalImageGetter](http://stackoverflow.com/a/22298833) developed by drawk
102106
- [JellyBeanSpanFixTextView](https://gist.github.com/pyricau/3424004) (with fix from comment) developed by Pierre-Yves Ricau
107+
- [Table support](https://github.com/SufficientlySecure/html-textview/pull/33) added by Richard Thai
103108

104109
## Contributions
105110

0 commit comments

Comments
 (0)