android


FloatingActionButton backgroundHint with alpha


I've put a fab in my application.
I set the backgroundHint with opacity (#44FF0000).
But there is a little circle inside.
fab image
How can I remove this little circle?
This is my code
<android.support.design.widget.FloatingActionButton
android:id="#+id/close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:layout_marginBottom="70dp"
android:layout_marginRight="80dp"
android:src="#drawable/phone"
app:backgroundTint="#44FF0000" />
Thanks
You can't remove "this little circle". It's caused by the shadow being drawn beneath the background.
Alternative a)
Use solid background with anything that drops a shadow.
Alternative b)
Do not use shadow/elevation with translucent widgets. For FAB:
<...FloatingActionButton
app:elevation="0dp"
app:pressedTranslationZ="0dp"/>

Related Links

Comprehensive list of Splash Screen and Icons for Phonegap
Image classification with opencv
How to get libgdx view from andengine project
Horizontal scrolling between activities in Android
Read QR Code without using other app
Gps,GeoCoding causes app hang in android
Android App Closes on creation?
GridLayout spitting out “inconsistent constraint” debug-level logs
Android DB: Merging Two Databases Using SQL Dumps
Questio about AdMob ad url to application
trouble importing android-remote-stacktrace
ADT rev20 - apps don't install on any AVD
View will get twice at onItemClick
downloading xml from ftp in android
Notification upon ended parsing of web response
How to transfer “data” between two device (android,iphone)?

Categories

HOME
eclipse
kentico
design-patterns
gdb
c++11
cublas
carousel
cq5
vsm
spring-session
google-cloud-datalab
crystal-lang
boto3
computer-science
arangodb
little-proxy
commonjs
siddhi
startup
windows-ce
line
opengl-es-3.0
onedrive-api
altera
null-pointer
mvc-mini-profiler
chargify
android-7.0-nougat
asp.net-mvc-viewmodel
jersey-1.0
git-extensions
mapstruct
boost-icl
squashfs
dataflow-diagram
roslyn
visual-studio-extensions
epsilon
google-api-client
slidetoggle
subclass
winpe
xbox
anki
papaparse
sammy.js
github3.py
arduino-ide
imx6
loading
demo
magento-1.9.3
tcc
placeholder
nanoc
bluez
payara-micro
arq
appdomain
arules
android-instrumentation
juice-ui
atlas
webjars
drawstring
i386
eigenvector
nss
ikiwiki
halcon
atan2
sapi
computer-architecture
botan
matlab-deployment
fail2ban
cakephp-2.7
mass-assignment
infosphere-spl
nodelist
sip-server
genymotion-call
jjaql
fpdi
koala
ora-06550
model-driven-development
inappsettingskit
time.h
pagedown
video-codecs
redis-py
monotouch.dialog
inkcanvas
infobright
exponentiation
timthumb
dataform
uideviceorientation
object-database
easyb
interprocess
scrollbars
purepdf
localizable.strings
linfu-dynamicproxy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App