@@ -0,0 +1,1886 @@
+/*%0A * Copyright 2016 Philip Cohn-Cort%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.fuzz.indicator.text;%0A%0Aimport android.content.Context;%0Aimport android.support.annotation.NonNull;%0Aimport android.text.Spannable;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.TextView;%0A%0Aimport com.fuzz.indicator.CutoutViewIndicator;%0Aimport com.fuzz.indicator.CutoutViewLayoutParams;%0Aimport com.fuzz.indicator.LayeredView;%0Aimport com.fuzz.indicator.LayeredViewGenerator;%0A%0A/**%0A * This generator is intended to animate stuff on TextViews%0A *%0A * @author Philip Cohn-Cort (Fuzz)%0A */%0Apublic abstract class TextViewGenerator implements LayeredViewGenerator %7B%0A    @NonNull%0A    @Override%0A    public LayeredView createCellFor(@NonNull ViewGroup parent, int position) %7B%0A        CutoutViewLayoutParams lp = ((CutoutViewIndicator) parent).generateDefaultLayoutParams();%0A%0A        TextView child = new TextView(parent.getContext());%0A        child.setText(getTextFor(parent.getContext(), position));%0A        child.setLayoutParams(lp);%0A%0A        return new LayeredTextViewHolder(child);%0A    %7D%0A%0A    @NonNull%0A    protected abstract Spannable getTextFor(@NonNull Context context, int position);%0A%0A    @Override%0A    public void onBindChild(@NonNull View child, @NonNull CutoutViewLayoutParams lp) %7B%0A        child.setBackgroundResource(lp.cellBackgroundId);%0A    %7D%0A%7D%0A

Add a new generator for encapsulating the basic TextView stuff