RelativeLayout relative = ( RelativeLayout) findViewById( R.id.my_layout ); //这个ID是自己布局里的ID,布局用的是RelativeLayoutRelativeLayout relative = ( RelativeLayout)
RelativeLayout relative = ( RelativeLayout) findViewById( R.id.my_layout ); //这个ID是自己布局里的ID,布局用的是RelativeLayoutRelativeLayout relative = ( RelativeLayout)