Specifying LinearLayout orientation in resource "values"

by Justin Giles » Tue, 20 Apr 2010 20:41:12 GMT

Sponsored Links
 I suppose you could change the orientation in code.  After you assign the
view in your onCreate, do a check to see whether the user is on landscape or
portrait mode and set the orientation value accordingly.  This should be a
bit more fool-proof than your method, however it could have its own
drawbacks in that it could cause shifting on the screen visible to the user.
 Might be worth a try though.



Specifying LinearLayout orientation in resource "values"

by westmeadboy » Wed, 21 Apr 2010 05:18:35 GMT

 I'm a little nervous about setting it in code (also in
onConfigurationChanged() ) for the reasons you mentioned. It just
feels "tighter" to do it in the XML...

> >

Sponsored Links

Other Threads

1. [WTS] T-Mobile G2 + Acer Stream dkk.

Halo ,

Numpang jalum yah ,

1. Htc T-Mobile G2 New Unlocked @4,45juta.
2. Htc T-Mobile Second Like New Unlocked @4,25juta.
3. Acer Stream Second Like New (pemakaian 1bulan) @3,5juta.
4. Htc HD7 Second Like New (pemakaian beberapa hari) Fullset @5.49juta.
5. Htc Surround (Win7) New Unlocked @4,49juta.

japri : a...@i-gadgetstore.com / 08122 1111 191.

Makasih mods buat jalum nya , Have a nice weekend all :)

Salam ,

Ary Malik l i-gadget store


2. Repost WTS Kartu Three ex Bundling Nexian Journey + Kelengkapan Nexian Journey

Mod dan Rekan2,
Minta ijin numpang repost jualan, karena HP Nexian Journey nya telah diambil
tanpa ijin oleh orang yang tidak bertanggungjawab, maka untuk buang sial mau
dijual kartu Three (3) ex bundling (aktif di pertengahan desember 2010)

Kartu tsb dijual satu paket dengan kelengkapan dari nexian journey (kumplit
dus, buku,handsfree belum pernah dipake, charger, tanpa pouch krn memang gak
dapat pouch)

Harga 400 ribu prefer COD di sekitar jakpus or kemang jaksel

Info lebih lanjut silakan japri ke : masadhi2...@gmail.com

Terima kasih,


3. oot - share score paper toss

4. Honeycomb SDK - TabHost issue

5. XL unlimited Ga bisa browsing

6. Nexus S vs Motorola Atrix

7. [WTT Want To nyari-Temen] Anggota id-Android Bandung