Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <ImageView
  2. android:id="@+id/wizard1_icon"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content"
  5. android:layout_marginRight="4dp"
  6. android:src="@drawable/wizard1_one" />
  7.  
  8. <TextView android:id="@+id/wizard1"
  9. android:layout_weight="1"
  10. android:layout_width="0dp"
  11. android:layout_height="wrap_content"
  12. android:text="@string/wizard1_name"
  13. android:hint="@string/wizard1_name" />
  14.  
  15. <Button
  16. android:id="@+id/btnAddWizard"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:text="@string/button_Add"
  20. android:tag="@string/wizard1_name"
  21. android:onClick="AddWizardView" />
  22.  
  23. <item type="id" name="wizard1_name"/>
  24. <item type="id" name="wizard1_image"/>
  25.  
  26. Object wizardName = btnAddWizard.getTag(R.id.wizard1_name);
  27. Object wizardImage = btnAddWizard.getTag(R.id.wizard1_image);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement