Эх сурвалжийг харах

add id and contentdescription to a layout

purigarcia 10 жил өмнө
parent
commit
d8e954d2d3

+ 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>