sahar_mrd69
پنج شنبه 10 اردیبهشت 1394, 11:46 صبح
سلام دوستان.یه فرم تو پروژم دارم که به ترتیب زیر اسکرول بار linearlayoute یه imageview گذاشتم.حالا میخوام با کلیک روی یه قسمتی از عکس به یه اکتیویتی دیگ برم.از چطوری باید این کارو بکنم ؟؟؟؟؟مرسی از راهنمایی فقط فوری
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:src="@drawable/sp" />
</RelativeLayout>
</ScrollView>
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:src="@drawable/sp" />
</RelativeLayout>
</ScrollView>