Below is my test code. If you look at the left side of the text you will see a gradient shadow over the text, but I'm not specifying any background. Forcing the background to null had no effect.
public class GalleryTestActivity extends Activity { ArrayAdapter<String> arrayAdapter; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Gallery gallery = (Gallery)findViewById(R.id.gallery); arrayAdapter = new ArrayAdapter<String>(this, R.layout.gallery_item, new String [] {"One", "Two", "Three"}); gallery.setAdapter(arrayAdapter); } } <!-- MAIN LAYOUT --> <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center" > <Gallery android:id="@+id/gallery" android:layout_width="fill_parent" android:layout_height="fill_parent" android:spacing="0dip" /> </LinearLayout> <!-- GALLERY_ITEM LAYOUT --> <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text" android:layout_width="fill_parent" android:layout_height="fill_parent" android:textSize="70sp" /> On Fri, Dec 12, 2008 at 11:47 AM, Xavier Mathews <xavieruni...@gmail.com>wrote: > > Can you post the code or a link. > > On 12/12/2008, devile...@gmail.com <devile...@gmail.com> wrote: > > > > The gallery view creates a shadow around all gallery items. Is there > > a way to remove this? Going through the source code, I can't even > > find where this shadow is added. > > > > > > > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > xavieruni...@gmail.com¥xavierunited@hotmail.com¥truestar...@yahoo.com > "Fear of a name, only increases fear of the thing itself." > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---