Files
android_development/samples/ApiDemos/res/layout/image_details.xml
George Mount c580adec26 Revert "Revert "API Review: Change View viewName attribute to transitionName.""
This reverts commit f4138cbcfc.

Change-Id: Id5531f7508b22cf0242a5bef063423d932eb104e
2014-06-23 08:18:46 -07:00

95 lines
3.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<ImageView android:id="@+id/titleImage"
android:layout_height="0px"
android:layout_weight="1"
android:layout_width="match_parent"
android:scaleType="centerCrop"
android:transitionName="hero"
android:onClick="clicked"
/>
<LinearLayout android:layout_height="0px"
android:layout_width="match_parent"
android:layout_weight="2"
android:orientation="vertical"
>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Ducky"
android:textSize="30sp"
android:textColor="#FFF"
/>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Woot!"
android:textSize="30sp"
android:textColor="#FFF"
/>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Ball"
android:textSize="30sp"
android:textColor="#FFF"
/>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Block"
android:textSize="30sp"
android:textColor="#FFF"
/>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Jelly Bean"
android:textSize="30sp"
android:textColor="#FFF"
/>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Mug"
android:textSize="30sp"
android:textColor="#FFF"
/>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Pencil"
android:textSize="30sp"
android:textColor="#FFF"
/>
<View android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#808080"/>
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Scissors"
android:textSize="30sp"
android:textColor="#FFF"
/>
</LinearLayout>
</LinearLayout>