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

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -