title: How to set the margin if using viewbinding
body: <p>I want to set the margin on the LinearLayout in activity_main.xml, but because I'm using viewbinding, the margin doesn't show any result. Is there a way to have the margins on the LinearLayout set even when using viewbinding?</p>
  <p><strong>build.gradle</strong></p>
  <pre><code>android {
      viewBinding {
          enabled = true
      }
  }
  </code></pre>
  <p><strong>acivity_main.xml</strong></p>
  <pre><code>&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:layout_margin=&quot;20dp&quot;
      android:id=&quot;@+id/idLayout&quot;
      android:orientation=&quot;vertical&quot;&gt;
  
      &lt;TextView
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:id=&quot;@+id/idText1&quot;
          android:textSize=&quot;20sp&quot;
          android:text=&quot;HELLO WORLD&quot;/&gt;
      &lt;Button
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:text=&quot;click&quot;
          android:layout_margin=&quot;100dp&quot;
          android:id=&quot;@+id/idButton1&quot;/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  <p><strong>MainActivity.java</strong></p>
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          binding = ActivityMainBinding.inflate(getLayoutInflater());
          View view = binding.getRoot();         
          setContentView(view);
  
          binding.idText1.setText(&quot;This is view binding&quot;);
          binding.idButton1.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  Toast.makeText(getApplicationContext(), &quot;binding&quot;, Toast.LENGTH_SHORT).show();
              }
          });
      }
  </code></pre>