コード例 #1
0
		public virtual SlookAirButton createRecipientListWidgetFromView(View v)
		{
			Bundle option = new Bundle();
			option.putString("MIME_TYPE", "vnd.android.cursor.item/phone_v2");
			SlookAirButton airButtonWidget = new SlookAirButton(v, new SlookAirButtonFrequentContactAdapter(v, null), SlookAirButton.UI_TYPE_LIST);
			// airButtonWidget.steDir
			airButtonWidget.Direction = SlookAirButton.DIRECTION_UPPER;
			airButtonWidget.ItemSelectListener = new ItemSelectListenerAnonymousInnerClassHelper2(this);

			return airButtonWidget;
		}
コード例 #2
0
		public virtual SlookAirButton createImageListWidgetFromView(View v)
		{

			SlookAirButton airButtonWidget = new SlookAirButton(v, new SlookAirButtonRecentMediaAdapter(v, null), SlookAirButton.UI_TYPE_LIST);
			airButtonWidget.ItemSelectListener = new ItemSelectListenerAnonymousInnerClassHelper(this);
			airButtonWidget.Gravity = SlookAirButton.GRAVITY_LEFT;
			airButtonWidget.Direction = SlookAirButton.DIRECTION_UPPER;
			airButtonWidget.setPosition(0, -50);

			return airButtonWidget;
		}
コード例 #3
0
        public virtual SlookAirButton createImageListWidgetFromView(View v)
        {
            SlookAirButton airButtonWidget = new SlookAirButton(v, new SlookAirButtonRecentMediaAdapter(v, null), SlookAirButton.UI_TYPE_LIST);

            airButtonWidget.ItemSelectListener = new ItemSelectListenerAnonymousInnerClassHelper(this);
            airButtonWidget.Gravity            = SlookAirButton.GRAVITY_LEFT;
            airButtonWidget.Direction          = SlookAirButton.DIRECTION_UPPER;
            airButtonWidget.setPosition(0, -50);

            return(airButtonWidget);
        }
コード例 #4
0
        public virtual SlookAirButton createRecipientListWidgetFromView(View v)
        {
            Bundle option = new Bundle();

            option.putString("MIME_TYPE", "vnd.android.cursor.item/phone_v2");
            SlookAirButton airButtonWidget = new SlookAirButton(v, new SlookAirButtonFrequentContactAdapter(v, null), SlookAirButton.UI_TYPE_LIST);

            // airButtonWidget.steDir
            airButtonWidget.Direction          = SlookAirButton.DIRECTION_UPPER;
            airButtonWidget.ItemSelectListener = new ItemSelectListenerAnonymousInnerClassHelper2(this);

            return(airButtonWidget);
        }