我正在尝试在我的TextView
LinearLayout中创建map_below
时,将while (it.hasNext()) {
Entry<Integer, Integer> entry = it.next();
int id = entry.getKey();
int route = entry.getValue();
TextView tv = new TextView(this);
tv.setPadding(10, 0, 0, 0);
tv.setTextColor(Color.parseColor("#FFFFFF"));
tv.setText(String.valueOf(route));
ll.addView(tv);
}
添加到彼此旁边,但是彼此相加。我该如何管理?
Qualtrics.SurveyEngine.addOnload(function() {
var qid = this.questionId;
var ticks = $(qid).select('span.TickContainer');
for(var i=0; i<ticks.length; i++) {
var labels = ticks[i].select('span');
for(var j=0; j<labels.length; j++) {
var label = labels[j].innerHTML.trim();
labels[j].innerHTML = " %" + label + " ";
}
}
});