Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue/119 #120

Open
wants to merge 2 commits into
base: c_in_refine
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions kute-android-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})

compile 'com.google.firebase:firebase-core:11.6.2'
compile 'com.google.firebase:firebase-auth:11.6.2'
compile 'com.google.firebase:firebase-database:11.6.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,10 @@ protected void onStop() {
@Override
protected void onStart() {
super.onStart();
mAuth.addAuthStateListener(mAuthListener);
if (mAuth != null){
mAuth.addAuthStateListener(mAuthListener);

}
}

// [START auth_with_facebook]
Expand Down
Binary file modified kute-android-app/app/src/main/res/drawable/login_bg_raw.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions kute-android-app/app/src/main/res/layout/testreg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/login_bg"
tools:context=".Activity.RegisterActivity">

<ImageView
android:layout_width="match_parent"
android:src="@drawable/login_bg"
android:scaleType="centerCrop"
android:layout_height="match_parent" />
<android.support.design.widget.AppBarLayout
android:id="@+id/appbarlayout_sign_in"
android:layout_width="match_parent"
Expand Down