David Morrissey | 00cce30 | 2014-06-10 00:28:49 +0100 | [diff] [blame^] | 1 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | android:id="@+id/content" |
| 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent" > |
| 5 | |
| 6 | <RelativeLayout |
| 7 | android:id="@+id/text" |
| 8 | android:layout_width="match_parent" |
| 9 | android:layout_height="wrap_content" |
| 10 | android:layout_alignParentBottom="true" |
| 11 | android:background="#333"> |
| 12 | <ImageView |
| 13 | android:id="@+id/previous" |
| 14 | android:layout_width="wrap_content" |
| 15 | android:layout_height="wrap_content" |
| 16 | android:layout_alignParentLeft="true" |
| 17 | android:layout_centerVertical="true" |
| 18 | android:background="@drawable/buttonstate_transparent" |
| 19 | android:visibility="invisible" |
| 20 | android:paddingLeft="8dp" |
| 21 | android:paddingRight="8dp" |
| 22 | android:paddingTop="18dp" |
| 23 | android:paddingBottom="18dp" |
| 24 | android:src="@drawable/previous"/> |
| 25 | |
| 26 | <ImageView |
| 27 | android:id="@+id/next" |
| 28 | android:layout_width="wrap_content" |
| 29 | android:layout_height="wrap_content" |
| 30 | android:layout_alignParentRight="true" |
| 31 | android:layout_centerVertical="true" |
| 32 | android:background="@drawable/buttonstate_transparent" |
| 33 | android:paddingLeft="8dp" |
| 34 | android:paddingRight="8dp" |
| 35 | android:paddingTop="18dp" |
| 36 | android:paddingBottom="18dp" |
| 37 | android:src="@drawable/next"/> |
| 38 | |
| 39 | <TextView |
| 40 | android:id="@+id/note" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_width="match_parent" |
| 43 | android:layout_toLeftOf="@id/next" |
| 44 | android:layout_toRightOf="@id/previous" |
| 45 | android:layout_centerVertical="true" |
| 46 | android:padding="10dp" |
| 47 | android:textSize="14sp" |
| 48 | android:textColor="#FFFFFF"/> |
| 49 | |
| 50 | </RelativeLayout> |
| 51 | |
| 52 | <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView |
| 53 | android:id="@+id/imageView" |
| 54 | android:layout_alignParentTop="true" |
| 55 | android:layout_above="@+id/text" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="match_parent"/> |
| 58 | |
| 59 | </RelativeLayout> |