XML : Put shadow on my TextView with xml template

I want to put a shadow around my TextView with a little template for all my TextView.

I know how i can put shadow in code-behind :

  (FindViewById<TextView>(Resource.Id.TxtTitleStep1)).SetShadowLayer((float) 0.01, -2, 2, Color.Black);    

I know how i can in my view (example) :

   android:shadowColor="#000"   android:shadowDx="0"   android:shadowDy="0"   android:shadowRadius="50"    

But not with template. In fact, if i want to change one value in my template then all my textview change

Thank for you help

No comments:

Post a Comment