Search in sources :

Example 16 with Gallery

use of android.widget.Gallery in project android_frameworks_base by DirtyUnicorns.

the class BiDiTestGalleryLtr method onCreateView.

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View v = inflater.inflate(R.layout.gallery_ltr, container, false);
    Gallery g = (Gallery) v.findViewById(R.id.galleryview);
    g.setAdapter(new BiDiTestGalleryImages(this.getActivity().getBaseContext()));
    return v;
}
Also used : Gallery(android.widget.Gallery) View(android.view.View)

Example 17 with Gallery

use of android.widget.Gallery in project android_frameworks_base by ResurrectionRemix.

the class BiDiTestGalleryRtl method onCreateView.

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View v = inflater.inflate(R.layout.gallery_rtl, container, false);
    Gallery g = (Gallery) v.findViewById(R.id.galleryview);
    g.setAdapter(new BiDiTestGalleryImages(this.getActivity().getBaseContext()));
    return v;
}
Also used : Gallery(android.widget.Gallery) View(android.view.View)

Example 18 with Gallery

use of android.widget.Gallery in project android_frameworks_base by ResurrectionRemix.

the class BiDiTestGalleryLtr method onCreateView.

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View v = inflater.inflate(R.layout.gallery_ltr, container, false);
    Gallery g = (Gallery) v.findViewById(R.id.galleryview);
    g.setAdapter(new BiDiTestGalleryImages(this.getActivity().getBaseContext()));
    return v;
}
Also used : Gallery(android.widget.Gallery) View(android.view.View)

Example 19 with Gallery

use of android.widget.Gallery in project android_frameworks_base by crdroidandroid.

the class BiDiTestGalleryLtr method onCreateView.

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View v = inflater.inflate(R.layout.gallery_ltr, container, false);
    Gallery g = (Gallery) v.findViewById(R.id.galleryview);
    g.setAdapter(new BiDiTestGalleryImages(this.getActivity().getBaseContext()));
    return v;
}
Also used : Gallery(android.widget.Gallery) View(android.view.View)

Aggregations

Gallery (android.widget.Gallery)19 View (android.view.View)15 AdapterView (android.widget.AdapterView)5 ImageView (android.widget.ImageView)5 OnClickListener (android.view.View.OnClickListener)2 OnItemClickListener (android.widget.AdapterView.OnItemClickListener)2 RemoteImageView (com.github.ignition.core.widgets.RemoteImageView)2 ViewGroup (android.view.ViewGroup)1 FrameLayout (android.widget.FrameLayout)1 LayoutParams (android.widget.Gallery.LayoutParams)1 TextView (android.widget.TextView)1 RemoteImageGalleryAdapter (com.github.ignition.core.adapters.RemoteImageGalleryAdapter)1 RemoteImageLoader (com.github.ignition.support.images.remote.RemoteImageLoader)1 IImageFilter (com.marshalchen.common.uimodule.ImageFilter.IImageFilter)1