public override View GetSampleContent(Context con) { LinearLayout linear = new LinearLayout(con); linear.SetBackgroundColor(Color.White); linear.Orientation = Orientation.Vertical; linear.SetPadding(10, 10, 10, 10); TextView text2 = new TextView(con); text2.TextSize = 17; text2.TextAlignment = TextAlignment.Center; text2.Text = "This sample demonstrates how to convert the PowerPoint slide to an image."; text2.SetTextColor(Color.ParseColor("#262626")); text2.SetPadding(5, 5, 5, 5); linear.AddView(text2); TextView space1 = new TextView(con); space1.TextSize = 10; linear.AddView(space1); m_context = con; LinearLayout radioLinearLayout = new LinearLayout(con); radioLinearLayout.Orientation = Orientation.Horizontal; TextView imageType = new TextView(con); imageType.Text = "Image Format : "; imageType.TextSize = 19; radioLinearLayout.AddView(imageType); radioGroup = new RadioGroup(con); radioGroup.TextAlignment = TextAlignment.Center; radioGroup.Orientation = Orientation.Horizontal; pngButton = new RadioButton(con); pngButton.Text = "PNG"; radioGroup.AddView(pngButton); jpegButton = new RadioButton(con); jpegButton.Text = "JPEG"; radioGroup.AddView(jpegButton); radioGroup.Check(1); radioLinearLayout.AddView(radioGroup); linear.AddView(radioLinearLayout); pngButton.Checked = true; TextView space2 = new TextView(con); space2.TextSize = 10; linear.AddView(space2); Button templateButton = new Button(con); templateButton.Text = "Input Template"; templateButton.Click += OnButtonClicked; linear.AddView(templateButton); Button convertButton = new Button(con); convertButton.Text = "Convert"; convertButton.Click += OnConvertButtonClicked; linear.AddView(convertButton); return(linear); }