summaryrefslogtreecommitdiffstats
path: root/res/layout/gears_dialog_filepicker_cell.xml
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:52 -0800
commited217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6 (patch)
treef4f3c7225a6ed8d870f32cedbbc8f6e41b5633e7 /res/layout/gears_dialog_filepicker_cell.xml
parentba6d7b853c32ad6c3be26c443daa61f322bcfdc2 (diff)
downloadpackages_apps_Browser-ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6.tar.gz
packages_apps_Browser-ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6.tar.bz2
packages_apps_Browser-ed217d91fb3f1a8f4e75ab36ef81d72ef9f4e6d6.zip
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'res/layout/gears_dialog_filepicker_cell.xml')
-rw-r--r--res/layout/gears_dialog_filepicker_cell.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/res/layout/gears_dialog_filepicker_cell.xml b/res/layout/gears_dialog_filepicker_cell.xml
new file mode 100644
index 000000000..1db167fdf
--- /dev/null
+++ b/res/layout/gears_dialog_filepicker_cell.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright 2008, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:padding="2px" >
+
+ <ImageView
+ android:id="@+id/icon"
+ android:scaleType="fitCenter"
+ android:layout_width="64px"
+ android:layout_height="64px" />
+
+ <TextView
+ android:id="@+id/name"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="@color/black"
+ android:singleLine="true"
+ android:ellipsize="middle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+</LinearLayout>