Browse Source

add id and contentdescription to a layout

purigarcia 10 years ago
parent
commit
d8e954d2d3
3 changed files with 4 additions and 1 deletions
  1. 1 1
      res/layout/file_details_empty.xml
  2. 2 0
      res/layout/files.xml
  3. 1 0
      res/values/strings.xml

+ 1 - 1
res/layout/file_details_empty.xml

@@ -21,7 +21,7 @@
 	android:layout_width="match_parent"
 	android:layout_height="match_parent"
     android:background="#F7F7F7"
-    android:orientation="vertical" >
+    android:orientation="vertical">
 
     <TextView 
         android:layout_width="fill_parent"

+ 2 - 0
res/layout/files.xml

@@ -23,6 +23,8 @@
     android:background="@color/background_color"
     android:orientation="horizontal"
     android:baselineAligned="false"
+    android:id="@+id/ListLayout"
+    android:contentDescription="@string/list_layout"
     >
 
 	<FrameLayout 

+ 1 - 0
res/values/strings.xml

@@ -79,6 +79,7 @@
     <string name="filedetails_download">Download</string>
     <string name="filedetails_sync_file">Refresh file</string>
     <string name="filedetails_renamed_in_upload_msg">File was renamed to %1$s during upload</string>
+    <string name="list_layout">List Layout</string>
     <string name="action_share_file">Share link</string>
     <string name="action_unshare_file">Unshare link</string>
     <string name="common_yes">Yes</string>