Skip to content

TefiC/xyz-reader-starter-code

 
 

Repository files navigation

XYZ Reader - Udacity ADND Project 5

Udacity Android Developer Nanodegree

Features

  • For this project I took a functional app that didn't follow Material Design Guidelines and redesigned it following Material Design Guidelines.
Article List
  • Included an AppBarLayout with a CollapsingToolbarLayout to display the app's logo.
  • Placed the articles on a single surface since the content was homogeneous and therefore should be presented on the same surface for a better UX on scroll.
  • The landscape layout optimizes the blank space on the screen by increasing the size of the images.
  • On larger devices, the list is displayed in two columns.
  • Added a divider for the RecyclerView items.
Article Details
  • Resized article image to full width within its container and a fixed height.
  • Added two scrims on top of the main article image:
    • One at the top to guarantee that the white up button will always be visible.
    • One at the bottom to create a transition between the view below and the image.
  • Centered the article's title, author and date for a better presentation.
  • Set a default font family for better consistency and UX.
  • The article's body has a max width that will not be exceeded on larger devices.
  • Added a landscape layout that utilizes the blank space on the screen by repositioning the image to the left and the title, author, date and body to the right.
  • Replaced an ImageButton for a FloatingActionButton provided by the Design Support Library with the correct elevation and dimensions that scale according to the device width ("mini" FloatingActionButton for devices with width less than 460dp and "normal" for devices wider that 460dp). - The size of the button will change on rotation according to the criteria listed above, following Material Design Guidelines.
  • Added an icon from materialdesignicons.com to the Floating Action Button.
Transitions
  • Added a "fade" transition when the user launches the article details activity.
Widgets
  • When there is no internet connection, a SnackBar will warn the user and the articles list will be hidden.

Attributions

These resources were very helpful during my project:


About

Starter code for XYZ Reader project in Android Nanodegree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%