android - Login Screen concerns -


i'm creating login screen in android studio , decided going use login activity template. there no errors shown in code, concerns lie in emulator tells me.

the following classes not instantiated: - com.google.android.gms.common.signinbutton (open class, show exception) tip: use view.isineditmode() in custom views skip code or show sample data when shown in ide

<!-- login progress --> <progressbar android:id="@+id/login_progress" style="?android:attr/progressbarstylelarge"     android:layout_width="wrap_content" android:layout_height="wrap_content"     android:layout_marginbottom="8dp" android:visibility="gone" />  <scrollview android:id="@+id/login_form" android:layout_width="match_parent"     android:layout_height="match_parent">     <linearlayout android:layout_width="match_parent" android:layout_height="wrap_content"         android:orientation="vertical">          <com.google.android.gms.common.signinbutton android:id="@+id/plus_sign_in_button"             android:layout_width="match_parent" android:layout_height="wrap_content"             android:layout_marginbottom="32dp" />          <linearlayout android:id="@+id/plus_sign_out_buttons"             android:layout_width="match_parent" android:layout_height="wrap_content"             android:visibility="gone" android:weightsum="2">              <button android:id="@+id/plus_sign_out_button" style="?android:textappearancesmall"                 android:layout_width="match_parent" android:layout_height="match_parent"                 android:layout_weight="1" android:text="@string/plus_sign_out" />              <button android:id="@+id/plus_disconnect_button"                 style="?android:textappearancesmall" android:layout_width="match_parent"                 android:layout_height="match_parent" android:layout_weight="1"                 android:text="@string/plus_disconnect" />          </linearlayout>          <linearlayout android:id="@+id/email_login_form" android:layout_width="match_parent"             android:layout_height="wrap_content" android:orientation="vertical">              <autocompletetextview android:id="@+id/email" android:layout_width="match_parent"                 android:layout_height="wrap_content" android:hint="@string/prompt_email"                 android:inputtype="textemailaddress" android:maxlines="1"                 android:singleline="true" />              <edittext android:id="@+id/password" android:layout_width="match_parent"                 android:layout_height="wrap_content" android:hint="@string/prompt_password"                 android:imeactionid="@+id/login"                 android:imeactionlabel="@string/action_sign_in_short"                 android:imeoptions="actionunspecified" android:inputtype="textpassword"                 android:maxlines="1" android:singleline="true" />              <button android:id="@+id/email_sign_in_button" style="?android:textappearancesmall"                 android:layout_width="match_parent" android:layout_height="wrap_content"                 android:layout_margintop="16dp" android:text="@string/action_sign_in"                 android:textstyle="bold" />          </linearlayout>     </linearlayout> </scrollview> 

with reference com.google.android.gms.common.signinbutton, trying use google play services api. did add google play services sdk project.

refer to adding google play services sdk android project


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -