Abhi347/NoobFileChooser

View on GitHub
app/src/main/res/layout/activity_main.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="noob.com.noobfilechooser.MainActivity">

    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:onClick="onChooseFileClick"
        android:text="Choose File/Folder"/>
    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:onClick="onDeleteFileClick"
        android:text="Delete File"/>
    <Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:onClick="onRenameFileClick"
        android:text="Rename File"/>
    <TextView
        android:id="@+id/file_name_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="file name"/>
    <TextView
        android:id="@+id/file_type_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="file type"/>
    <TextView
        android:id="@+id/file_uri_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="file URI"/>
    <ImageView
        android:id="@+id/image_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:visibility="gone"
        android:contentDescription="Place to Preview Image"/>
</LinearLayout>