RxRunTextView.java 771 Bytes
Newer Older
konghaorui committed
1 2 3 4 5 6 7 8 9
package com.yidianling.common.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.ViewDebug;

/**
 * @author  by vondear on 2016/6/28.
 */
YKai committed
10
public class RxRunTextView extends androidx.appcompat.widget.AppCompatTextView {
konghaorui committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    public RxRunTextView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    public RxRunTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public RxRunTextView(Context context) {
        super(context);
    }

    /**
     * 当前并没有焦点,我只是欺骗了Android系统
     */
    @Override
    @ViewDebug.ExportedProperty(category = "focus")
    public boolean isFocused() {
        return true;
    }
}