In this section, we will begin creating the ButtonShadowEffect class for the Android section of our TrackMyWalks solution, which will essentially contain platform-specific methods that will be used by our ButtonShadowEffect class. The advantage of creating a ButtonShadowEffect class is that it's much easier to modify or add additional control properties that will be used by those XAML pages that utilize this class.
Let's start by creating the ButtonShadowEffect class for our TrackMyWalks app by performing the following the steps:
- Ensure that the TrackMyWalks solution is open in the Visual Studio for Mac IDE.
- Right-click on the TrackMyWalks.Android project, choose Add | New Folder ...