public ItemView(FragmentConnections frag) : base(frag.themeWrapper) { this.Orientation = Orientation.Vertical; tv1 = new TextView(frag.themeWrapper); tv2 = new TextView(frag.themeWrapper); tv2.Gravity = GravityFlags.End; tv2.SetBackgroundColor(Color.Argb(30, 128, 128, 128)); this.LayoutParameters = new LinearLayout.LayoutParams(-1, -2) { BottomMargin = frag.DpInt(4) }; this.AddView(tv1); this.AddView(tv2); this.SetOnLongClickListener(this); }