我从api得到响应,并且该文本将以base 64格式显示图像。 那么如何在android的同一文本视图中显示图像和文本。
响应:-
"Name the animal shown in the figure and write down its food habit.
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAEeCAYAAAHtPaMIAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFxEAABcRAcom8z8AAM5HSURBVHhe7J0FfBxXkv+rXkumOIaQw2CIUTQgycwk2ZYMMbMtc5iZccOJGcPJhpk5TmI7icOb3b29vf/t3i3d7gYszTRM97+qp1sejUa2ZEsW1ffj8sz09HT3vHmq/nV1vXrQPz/fEat7cxsahLpHGvoQ0dgbOqRpD+eA5gQAlhccpZzBrdT3o9rjb48HON1bpWHQWBu6C6j3eoHaecaJKhZuoTmfLYFK9vI0ML3V65/G2tBfLYdYqsZNtKuDqmxxF6V7H6lfGmND9wbtvvfngZmqcZNt9VCIfrkc6v87NqaGzgdoPa8rlO1K0aD7si+XSUPXmBzUfnMqqK9SNVrV98SOw0bd3zv7pv9zBkQ49xjvxPdNYIkwHiIrZzRL7p+w1InR1N8Iel65a3jofQNb8R3VfYpae7kZXxByReipLfLvTsfZ+KxfUHmv8eWJ7U2mjfhdHTv+iUanfZdT/nWHIjwTRM+lfNy6viuFySNXCFiwX8UWXTxtX79EmfTlhXOkLaq/HY0feaAvP/HC8Hkzkw62d0OHwN35F9PjmtmP3riWzbIDROByAQ47Zp+UC4LqANX6CgcThtyOLp34BKtD8mAu0eCPrXf6VHuyGwZUHEdvmVe3byMRHtjlpFIJBKJRCJRGhJwFolEIpFIJBKJ0pCAs0gkEolEIpFIlIYEnEUikUgkEolEojQk4CwSiUQikUgkEqUhAWeRSCQSiUQikSgNCTiLRCKRSCQSiURpSMBZJBKJRCKRSCRKQ0eBs1gsFovFYrFYLD6Wi2P/HzgdQucPmR1tAAAAAElFTkSuQmCC" style="height:137.25pt; width:345pt"/>"