protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.UserInfoLayout); BackGround = new ColorDrawable(Color.ParseColor("#3F51B5")); BackGroundWhite = new ColorDrawable(Color.ParseColor("#FFFFFF")); VideoCallButton = FindViewById <ImageButton>(Resource.Id.VideoCallButton); MoreOptionButton = FindViewById <ImageButton>(Resource.Id.MoreOptionButton); HeartInfoButton = FindViewById <ImageButton>(Resource.Id.HeartIcon); PeelSetButton = FindViewById <ImageButton>(Resource.Id.PeelICon); TimerSetButton = FindViewById <ImageButton>(Resource.Id.TimerIcon); // PeelPlusButton = FindViewById<ImageButton>(Resource.Id.PeelPlusButton); PeellMinusButton = FindViewById <ImageButton>(Resource.Id.PeelMinusButton); BackPressCloseHandler = new BackPressCloseHandler(this); CountPeel_popup = FindViewById <TextView>(Resource.Id.CountOfPeel); VideoCallButton.Click += VideoCallButton_Click; MoreOptionButton.Click += MoreOptionButton_Click; HeartInfoButton.Click += HeartInfoButton_Click; TimerSetButton.Click += TimerSetButton_Click; //PeelSetButton.Click += PeelSetButton_Click; }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.MoreInfoLayout); videoCallAdapter = new VideoCallAdapter(); UserIfoButton = FindViewById <ImageButton>(Resource.Id.UserInfoButton); VideoCallButton = FindViewById <ImageButton>(Resource.Id.ViedoCallButton); listView = FindViewById <ListView>(Resource.Id.OptionListView); #pragma warning disable CS0618 // 형식 또는 멤버는 사용되지 않습니다. listView.SetAdapter(videoCallAdapter); #pragma warning disable CS0618 // 형식 또는 멤버는 사용되지 않습니다. videoCallAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "정보등록 / 수정"); videoCallAdapter.AddItem(GetDrawable(Resource.Drawable.settingicon), "환경설정"); videoCallAdapter.AddItem(GetDrawable(Resource.Drawable.infoicon), "앱정보"); BackPressCloseHandler = new BackPressCloseHandler(this); UserIfoButton.Click += UserIfoButton_Click; VideoCallButton.Click += VideoCallButton_Click; // Create your application here }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.VideoCallLayout); callAdapter = new VideoCallAdapter(); listView = FindViewById <ListView>(Resource.Id.CallListView); #pragma warning disable CS0618 // 형식 또는 멤버는 사용되지 않습니다. listView.SetAdapter(callAdapter); #pragma warning restore CS0618 // 형식 또는 멤버는 사용되지 않습니다. callAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "강용현"); callAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "안용욱"); callAdapter.AddItem(GetDrawable(Resource.Drawable.peopleicon), "차재훈"); UserIfoButton = FindViewById <ImageButton>(Resource.Id.UserInfoButton); MoreInfoButton = FindViewById <ImageButton>(Resource.Id.MoreOptionButton); BackPressCloseHandler = new BackPressCloseHandler(this); UserIfoButton.Click += UserIfoButton_Click; MoreInfoButton.Click += MoreInfoButton_Click; // Create your application here }