Why am I getting an error in my main.xml?
See image here :
I get erro开发者_运维百科r in setContentView(R.layout.main);
Where is my problem?
You seem to have invalid value set for layout_width (="match_parent"). "fill_parent" is maybe what you're looking for. "match_parent" is available only for API level 8 and higher.
精彩评论