Commit 35ac3eaf by 段启岩

Icon组件优化

parent 45d16228
......@@ -6,7 +6,6 @@ import android.util.AttributeSet;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import cn.yunliyunwai.beyondclouds.R;
import cn.yunliyunwai.beyondclouds.util.TypeFaces;
public class BeyondTextIcon extends androidx.appcompat.widget.AppCompatTextView {
......@@ -34,6 +33,5 @@ public class BeyondTextIcon extends androidx.appcompat.widget.AppCompatTextView
private void initView(Context context) {
setTypeface(TypeFaces.ICON_FONT);
setBackground(context.getResources().getDrawable(R.drawable.background_white_touchable));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment