当前位置: 首页>>代码示例>>C#>>正文


C# LinearLayout.BringToFront方法代码示例

本文整理汇总了C#中LinearLayout.BringToFront方法的典型用法代码示例。如果您正苦于以下问题:C# LinearLayout.BringToFront方法的具体用法?C# LinearLayout.BringToFront怎么用?C# LinearLayout.BringToFront使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LinearLayout的用法示例。


在下文中一共展示了LinearLayout.BringToFront方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OnCreate

		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);

			// Create your application here
			SetContentView(Resource.Layout.produtos);

			edPesquisa = FindViewById<TextView>(Resource.Id.edtpesquisa);
			lstProdutoView = FindViewById<ListView> (Resource.Id.ListaProduto);
			mContainer = FindViewById<LinearLayout>(Resource.Id.llContainer);
			mProgressBar = FindViewById<ProgressBar>(Resource.Id.progressBar);
			mCabecalhoProduto = FindViewById<TextView> (Resource.Id.txxCabecalhoProduto);

			mWorker = new BackgroundWorker();

			edPesquisa.Alpha = 0;

			mContainer.BringToFront ();
			mProgressBar.BringToFront ();

			mProgressBar.Visibility = ViewStates.Visible;

			mUrl = new Uri("http://192.168.0.103/rest1/getprodutos.php?nome=VINHO");

			mClient = new WebClient();
			mClient.DownloadDataAsync(mUrl);
			mClient.DownloadDataCompleted += mClient_DownloadDataCompleted;

			mCabecalhoProduto.Click += MCabecalhoProduto_Click;
			edPesquisa.TextChanged += edPesquisa_TextChange;

		
		}
开发者ID:RMDesenvolvimento,项目名称:Xamarin,代码行数:33,代码来源:ProdutosList.cs

示例2: OnCreate

        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.pager_item);

            mListView = FindViewById<ListView>(Resource.Id.listView);
            mListView = FindViewById<ListView>(Resource.Id.listView);
            mSearch = FindViewById<EditText>(Resource.Id.etSearch);
            mConteiner = FindViewById<LinearLayout>(Resource.Id.llContainer);

            mTxtNProduktu = FindViewById<TextView>(Resource.Id.txtNProduktu);
            mTxtOProduktu = FindViewById<TextView>(Resource.Id.txtOProduktu);


            mTxtNProduktu.Click += mTxtNProduktu_Click;
            mTxtOProduktu.Click += mTxtOProduktu_Click;




            mSearch.Alpha = 0;
            mConteiner.BringToFront();


            mSearch.TextChanged += mSearch_TextChanged; ;



            mProdukt = new List<Produkt>();
            mProdukt.Add(new Produkt { NProduktu = "Produkt", OProduktu = "5", Opis = "zajebisty produkt", Obraz = "blank" });
            mProdukt.Add(new Produkt { NProduktu = "Produkt1", OProduktu = "6", Opis = "jest moc", Obraz = "blank" });
            mProdukt.Add(new Produkt { NProduktu = "Produkt2", OProduktu = "5", Opis = "super", Obraz = "blank" });
            mProdukt.Add(new Produkt { NProduktu = "Produkt3", OProduktu = "4", Opis = "niezle", Obraz = "blank" });
            mProdukt.Add(new Produkt { NProduktu = "Produkt4", OProduktu = "3", Opis = "kapa", Obraz = "blank" });
            mProdukt.Add(new Produkt { NProduktu = "Produkt5", OProduktu = "2", Opis = "moze byc", Obraz = "blank" });
            mProdukt.Add(new Produkt { NProduktu = "Produkt6", OProduktu = "1", Opis = "okej", Obraz = "blank" });

            mAdapter = new ProduktAdapter(this, Resource.Layout.row_produkt, mProdukt);
            mListView.Adapter = mAdapter;

        }
开发者ID:Poli143,项目名称:Login,代码行数:41,代码来源:pager_item.cs


注:本文中的LinearLayout.BringToFront方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。