Android 动态设置Layout的显示与否
写在课前的话:看帖不回,胸部下垂。LinearLayout rainbowLayout = (LinearLayout)findViewById(R.id.rainbow);rainbowLayout.setVisibility(8);//有三个参数:Parameters:visibility One of VISIBLE, INVISIBLE, or GONE,想对应的三个常量值