Widget - Layout Height

Anmol dwivedi
0

LinearLayout layout = findViewById(R.id.linear1);
LayoutParams params = layout.getLayoutParams();
params.height = 100;
params.width = 100;
layout.setLayoutParams(params);

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
Our website uses cookies to enhance your experience. Learn More
Accept !