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!

Denysole
  • 3,903
  • 1
  • 20
  • 28
anthony
  • 7,653
  • 8
  • 49
  • 101

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
  • 731
  • 7
  • 12