| 5 | android:layout_height="match_parent" |
| 6 | android:layout_gravity="top"> |
| 7 |
| 8 | <GridView |
| 9 | android:id="@+id/media_grid" |
| 10 | android:paddingBottom="4dp" |
| 11 | android:paddingTop="4dp" |
| 12 | android:paddingLeft="4dp" |
| 13 | android:paddingRight="4dp" |
| 14 | android:layout_marginBottom="48dp" |
| 15 | android:clipToPadding="false" |
| 16 | android:layout_width="fill_parent" |
| 17 | android:layout_height="fill_parent" |
| 18 | android:drawSelectorOnTop="true" |
| 19 | android:verticalSpacing="4dp" |
| 20 | android:horizontalSpacing="4dp" |
| 21 | android:numColumns="auto_fit" |
| 22 | android:stretchMode="columnWidth" |
| 23 | android:gravity="center" |
| 24 | android:layout_gravity="top" |
| 25 | android:scrollbars="none" |
| 26 | android:listSelector="@drawable/list_selector"/> |
| 27 |
| 28 | <TextView |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="match_parent" |
| 31 | android:textColor="#808080" |
| 32 | android:gravity="center" |
| 33 | android:textSize="24dp" |
| 34 | android:id="@+id/searchEmptyView" |
| 35 | android:visibility="gone" |
| 36 | android:layout_marginBottom="48dp"/> |
| 37 |
| 38 | <LinearLayout |
| 39 | android:id="@+id/progressLayout" |
| 40 | android:layout_width="fill_parent" |
| 41 | android:layout_height="fill_parent" |
| 42 | android:gravity="center" |
| 43 | android:orientation="vertical" |
| 44 | android:visibility="gone" |
| 45 | android:layout_marginBottom="48dp"> |
| 46 |
| 47 | <ProgressBar |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="wrap_content"/> |
| 50 |
| 51 | </LinearLayout> |
| 52 |
| 53 | <include layout="@layout/photo_picker_bottom_layout"/> |
| 54 |
| 55 | </FrameLayout> |