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