update
This commit is contained in:
1 parent
a76f8a56a7
commit
0827705cdf
2 files changed
+7
-22
No files matched your search
@@ -14,26 +14,11 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="46.0dp" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:src="@drawable/ic_dir_dark_dialog" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_margin="8.0dp"
|
||||
android:layout_toRightOf="@id/icon" />
|
||||
|
||||
</RelativeLayout>
|
||||
android:gravity="center_vertical"
|
||||
android:padding="8dp"
|
||||
android:drawableLeft="@drawable/ic_dir_dark_dialog"
|
||||
android:drawablePadding="8dp" />
|
||||
@@ -232,7 +232,7 @@ public class FileExplorerView extends ListView
|
||||
if (convertView == null)
|
||||
convertView = mInflater.inflate(R.layout.file_explorer_item, parent, false);
|
||||
|
||||
TextView tv = (TextView)convertView.findViewById(R.id.text);
|
||||
TextView tv = (TextView) convertView;
|
||||
File file = mFileList.get(position);
|
||||
String name;
|
||||
if (file == PARENT_DIR)
|
||||
|
||||
Reference in new issue
Block a user