Advertisement
bit

Untitled

bit
Jul 18th, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1.  
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6.  
  7. using Android.App;
  8. using Android.Content;
  9. using Android.OS;
  10. using Android.Runtime;
  11. using Android.Views;
  12. using Android.Widget;
  13. using Android.Util;
  14.  
  15. namespace Mobile
  16. {
  17. class FormShortText : LinearLayout, FormItem
  18. {
  19.  
  20. private void inflateLayout (Context context)
  21. {
  22. LayoutInflater inflator = (LayoutInflater) context.GetSystemService(Context.LayoutInflaterService);
  23. inflator.Inflate(Resource.Layout.form_shorttext, null);
  24.  
  25. }
  26. public FormShortText (Context context) : base(context)
  27. {
  28. inflateLayout(context);
  29. }
  30.  
  31.  
  32. public FormShortText (Context context, IAttributeSet attrs) : base (context, attrs)
  33. {
  34. inflateLayout(context);
  35. }
  36.  
  37. public string MappingPath {
  38. get;
  39. set;
  40. }
  41.  
  42.  
  43.  
  44. // public FormInstructionalText (Context context, IAttributeSet attrs) : base (context, attrs)
  45. // {
  46. // }
  47. //
  48. // public FormInstructionalText (Context context, IAttributeSet attrs, int defStyle) : base (context, attrs, defStyle)
  49. // {
  50. // }
  51. //
  52. // protected override void OnDraw (Android.Graphics.Canvas canvas)
  53. // {
  54. // base.OnDraw (canvas);
  55. //
  56. // }
  57.  
  58. // public string MappingPath {
  59. // get ;
  60. // set ;
  61. // }
  62.  
  63.  
  64. }
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement