Nearby Activity Floating Action buttons
See original GitHub issueSummary: 1 ) I’m using directNearbyUploadsNew branch By going to NearbyActivity i got the application stopped message it said :
Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable()' on a null object reference
2 ) also after fixing that , and by choosing a marker from the map there no icons inside [fab_galery,fab_camera]
Steps to reproduce:
- Enter to NearbyActivity
- The app will crash
System logs:
Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable()' on a null object reference
Device and Android version: Galaxy note 3 : android 5 [ sdk 21 ]
Commons app version: 2.6.7-debug-directNearbyUploadsNews ~1e83d67c Screen-shots:
Would you like to work on the issue?
1 ) i worked on it , and after searching i find that this error is because :
because of android:backgroundTint="@color/button_blue"
which should be app:backgroundTint="@color/button_blue"
2) and the second one . i solved it by adding android:src="....."
too , but in 4.4 and below Android versions it causes a crash. so i changed the Vector Drawable to a png and it work
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
done
Also, it is great someone is testing our new branch since there can be several bugs waiting to be discovered. Thanks for your interest @wailbabou 😃