android - How to set the white color to google+ log in button? -


i using google+ login app. want change color of button red white.here xml code.

<com.google.android.gms.common.signinbutton     android:id="@+id/btn_sign_in"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_below="@+id/logo"     android:layout_centerhorizontal="true"     android:layout_margintop="30dp"       > 

try way

signinbutton = (signinbutton) findviewbyid(r.id.signinbutton);         signinbutton.setsize(signinbutton.size_standard);         signinbutton.setcolorscheme(signinbutton.color_light); 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -