• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design advice for my first app. A translator.

 
Sven Sylta
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI! I need some design-advice for my first Android-app. It is a translator between languages and the core of it is already done. So I only need help with the UI. I'm gonna use the MVC-model.

Graphically from top to bottom it looks like:
------------------------------------------
SPINNER 1 SPINNER 2

one big TEXT-VIEW

EDIT-TEXT (possible button)
------------------------------------------
From spinner 1 I choose the "from-language" and from spinner two I choose the "to-language".
Then I enter a prefix of a word in the Edit-text-view and all the words starting with that prefix displays in the Text-view.

Should I use multiple activity-classes? One activity-class for each view?

Hope this makes sense. Thanks!

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Activities are associated with screens, not with views. So as long as all this is part of the same layout, you'd use a single activity.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic