[Android] 代码中动态设置shape
TextView textView = new TextView(this); GradientDrawable drawable = new GradientDrawable(); drawable.setCornerRadius(5); drawable.setStroke(1, Color.parseColor("#cccccc")); drawable.setColor(Color.parseColor("#eeeeee")); textView.setBackgroundDrawable(drawable);
NOI-001—《C++编程及竞赛训练》
NOI-002—《普及组竞赛强化训练课程》
NOI-003—《初级算法课程》