The project describes how to port an application in more than one language. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project LocalizationExample 2.) Open and insert following in main.xml: android:layout_height=”fill_parent” xmlns:android=”http://schemas.android.com/apk/res/android” android:id=”@+id/iclLayout”> android:layout_height=”wrap_content” android:background=”@drawable/background” android:id=”@+id/countryimage” android:layout_above=”@+id/infotext”> android:layout_height=”wrap_content” android:text=”@string/info_text” android:layout_alignParentBottom=”true” android:textColor=”@color/White” android:textSize=”24dip” android:layout_centerHorizontal=”true” android:id=”@+id/infotext”> 3.) Create […]
Read More...The project describes how to implement tween animation and rotate the text in your application. A tween animation can perform a series of simple transformations (position, size, rotation, and transparency) on the contents of a View object. So, if you have a TextView object, you can move, rotate, grow, or shrink the text. Underlying Algorithm: […]
Read More...The project describes how to implement frame animation and animate images in your application. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project FrameAnimationExample 2.) Open and insert following in main.xml: android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:layout_gravity=”center” android:background=”#ffffff”> <TextView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:text=”Frame by Frame Animation Example” android:gravity=”center”/> <RelativeLayout android:layout_width=”fill_parent” android:layout_height=”fill_parent” […]
Read More...The project describes how to implement spinner (drop-down list) for your application. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project SpinnerExample 2.) Open and insert following in main.xml: android:orientation=”vertical” android:padding=”10dip” android:layout_width=”fill_parent” android:layout_height=”wrap_content”> <TextView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:layout_marginTop=”10dip” android:text=”@string/mnth_picker” /> <Spinner android:id=”@+id/spinner” android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:prompt=”@string/mnth_picker” /> 3.) […]
Read More...The project describes how to implement list view for your application. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project ListViewExample 2.) Open and insert following in main.xml: android:layout_width=”fill_parent” android:layout_height=”fill_parent” xmlns:android=”http://schemas.android.com/apk/res/android”> android:layout_height=”wrap_content” /> 3.) Run the application. Steps to Create: 1.) Open Eclipse. Use the New […]
Read More...The project describes how to implement Table layout. TableLayout is a ViewGroup that displays child View elements in rows and columns. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project TableLayoutExample 2.) Open and insert following in main.xml: android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:stretchColumns=”1″> <TextView android:layout_column=”1″ android:text=”Sound On” android:padding=”3dip” /> <View […]
Read More...The project describes how to implement BackupManager for your application so that you can save the current state of your game/application. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project BackupManager 2.) Open and insert following in layout/backup_restore.xml: android:orientation=”vertical” android:layout_width=”match_parent” android:layout_height=”wrap_content”> <ScrollView android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:layout_weight=”1″> <LinearLayout android:orientation=”vertical” […]
Read More...The project describes how to implement Custom Button and display a message when button is pressed. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project CustomButton 2.) Open and insert following in main.xml: android:orientation=”vertical” android:layout_gravity=”center_horizontal” android:gravity=”center_vertical|center_horizontal” android:layout_width=”wrap_content” android:layout_height=”fill_parent”> <button> android:layout_height=”wrap_content” android:focusable=”true” android:text=”Click Me” android:background=”@drawable/btn_blue” android:onClick=”@drawable/btn_green”/> 3.) […]
Read More...The project describes how to implement gallery for your application. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project GalleryExample 2.) Open and insert following in main.xml: android:id=”@+id/gallery” android:layout_width=”fill_parent” android:layout_height=”wrap_content” /> 3.) Create,Open and insert following in your res/values/attrs.xml: 4.) Add some image in your drawable […]
Read More...The project describes how to implement an application which allows you to drop and drag UI elements. Underlying Algorithm: Basic description of algorithm in step by step form: 1.) Create a Project DragNew 2.) Open and insert following in main.xml: android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:id=”@+id/vg” > 3.) Open and insert following in your […]
Read More...