|
|
|
|
24
|
result.showAsAction = parseShowAsAction(button.getString("showAsAction"));
|
24
|
result.showAsAction = parseShowAsAction(button.getString("showAsAction"));
|
25
|
result.color = StyleParams.Color.parse(button, "color");
|
25
|
result.color = StyleParams.Color.parse(button, "color");
|
26
|
result.label = button.getString("label");
|
26
|
result.label = button.getString("label");
|
27
|
- result.index = (int) button.getDouble("index");
|
|
|
|
|
27
|
+ result.index = button.getInt("index");
|
28
|
return result;
|
28
|
return result;
|
29
|
}
|
29
|
}
|
30
|
}
|
30
|
}
|