Advertisement
pipsqueaker117

The /res/layout/fragment_item_detail.xml

Mar 10th, 2013
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.72 KB | None | 0 0
  1. <TextView xmlns:android="http://schemas.android.com/apk/res/android"
  2.    <!-- I actually got it to work by deleting the second block and replacing "TextView" with
  3.    "ImageView"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@+id/item_detail"
  6.    style="?android:attr/textAppearanceLarge"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    android:padding="16dp"
  10.    android:textIsSelectable="true"
  11.    tools:context=".ItemDetailFragment" />
  12.  
  13. <!--  The following line complains -->
  14. <ImageView
  15.        android:id="@+id/imageView1"
  16.        android:layout_width="wrap_content"
  17.        android:layout_height="wrap_content"
  18.        android:src="@drawable/android" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement