0

I have an Android app that uses a lot of XML drawables (shapes, layer lists, and state list), and I want to port this app to Windows Phone 8. Is there an equivalent to XML drawables (specifically the types I list above) in Windows Phone 8?

Eliezer
  • 7,209
  • 12
  • 56
  • 103

1 Answers1

1

For layer lists and state list i think the equivalent is VisualStates but they are not so similar. Define different visual states for a control, You can find many different examples to VisualState's here inside a VisualState you gave different properties different values (such as different Image to background of a button when pressed) or define animations.

For shapes there are classes that you can define in your xaml file. If you want to define a gradient should look at brushes.

mehmet6parmak
  • 4,777
  • 16
  • 50
  • 71