You can read the First Article about Best Coding Practices in Android here. Re-Use Elements and Layouts Use for reusing layouts. You can read about this from here. Use Different resources for different density Screens. Properly organize your images in mdpi, hdpi,xhdpi etc folders for corresponding screens. This helps to prevent blurry images. Read more… Read More »
OK At first we will create the XML that contains a TextView. marqueetext.xml Now the java code Note : The XMl alone will not create the marquee. For that the most important thing is to do this in java code. Now run the project and see the result.