header comments

This commit is contained in:
gorodeckii 2017-07-05 14:30:52 +03:00
parent 838faf8e8c
commit 3cc9baa7ba
1 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,22 @@
/*
* Copyright (c) 2017 RoboSwag (Gavriil Sitnikov, Vsevolod Ivanov)
*
* This file is part of RoboSwag library.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package ru.touchin.roboswag.components.utils.spans;
import android.support.annotation.ColorInt;
@ -6,6 +25,7 @@ import android.text.TextPaint;
import android.text.style.URLSpan;
/**
* Created by Anton Arhipov on 05/07/2017.
* URLSpan that takes custom color and doesn't have the default underline.
* Don't forget to use
* textView.setMovementMethod(LinkMovementMethod.getInstance());