W androidandroidR tlM IAAHio

<Button android:id="@+id/my_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/my_button_text"/>

Button myButton = (Button) findViewById(R.id.my_button);

Layout Parameters

XML ^MMttffl layout_something ViewGroup

Layout Parameters

XML ^MMttffl layout_something ViewGroup

^S^WSS^M^^Ä Available Resources tßto aa getLeft()ff getTop()#m^#&tto getWidth()^£^#ts,^w getRight()=getLeft()+getWidth().

0 0

Post a comment