diff options
| author | Bobby Georgescu <georgescu@google.com> | 2013-01-17 12:30:06 -0800 |
|---|---|---|
| committer | Bobby Georgescu <georgescu@google.com> | 2013-01-17 17:06:50 -0800 |
| commit | 6516d271e11f9ae9928be3bb70c99531a842c577 (patch) | |
| tree | 4316feb5eec70470cab1c4aeae95687eae39c880 /res/layout | |
| parent | b1cabf78e719ef8c40dad44eee38b9884e8f9258 (diff) | |
| download | android_packages_apps_Gallery2-6516d271e11f9ae9928be3bb70c99531a842c577.tar.gz android_packages_apps_Gallery2-6516d271e11f9ae9928be3bb70c99531a842c577.tar.bz2 android_packages_apps_Gallery2-6516d271e11f9ae9928be3bb70c99531a842c577.zip | |
Show status in importer for empty or no device
Bug: 8000251
Change-Id: Iefbbe6df59f432ffeb10ac9fa846a8908584ab58
Diffstat (limited to 'res/layout')
| -rw-r--r-- | res/layout/ingest_activity_item_list.xml | 47 |
1 files changed, 37 insertions, 10 deletions
diff --git a/res/layout/ingest_activity_item_list.xml b/res/layout/ingest_activity_item_list.xml index 120cf15cb..23a95f658 100644 --- a/res/layout/ingest_activity_item_list.xml +++ b/res/layout/ingest_activity_item_list.xml @@ -13,13 +13,40 @@ See the License for the specific language governing permissions and limitations under the License. --> -<GridView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/ingest_gridview" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:columnWidth="200px" - android:numColumns="auto_fit" - android:fastScrollEnabled="true" - android:background="@android:color/background_dark" - android:choiceMode="multipleChoiceModal" - android:stretchMode="columnWidth" /> +<merge xmlns:android="http://schemas.android.com/apk/res/android"> + <GridView + android:id="@+id/ingest_gridview" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:columnWidth="200px" + android:numColumns="auto_fit" + android:fastScrollEnabled="true" + android:background="@android:color/background_dark" + android:choiceMode="multipleChoiceModal" + android:stretchMode="columnWidth" /> + + <LinearLayout + android:id="@+id/ingest_warning_overlay" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_margin="20dip" + android:gravity="center" + android:orientation="horizontal" + android:visibility="gone" > + + <ImageView + android:id="@+id/ingest_warning_overlay_icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:src="@android:drawable/ic_dialog_alert" /> + + <TextView + android:id="@+id/ingest_warning_overlay_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dip" + android:textAppearance="?android:attr/textAppearanceSmall" /> + </LinearLayout> +</merge> + |
