Overide a RelativeLayout to log in?

fabric

#1

hi everyone ,
is there any way to overide a RelativeLayout to do the same thing as twitterLoginButton .
thank you