public SearchView(Context context, StringBuilder queryText, SearchTextFormatter
textFormatter) {
super(context);
mQueryText = queryText;
mTextFormatter = textFormatter;
final SurfaceHolder holder = getHolder();
holder.setFormat(PixelFormat.TRANSLUCENT);
holder.addCallback(mSurfaceCallback);
// Gradient colors.
final int[] colors = new int[] {GRADIENT_INNER_COLOR, GRADIENT_OUTER_COLOR};
mGradientBackground = new GradientDrawable(Orientation.TOP_BOTTOM, colors);
mGradientBackground.setGradientType(GradientDrawable.LINEAR_GRADIENT);
}
NodeSearch.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:talkback
作者:
评论列表
文章目录