(FileManager file management based on Android source code uses BaseAdapter to store the obtained files. The source code contains rich comments, which is very helpful for Android novices. Some source code comments: super (context)// Set the layout method. A file includes file name and chart. Select a pen to lay out this. setOrientation (HORIZONTAL) linearly; mIcon=newImageView(context);// Set ImageView as the icon of file mIcon. setImageDrawable (aIconifiedText. getIcon())// Set the filling orientation of the icon in the layout mIcon. setPadding (8, 12, 6, 12)// Add the ImageView, that is, the chart, to the layout addView (mIcon, newLinearLayout. LayoutParams (LayoutParams. WRAP_CONTENT, LayoutParams. WRAP_CONTENT))// Set file name, filling method and font size mText=newTextView (context)// Add the file name to the layout.//Rewrite the getView method to return an IconifiedTextView (our customized file layout) object... This data includes the following attachments:)