ChunxiaZhang / Toaster

0 stars 0 forks source link

Add "Settings" page #37

Open ChunxiaZhang opened 9 years ago

ChunxiaZhang commented 9 years ago

Add a new settings activity.

ChunxiaZhang commented 9 years ago

Steps:

  1. In navigation drawer of main activity, add a setting icon;
  2. Add click listening for setting icon;
  3. Create a new activity as setting ui activity;
  4. Add go back last ui menu in tool bar;
  5. Add "Profile", "Account settings", "Emails" items in this activity;
  6. Add "Version" info, including version name and build time;
ChunxiaZhang commented 9 years ago

Get version info from BuildConfig which config in Gradle.

ChunxiaZhang commented 9 years ago

Problems: Didn't fine apis to get profile, account settings, and Emails etc. In this app, page info come from server with html, client shows these page by parsing html files. These apis come from two libs "com.github.pockethub" and "com.alorma.github.sdk". There are no apis concerned Settings, like get profile info, change profile info. So until now it seems it's impossible to implement those features.

ChunxiaZhang commented 9 years ago

Use ButterKnife framework