by Droid Face | Feb 5, 2017 | ListView
Step 1: Create a layout xml for the header and footer as per your requirement. header.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"...
by Droid Face | Feb 5, 2017 | ImageView
Place This Code To droidface.xml <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/droidface" ...
by admin | Feb 3, 2017 | Button
1) Implement the bounce interpolator Next, we write the code that adds the bounce effect to the scale animation. Create a new Java Class file in your app module and name it MyBounceInterpolator. Open the Java file that was created and replace the class code with the...
by admin | Feb 3, 2017 | Button
1) Add a button view We begin by placing a button in the activity layout file res/layout/activity_main.xml. <?xml version=”1.0″ encoding=”utf-8″?> <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android”...
by admin | Feb 3, 2017 | ListView
Droid Face ListView – The ListView and GridView are subclasses of AdapterView and they can be populated by binding them to an Adapter, which retrieves data from an external source and creates a View that represents each data entry. Android provides several...
Recent Comments