On 6 Sty, 21:55, "Dianne Hackborn" <[email protected]> wrote:
> If the two layouts are used for the same activity but with different
> orientations, then you will need to keep the IDs consistent between them.

yes, i know that.
but i dont have per-orientation layouts: i have two layouts for
"default" orientation and based on some condition i setView with
R.layout.l0 or R.layout.l1

l0 and l1 have views with the same IDs and when ^-F12 i experienced
class cast exception

pskink
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to