答案 0 :(得分:1)
首先通过这样做来填充背后的颜色:
<div class="relative">
Test data Test Data Test Data
<div class="absolute1">
<div class="absolute3">
SomedataT Data Test Data Test data Test Data Test DataTest data Test Data
</div>
<div class="absolute2">
top 2
</div>
</div>
</div>
之后你必须给渐变,你已经像drawables中那样制作一个像drawables那样的xml文件:
<selectng-model="user"
ng-options="item as item.name for item in users track by item.id"
ng-change="onChange()">
</select>
$scope.onChange = function(){
console.log($scope.user);
};
之后你必须这样做:
dataset.setDrawFilled(true);