跑马灯文字效果不起作用 代码片. tv1 = findViewById(R.id.tv_1); tv1.setSelected(true); 在onCreate方法中设置是否选择(.setSelected)参数为true