Help Needed With Some Layout - UI Problems

by MobDev » Mon, 08 Feb 2010 22:56:47 GMT


Sponsored Links
 Hi,
I'd like to create an UI existing out of the following elements :

<LinearLayout>
    <TableLayout>
        <TableRow>
           <ImageButton>
           <TextView>
        </TableRow>
   </TableLayout>
   <ScrollView>
      <TableLayout>
         <TableRow>
            <ImageButton>
            <ImageButton>
         </TableRow>
          <TableRow>
            <ImageButton>
            <ImageButton>
         </TableRow>
          <TableRow>
            <ImageButton>
            <ImageButton>
         </TableRow>
      </TableLayout>
    </ScrollView>

So in short :
A vertical LinearLayout, which contains first a TableLayout with just
one TableRow, and afterwards a Scrollable Table...

If I try it like above I actually will only see the first TableLayout,
the ScrollView (with it's tabel and tablerows) won't show at all...
I read that within a ScrollView there should be a LinearLayout and in
there the TableLayout...
So I did that and it works but ONLY if I completely remove the first
TableLayout, which I actually want to keep..

So is this some kind of know bug, or how could I possibly solve this ?
Is it possible for a ScrollView to co-exist with another TableLayout
(on the same XML "level") ? Or can it onky exits if it's the only
child of the base-layout ?

--



Help Needed With Some Layout - UI Problems

by TreKing » Tue, 09 Feb 2010 02:39:12 GMT


 



What's the point of having a TableLayout with just one row? Why not just use
a horizontal LinearLayout?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 

--


Sponsored Links


Help Needed With Some Layout - UI Problems

by Sekhar » Tue, 09 Feb 2010 03:12:59 GMT


 It will work, make sure you have the orientation set to vertical for
the LinearLayout.




--



Help Needed With Some Layout - UI Problems

by MobDev » Tue, 09 Feb 2010 16:38:57 GMT


 well the idea of a tablelayout with just one row is that I want to
place two items, one on the left side of the screen and one centered
within the screen...
so if you have any idea how to achieve this ? Or will a horizontal
linearlayout fix that ?
I am having a lot of trouble, I love the fact that it's all so
customizable but it's somewhat TOO customizable.. I mena if I place a
Widget onscreen afterwards I got like 40 fields with options to set...
Some are completely criptic, many have a Gravity AND a
Layout_Gravity.. what's up with that ? If I place the gravity on
horizontal_centered it won't work but if I set the property "layout
center horizontal" to true it will... So I got 3 options, who all seem
to do the same but some will work the others won't and God help us
there is no good explanation/documentation about it... Anyone up to
finding the needle in the haystack ? ;)






--



Other Threads

1. update 3 [BajuDroid]

Numpang lagi :)

Ini update terakhir per kemarin

Kloteran ini akan saya tutup hari Selasa 16 Maret jam 22.00 , yang sudah order dan belum DP, lebih baik langsung aja pelunasan dengan perhitungan sebagai berikut: Biaya Baju + Nomor urut + biaya kirim Tshirt: 80 rbu Polo: 120 rbu Kalau ada yg mao gantungan kunci harganya 30rbu Untuk yang akan dikirim ke alamat pribadi: jika Anda di luar kota akan dikenakan biaya Tiki YES, dan untuk yang dalam kota Tiki Reguler. Rabu 17 Maret akan mulai produksi di sini ada no 80 memang kosong, karena kemarin ada duplikasi data, jadi yg no 81 jangan khawatir salah nomor Agar lebih yakin lagi dengan total yg harus di bayar, konfirmasi via email saja ke sa...@showcasefever.com Jika ada yg mao ikutan order bisa saja ikut serta selama tidak lewat deadline dan dengan prosedural seperti posting awal di thread ini, Bagi yang sudah order dan belum melakukan DP setelah Selasa tgl 16 maret jam 22.00 , dengan berat hati akan saya cancelkan, harap maklum No urut Nama Size Baju DP Lunas Pengiriman 1 Riswan XXL Polo ok Warung Ijo 2a Hans Nayoan XL Polo ok Warung Ijo 2b Hans Nayoan XL Tshirt ok Warung Ijo 3 catur XL Alamat Pribadi 4a Evan M Polo ok Alamat Pribadi 4b Evan M Tshirt ok Alamat Pribadi 5a Rachmat XXL Polo ok Alamat Pribadi 5b Rachmat XXL Tshirt ok Alamat Pribadi 6 Goutama Bachtiar L Polo Alamat Pribadi 7a Ronny Iskandar L Polo Alamat Pribadi 7b Ronny Iskandar L Tshirt Alamat Pribadi 8 Alex Liong L Polo Alamat Pribadi 9a Lutfi M Polo ok Alamat Pribadi 9b Lutfi M Tshirt ok Alamat Pribadi 10a Faizal XL Polo ok Warung Ijo 10b Faizal XL Tshirt ok Warung Ijo 11 Angga Ariansyah XXXL Polo ok Alamat Pribadi 12 Angga Ariansyah XXL Polo ok Alamat Pribadi 13 Angga Ariansyah XXXL Tshirt ok Alamat Pribadi 14 kujo dahlan L Polo Alamat Pribadi 15a Irwan Krisna M Polo Warung Ijo 15b Irwan Krisna M Tshirt Warung Ijo 16a Jeffry leonardus L Polo ok Alamat Pribadi 16b Jeffry leonardus L Tshirt ok Alamat Pribadi 17 Harris L Polo ok Warung Ijo 18a Christian susilo L Polo ok Warung Ijo 18b Christian susilo L Tshirt ok Warung Ijo 19 Ignatius Hasan L Polo ok lunas Alamat Pribadi 20 Dolly Surya M Alamat Pribadi 21 Pria Purnama M Alamat Pribadi 22 Hermawan wibisono XXL Alamat Pribadi 23 Enya Anggia S Polo ok Warung Ijo 24 yopie L Polo ok Warung Ijo 25 Gabriel M Polo ok Warung Ijo 26a Abdul Choliq M Polo ok Alamat Pribadi 26b Abdul Choliq M Tshirt ok Alamat Pribadi 27 Rizki Muhammad M Alamat Pribadi 28 Lesjaw M Tshirt ok Alamat Pribadi 29 Adrianto L Alamat Pribadi 30a Iskandar L Polo ok Alamat Pribadi 30b Iskandar L Tshirt Alamat Pribadi 31a hendro Gunawan M Polo ok Alamat Pribadi 31b hendro Gunawan M Tshirt ok Alamat Pribadi 32 iGor L Alamat Pribadi 33 Tio Ping L Polo ok Alamat Pribadi 34a Michael P M Polo ok Alamat Pribadi 34b Michael P M Tshirt ok Alamat Pribadi 35 G Arie Antara XL ok Warung Ijo 36 Novie Adiputranto L Tshirt Warung Ijo 37 Subanindiyo Ardi XL Polo ok Warung Ijo 38 Harris L Tshirt ok Warung Ijo 39 Masdri M Polo ok Alamat Pribadi 40 Feby Sumali L Polo ok Alamat Pribadi 41 Feby Sumali L Tshirt ok Alamat Pribadi 42 Justinus XL ok Alamat Pribadi 43 Iman Alamsyah XL Alamat Pribadi 44 Wisnu Aji L Alamat Pribadi 45 Veriy L Alamat Pribadi 46 Irwan Krisna M Alamat Pribadi 47 Cecep Hidayat L Polo ok Alamat Pribadi 48 Hendra Muliadi M Polo ok Alamat Pribadi 49 Subanindiyo Ardi XL Tshirt ok Warung Ijo 50a Salugu Widya Utama M Polo Alamat Pribadi 50b Salugu Widya Utama M Tshirt Alamat Pribadi 51a Taufiq Hidayat xxxl Polo Warung Ijo 51b Taufiq Hidayat xxxl Tshirt Warung Ijo 52 sonny dezerial M Polo ok Alamat Pribadi 53a Roby Nataatmadja xxl Polo Alamat Pribadi 53b Roby Nataatmadja xxl Tshirt Alamat Pribadi 54a Rivelino M Polo ok Alamat Pribadi 54b Rivelino M Polo ok Alamat Pribadi 54c Rivelino Co 7thn Polo Cancel Alamat Pribadi 54d Rivelino Co 2thn Polo Cancel Alamat Pribadi 55a m.fahrurazi M Polo Alamat Pribadi 55b m.fahrurazi M Tshirt Alamat Pribadi 56 Albertus Setiawan L Polo ok Warung Ijo 57 Ritter Dante XL Tshirt ok Warung Ijo 58 Indra Ariandhi L Tshirt ok Warung Ijo 59a Happy Allen xxxl Polo ok Warung Ijo 59b Happy Allen xxxl Tshirt ok Warung Ijo 60 Julius M Polo ok Alamat Pribadi 61 Muhammad Amiral M Tshirt Alamat Pribadi 62 MSulchan Darmawan XL Polo ok Alamat Pribadi 63a Johan Gunardi XXXL Polo ok Alamat Pribadi 63b Johan Gunardi XXXL Tshirt ok Alamat Pribadi 64 EKO PRASETYO L Polo Alamat Pribadi 65 Tio Ping2 M Polo ok Alamat Pribadi Alamat Pribadi 66 Nursafri M Polo ok Alamat Pribadi 67a Nicky Octavianus L Polo ok Alamat Pribadi 67b Nicky Octavianus L Tshirt ok Alamat Pribadi 68 Fatkhy Aryo W XXL Tshirt ok Alamat Pribadi 69a hardy XXXL Polo ok Alamat Pribadi 69b hardy XXL Tshirt ok Alamat Pribadi 70a M. Ade Ghufron XL Polo Alamat Pribadi 70b M. Ade Ghufron L Polo Alamat Pribadi 71 Danang Aji Irawan M Polo Alamat Pribadi 72 Budi Harimawan L Polo ok Warung Ijo 73 Warih M Tshirt ok Warung Ijo 74 Wiwiet XXXL Polo ok Alamat Pribadi 75a Ananda Laksono L Polo Alamat Pribadi 75b Ananda Laksono L Tshirt Alamat Pribadi 76a Sandi Surya M Polo ok Alamat Pribadi 76b Sandi Surya M Tshirt ok Alamat Pribadi 77a Fanzah L Polo ok Alamat Pribadi 77b Fanzah L Tshirt ok Alamat Pribadi 78 Dimas Setyo M Polo ok Alamat Pribadi 79a Edward Kusuma M Polo ok Alamat Pribadi 79b Edward Kusuma M Tshirt ok Alamat Pribadi 80 Alamat Pribadi 81a Bintang Cakra XXXL Polo Alamat Pribadi 81b Bintang Cakra XXXL Tshirt Alamat Pribadi 82 yudi hariyanto XXL Polo ok Alamat Pribadi 83a HALIM SUSANTO S Tshirt ok Alamat Pribadi 83b HALIM SUSANTO M Tshirt x Alamat Pribadi 84 Hamdiy S Tshirt Alamat Pribadi 85a Andreas Satyawan M Polo ok lunas Alamat Pribadi 85b Andreas Satyawan S Polo ok lunas Alamat Pribadi 86a HeryRauf S Tshirt Alamat Pribadi 86b HeryRauf S Polo Alamat Pribadi 86c HeryRauf M Tshirt Alamat Pribadi 86d HeryRauf M Polo Alamat Pribadi 86e HeryRauf L Tshirt Alamat Pribadi 86f HeryRauf L Polo Alamat Pribadi -- "Indonesian Android Community [id-android]"

2. again [WTA] Spica vs Huawei & salam kenal

salam kenal semua,

saya newbie, baru mau akan beli android. huawei masih inden seminggu lagi
paling cepet. cuma sedikit ragu antara huawei 8230 atau spica.
secara spek sepertinya lebih unggul spica daripada huawei. pas coba di booth
indosat kemarin memang sepertinya lebih smooth dan lebih 'halus' spica.
sedangkan huawei menurut saya lebih unggul di layar besar dan brand nya
(maaf, di infrastruktur telco sekarang huawei lagi naik daun :D, di
infrastruktur IT juga). kalau baca2 review diluar sana, kok banyak yang
komplen sama samsung. sedangkan huawei belum banyak reviewnya. mungkin di
sini ada yang pakai huawei 8230 ? mohon infonya.

mohon petunjuknya enaknya capcipcup yang mana, mumpung masih ada waktu ...

thanks
Dilar

-- 
"Indonesian Android Community [id-android]" 

3. Re(1): ayo serbu global teleshop beli spica

4. Rom Yang Bagus buat Hero

5. AOSP & 2.x

6. anyone know what is the "@SdkConstant" before the "public static final String"

7. Not able to see EmailProvider.db in file explorer (DDMS)