| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <LinearLayout | |
| 3 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 4 android:layout_width="match_parent" | |
| 5 android:layout_height="match_parent"> | |
| 6 | |
| 7 <android.support.v7.widget.CardView | |
| 8 android:id="@+id/details_card_view" | |
| 9 xmlns:card_view="http://schemas.android.com/apk/res-auto" | |
| 10 android:layout_width="match_parent" | |
| 11 android:layout_height="match_parent" | |
| 12 card_view:cardUseCompatPadding="true" | |
| 13 card_view:cardCornerRadius="1dp" | |
| 14 card_view:cardElevation="5dp" | |
| 15 android:transitionName="transition_card" | |
| 16 > | |
| 17 | |
| 18 <RelativeLayout | |
| 19 android:layout_width="match_parent" | |
| 20 android:layout_height="wrap_content" | |
| 21 android:padding="10dp" | |
| 22 > | |
| 23 | |
| 24 <ImageView | |
| 25 android:layout_width="60dp" | |
| 26 android:layout_height="60dp" | |
| 27 android:id="@+id/details_avatar" | |
| 28 android:layout_alignParentLeft="true" | |
| 29 android:layout_alignParentTop="true" | |
| 30 android:layout_marginRight="20dp" | |
| 31 android:transitionName="transition_image" | |
| 32 /> | |
| 33 | |
| 34 <TextView | |
| 35 android:layout_width="wrap_content" | |
| 36 android:layout_height="wrap_content" | |
| 37 android:id="@+id/details_title" | |
| 38 android:layout_toRightOf="@+id/details_avatar" | |
| 39 android:layout_alignParentTop="true" | |
| 40 android:textSize="20sp" | |
| 41 android:maxLines="1" | |
| 42 android:textAppearance="@android:style/TextAppearance.Material.T
itle" | |
| 43 android:transitionName="transition_title" | |
| 44 /> | |
| 45 | |
| 46 <TextView | |
| 47 android:layout_width="wrap_content" | |
| 48 android:layout_height="wrap_content" | |
| 49 android:id="@+id/details_author" | |
| 50 android:layout_toRightOf="@+id/details_avatar" | |
| 51 android:layout_below="@+id/details_title" | |
| 52 android:maxLines="1" | |
| 53 android:textAppearance="@android:style/TextAppearance.Material.B
ody1" | |
| 54 android:transitionName="transition_author" | |
| 55 /> | |
| 56 | |
| 57 <TextView | |
| 58 android:layout_width="wrap_content" | |
| 59 android:layout_height="wrap_content" | |
| 60 android:id="@+id/details" | |
| 61 android:textAppearance="@android:style/TextAppearance.Material.B
ody1" | |
| 62 android:layout_below="@+id/details_avatar" | |
| 63 android:layout_margin="10dp" | |
| 64 /> | |
| 65 </RelativeLayout> | |
| 66 | |
| 67 </android.support.v7.widget.CardView> | |
| 68 | |
| 69 </LinearLayout> | |
| OLD | NEW |