add OI File Manager and AndroidSupportV2 used by it
[android_pandora.git] / apps / oi-filemanager / FileManager / res / layout / filelist_item.xml
diff --git a/apps/oi-filemanager/FileManager/res/layout/filelist_item.xml b/apps/oi-filemanager/FileManager/res/layout/filelist_item.xml
new file mode 100644 (file)
index 0000000..48d64a3
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- \r
+ * Copyright (C) 2007-2008 OpenIntents.org\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *      http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ -->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:orientation="horizontal"
+    android:layout_width="fill_parent"
+    android:layout_height="wrap_content"
+       android:layout_marginLeft="8dip"
+       android:minHeight="?android:attr/listPreferredItemHeight" 
+    ><!-- android:layout_marginTop="8dip" android:layout_marginBottom="8dip"
+        -->\r
+        \r
+       <ImageView\r
+       android:id="@+id/icon"\r
+       android:layout_height="wrap_content"\r
+       android:layout_width="wrap_content"\r
+       android:scaleType="center"\r
+       android:layout_gravity="center_vertical"\r
+       />\r
+       
+    <LinearLayout
+           android:orientation="vertical"
+           android:layout_width="0dip"
+           android:layout_height="wrap_content"
+           android:layout_weight="1"
+               android:layout_gravity="center_vertical"
+               android:layout_marginLeft="5dip"
+           ><!-- android:layout_alignParentLeft="true"
+            -->
+               <TextView
+                   android:id="@+id/text"
+                   android:layout_height="wrap_content"
+                   android:layout_width="wrap_content"
+                   android:textAppearance="?android:attr/textAppearanceLarge"\r
+                   android:singleLine="true"\r
+                   android:ellipsize="end"
+               /> 
+               <TextView
+                   android:id="@+id/info"
+                   android:layout_height="wrap_content"
+                   android:layout_width="wrap_content"
+               />
+               
+       </LinearLayout>
+       
+    <ImageView android:id="@+id/select_icon"
+       android:layout_width="wrap_content"
+       android:layout_height="wrap_content"
+       android:layout_marginRight="4dp"
+       android:layout_gravity="right|center_vertical" />
+       
+</LinearLayout>