ConnectOut-sdp/sdp2023

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

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".remoteStorage.ImageSelectionFragment">

    <LinearLayout
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="50dp"
            tools:layout_editor_absoluteX="1dp">

        <ImageView
                android:id="@+id/preview_image_view"
                android:layout_width="50dp"
                android:layout_height="match_parent"
                app:srcCompat="@drawable/account_image"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent" />

        <Button
                android:text="Choose"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/choose_image_button" />
    </LinearLayout>

</FrameLayout>