How to create a "Settings-style" kind of button/layout?

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

Sponsored Links
 Hi I just noticed a type f layout and buttons that are used on the
"Settings" app of the G1 and on some apps like ShopSavvy where you
have rows with gradient line breaks and each row is clickable. Does
anybody know how to do that? Is it a linear layout or tablelayout? Is
it a particular widget?


Other Threads

1. Can I monitor incoming MMS ?

I'm a bit perplexed by android.permission.RECEIVE_MMS.

I would like to know when SMS and MMS messages arrive on the device.

I'm happy with SMS, using an intent filter for the action
android.provider.Telephony.SMS_RECEIVED and the permission

But I can't see an appropriate action for MMS. There is no action
android.provider.Telephony.MMS_RECEIVED. But the permission is there,
which implies theer's something to permit. How should I detect
arriving MMS ?




2. CallFromWrongThread Exception


  I got this exception (CallFromWrongThread) raised from ViewRoot when
executing the android emulator.
  What I'm doing is that I'm accessing a ViewText this way:

  String s = "something interesting";
  TextView msgTextView = (TextView) findViewById(;
  msgTextView.setText(s);   // the exception is raised here

  This code is in the 'run' function of a Thread object called in the
onCreate main function.
  I can't find any documentation on this exception and even though the
name is quite explicit, I don't get how a thread can be wrong when
accessing a View object.

  Thanks for your help.


3. Does Android need a more compelling/smoother user interface? (consumer view)

4. Intent for a new contact operation?

5. TableLayout -> Flip problem =/

6. Check boxes in a list view

7. Can someone check to see why my emails do not show in the group?