Skip to main content

Posts

Showing posts from April, 2019

Material design profile page in Android

Hey everyone, some days back I was working on one my personal Android project. In that project, I was supposed to create a simple profile page for a user. This profile page was supposed to show some basic details of a user. The output of this UI will be like this - Profile page screen I created the profile page using material design and in this post, I am going to discuss a step by step tutorial to create a simple yet elegant profile page. Without further ado, let's get started. Creating a new project Click on File ➤ New Project ➤ Empty Activity and fill the necessary details. Change styles.xml file Navigate to app\src\main\res\values\styles.xml Change the style value from DarkActionBar to NoActionBar as below <resources> <!-- Base application theme. --> <style name= "AppTheme" parent= "Theme.AppCompat.Light.NoActionBar" > <!-- Customize your theme here. --> <item name= "colorPr

Grokking Computer Science

Computers are fun, aren't they? Today we see computers in every aspect of our lives but it is even more fun to know how computers work. Computer Science is the study of how computers work. The study has a theoretical and mathematical focus and involves processes such as Algorithms, to solve problems. Why should we study Computer Science? The most important aspect of computer science is problem-solving. Problem solving is an essential skill for life. Students study the design, development and analysis of software and hardware used to solve problems in a variety of business, scientific and social contexts. Because computers solve problems to serve people, there is a significant human side to computer science as well. There are a few reasons which explain the benefits of computer science - Computing is part of everything we do. It helps in solving complex and challenging problems. It enables us to make positive changes in the world (to make the world a better place -