Exemplo n.º 1
0
        protected override View GetViewImpl(Context context, View convertView, ViewGroup parent)
        {
            var view = DroidResources.LoadStringElementLayout(context, convertView, parent, LayoutName);

            if (view != null)
            {
                if (FontSize > 0)
                {
                    TextView label;
                    TextView value;
                    DroidResources.DecodeStringElementLayout(Context, CurrentAttachedCell, out label, out value);
                    label.TextSize = FontSize;
                    value.TextSize = FontSize;
                }
            }
            return(view);
        }
 protected override View GetViewImpl(Context context, ViewGroup parent)
 {
     return(DroidResources.LoadStringElementLayout(context, parent, LayoutName));
 }