a little help in XML

Quickly share your Android Code Snippets here...

a little help in XML

Postby karkov » Tue Sep 07, 2010 12:05 am

Hi there, one more time i came here at this Olimpu of android.

i need a little help to create a layout like this in attachment... its like facebook app.

in this example, were says "image button" it have to scroll (if it possible)...

i hope anyone can help me.

thanks.
Attachments
exemple.gif
(14.24 KiB) Downloaded 187 times
karkov
Freshman
Freshman
 
Posts: 7
Joined: Thu Jul 15, 2010 5:06 pm

Top

Re: a little help in XML

Postby kiiirtiii » Fri Oct 01, 2010 8:53 am

Am not sure about the scrolling aspect.
But for the layout, I thik you can use a combination of layouts like roughly so:

<LinearLayout> --> with orienation veritcal
<ImageView>
<FrameLayout>
<ImageButton>
<ImageButton>
<ImageButton>
<ImageButton>
<ImageButton>
<ImageButton>
</FrameLayout>
<ImageView>
</LinearLayout>
kiiirtiii
Freshman
Freshman
 
Posts: 2
Joined: Fri Oct 01, 2010 8:31 am

Re: a little help in XML

Postby Sathasivan » Fri Oct 01, 2010 11:23 am

User avatar
Sathasivan
Experienced Developer
Experienced Developer
 
Posts: 67
Joined: Wed Oct 14, 2009 7:51 am
Location: Chennai

Re: a little help in XML

Postby chinna872 » Sun Jul 24, 2011 4:05 am

<ScrollView android:xmlns="http://--------------"
andorid:layout_height="fill_parent"
android:layout_width="fill_parent">


<TableLayout >
<TableRow>
<ImageButton></ImageButton>
<ImageButton></ImageButton>
</TableRow>

<TableRow>
<ImageButton></ImageButton>
<ImageButton></ImageButton>
</TableRow>
<TableRow>
<ImageButton></ImageButton>
<ImageButton></ImageButton>
</TableRow>
<TableRow>
<ImageButton></ImageButton>
<ImageButton></ImageButton>
</TableRow>

<TableRow>
<ImageButton
android:layout_span="2"></ImageButton>
</TableRow>

<TableLayout>

</ScrollView>
chinna872
Freshman
Freshman
 
Posts: 5
Joined: Sat Jul 23, 2011 7:11 am

Top

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 5 guests