Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mb-net.net!open-news-network.org!.POSTED.0.225.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: A simpler DOM in JS Date: Thu, 08 Feb 2018 02:27:02 +0100 Organization: PointedEars Software (PES) Lines: 50 Message-ID: <5133477.DvuYhMxLoT@PointedEars.de> References: <3087438.QJadu78ljV@PointedEars.de> <20800614.6Emhk5qWAg@PointedEars.de> <1fcf518b-5771-46ba-885d-3565ece3ca42@googlegroups.com> <2311948.Lt9SDvczpP@PointedEars.de> <1944765.Mh6RI2rZIc@PointedEars.de> <1726220a-10da-4d5a-9ce6-c716290cf571@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="0.225.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch:178.197.225.0"; logging-data="10108"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.2 X-User-ID: U2FsdGVkX19PHWGsYc4GV3buQL3sAkycAFbA3UHS7KydEJCvYau3Ww== Cancel-Lock: sha1:q+HiAZx1U4psw3VVgfs0wFa48zM= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg== X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. "Michael Haufe (TNO)" writes: >> As in, if I rotate the screen and I want LinearLayout to >> become RelativeLayout, what do I do? > > One can save XML files into one's project folder like > > res/ > layout/ > main.xml (Default layout) > layout-port/ > main.xml (Specific layout for portrait mode) > layout-land/ > main.xml (Specific layout for landscape mode) This is nonsense! The directory suffix is supposed to be *more* *specific* as the suffixed directories are preferred. As a result, if you have all three of those directories and files, there is *dead* *code* in layout/main.xml as the screen mode is either “portrait” or “landscape”, and the default is “portrait”. I feel obligated at this point to recommend to everyone to just ignore everything that Stefan Ram says regarding IT. He is a folk high school¹ teacher² impervious to criticism who has repeatedly demonstrated that he has no clue what he is talking about, and probably has not worked so much as one hour in IT. For all the time that I have been reading him in the German-speaking Usenet (several years now), he has just been posing; he has never acknowledged any mistake nor engaged in so much as one discussion to defend his usually ill-advised ideas :-( _______ ¹ ² You are not required to have any formal education or degree to teach there. If suffices that you can convince the school administration that you know what you are talking about. Which is of course a joke as the administration usually does not understand the topic themselves, and thus cannot make an informed judgement. As a result, while the education is comparably inexpensive, you can also find all sorts of crackpots "teaching" there. [de] -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.