android - Changing the states of widgets by clicking button -
am new android , totally there 5 images....
two main buttons up , down arrows (image buttons)... , three images (image buttons)...
if click down arrow, should focus image buttons 1 one , if click up arrow, vice versa... in advance...
<imagebutton android:id="@+id/ib_movies" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margintop="10dp" android:background="@drawable/img_trailer" /> <imagebutton android:id="@+id/ib_movies" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margintop="10dp" android:background="@drawable/img_trailer" /> <imagebutton android:id="@+id/ib_movies" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margintop="10dp" android:background="@drawable/img_trailer" /> <imagebutton android:id="@+id/iv_up_arrow" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/up_arrow" /> <imagebutton android:id="@+id/iv_down_arrow" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/down_arrow" />
Comments
Post a Comment