Hi,
I want when I open my Activity it shows Built-in Control that is
id/metronome_image in given xml. but when i click over it
should replace with my Custom control that is CustomMetronome in given xml.
when i click again outside it should replace back to Built-In.
<FrameLayout android:id="@+id/metro" android:layout_width="wrap_content"
android:layout_height="fill_parent">
<ImageView android:id="@+id/metronome_image"
android:layout_width="260dip" android:layout_height="wrap_content"
android:gravity="center" android:paddingLeft="10dip"
android:focusable="false"/>
<!--
<ImageView android:layout_width="260dip"
android:layout_height="wrap_content" android:src="@drawable/metronome"
android:layout_gravity="center" android:paddingLeft="10dip" />
<com.sharp.android.customcontrols.CustomMetronome
android:id="@+id/metronome_image" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:paddingTop="135dip"
android:paddingLeft="15dip" />
-->
</FrameLayout>
--
Thank & Regards
Peeyush Varshney
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---