How to create an android image viewer - Part 1

  • 7 лет назад
This is part 1 of a new android tutorialtargeted mainly for people new to android or for people who want to learn about the android local storage framework that was introduced in android lollipop.\r
\r
For part 1 we will be setting up the look and feel for the android image viewer application. \r
Which will consist of adding an android ImageView to the android RelativeLayout.\r
And then accessing the android ImageView from the android RelativeLayout inside code in the ivity.\r
\r
Check the accompanying website tutorial here \r
\r
Github details:\r
The code to start this tutorial available on github here\r
\r
Tag image-viewer-look-feel\r
\r
or you can run this command\r
\r
git clone --branch image-viewer-look-feel \r
\r
\r
In this tutorial we will cover:\r
- Creating a new project using android studio\r
- Adding an android ImageView to the android RelativeLayout\r
- Creating an android ImageView member in code which references the android ImageView inside the android RelativeLayout.\r
\r
APIs covered\r
- ImageView\r
- findViewById\r
\r
For much more information checkout\r
Website - \r
Twitter - \r
Facebook - \r
Google+ - \r
Pinterest - \r
\r
The previous tutorials were aimed at beginners to android but over time have been getting more complex as the original camera_intent app has developed.\r
This tutorialis more aimed towards the intermediate developers thought for those who have been following the previous tutorial , feel free to watch this android performance .\r
\r
Android studio (1.5) is the editor of choice (IDE) for this tutorial .\r
\r
This tutorialis the start of what I expect to be many so I encourage comments and feedback to improve the quality and viewing experience.

Рекомендуем