Month: February 2016

use FragmentManager class

Reading Time: 2 minutesThe most appropriate way to handle Fragments in Android is to use FragmentManager class. Using fragments in Android programming is very useful advanced concept and benefits from it are: Dynamic and flexible user interface. Reusable views. Manage different screen resolutions.

Tagged with: ,

Activity as Container for Fragments

Reading Time: 1 minuteGood practice in Android programming is to use Activity merely as a container and use Fragments for ALL UI elements, including the button you are clicking to change between them. For this purpose read as introduction.  Now, start new blank

Tagged with: ,

Introduce fragment from activity in android

Reading Time: 2 minutesConcept of the fragment is new ‘quantum leap’ in Android programming. But before you start to run, you must learn how to walk first. So, we will start to introduce fragment from activity. We will remake our greatest common divisor

Tagged with: ,

Volley git clone installation

Reading Time: 1 minuteYou suppose to have started your Android studio project, and then, you need to do volley git clone installation. To do so, make an empty folder, go there and in cmd mode type following command: git clone https://android.googlesource.com/platform/frameworks/volley Then you

Tagged with:

git push origin master

Reading Time: 1 minuteIn order to push your source code, go into root folder of your project and start with the following command: git add . Then we must do commit with git commit -m “your comment” Result of commit is given in

Tagged with: , , ,

ListView with Images and Text

Reading Time: 3 minutesIn this tutorial it is explained how to insert ListView with Images and Text in Android app. ListView with Images and Text is very handy user interface for Android app. First, let’s add ListView container in content_main.xml. So we have

Tagged with: ,

FrameLayout in Android studio

Reading Time: 2 minutesFrameLayout in Android studio is an interesting layout option in Android studio. Mayor difference between frame layout on one side and Relative and Linear Layout on the other side is that FrameLayout allows widgets to flow one over another. With

Tagged with: , ,

Usage of Android Studio Debugger

Reading Time: 1 minuteBefore starting with new advanced topics in Android Studio, let’s learn usage of Android Studio debugger first. For example, if we want to add onClick method for some button, we can do it by open corresponding xml file (content_main.xml for

Tagged with: , ,
Top