private void performCollapse()
 {
     if (isCollapsed())
     {
         return;
     }
     if (mTabSpinner == null)
     {
         mTabSpinner = createSpinner();
     }
     removeView(mTabLayout);
     addView(mTabSpinner, new android.view.ViewGroup.LayoutParams(android.view.ViewGroup
                                                                  .LayoutParams.WRAP_CONTENT, android.view.ViewGroup.LayoutParams.MATCH_PARENT));
     if (mTabSpinner.getAdapter() == null)
     {
         mTabSpinner.setAdapter(new [email protected]
                                    (this));
     }
     if (mTabSelector != null)
     {
         removeCallbacks(mTabSelector);
         mTabSelector = null;
     }
     mTabSpinner.setSelection(mSelectedTabIndex);
 }
 private android.widget.Spinner createSpinner()
 {
     android.widget.Spinner spinner = new android.widget.Spinner(getContext(), null, [email protected]
                                                                 .attr.actionDropDownStyle);
     spinner.setLayoutParams(new android.widget.LinearLayout.LayoutParams(android.view.ViewGroup
                                                                          .LayoutParams.WRAP_CONTENT, android.view.ViewGroup.LayoutParams.MATCH_PARENT));
     spinner.setOnItemSelectedListener(this);
     return(spinner);
 }
		public override View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
		{
			View view = inflater.inflate(R.layout.fragment_pos_printer_direct_io, container, false);

			view.findViewById(R.id.buttonDirectIO).OnClickListener = this;
			view.findViewById(R.id.buttonBatteryStatus).OnClickListener = this;

			dataSpinner = (Spinner) view.findViewById(R.id.spinnerData);
			ArrayAdapter<CharSequence> adapter = new ArrayAdapter<CharSequence>(Activity, android.R.layout.simple_spinner_item, DATA_STRING);
			adapter.DropDownViewResource = android.R.layout.simple_spinner_dropdown_item;
			dataSpinner.Adapter = adapter;

			deviceMessagesTextView = (TextView) view.findViewById(R.id.textViewDeviceMessages);
			deviceMessagesTextView.MovementMethod = new ScrollingMovementMethod();
			deviceMessagesTextView.VerticalScrollBarEnabled = true;

			return view;
		}
        public override View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            View view = inflater.inflate(R.layout.fragment_pos_printer_direct_io, container, false);

            view.findViewById(R.id.buttonDirectIO).OnClickListener      = this;
            view.findViewById(R.id.buttonBatteryStatus).OnClickListener = this;

            dataSpinner = (Spinner)view.findViewById(R.id.spinnerData);
            ArrayAdapter <CharSequence> adapter = new ArrayAdapter <CharSequence>(Activity, android.R.layout.simple_spinner_item, DATA_STRING);

            adapter.DropDownViewResource = android.R.layout.simple_spinner_dropdown_item;
            dataSpinner.Adapter          = adapter;

            deviceMessagesTextView = (TextView)view.findViewById(R.id.textViewDeviceMessages);
            deviceMessagesTextView.MovementMethod           = new ScrollingMovementMethod();
            deviceMessagesTextView.VerticalScrollBarEnabled = true;

            return(view);
        }
		protected internal override void onCreate(Bundle savedInstanceState)
		{
			base.onCreate(savedInstanceState);
			ContentView = R.layout.notification_main;

			Srn srn = new Srn();
			try
			{
				// Initialize an instance of Srn.
				srn.initialize(this);
			}
			catch (SsdkUnsupportedException)
			{
				// Error handling
			}

			mRichNotificationManager = new SrnRichNotificationManager(ApplicationContext);

			mSpinner = (Spinner) findViewById(R.id.spinner1);

			Toast.makeTextuniquetempvar.show();
		}
        protected internal override void onCreate(Bundle savedInstanceState)
        {
            base.onCreate(savedInstanceState);
            ContentView = R.layout.notification_main;

            Srn srn = new Srn();

            try
            {
                // Initialize an instance of Srn.
                srn.initialize(this);
            }
            catch (SsdkUnsupportedException)
            {
                // Error handling
            }

            mRichNotificationManager = new SrnRichNotificationManager(ApplicationContext);

            mSpinner = (Spinner)findViewById(R.id.spinner1);

            Toast.makeTextuniquetempvar.show();
        }
		private android.widget.Spinner createSpinner()
		{
			android.widget.Spinner spinner = new android.widget.Spinner(getContext(), null, [email protected]
				.attr.actionDropDownStyle);
			spinner.setLayoutParams(new android.widget.LinearLayout.LayoutParams(android.view.ViewGroup
				.LayoutParams.WRAP_CONTENT, android.view.ViewGroup.LayoutParams.MATCH_PARENT));
			spinner.setOnItemSelectedListener(this);
			return spinner;
		}
		private void performCollapse()
		{
			if (isCollapsed())
			{
				return;
			}
			if (mTabSpinner == null)
			{
				mTabSpinner = createSpinner();
			}
			removeView(mTabLayout);
			addView(mTabSpinner, new android.view.ViewGroup.LayoutParams(android.view.ViewGroup
				.LayoutParams.WRAP_CONTENT, android.view.ViewGroup.LayoutParams.MATCH_PARENT));
			if (mTabSpinner.getAdapter() == null)
			{
				mTabSpinner.setAdapter(new [email protected]
					(this));
			}
			if (mTabSelector != null)
			{
				removeCallbacks(mTabSelector);
				mTabSelector = null;
			}
			mTabSpinner.setSelection(mSelectedTabIndex);
		}