Hello!
I have a Round
class that extends LinearLayout
. How do I get the height and width in pixels from AttributeSet attrs
constructor?
<Round android:id="@+id/gameField" android:layout_width="fill_parent" android:layout_height="50dp" android:layout_weight="0.28" android:gravity="bottom" android:orientation="horizontal" > </Round>