通过XML文件生成View
更新:HHH   时间:2023-1-7


View view = LayoutInflater.from(getApplicationContext()).inflate(R.layout.player, null);
View view = inflater.inflate(R.layout.your_view_id, null);


返回开发技术教程...