• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps (Eclipse) Import problems?

Lomo133

Lurker
Hey Fellow users on this forum.

I think I met a problem on my activity, so this is how it looks

@Override
protected void onCreate(Bundle savedInstanceState, RelativeLayout Rel_main_game) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.game);

Rel_main_game = (RelativeLayout) findViewById(R.id.main_game_rl);

My activity looks okay but the problem is that Rel_main_game = (RelativeLayout), Rel_main_game is suppose to be blue coolored and working but it isn't for me. the main_game_rl is found and worked as it should but Rel_main_game = (RelativeLayout) should appear on my class but it's maybe something wrong with my import? Thanks

/ Lomo
 
Back
Top Bottom