-
Notifications
You must be signed in to change notification settings - Fork 2
Quickstart
James Goodwin edited this page Oct 28, 2016
·
38 revisions
The Judopay Xamarin SDK supports a range of UI customization options to allow you to match payment screen appearance to your app's branding.
-
In your Android project, create a style in Resources/values/styles.xml, in this example we'll customize the button color:
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorButtonNormal">#F0C559</item> <item name="colorAccent">@android:color/white</item> </style>
-
In the Activity of your app, specify the theme:
[Activity(Label = "My app", Icon = "@drawable/ic_launcher", Theme = "@style/AppTheme")] public class MainActivity : FormsAppCompatActivity { protected override void OnCreate(Bundle bundle) { // ...