appinfoway Apr 17, 2015 Android, Miscellaneous
One of the Android layout widget – Gallery has lessen the pain of developer when one needs to use horizontally scrolling list specially in case of showing images in gallery view. But sometimes we need to customize this gallery widget as per r equirement, for example navigating gallery using next-previous buttons which are placed at
appinfoway Apr 17, 2015 Android, Miscellaneous
Setting up Swipe To Refresh We begin implementing the Swipe to Refresh pattern with a brand new Android Studio project and the most recent version of the Android Support Library (your SDK manager should show an Android Support Library version of at least 21.0). The first thing we need to do is add the support
appinfoway Apr 17, 2015 Android, Miscellaneous
What is RecyclerView ? RecyclerView is a new widget in Android L Developer Preview support library. RecyclerView is a more advanced and flexible than ListView This widgets have material design style by default. Use RecyclerView widget when you have lists that change dynamically. Environment & Tools: Eclipse ADT AVD Device: Nexus 5 or Other Target: Android 4.4.2
appinfoway Apr 17, 2015 Android, Miscellaneous
The Android 5.1 SDK was released among the many tasty updates, includes new UI widgets and theming abilities to create material design style apps. To enable you to bring your updated designs to older platforms, we have also updated the support libraries including AppCompat. In this post I’ll outline what’s new in AppCompat and how
appinfoway Apr 17, 2015 Android, Miscellaneous
Hi Friends, This tutorial presents an android listview with image example. Here you will learn to create your own custom adapter with the help of ArrayAdapter. Step 1: create a activity_main.xml inside layout folder activity_main.xml <?xml version=”1.0″ encoding=”utf-8″> <RelativeLayout xmlns:android=”https://schemas.android.com/apk/res/android” xmlns:tools=”https://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” android:paddingBottom=”@dimen/activity_vertical_margin” android:paddingLeft=”@dimen/activity_horizontal_margin” android:paddingRight=”@dimen/activity_horizontal_margin” android:paddingTop=”@dimen/activity_vertical_margin” tools:context=”.MainActivity”> <ListView android:id=”@+id/listView” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:layout_alignParentLeft=”true” android:layout_alignParentTop=”true”> </ListView> </RelativeLayout>
appinfoway Apr 16, 2015 Android, Miscellaneous
Step 1: At first you have to create a folder named “anim” inside the “res” folder and copy these XML files inside it. HyperSpace In.xml <?xml version=”1.0″ encoding=”utf-8″?> <alpha xmlns:android=”https://schemas</span>.android.com/apk/res/android” android:duration=”300″ android:fromAlpha=”0.0″ android:startOffset=”1200″ android:toAlpha=”1.0″ /> HyperSpace Out .xml <?xml version=”1.0″ encoding=”utf-8″?> <set xmlns:android=”https://schemas.android.com/apk/res/android” android:shareInterpolator=”false” > <scale android:duration=”700″ android:fillAfter=”false” android:fillEnabled=”true” android:fromXScale=”1.0″ android:fromYScale=”1.0″ android:interpolator=”@android:anim/accelerate_decelerate_interpolator” android:pivotX=”50%” android:pivotY=”50%” android:toXScale=”1.4″