Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.
I want to write my own LinearLayout class, for learning purposes. Usually I specify some XML attributes for my items, for instance layout_width (android:layout_width="wrap_content). In my own view, how can I read this attribute from it's children?
- Experienced Developer
- Posts: 82
- Joined: Mon Mar 23, 2009 8:59 pm
you can't read the width, because the View width is auto fit, you can get the width when the acticity start complete
- Posts: 28
- Joined: Wed May 07, 2008 9:34 am
Return to View, Layout & Resource Problems
Who is online
Users browsing this forum: Google [Bot], MSNbot Media and 4 guests