Ejemplo n.º 1
0
		public ChordLogView(Context context, AttributeSet attr) : base(context, attr)
		{
			logTextView = new TextView(context);
			LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);
			logTextView.setPadding(6, 0, 3, 0);
			logTextView.LayoutParams = lp;
			addView(logTextView);
		}
Ejemplo n.º 2
0
 public ChordLogView(Context context, AttributeSet attr) : base(context, attr)
 {
     logTextView = new TextView(context);
     LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);
     logTextView.setPadding(6, 0, 3, 0);
     logTextView.LayoutParams = lp;
     addView(logTextView);
 }