How to create a "Shop Savvy" kind of button?

by roreb1313 » Sat, 07 Mar 2009 10:59:48 GMT

Sponsored Links
I am trying to find out what kind of layout and widget was used on
Shop Savvy for the 1st screen so I can use on my app. The Screen that
I am talking about is the 1st one that loads when you start Shop Savvy
and that has "Search for a product", "Wish Lists", etc. When you click
on each row it opens/slides left a new screen/activity.
It seems to be a tableLayout with a onClick Listener for each
tableRow. Is that what it is? How do they manage to do the slide/open
new activity thing? Does anybody know?


Other Threads

1. can a Service call startService() on itself?

I have a Service which is typically bound to, but sometimes needs to
go into a mode where it should be active even if nobody is bound to
it. Therefore, startService() must be called so it can be explicitly
started & stopped.

In my case, when exactly this should happen is best determined by the
service itself, depending on its state (after being bound to). Can the
Service (at the appropriate time) just call startService() from it's
own Context?



2. new to programming and please help

Hi everyone,

I just want to write a basic program that displays the x, y
coordinates when the screen in touched.  Here's my code, any help will
really be appreciated as I'm very much a beginner.

import android.content.Context;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;

public class touch_tester extends Activity {

    DrawnView dV;

    public void onCreate(Bundle savedInstanceState) {

        dV = new DrawnView(this);

class DrawnView extends View implements OnTouchListener {
    Paint paint = new Paint();
    float x, y;

    public DrawnView(Context context){


    public void onDraw(Canvas c){
                c.drawText("X: " + x, 1, 15, paint);
                c.drawText("Y: " + y, 1, 30, paint);

    public boolean onTouch(View view, MotionEvent event){
        x = event.getX();
        y = event.getY();
        return true;


3. MMS Im3 di Magic

4. problems installing ADT plugin "Cannot connect to keystore. This trust engine is read only."

5. OOT : WTA Antiglare atau Clear Screen ?

6. T*lkomsel, Begitu Dekat Nyatanya Mana?

7. Minta bantuan suhu spica lagi