protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Second); string id = Intent.GetStringExtra("FirstData"); var ws = new Extern(); //ws.Proxy = System.Net.GlobalProxySelection.GetEmptyWebProxy(); //var comandaDocLite = new ComandaDocLite(); ComandaDocLite comandaDoc = ws.GetComanda2(Convert.ToInt32(id)); //comandaDoc.Detalii[0].Produs //comandaDoc.Deta //comandaDetaliu. var textViewNumeProdus = FindViewById<TextView>(Resource.Id.textViewNumeProdus); textViewNumeProdus.Text = comandaDoc.Detalii[0].Produs; var textViewCantitate = FindViewById<TextView>(Resource.Id.textViewCantitate); textViewCantitate.Text = comandaDoc.Detalii[0].Cantitate.ToString() + " " + comandaDoc.Detalii[0].UM; var buttonValideaza = FindViewById<TextView>(Resource.Id.buttonValideaza); var editTextGreutate = FindViewById<TextView>(Resource.Id.editTextGreutate); buttonValideaza.Click += (sender, e) => { editTextGreutate.RequestFocus(); //InputMethodManager imm = GetSystemService<InputMethodManager>(Context.INPUT_METHOD_SERVICE); //InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); //imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0); }; //var textViewCantarit = FindViewById<TextView>(Resource.Id.textViewCantarit); //textViewCantarit.Text = comandaDoc.Detalii[0].c //textViewNumeProdus.Text = "Nume produs"; // SetContentView(Resource.Layout.HomeScreen_negru); //var textViewHeader = FindViewById<TextView>(Resource.Id.TextViewHeader); //string headerText = string.Format("IQsfa - {0} comenzi", tableItems.Count.ToString()); //TODO text format; scot underline !?! //textViewHeader.Text = headerText; }