under iOS, it works , the button size is the same as image size
but under android, it doesn't work , the button size is zero ,
i have log the render size , at the first few times , it's correct . but when hook function cause rerender, it goes wrong . until onLoad call back, it's still correct , but in the render function, it turns to zero
in another file i return this
LocateBtn
under iOS, it works , the button size is the same as image size but under android, it doesn't work , the button size is zero , i have log the render size , at the first few times , it's correct . but when hook function cause rerender, it goes wrong . until onLoad call back, it's still correct , but in the render function, it turns to zero