使用 SlbSyView slbView; slbView = (SlbSyView) findViewById(R.id.slbView); slbView.setHeights(new float[]{2.1112f, 2.2311f, 2.3001f, 2.1234f, 2.3421f, 2.0015f, 2.3256f}); slbView.setVisibility(View.VISIBLE); <com.bcb.presentation.view.custom.SlbSyView a