Replace illustration for receiving data from removable drive

This commit is contained in:
Torsten Grote
2022-09-27 15:37:57 -03:00
parent f42cf00c35
commit f4dd3c4f06
8 changed files with 379 additions and 115 deletions

View File

@@ -8,7 +8,6 @@ import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.ScrollView;
import android.widget.Toast;
import org.briarproject.briar.R;
@@ -26,10 +25,10 @@ import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.ViewModelProvider;
import static android.view.View.FOCUS_DOWN;
import static android.view.View.VISIBLE;
import static android.widget.Toast.LENGTH_LONG;
import static org.briarproject.briar.android.AppModule.getAndroidComponent;
import static org.briarproject.briar.android.util.UiUtils.hideViewOnSmallScreen;
import static org.briarproject.briar.android.util.UiUtils.launchActivityToOpenFile;
@RequiresApi(19)
@@ -50,7 +49,6 @@ public class ReceiveFragment extends Fragment {
ViewModelProvider.Factory viewModelFactory;
private RemovableDriveViewModel viewModel;
private ScrollView scrollView;
private Button button;
private ProgressBar progressBar;
@@ -72,7 +70,6 @@ public class ReceiveFragment extends Fragment {
View v = inflater.inflate(R.layout.fragment_transfer_data_receive,
container, false);
scrollView = (ScrollView) v;
progressBar = v.findViewById(R.id.progressBar);
button = v.findViewById(R.id.fileButton);
button.setOnClickListener(view ->
@@ -93,8 +90,7 @@ public class ReceiveFragment extends Fragment {
public void onStart() {
super.onStart();
requireActivity().setTitle(R.string.removable_drive_title_receive);
// Scroll down in case the screen is small, so the button is visible
scrollView.post(() -> scrollView.fullScroll(FOCUS_DOWN));
hideViewOnSmallScreen(requireView().findViewById(R.id.imageView));
}
@Override

View File

@@ -0,0 +1,109 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="200dp"
android:height="100dp"
android:viewportWidth="289"
android:viewportHeight="144">
<path
android:fillColor="#1E293B"
android:pathData="M265.47,33.75L239.47,33.75A7.25,7.25 0,0 0,232.22 41L232.22,103A7.25,7.25 0,0 0,239.47 110.25L265.47,110.25A7.25,7.25 0,0 0,272.72 103L272.72,41A7.25,7.25 0,0 0,265.47 33.75z"
android:strokeWidth="1.5"
android:strokeColor="#52ADF9" />
<path
android:fillColor="#0B1120"
android:pathData="M272.72,48H232.22V100.5H272.72V48Z"
android:strokeWidth="1.5"
android:strokeColor="#52ADF9" />
<path
android:fillColor="#365314"
android:pathData="M240.07,65.1L264.86,65.1A4,4 0,0 1,268.86 69.1L268.86,79.39A4,4 0,0 1,264.86 83.39L240.07,83.39A4,4 0,0 1,236.07 79.39L236.07,69.1A4,4 0,0 1,240.07 65.1z" />
<path
android:fillColor="#00000000"
android:pathData="M242.58,71.55H262.46"
android:strokeWidth="1.5"
android:strokeColor="#A3E635"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M242.58,77.65H253.26"
android:strokeWidth="1.5"
android:strokeColor="#A3E635"
android:strokeLineCap="round" />
<path
android:fillColor="#52ADF9"
android:pathData="M253.47,41a1,1 90,1 1,-2 0a1,1 90,1 1,2 0z" />
<path
android:fillColor="#52ADF9"
android:pathData="M244.47,40.27C244.05,40.27 243.72,40.61 243.72,41.02C243.72,41.44 244.05,41.77 244.47,41.77V40.27ZM248.47,41.77C248.88,41.77 249.22,41.44 249.22,41.02C249.22,40.61 248.88,40.27 248.47,40.27V41.77ZM244.47,41.77H248.47V40.27H244.47V41.77Z" />
<path
android:fillColor="#52ADF9"
android:pathData="M256.47,40.27C256.05,40.27 255.72,40.61 255.72,41.02C255.72,41.44 256.05,41.77 256.47,41.77V40.27ZM260.47,41.77C260.88,41.77 261.22,41.44 261.22,41.02C261.22,40.61 260.88,40.27 260.47,40.27V41.77ZM256.47,41.77H260.47V40.27H256.47V41.77Z" />
<path
android:fillColor="#4D7C0F"
android:pathData="M89.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#82C91E"
android:pathData="M105.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#365314"
android:pathData="M73.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#4D7C0F"
android:pathData="M198.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#82C91E"
android:pathData="M214.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#365314"
android:pathData="M182.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#123060"
android:pathData="M29.04,43C29.04,41.9 29.93,41 31.04,41H49.9C51,41 51.9,41.9 51.9,43V61.39H29.04L29.04,43Z"
android:strokeWidth="1.5"
android:strokeColor="#52ADF9" />
<path
android:fillColor="#1E293B"
android:pathData="M24.47,65.38C24.47,63.17 26.26,61.38 28.47,61.38H52.47C54.68,61.38 56.47,63.17 56.47,65.38L56.47,100C56.47,102.21 54.68,104 52.47,104H28.47C26.26,104 24.47,102.21 24.47,100L24.47,65.38Z"
android:strokeWidth="1.5"
android:strokeColor="#52ADF9" />
<path
android:fillColor="#52ADF9"
android:pathData="M33.09,49.41h4.56v3.13h-4.56z" />
<path
android:fillColor="#52ADF9"
android:pathData="M43.29,49.41h4.56v3.13h-4.56z" />
<path
android:fillColor="#365314"
android:fillType="evenOdd"
android:pathData="M151.87,42L143.97,42H126.47C124.26,42 122.47,43.79 122.47,46L122.47,98C122.47,100.21 124.26,102 126.47,102L161.47,102C163.68,102 165.47,100.21 165.47,98L165.47,55.97L151.87,42Z" />
<path
android:fillColor="#A3E635"
android:pathData="M143.97,42L143.97,41.25H143.97V42ZM151.87,42L152.4,41.48L152.18,41.25L151.87,41.25L151.87,42ZM122.47,46H123.22H122.47ZM122.47,98H121.72H122.47ZM126.47,102V101.25V102ZM161.47,102V102.75V102ZM165.47,98H164.72H165.47ZM165.47,55.97H166.22V55.66L166,55.45L165.47,55.97ZM143.97,42.75L151.87,42.75L151.87,41.25L143.97,41.25L143.97,42.75ZM126.47,42.75H143.97V41.25H126.47V42.75ZM123.22,46C123.22,44.21 124.67,42.75 126.47,42.75V41.25C123.84,41.25 121.72,43.38 121.72,46H123.22ZM123.22,98L123.22,46H121.72L121.72,98H123.22ZM126.47,101.25C124.67,101.25 123.22,99.79 123.22,98H121.72C121.72,100.62 123.84,102.75 126.47,102.75V101.25ZM161.47,101.25L126.47,101.25V102.75L161.47,102.75V101.25ZM164.72,98C164.72,99.79 163.26,101.25 161.47,101.25V102.75C164.09,102.75 166.22,100.62 166.22,98H164.72ZM164.72,55.97L164.72,98H166.22L166.22,55.97H164.72ZM166,55.45L152.4,41.48L151.33,42.52L164.93,56.49L166,55.45Z" />
<path
android:fillColor="#65A30D"
android:pathData="M165.2,55.68L156.16,55.68C153.95,55.68 152.16,53.89 152.16,51.68L152.16,42.29L165.2,55.68Z"
android:strokeWidth="1.5"
android:strokeColor="#A3E635"
android:strokeLineJoin="round" />
<path
android:fillColor="#00000000"
android:pathData="M134.07,63.49H153.91"
android:strokeWidth="1.5"
android:strokeColor="#A3E635"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M134.07,69.04H144.73"
android:strokeWidth="1.5"
android:strokeColor="#A3E635"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M135.64,80.73V87.41C135.64,89.49 137.32,91.18 139.4,91.18C141.48,91.18 143.16,89.49 143.16,87.41V80.73C143.16,78.65 141.48,76.97 139.4,76.97C137.32,76.97 135.64,78.65 135.64,80.73Z"
android:strokeWidth="1.5"
android:strokeColor="#A3E635" />
<path
android:fillColor="#65A30D"
android:pathData="M134.32,84.52L144.49,84.52A1.25,1.25 0,0 1,145.74 85.77L145.74,92.72A1.25,1.25 0,0 1,144.49 93.97L134.32,93.97A1.25,1.25 0,0 1,133.07 92.72L133.07,85.77A1.25,1.25 0,0 1,134.32 84.52z"
android:strokeWidth="1.5"
android:strokeColor="#A3E635" />
</vector>

View File

@@ -1,15 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="120dp"
android:height="52dp"
android:viewportWidth="120"
android:viewportHeight="52">
<path
android:fillColor="?attr/colorControlNormal"
android:pathData="m15.975,14.267c-0.596,0 -1.168,0.238 -1.589,0.659 -0.422,0.421 -0.659,0.993 -0.659,1.589v10.111c-0.596,0 -1.166,0.236 -1.587,0.658 -0.422,0.421 -0.659,0.993 -0.659,1.589v12.359h2.247v-12.359h17.977v12.359h2.247L33.951,28.873c0,-0.596 -0.236,-1.168 -0.658,-1.589 -0.421,-0.422 -0.993,-0.658 -1.589,-0.658L31.704,16.515c0,-0.596 -0.238,-1.168 -0.659,-1.589 -0.421,-0.422 -0.993,-0.659 -1.589,-0.659zM15.975,16.515L29.456,16.515L29.456,26.626L15.975,26.626ZM18.222,18.739v2.247h3.37v-2.247zM23.84,18.739v2.247h3.37v-2.247z" />
<path
android:fillColor="@color/briar_brand_green"
android:pathData="m47.828,24.463v3.074h18.443l-8.453,8.453 2.182,2.182 12.172,-12.172 -12.172,-12.172 -2.182,2.182 8.453,8.453z" />
<path
android:fillColor="?attr/colorControlNormal"
android:pathData="M93.999,0C92.275,0 90.624,0.686 89.405,1.905 88.186,3.124 87.501,4.776 87.501,6.5L87.501,45.498c0,1.724 0.686,3.379 1.905,4.598C90.624,51.314 92.275,52 93.999,52h19.501c1.724,0 3.377,-0.686 4.596,-1.905C119.314,48.877 120,47.222 120,45.498L120,6.5C120,4.776 119.314,3.124 118.095,1.905 116.877,0.686 115.224,0 113.5,0ZM93.999,3.252h19.501c0.862,0 1.689,0.34 2.299,0.949 0.609,0.609 0.951,1.437 0.951,2.299L116.75,45.498c0,0.862 -0.342,1.689 -0.951,2.299 -0.609,0.609 -1.437,0.953 -2.299,0.953L93.999,48.75c-0.862,0 -1.687,-0.344 -2.297,-0.953 -0.609,-0.61 -0.951,-1.437 -0.951,-2.299L90.751,6.5c0,-0.862 0.342,-1.689 0.951,-2.299 0.61,-0.609 1.435,-0.949 2.297,-0.949zM103.749,36.016c-0.862,0 -1.687,0.342 -2.297,0.951 -0.609,0.61 -0.953,1.437 -0.953,2.299 0,0.862 0.344,1.687 0.953,2.297 0.609,0.61 1.435,0.951 2.297,0.951 0.862,0 1.689,-0.342 2.299,-0.951 0.609,-0.609 0.951,-1.435 0.951,-2.297 0,-0.862 -0.342,-1.689 -0.951,-2.299 -0.61,-0.609 -1.437,-0.951 -2.299,-0.951z" />
</vector>

View File

@@ -0,0 +1,109 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="200dp"
android:height="100dp"
android:viewportWidth="289"
android:viewportHeight="144">
<path
android:fillColor="#DDEDFE"
android:pathData="M265.47,33.75L239.47,33.75A7.25,7.25 0,0 0,232.22 41L232.22,103A7.25,7.25 0,0 0,239.47 110.25L265.47,110.25A7.25,7.25 0,0 0,272.72 103L272.72,41A7.25,7.25 0,0 0,265.47 33.75z"
android:strokeWidth="1.5"
android:strokeColor="#196FDE" />
<path
android:fillColor="#F9FAFB"
android:pathData="M272.72,48H232.22V100.5H272.72V48Z"
android:strokeWidth="1.5"
android:strokeColor="#196FDE" />
<path
android:fillColor="#ECFCCB"
android:pathData="M240.07,65.1L264.86,65.1A4,4 0,0 1,268.86 69.1L268.86,79.39A4,4 0,0 1,264.86 83.39L240.07,83.39A4,4 0,0 1,236.07 79.39L236.07,69.1A4,4 0,0 1,240.07 65.1z" />
<path
android:fillColor="#00000000"
android:pathData="M242.58,71.55H262.46"
android:strokeWidth="1.5"
android:strokeColor="#65A30D"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M242.58,77.65H253.26"
android:strokeWidth="1.5"
android:strokeColor="#65A30D"
android:strokeLineCap="round" />
<path
android:fillColor="#196FDE"
android:pathData="M253.47,41a1,1 90,1 1,-2 0a1,1 90,1 1,2 0z" />
<path
android:fillColor="#196FDE"
android:pathData="M244.47,40.27C244.05,40.27 243.72,40.61 243.72,41.02C243.72,41.44 244.05,41.77 244.47,41.77V40.27ZM248.47,41.77C248.88,41.77 249.22,41.44 249.22,41.02C249.22,40.61 248.88,40.27 248.47,40.27V41.77ZM244.47,41.77H248.47V40.27H244.47V41.77Z" />
<path
android:fillColor="#196FDE"
android:pathData="M256.47,40.27C256.05,40.27 255.72,40.61 255.72,41.02C255.72,41.44 256.05,41.77 256.47,41.77V40.27ZM260.47,41.77C260.88,41.77 261.22,41.44 261.22,41.02C261.22,40.61 260.88,40.27 260.47,40.27V41.77ZM256.47,41.77H260.47V40.27H256.47V41.77Z" />
<path
android:fillColor="#BEF264"
android:pathData="M89.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#A3E635"
android:pathData="M105.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#D9F99D"
android:pathData="M73.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#BEF264"
android:pathData="M198.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#A3E635"
android:pathData="M214.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#D9F99D"
android:pathData="M182.47,72m-4,0a4,4 0,1 1,8 0a4,4 0,1 1,-8 0" />
<path
android:fillColor="#F9FAFB"
android:pathData="M29.04,43C29.04,41.9 29.93,41 31.04,41H49.9C51,41 51.9,41.9 51.9,43V61.39H29.04L29.04,43Z"
android:strokeWidth="1.5"
android:strokeColor="#196FDE" />
<path
android:fillColor="#DDEDFE"
android:pathData="M24.47,65.38C24.47,63.17 26.26,61.38 28.47,61.38H52.47C54.68,61.38 56.47,63.17 56.47,65.38L56.47,100C56.47,102.21 54.68,104 52.47,104H28.47C26.26,104 24.47,102.21 24.47,100L24.47,65.38Z"
android:strokeWidth="1.5"
android:strokeColor="#196FDE" />
<path
android:fillColor="#196FDE"
android:pathData="M33.09,49.41h4.56v3.13h-4.56z" />
<path
android:fillColor="#196FDE"
android:pathData="M43.29,49.41h4.56v3.13h-4.56z" />
<path
android:fillColor="#ECFCCB"
android:fillType="evenOdd"
android:pathData="M151.87,42L143.97,42H126.47C124.26,42 122.47,43.79 122.47,46L122.47,98C122.47,100.21 124.26,102 126.47,102L161.47,102C163.68,102 165.47,100.21 165.47,98L165.47,55.97L151.87,42Z" />
<path
android:fillColor="#65A30D"
android:pathData="M143.97,42L143.97,41.25H143.97V42ZM151.87,42L152.4,41.48L152.18,41.25L151.87,41.25L151.87,42ZM122.47,46H123.22H122.47ZM122.47,98H121.72H122.47ZM126.47,102V101.25V102ZM161.47,102V102.75V102ZM165.47,98H164.72H165.47ZM165.47,55.97H166.22V55.66L166,55.45L165.47,55.97ZM143.97,42.75L151.87,42.75L151.87,41.25L143.97,41.25L143.97,42.75ZM126.47,42.75H143.97V41.25H126.47V42.75ZM123.22,46C123.22,44.21 124.67,42.75 126.47,42.75V41.25C123.84,41.25 121.72,43.38 121.72,46H123.22ZM123.22,98L123.22,46H121.72L121.72,98H123.22ZM126.47,101.25C124.67,101.25 123.22,99.79 123.22,98H121.72C121.72,100.62 123.84,102.75 126.47,102.75V101.25ZM161.47,101.25L126.47,101.25V102.75L161.47,102.75V101.25ZM164.72,98C164.72,99.79 163.26,101.25 161.47,101.25V102.75C164.09,102.75 166.22,100.62 166.22,98H164.72ZM164.72,55.97L164.72,98H166.22L166.22,55.97H164.72ZM166,55.45L152.4,41.48L151.33,42.52L164.93,56.49L166,55.45Z" />
<path
android:fillColor="#F7FEE7"
android:pathData="M165.2,55.68L156.16,55.68C153.95,55.68 152.16,53.89 152.16,51.68L152.16,42.29L165.2,55.68Z"
android:strokeWidth="1.5"
android:strokeColor="#65A30D"
android:strokeLineJoin="round" />
<path
android:fillColor="#00000000"
android:pathData="M134.07,63.49H153.91"
android:strokeWidth="1.5"
android:strokeColor="#65A30D"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M134.07,69.04H144.73"
android:strokeWidth="1.5"
android:strokeColor="#65A30D"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M143.16,80.73C143.16,78.65 141.48,76.97 139.4,76.97C137.32,76.97 135.64,78.65 135.64,80.73V87.41C135.64,89.49 137.32,91.18 139.4,91.18C141.48,91.18 143.16,89.49 143.16,87.41V80.73Z"
android:strokeWidth="1.5"
android:strokeColor="#65A30D" />
<path
android:fillColor="#A3E635"
android:pathData="M134.32,84.52L144.49,84.52A1.25,1.25 0,0 1,145.74 85.77L145.74,92.72A1.25,1.25 0,0 1,144.49 93.97L134.32,93.97A1.25,1.25 0,0 1,133.07 92.72L133.07,85.77A1.25,1.25 0,0 1,134.32 84.52z"
android:strokeWidth="1.5"
android:strokeColor="#65A30D" />
</vector>

View File

@@ -1,71 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
android:orientation="vertical">
<androidx.constraintlayout.widget.ConstraintLayout
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="0dp"
android:layout_weight="1">
<ImageView
android:id="@+id/imageView"
android:layout_width="@dimen/hero_rect_width"
android:layout_height="@dimen/hero_rect_height"
android:layout_marginHorizontal="@dimen/margin_xlarge"
android:layout_marginTop="@dimen/margin_xlarge"
app:layout_constraintBottom_toTopOf="@+id/progressBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintVertical_bias="0.25"
app:srcCompat="@drawable/ic_transfer_data_receive"
tools:ignore="ContentDescription" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/margin_xlarge"
android:layout_marginTop="@dimen/margin_xlarge"
android:indeterminate="true"
android:visibility="invisible"
app:layout_constraintBottom_toTopOf="@+id/introTextView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView"
tools:visibility="visible" />
<ImageView
android:id="@+id/imageView"
android:layout_width="@dimen/hero_rect_width"
android:layout_height="@dimen/hero_rect_height"
android:layout_marginHorizontal="@dimen/margin_xlarge"
android:layout_marginTop="@dimen/margin_xlarge"
app:layout_constraintBottom_toTopOf="@+id/progressBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.25"
app:layout_constraintVertical_chainStyle="packed"
app:srcCompat="@drawable/il_transfer_data_receive"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/introTextView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/margin_xlarge"
android:layout_marginTop="@dimen/margin_xlarge"
android:layout_marginBottom="@dimen/margin_large"
android:text="@string/removable_drive_receive_intro"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
app:layout_constraintBottom_toTopOf="@+id/fileButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/progressBar" />
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/margin_xlarge"
android:layout_marginTop="@dimen/margin_xlarge"
android:indeterminate="true"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@+id/introTextView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView"
tools:visibility="visible" />
<Button
android:id="@+id/fileButton"
style="@style/BriarButton"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_large"
android:enabled="false"
android:text="@string/removable_drive_receive_button"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<TextView
android:id="@+id/introTextView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/margin_xlarge"
android:layout_marginTop="@dimen/margin_xlarge"
android:layout_marginBottom="@dimen/margin_large"
android:text="@string/removable_drive_receive_intro"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/progressBar" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
</ScrollView>
<Button
android:id="@+id/fileButton"
style="@style/BriarButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_large"
android:enabled="false"
android:text="@string/removable_drive_receive_button"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</LinearLayout>