Custom HomeScreen - Please help

by rams » Thu, 22 Jul 2010 12:05:59 GMT


Sponsored Links
 Hello All,

I am developing a Custom HomeScreen
as in the image attached:

It has 3 screens. Screen 1 and Screen 2
has an overlap. Screen 2 and Screen 3 has
an overlap widget.

I created a horizontal scrollview with
3 linearlayouts (vertical) of size 320x480dip
and put 1 button on each layout.

<HorizontalScrollView>
 <LinearLayout>
 </LinearLayout>
 <LinearLayout>
 </LinearLayout>
 <LinearLayout>
 </LinearLayout>
</HorizontalScrollView>

On click of the button, I try to scroll the screen but
scroll is not working. I used the following code:

scrollview.setSmoothScrollingEnabled(true);
scrollview.scrollTo(320, scrollview.getTop());


Could anyone please help me in fixing this?

Thanks,
Ram

--



Other Threads

1. Cellid returned by NeighboringCellInfo's getCid() ?

Hi
I am interested in getting the neighboring cell's cell id information
and correspondent RSSI value.
So I am using the TelephonyManager's getNeighboringCellInfo() function
to get the neighboring
cell information. It successfully returned a list of
neighboringcellinfo. However, when I try to use the
getCid() function to retrieve the cell id information, the cell id
looks quite different from what I got
via the GsmCellLocation's getCid() function. Following is a list of
the cell id I got

Cell ID returned by NeighboringCellInfo's getCid()
cell id[0]: 340696450 signal: 4
cell id[1]: 334470609 signal: 4

Cell ID returned by GsmCellLocation's getCid()
CID: 41803

Any idea why they look so different? Also, is there any way to get the
neighboring cell's LAC
if it locates in different location area?

Thanks a lot for the help!

--~--~---------~--~----~------------~-------~--~----~

2. How can I develop application using C/C++

Hi,

How I can develop application for Android using C/C++.

Thanks in adv.


--~--~---------~--~----~------------~-------~--~----~

3. Access Wifi and UMTS interface on Android

4. cannot use wifi behind a http proxy

5. Upgrade issue with WRITE_EXTERNAL_STORAGE permission

6. UNCOMPRESS_DATA_MAX problem

7. Battery Usage Indicator API - JDK 1.6