0

I would like to change the basic color of the progress bar into Facebook login process. So I tried that but it doesn't work at all:

In styles.xml:

<style name="FacebookStyle" parent="android:Theme.Translucent.NoTitleBar">
    <item name="android:progressBarStyle">@style/FacebookProgressBarStyle</item>
</style>

<style name="FacebookProgressBarStyle">
    <item name="android:color">#DBA347</item>
</style>

In AndroidManifest.xml:

<activity
    android:name="com.facebook.FacebookActivity"
    android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
    tools:replace="android:theme"
    android:theme="@style/FacebookStyle"
    android:label="@string/app_name" />

Have you got some ideas guys?

Thank you very much!

Alexey Denysenko
  • 3,768
  • 1
  • 19
  • 28
anthony
  • 7,349
  • 8
  • 44
  • 94

1 Answers1

0

You can hide the facebook login progress bar as answered here. Then you use your custom progressbar to show the loading as shown here

Imtiaz Abir
  • 671
  • 7
  • 12