LayoutInflater

Tutorial

Android Expandable List Example

In this tutorial I will show you how to make a simple Expandable List. 1. Create a new project and call your java class(the one that is generated by Eclipse or other IDE) “MyActivity”. 2. Go to res – layout -main.xml and put the following code: <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” > […]

, , , ,
Tutorial

Android LayoutInflater Turorial

In this tutorial I will show you how to use the LayoutInflater in Android.1. Make a new project (I called my project InflaterExample and my main Activity it’s called “MyActivity”) 2. Go to res – layout – main.xml and put an id called “main_layout_id” <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:id=”@+id/main_layout_id”> </LinearLayout> 3. Go to res

,
sponsored
Exit mobile version