public class MainActivity extends AppCompatActivity {
int d=0,e=0,f=0;
EditText editText;
int width,height;
stay1 stay1;
TextView textView;
LinearLayout l1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.sub);
editText=(EditText)findViewById(R.id.editText);
width = getWindowManager().getDefaultDisplay().getWidth();
height = getWindowManager().getDefaultDisplay().getHeight();
textView=(TextView)findViewById(R.id.textView3);
stay1=(stay1)findViewById(R.id.view);
l1=(LinearLayout)findViewById(R.id.l1);
l1이 이미지 뷰가 포함되어 있는 레이아웃인데요.
l1에 있는 레이아웃만 중심점을 잡으려고 하는데요.
어떻게 해야 하는지 모르겠어요