Android binding library > How to make tools:replace work in Xamarin.Android?

tuyenvtuyenv VNUniversity ✭✭✭

Hi,

I have tried to create binding for Facebook AccountKit library. Things go very well except I couldn't change the theme AccountKitActivity as guideline.

<activity
          android:name="com.facebook.accountkit.ui.AccountKitActivity"
          android:theme="@style/AppLoginTheme"
          tools:replace="android:theme"/>

Please help.

Regards,
Tuyến

The code is available on Github here.

Android guide for multiple manifests here.

Tagged:

Answers

  • AlexanderMelchersAlexanderMelchers NLMember ✭✭

    Hi Tuyến,

    I was wondering whether you had ever gotten this to work, as it seems that Xamarin.Android does not support the tools-namespace. However, with recent changes in the Google policy pertaining to the inclusion of duplicate permissions in Android manifest files, we can no longer upload our App to Google Play. A simple merge rule would solve the issue, but I can't figure out how to get this working...

    All the best,
    Alexander.

  • tuyenvtuyenv VNUniversity ✭✭✭

    Unfortunately, not yet, @AlexanderMelchers.

Sign In or Register to comment.