blob: 349c7f4c4353cb043c4cce3d7657c01f96b2a149 [file] [log] [blame]
package com.android.server.status;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextSwitcher;
public class TickerView extends TextSwitcher
{
Ticker mTicker;
public TickerView(Context context, AttributeSet attrs) {
super(context, attrs);
}
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
mTicker.reflowText();
}
}