diff --git a/src/main/java/ru/touchin/roboswag/components/utils/spans/ColoredUrlSpan.java b/src/main/java/ru/touchin/roboswag/components/utils/spans/ColoredUrlSpan.java index 2c77ae9..6e815e0 100644 --- a/src/main/java/ru/touchin/roboswag/components/utils/spans/ColoredUrlSpan.java +++ b/src/main/java/ru/touchin/roboswag/components/utils/spans/ColoredUrlSpan.java @@ -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());