mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 04:18:53 +01:00
Replace illustration for share app offline intro
This commit is contained in:
@@ -9,7 +9,6 @@ import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Button;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.ScrollView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.google.android.material.snackbar.Snackbar;
|
||||
@@ -27,12 +26,12 @@ import androidx.lifecycle.ViewModelProvider;
|
||||
|
||||
import static android.content.pm.ApplicationInfo.FLAG_TEST_ONLY;
|
||||
import static android.os.Build.VERSION.SDK_INT;
|
||||
import static android.view.View.FOCUS_DOWN;
|
||||
import static android.view.View.INVISIBLE;
|
||||
import static android.view.View.VISIBLE;
|
||||
import static androidx.transition.TransitionManager.beginDelayedTransition;
|
||||
import static com.google.android.material.snackbar.BaseTransientBottomBar.LENGTH_LONG;
|
||||
import static org.briarproject.briar.android.AppModule.getAndroidComponent;
|
||||
import static org.briarproject.briar.android.util.UiUtils.hideViewOnSmallScreen;
|
||||
|
||||
@MethodsNotNullByDefault
|
||||
@ParametersNotNullByDefault
|
||||
@@ -48,7 +47,6 @@ public class HotspotIntroFragment extends Fragment {
|
||||
private Button startButton;
|
||||
private ProgressBar progressBar;
|
||||
private TextView progressTextView;
|
||||
private ScrollView scrollView;
|
||||
|
||||
private final AbstractConditionManager conditionManager = SDK_INT < 29 ?
|
||||
new ConditionManager(this, this::onPermissionUpdate) :
|
||||
@@ -73,7 +71,6 @@ public class HotspotIntroFragment extends Fragment {
|
||||
startButton = v.findViewById(R.id.startButton);
|
||||
progressBar = v.findViewById(R.id.progressBar);
|
||||
progressTextView = v.findViewById(R.id.progressTextView);
|
||||
scrollView = v.findViewById(R.id.scrollView);
|
||||
|
||||
startButton.setOnClickListener(this::onButtonClick);
|
||||
|
||||
@@ -86,8 +83,7 @@ public class HotspotIntroFragment extends Fragment {
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
conditionManager.onStart();
|
||||
// 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));
|
||||
}
|
||||
|
||||
private void onButtonClick(View view) {
|
||||
|
||||
103
briar-android/src/main/res/drawable-night/il_share_app.xml
Normal file
103
briar-android/src/main/res/drawable-night/il_share_app.xml
Normal file
@@ -0,0 +1,103 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="192dp"
|
||||
android:height="192dp"
|
||||
android:viewportWidth="193"
|
||||
android:viewportHeight="193">
|
||||
<path
|
||||
android:fillColor="#1E293B"
|
||||
android:pathData="M112.4,21.88C112.4,17.46 108.82,13.88 104.4,13.88H88.4C83.98,13.88 80.4,17.46 80.4,21.88V37.88C80.4,42.3 83.98,45.88 88.4,45.88H104.4C108.82,45.88 112.4,42.3 112.4,37.88V21.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M88.4,15.38H104.4C107.99,15.38 110.9,18.29 110.9,21.88V37.88C110.9,41.47 107.99,44.38 104.4,44.38H88.4C84.81,44.38 81.9,41.47 81.9,37.88V21.88C81.9,18.29 84.81,15.38 88.4,15.38ZM104.4,13.88C108.82,13.88 112.4,17.46 112.4,21.88V37.88C112.4,42.3 108.82,45.88 104.4,45.88H88.4C83.98,45.88 80.4,42.3 80.4,37.88V21.88C80.4,17.46 83.98,13.88 88.4,13.88H104.4Z" />
|
||||
<path
|
||||
android:fillColor="#1E293B"
|
||||
android:pathData="M60.4,127.88C60.4,123.46 56.82,119.88 52.4,119.88H36.4C31.98,119.88 28.4,123.46 28.4,127.88V143.88C28.4,148.3 31.98,151.88 36.4,151.88H52.4C56.82,151.88 60.4,148.3 60.4,143.88V127.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M36.4,121.38H52.4C55.99,121.38 58.9,124.29 58.9,127.88V143.88C58.9,147.47 55.99,150.38 52.4,150.38H36.4C32.81,150.38 29.9,147.47 29.9,143.88V127.88C29.9,124.29 32.81,121.38 36.4,121.38ZM52.4,119.88C56.82,119.88 60.4,123.46 60.4,127.88V143.88C60.4,148.3 56.82,151.88 52.4,151.88H36.4C31.98,151.88 28.4,148.3 28.4,143.88V127.88C28.4,123.46 31.98,119.88 36.4,119.88H52.4Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M43.65,116.88L43.65,100.88L45.15,100.88L45.15,116.88L43.65,116.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M95.65,66.88L95.65,48.88L97.15,48.88L97.15,66.88L95.65,66.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M95.65,155.88L95.65,126.88L97.15,126.88L97.15,155.88L95.65,155.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M150.15,67.88V92.88H148.65V67.88H150.15Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M149.17,97.33H126.4V95.83H149.17C153.58,95.83 157.15,99.41 157.15,103.81L157.15,122.58L155.65,122.58L155.65,103.81C155.65,100.24 152.75,97.33 149.17,97.33Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M43.63,96.13L66.4,96.13L66.4,97.63L43.63,97.63C39.22,97.63 35.65,94.06 35.65,89.65L35.65,70.88L37.15,70.88L37.15,89.65C37.15,93.23 40.05,96.13 43.63,96.13Z" />
|
||||
<path
|
||||
android:fillColor="#1E293B"
|
||||
android:pathData="M157.4,52.88C157.4,50.67 155.61,48.88 153.4,48.88H145.4C143.19,48.88 141.4,50.67 141.4,52.88V60.88C141.4,63.09 143.19,64.88 145.4,64.88H153.4C155.61,64.88 157.4,63.09 157.4,60.88V52.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M145.4,50.38H153.4C154.78,50.38 155.9,51.5 155.9,52.88V60.88C155.9,62.26 154.78,63.38 153.4,63.38H145.4C144.02,63.38 142.9,62.26 142.9,60.88V52.88C142.9,51.5 144.02,50.38 145.4,50.38ZM153.4,48.88C155.61,48.88 157.4,50.67 157.4,52.88V60.88C157.4,63.09 155.61,64.88 153.4,64.88H145.4C143.19,64.88 141.4,63.09 141.4,60.88V52.88C141.4,50.67 143.19,48.88 145.4,48.88H153.4Z" />
|
||||
<path
|
||||
android:fillColor="#1E293B"
|
||||
android:pathData="M104.4,162.88C104.4,160.67 102.61,158.88 100.4,158.88H92.4C90.19,158.88 88.4,160.67 88.4,162.88V170.88C88.4,173.09 90.19,174.88 92.4,174.88H100.4C102.61,174.88 104.4,173.09 104.4,170.88V162.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M92.4,160.38H100.4C101.78,160.38 102.9,161.5 102.9,162.88V170.88C102.9,172.26 101.78,173.38 100.4,173.38H92.4C91.02,173.38 89.9,172.26 89.9,170.88V162.88C89.9,161.5 91.02,160.38 92.4,160.38ZM100.4,158.88C102.61,158.88 104.4,160.67 104.4,162.88V170.88C104.4,173.09 102.61,174.88 100.4,174.88H92.4C90.19,174.88 88.4,173.09 88.4,170.88V162.88C88.4,160.67 90.19,158.88 92.4,158.88H100.4Z" />
|
||||
<path
|
||||
android:fillColor="#1E293B"
|
||||
android:pathData="M123.52,81.88C123.52,75.26 118.15,69.88 111.52,69.88H81.52C74.9,69.88 69.52,75.26 69.52,81.88V111.88C69.52,118.51 74.9,123.88 81.52,123.88H111.52C118.15,123.88 123.52,118.51 123.52,111.88V81.88Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M81.52,71.38H111.52C117.32,71.38 122.02,76.08 122.02,81.88V111.88C122.02,117.68 117.32,122.38 111.52,122.38H81.52C75.73,122.38 71.02,117.68 71.02,111.88V81.88C71.02,76.08 75.73,71.38 81.52,71.38ZM111.52,69.88C118.15,69.88 123.52,75.26 123.52,81.88V111.88C123.52,118.51 118.15,123.88 111.52,123.88H81.52C74.9,123.88 69.52,118.51 69.52,111.88V81.88C69.52,75.26 74.9,69.88 81.52,69.88H111.52Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M89.45,94.44V106.65C89.45,107.64 90.26,108.46 91.26,108.46H92.11C93.1,108.46 93.91,107.64 93.91,106.65V94.44H89.45Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M93.9,88.56V86.26C93.9,85.27 93.1,84.46 92.11,84.46H91.26C90.27,84.46 89.45,85.27 89.45,86.26V88.56H93.9Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M103.81,98.47V86.26C103.81,85.27 103,84.46 102.01,84.46H101.17C100.18,84.46 99.36,85.27 99.36,86.26V98.47H103.81Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M99.36,104.35V106.65C99.36,107.64 100.18,108.46 101.17,108.46H102.01C103,108.46 103.82,107.64 103.82,106.65V104.35H99.36Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M88.74,99.18H86.44C85.45,99.18 84.63,99.99 84.63,100.99V101.84C84.63,102.83 85.44,103.64 86.44,103.64H88.74V99.18Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M106.82,99.18H94.62V103.64H106.82C107.81,103.64 108.63,102.83 108.63,101.84V100.99C108.63,99.99 107.81,99.18 106.82,99.18Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M98.64,89.28H86.44C85.45,89.28 84.63,90.08 84.63,91.08V91.93C84.63,92.92 85.44,93.74 86.44,93.74H98.64V89.28Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M106.82,89.28H104.53V93.74H106.82C107.81,93.74 108.63,92.93 108.63,91.93V91.08C108.63,90.08 107.81,89.28 106.82,89.28Z" />
|
||||
<path
|
||||
android:fillColor="#1E293B"
|
||||
android:pathData="M172.4,132.88C172.4,128.46 168.82,124.88 164.4,124.88H148.4C143.98,124.88 140.4,128.46 140.4,132.88V148.88C140.4,153.3 143.98,156.88 148.4,156.88H164.4C168.82,156.88 172.4,153.3 172.4,148.88V132.88Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M148.4,126.38H164.4C167.99,126.38 170.9,129.29 170.9,132.88V148.88C170.9,152.47 167.99,155.38 164.4,155.38H148.4C144.81,155.38 141.9,152.47 141.9,148.88V132.88C141.9,129.29 144.81,126.38 148.4,126.38ZM164.4,124.88C168.82,124.88 172.4,128.46 172.4,132.88V148.88C172.4,153.3 168.82,156.88 164.4,156.88H148.4C143.98,156.88 140.4,153.3 140.4,148.88V132.88C140.4,128.46 143.98,124.88 148.4,124.88H164.4Z" />
|
||||
<path
|
||||
android:fillColor="#1E293B"
|
||||
android:pathData="M52.4,45C52.4,40.58 48.82,37 44.4,37H28.4C23.98,37 20.4,40.58 20.4,45V61C20.4,65.42 23.98,69 28.4,69H44.4C48.82,69 52.4,65.42 52.4,61V45Z" />
|
||||
<path
|
||||
android:fillColor="#64748B"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M28.4,38.5H44.4C47.99,38.5 50.9,41.41 50.9,45V61C50.9,64.59 47.99,67.5 44.4,67.5H28.4C24.81,67.5 21.9,64.59 21.9,61V45C21.9,41.41 24.81,38.5 28.4,38.5ZM44.4,37C48.82,37 52.4,40.58 52.4,45V61C52.4,65.42 48.82,69 44.4,69H28.4C23.98,69 20.4,65.42 20.4,61V45C20.4,40.58 23.98,37 28.4,37H44.4Z" />
|
||||
</vector>
|
||||
@@ -1,66 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="204dp"
|
||||
android:viewportWidth="256"
|
||||
android:viewportHeight="204">
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M41.583,100.841H22.181V102.841H52.75V136.663H54.75V102.841H68.034C70.924,102.841 73.267,105.184 73.267,108.074C73.267,112.068 76.505,115.307 80.5,115.307H92.727V113.307H80.5C77.61,113.307 75.267,110.964 75.267,108.074C75.267,104.079 72.029,100.841 68.034,100.841H43.583V63.659H41.583V100.841Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M122.611,86.06V46.253H124.611V86.06H122.611Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M119.754,179.928L119.754,142.682L121.754,142.682L121.754,179.928L119.754,179.928Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M195.251,100.841V86.596H193.251V113.826H148.362V115.826H194.251C198.125,115.826 201.301,118.969 201.301,122.826V127.044H203.301V122.826C203.301,118.186 199.75,114.378 195.251,113.881V102.841H233.052V100.841H195.251Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M32.121,57.411L32.888,55.564C33.596,55.858 34.375,56.021 35.197,56.021H37.079V58.021H35.197C34.107,58.021 33.069,57.804 32.121,57.411ZM48.377,58.021V56.021H50.26C51.082,56.021 51.86,55.858 52.569,55.564L53.335,57.411C52.388,57.804 51.349,58.021 50.26,58.021H48.377ZM58.293,36.807H56.293V34.924C56.293,34.102 56.13,33.323 55.836,32.615L57.684,31.849C58.077,32.796 58.293,33.834 58.293,34.924V36.807ZM37.079,26.89H35.197C34.107,26.89 33.069,27.107 32.121,27.5L32.888,29.347C33.596,29.053 34.375,28.89 35.197,28.89H37.079V26.89ZM27.163,48.104H29.163V49.987C29.163,50.809 29.326,51.588 29.62,52.296L27.772,53.062C27.38,52.115 27.163,51.076 27.163,49.987V48.104ZM27.163,44.338H29.163V40.572H27.163V44.338ZM27.163,36.807H29.163V34.924C29.163,34.102 29.326,33.323 29.62,32.615L27.772,31.849C27.38,32.796 27.163,33.834 27.163,34.924V36.807ZM40.845,26.89V28.89H44.611V26.89H40.845ZM48.377,26.89V28.89H50.26C51.082,28.89 51.86,29.053 52.569,29.347L53.335,27.5C52.388,27.107 51.349,26.89 50.26,26.89H48.377ZM58.293,40.572H56.293V44.338H58.293V40.572ZM58.293,48.104H56.293V49.987C56.293,50.809 56.13,51.588 55.836,52.296L57.684,53.062C58.077,52.115 58.293,51.076 58.293,49.987V48.104ZM44.611,58.021V56.021H40.845V58.021H44.611Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M112.487,40.426L112.875,38.464C113.41,38.569 113.964,38.625 114.533,38.625H116.99V40.625H114.533C113.833,40.625 113.149,40.556 112.487,40.426ZM131.733,40.625V38.625H134.191C134.76,38.625 135.314,38.569 135.848,38.464L136.237,40.426C135.575,40.556 134.891,40.625 134.191,40.625H131.733ZM140.016,38.859L138.903,37.197C139.829,36.577 140.627,35.78 141.247,34.854L142.909,35.966C142.143,37.11 141.159,38.094 140.016,38.859ZM144.674,12.941H142.674V10.484C142.674,9.915 142.619,9.361 142.513,8.826L144.475,8.438C144.606,9.1 144.674,9.784 144.674,10.484V12.941ZM142.909,4.659L141.247,5.772C140.627,4.845 139.829,4.048 138.903,3.428L140.016,1.766C141.159,2.531 142.143,3.516 142.909,4.659ZM116.99,0H114.533C113.833,0 113.149,0.069 112.487,0.2L112.875,2.162C113.41,2.056 113.964,2 114.533,2H116.99V0ZM108.708,1.766L109.821,3.428C108.895,4.048 108.097,4.845 107.477,5.772L105.815,4.659C106.581,3.516 107.565,2.531 108.708,1.766ZM104.049,27.684H106.049V30.141C106.049,30.71 106.105,31.264 106.211,31.799L104.249,32.187C104.118,31.525 104.049,30.841 104.049,30.141V27.684ZM105.815,35.966L107.477,34.854C108.097,35.78 108.895,36.577 109.821,37.197L108.708,38.859C107.565,38.094 106.581,37.11 105.815,35.966ZM104.049,22.77H106.049V17.855H104.049V22.77ZM104.049,12.941H106.049V10.484C106.049,9.915 106.105,9.361 106.211,8.826L104.249,8.438C104.118,9.1 104.049,9.784 104.049,10.484V12.941ZM121.905,0V2H126.819V0H121.905ZM131.733,0V2H134.191C134.76,2 135.314,2.056 135.848,2.162L136.237,0.2C135.575,0.069 134.891,0 134.191,0H131.733ZM144.674,17.855H142.674V22.77H144.674V17.855ZM144.674,27.684H142.674V30.141C142.674,30.71 142.619,31.264 142.513,31.799L144.475,32.187C144.606,31.525 144.674,30.841 144.674,30.141V27.684ZM126.819,40.625V38.625H121.905V40.625H126.819Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M183.397,81.99L184.163,80.143C184.902,80.449 185.714,80.619 186.57,80.619H188.513V82.619H186.57C185.446,82.619 184.375,82.396 183.397,81.99ZM200.171,82.619V80.619H202.114C202.97,80.619 203.782,80.449 204.521,80.143L205.287,81.99C204.309,82.396 203.238,82.619 202.114,82.619H200.171ZM210.403,60.729H208.403V58.787C208.403,57.93 208.233,57.118 207.927,56.38L209.774,55.613C210.18,56.591 210.403,57.663 210.403,58.787V60.729ZM188.513,50.497H186.57C185.446,50.497 184.375,50.721 183.397,51.126L184.163,52.973C184.902,52.667 185.714,52.497 186.57,52.497H188.513V50.497ZM178.281,72.387H180.281V74.33C180.281,75.186 180.451,75.998 180.757,76.737L178.91,77.503C178.504,76.525 178.281,75.454 178.281,74.33V72.387ZM178.281,68.501H180.281V64.615H178.281V68.501ZM178.281,60.729H180.281V58.787C180.281,57.93 180.451,57.118 180.757,56.38L178.91,55.613C178.504,56.591 178.281,57.663 178.281,58.787V60.729ZM192.399,50.497V52.497H196.285V50.497H192.399ZM200.171,50.497V52.497H202.114C202.97,52.497 203.782,52.667 204.521,52.973L205.287,51.126C204.309,50.721 203.238,50.497 202.114,50.497H200.171ZM210.403,64.615H208.403V68.501H210.403V64.615ZM210.403,72.387H208.403V74.33C208.403,75.186 208.233,75.998 207.927,76.737L209.774,77.503C210.18,76.525 210.403,75.454 210.403,74.33V72.387ZM196.285,82.619V80.619H192.399V82.619H196.285Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M188.271,180.562L188.659,178.6C189.316,178.73 189.996,178.798 190.694,178.798H192.633V180.798H190.694C189.865,180.798 189.055,180.717 188.271,180.562ZM212.029,180.798V178.798H213.968C214.666,178.798 215.346,178.73 216.003,178.6L216.391,180.562C215.607,180.717 214.797,180.798 213.968,180.798H212.029ZM220.865,178.708L219.753,177.046C220.889,176.285 221.868,175.306 222.629,174.17L224.291,175.282C223.384,176.636 222.219,177.801 220.865,178.708ZM226.381,147.05H224.381V145.111C224.381,144.413 224.313,143.733 224.183,143.077L226.145,142.688C226.3,143.472 226.381,144.282 226.381,145.111V147.05ZM224.291,138.214L222.629,139.327C221.868,138.19 220.889,137.211 219.753,136.451L220.865,134.789C222.219,135.695 223.384,136.86 224.291,138.214ZM192.633,132.698H190.694C189.865,132.698 189.055,132.779 188.271,132.934L188.659,134.896C189.316,134.766 189.996,134.698 190.694,134.698H192.633V132.698ZM183.797,134.789L184.91,136.451C183.773,137.211 182.794,138.19 182.033,139.327L180.372,138.214C181.278,136.86 182.443,135.695 183.797,134.789ZM178.281,166.446H180.281V168.385C180.281,169.083 180.349,169.763 180.479,170.42L178.517,170.808C178.362,170.024 178.281,169.214 178.281,168.385V166.446ZM180.372,175.282L182.033,174.17C182.794,175.306 183.773,176.285 184.91,177.046L183.797,178.708C182.443,177.801 181.278,176.636 180.372,175.282ZM178.281,162.567H180.281V158.688H178.281V162.567ZM178.281,154.809H180.281V150.93H178.281V154.809ZM178.281,147.05H180.281V145.111C180.281,144.413 180.349,143.733 180.479,143.077L178.517,142.688C178.362,143.472 178.281,144.282 178.281,145.111V147.05ZM196.512,132.698V134.698H200.392V132.698H196.512ZM204.271,132.698V134.698H208.15V132.698H204.271ZM212.029,132.698V134.698H213.968C214.666,134.698 215.346,134.766 216.003,134.896L216.391,132.934C215.607,132.779 214.797,132.698 213.968,132.698H212.029ZM226.381,150.93H224.381V154.809H226.381V150.93ZM226.381,158.688H224.381V162.567H226.381V158.688ZM226.381,166.446H224.381V168.385C224.381,169.083 224.313,169.763 224.183,170.42L226.145,170.808C226.3,170.024 226.381,169.214 226.381,168.385V166.446ZM208.15,180.798V178.798H204.271V180.798H208.15ZM200.392,180.798V178.798H196.512V180.798H200.392Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M40.389,175.457L41.155,173.609C41.934,173.932 42.789,174.111 43.692,174.111H45.713V176.111H43.692C42.522,176.111 41.406,175.878 40.389,175.457ZM57.845,176.111V174.111H59.867C60.769,174.111 61.625,173.932 62.403,173.609L63.169,175.457C62.152,175.878 61.037,176.111 59.867,176.111H57.845ZM68.494,153.33H66.494V151.309C66.494,150.406 66.315,149.551 65.992,148.772L67.84,148.006C68.261,149.023 68.494,150.139 68.494,151.309V153.33ZM45.713,142.682H43.692C42.522,142.682 41.406,142.914 40.389,143.336L41.155,145.184C41.934,144.861 42.789,144.682 43.692,144.682H45.713V142.682ZM35.064,165.462H37.064V167.484C37.064,168.386 37.244,169.242 37.567,170.02L35.719,170.786C35.297,169.769 35.064,168.654 35.064,167.484V165.462ZM35.064,161.418H37.064V157.374H35.064V161.418ZM35.064,153.33H37.064V151.309C37.064,150.406 37.244,149.551 37.567,148.772L35.719,148.006C35.297,149.023 35.064,150.139 35.064,151.309V153.33ZM49.757,142.682V144.682H53.801V142.682H49.757ZM57.845,142.682V144.682H59.867C60.769,144.682 61.625,144.861 62.403,145.184L63.169,143.336C62.152,142.914 61.037,142.682 59.867,142.682H57.845ZM68.494,157.374H66.494V161.418H68.494V157.374ZM68.494,165.462H66.494V167.484C66.494,168.386 66.315,169.242 65.992,170.02L67.84,170.786C68.261,169.769 68.494,168.654 68.494,167.484V165.462ZM53.801,176.111V174.111H49.757V176.111H53.801Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M2.84,110.802L3.606,108.954C3.91,109.081 4.245,109.151 4.601,109.151H6.758V111.151H4.601C3.977,111.151 3.383,111.027 2.84,110.802ZM11.072,111.151V109.151H13.229C13.585,109.151 13.92,109.081 14.224,108.954L14.99,110.802C14.448,111.027 13.853,111.151 13.229,111.151H11.072ZM17.83,100.079H15.83V97.922C15.83,97.566 15.76,97.231 15.634,96.927L17.481,96.161C17.706,96.703 17.83,97.298 17.83,97.922V100.079ZM6.758,93.321H4.601C3.977,93.321 3.383,93.445 2.84,93.67L3.606,95.518C3.91,95.392 4.245,95.321 4.601,95.321H6.758V93.321ZM0,104.393H2V106.55C2,106.906 2.071,107.241 2.197,107.545L0.349,108.311C0.124,107.769 0,107.174 0,106.55V104.393ZM0,100.079H2V97.922C2,97.566 2.071,97.231 2.197,96.927L0.349,96.161C0.124,96.703 0,97.298 0,97.922V100.079ZM11.072,93.321V95.321H13.229C13.585,95.321 13.92,95.392 14.224,95.518L14.99,93.67C14.448,93.445 13.853,93.321 13.229,93.321H11.072ZM17.83,104.393H15.83V106.55C15.83,106.906 15.76,107.241 15.634,107.545L17.481,108.311C17.706,107.769 17.83,107.174 17.83,106.55V104.393Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M114.745,202.969L115.511,201.122C115.815,201.248 116.149,201.318 116.506,201.318H118.663V203.318H116.506C115.882,203.318 115.287,203.194 114.745,202.969ZM122.977,203.318V201.318H125.133C125.49,201.318 125.825,201.248 126.129,201.122L126.895,202.969C126.352,203.194 125.757,203.318 125.133,203.318H122.977ZM129.735,192.246H127.735V190.09C127.735,189.733 127.664,189.398 127.538,189.094L129.386,188.328C129.611,188.871 129.735,189.466 129.735,190.09V192.246ZM118.663,185.488H116.506C115.882,185.488 115.287,185.612 114.745,185.837L115.511,187.685C115.815,187.559 116.149,187.488 116.506,187.488H118.663V185.488ZM111.905,196.56H113.905V198.717C113.905,199.074 113.975,199.408 114.101,199.712L112.254,200.478C112.029,199.936 111.905,199.341 111.905,198.717V196.56ZM111.905,192.246H113.905V190.09C113.905,189.733 113.975,189.398 114.101,189.094L112.254,188.328C112.029,188.871 111.905,189.466 111.905,190.09V192.246ZM122.977,185.488V187.488H125.133C125.49,187.488 125.825,187.559 126.129,187.685L126.895,185.837C126.352,185.612 125.757,185.488 125.133,185.488H122.977ZM129.735,196.56H127.735V198.717C127.735,199.074 127.664,199.408 127.538,199.712L129.386,200.478C129.611,199.936 129.735,199.341 129.735,198.717V196.56Z" />
|
||||
<path
|
||||
android:fillColor="#657D99"
|
||||
android:pathData="M240.444,110.802L241.21,108.954C241.514,109.081 241.849,109.151 242.205,109.151H244.362V111.151H242.205C241.581,111.151 240.987,111.027 240.444,110.802ZM248.676,111.151V109.151H250.833C251.189,109.151 251.524,109.081 251.828,108.954L252.594,110.802C252.052,111.027 251.457,111.151 250.833,111.151H248.676ZM255.434,100.079H253.434V97.922C253.434,97.566 253.364,97.231 253.238,96.927L255.085,96.161C255.31,96.703 255.434,97.298 255.434,97.922V100.079ZM244.362,93.321H242.205C241.581,93.321 240.987,93.445 240.444,93.67L241.21,95.518C241.514,95.392 241.849,95.321 242.205,95.321H244.362V93.321ZM237.604,104.393H239.604V106.55C239.604,106.906 239.675,107.241 239.801,107.545L237.953,108.311C237.728,107.769 237.604,107.174 237.604,106.55V104.393ZM237.604,100.079H239.604V97.922C239.604,97.566 239.675,97.231 239.801,96.927L237.953,96.161C237.728,96.703 237.604,97.298 237.604,97.922V100.079ZM248.676,93.321V95.321H250.833C251.189,95.321 251.524,95.392 251.828,95.518L252.594,93.67C252.052,93.445 251.457,93.321 250.833,93.321H248.676ZM255.434,104.393H253.434V106.55C253.434,106.906 253.364,107.241 253.238,107.545L255.085,108.311C255.31,107.769 255.434,107.174 255.434,106.55V104.393Z" />
|
||||
<path
|
||||
android:fillColor="#87C214"
|
||||
android:pathData="M108.75,109.808V129.511C108.75,131.11 110.052,132.429 111.668,132.429H113.036C114.636,132.429 115.955,131.11 115.955,129.511V109.808H108.75V109.808Z" />
|
||||
<path
|
||||
android:fillColor="#87C214"
|
||||
android:pathData="M115.938,100.312V96.602C115.938,95.003 114.636,93.684 113.036,93.684H111.668C110.069,93.684 108.75,95.003 108.75,96.602V100.312H115.938V100.312Z" />
|
||||
<path
|
||||
android:fillColor="#87C214"
|
||||
android:pathData="M131.931,116.305V96.602C131.931,95.003 130.628,93.684 129.029,93.684H127.66C126.061,93.684 124.742,95.003 124.742,96.602V116.305H131.931V116.305Z" />
|
||||
<path
|
||||
android:fillColor="#87C214"
|
||||
android:pathData="M124.742,125.801V129.511C124.742,131.11 126.061,132.429 127.66,132.429H129.029C130.628,132.429 131.947,131.11 131.947,129.511V125.801H124.742Z" />
|
||||
<path
|
||||
android:fillColor="#95D220"
|
||||
android:pathData="M107.595,117.459H103.886C102.286,117.459 100.967,118.761 100.967,120.377V121.746C100.967,123.345 102.27,124.664 103.886,124.664H107.595V117.459Z" />
|
||||
<path
|
||||
android:fillColor="#95D220"
|
||||
android:pathData="M136.795,117.459H117.092V124.664H136.795C138.394,124.664 139.713,123.345 139.713,121.746V120.377C139.713,118.761 138.394,117.459 136.795,117.459Z" />
|
||||
<path
|
||||
android:fillColor="#95D220"
|
||||
android:pathData="M123.588,101.466H103.886C102.286,101.466 100.967,102.769 100.967,104.385V105.753C100.967,107.352 102.27,108.671 103.886,108.671H123.588V101.466Z" />
|
||||
<path
|
||||
android:fillColor="#95D220"
|
||||
android:pathData="M136.795,101.466H133.085V108.671H136.795C138.394,108.671 139.713,107.369 139.713,105.753V104.384C139.713,102.769 138.394,101.466 136.795,101.466Z" />
|
||||
</vector>
|
||||
103
briar-android/src/main/res/drawable/il_share_app.xml
Normal file
103
briar-android/src/main/res/drawable/il_share_app.xml
Normal file
@@ -0,0 +1,103 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="192dp"
|
||||
android:height="192dp"
|
||||
android:viewportWidth="193"
|
||||
android:viewportHeight="193">
|
||||
<path
|
||||
android:fillColor="#E2E8F0"
|
||||
android:pathData="M112.4,21.88C112.4,17.46 108.82,13.88 104.4,13.88H88.4C83.98,13.88 80.4,17.46 80.4,21.88V37.88C80.4,42.3 83.98,45.88 88.4,45.88H104.4C108.82,45.88 112.4,42.3 112.4,37.88V21.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M88.4,15.38H104.4C107.99,15.38 110.9,18.29 110.9,21.88V37.88C110.9,41.47 107.99,44.38 104.4,44.38H88.4C84.81,44.38 81.9,41.47 81.9,37.88V21.88C81.9,18.29 84.81,15.38 88.4,15.38ZM104.4,13.88C108.82,13.88 112.4,17.46 112.4,21.88V37.88C112.4,42.3 108.82,45.88 104.4,45.88H88.4C83.98,45.88 80.4,42.3 80.4,37.88V21.88C80.4,17.46 83.98,13.88 88.4,13.88H104.4Z" />
|
||||
<path
|
||||
android:fillColor="#E2E8F0"
|
||||
android:pathData="M60.4,127.88C60.4,123.46 56.82,119.88 52.4,119.88H36.4C31.98,119.88 28.4,123.46 28.4,127.88V143.88C28.4,148.3 31.98,151.88 36.4,151.88H52.4C56.82,151.88 60.4,148.3 60.4,143.88V127.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M36.4,121.38H52.4C55.99,121.38 58.9,124.29 58.9,127.88V143.88C58.9,147.47 55.99,150.38 52.4,150.38H36.4C32.81,150.38 29.9,147.47 29.9,143.88V127.88C29.9,124.29 32.81,121.38 36.4,121.38ZM52.4,119.88C56.82,119.88 60.4,123.46 60.4,127.88V143.88C60.4,148.3 56.82,151.88 52.4,151.88H36.4C31.98,151.88 28.4,148.3 28.4,143.88V127.88C28.4,123.46 31.98,119.88 36.4,119.88H52.4Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M43.65,116.88L43.65,100.88L45.15,100.88L45.15,116.88L43.65,116.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M95.65,66.88L95.65,48.88L97.15,48.88L97.15,66.88L95.65,66.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M95.65,155.88L95.65,126.88L97.15,126.88L97.15,155.88L95.65,155.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M150.15,67.88V92.88H148.65V67.88H150.15Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M149.17,97.33H126.4V95.83H149.17C153.58,95.83 157.15,99.41 157.15,103.81L157.15,122.58L155.65,122.58L155.65,103.81C155.65,100.24 152.75,97.33 149.17,97.33Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M43.63,96.13L66.4,96.13L66.4,97.63L43.63,97.63C39.22,97.63 35.65,94.06 35.65,89.65L35.65,70.88L37.15,70.88L37.15,89.65C37.15,93.23 40.05,96.13 43.63,96.13Z" />
|
||||
<path
|
||||
android:fillColor="#E2E8F0"
|
||||
android:pathData="M157.4,52.88C157.4,50.67 155.61,48.88 153.4,48.88H145.4C143.19,48.88 141.4,50.67 141.4,52.88V60.88C141.4,63.09 143.19,64.88 145.4,64.88H153.4C155.61,64.88 157.4,63.09 157.4,60.88V52.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M145.4,50.38H153.4C154.78,50.38 155.9,51.5 155.9,52.88V60.88C155.9,62.26 154.78,63.38 153.4,63.38H145.4C144.02,63.38 142.9,62.26 142.9,60.88V52.88C142.9,51.5 144.02,50.38 145.4,50.38ZM153.4,48.88C155.61,48.88 157.4,50.67 157.4,52.88V60.88C157.4,63.09 155.61,64.88 153.4,64.88H145.4C143.19,64.88 141.4,63.09 141.4,60.88V52.88C141.4,50.67 143.19,48.88 145.4,48.88H153.4Z" />
|
||||
<path
|
||||
android:fillColor="#E2E8F0"
|
||||
android:pathData="M104.4,162.88C104.4,160.67 102.61,158.88 100.4,158.88H92.4C90.19,158.88 88.4,160.67 88.4,162.88V170.88C88.4,173.09 90.19,174.88 92.4,174.88H100.4C102.61,174.88 104.4,173.09 104.4,170.88V162.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M92.4,160.38H100.4C101.78,160.38 102.9,161.5 102.9,162.88V170.88C102.9,172.26 101.78,173.38 100.4,173.38H92.4C91.02,173.38 89.9,172.26 89.9,170.88V162.88C89.9,161.5 91.02,160.38 92.4,160.38ZM100.4,158.88C102.61,158.88 104.4,160.67 104.4,162.88V170.88C104.4,173.09 102.61,174.88 100.4,174.88H92.4C90.19,174.88 88.4,173.09 88.4,170.88V162.88C88.4,160.67 90.19,158.88 92.4,158.88H100.4Z" />
|
||||
<path
|
||||
android:fillColor="#F9FAFB"
|
||||
android:pathData="M123,81.88C123,75.26 117.63,69.88 111,69.88H81C74.37,69.88 69,75.26 69,81.88V111.88C69,118.51 74.37,123.88 81,123.88H111C117.63,123.88 123,118.51 123,111.88V81.88Z" />
|
||||
<path
|
||||
android:fillColor="#65A30D"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M81,71.38H111C116.8,71.38 121.5,76.08 121.5,81.88V111.88C121.5,117.68 116.8,122.38 111,122.38H81C75.2,122.38 70.5,117.68 70.5,111.88V81.88C70.5,76.08 75.2,71.38 81,71.38ZM111,69.88C117.63,69.88 123,75.26 123,81.88V111.88C123,118.51 117.63,123.88 111,123.88H81C74.37,123.88 69,118.51 69,111.88V81.88C69,75.26 74.37,69.88 81,69.88H111Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M88.93,94.44V106.65C88.93,107.64 89.73,108.46 90.73,108.46H91.58C92.57,108.46 93.39,107.64 93.39,106.65V94.44H88.93Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M93.38,88.56V86.26C93.38,85.27 92.57,84.46 91.58,84.46H90.73C89.74,84.46 88.93,85.27 88.93,86.26V88.56H93.38Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M103.29,98.47V86.26C103.29,85.27 102.48,84.46 101.49,84.46H100.64C99.65,84.46 98.83,85.27 98.83,86.26V98.47H103.29Z" />
|
||||
<path
|
||||
android:fillColor="#82C91E"
|
||||
android:pathData="M98.83,104.35V106.65C98.83,107.64 99.65,108.46 100.64,108.46H101.49C102.48,108.46 103.3,107.64 103.3,106.65V104.35H98.83Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M88.21,99.18H85.91C84.92,99.18 84.11,99.99 84.11,100.99V101.84C84.11,102.83 84.91,103.64 85.91,103.64H88.21V99.18Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M106.3,99.18H94.09V103.64H106.3C107.29,103.64 108.11,102.83 108.11,101.84V100.99C108.11,99.99 107.29,99.18 106.3,99.18Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M98.12,89.28H85.91C84.92,89.28 84.11,90.08 84.11,91.08V91.93C84.11,92.92 84.91,93.74 85.91,93.74H98.12V89.28Z" />
|
||||
<path
|
||||
android:fillColor="#A3E635"
|
||||
android:pathData="M106.3,89.28H104V93.74H106.3C107.29,93.74 108.11,92.93 108.11,91.93V91.08C108.11,90.08 107.29,89.28 106.3,89.28Z" />
|
||||
<path
|
||||
android:fillColor="#E2E8F0"
|
||||
android:pathData="M172.4,132.88C172.4,128.46 168.82,124.88 164.4,124.88H148.4C143.98,124.88 140.4,128.46 140.4,132.88V148.88C140.4,153.3 143.98,156.88 148.4,156.88H164.4C168.82,156.88 172.4,153.3 172.4,148.88V132.88Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M148.4,126.38H164.4C167.99,126.38 170.9,129.29 170.9,132.88V148.88C170.9,152.47 167.99,155.38 164.4,155.38H148.4C144.81,155.38 141.9,152.47 141.9,148.88V132.88C141.9,129.29 144.81,126.38 148.4,126.38ZM164.4,124.88C168.82,124.88 172.4,128.46 172.4,132.88V148.88C172.4,153.3 168.82,156.88 164.4,156.88H148.4C143.98,156.88 140.4,153.3 140.4,148.88V132.88C140.4,128.46 143.98,124.88 148.4,124.88H164.4Z" />
|
||||
<path
|
||||
android:fillColor="#E2E8F0"
|
||||
android:pathData="M52.4,45C52.4,40.58 48.82,37 44.4,37H28.4C23.98,37 20.4,40.58 20.4,45V61C20.4,65.42 23.98,69 28.4,69H44.4C48.82,69 52.4,65.42 52.4,61V45Z" />
|
||||
<path
|
||||
android:fillColor="#94A3B8"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M28.4,38.5H44.4C47.99,38.5 50.9,41.41 50.9,45V61C50.9,64.59 47.99,67.5 44.4,67.5H28.4C24.81,67.5 21.9,64.59 21.9,61V45C21.9,41.41 24.81,38.5 28.4,38.5ZM44.4,37C48.82,37 52.4,40.58 52.4,45V61C52.4,65.42 48.82,69 44.4,69H28.4C23.98,69 20.4,65.42 20.4,61V45C20.4,40.58 23.98,37 28.4,37H44.4Z" />
|
||||
</vector>
|
||||
@@ -1,52 +1,64 @@
|
||||
<?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:id="@+id/scrollView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
tools:context=".android.hotspot.HotspotIntroFragment">
|
||||
android:orientation="vertical">
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="@dimen/hero_rect_width"
|
||||
android:layout_height="@dimen/hero_rect_width"
|
||||
android:layout_marginHorizontal="@dimen/margin_xlarge"
|
||||
android:layout_marginTop="@dimen/margin_xlarge"
|
||||
app:layout_constraintBottom_toTopOf="@+id/introView"
|
||||
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_share_app"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/introView"
|
||||
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/hotspot_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/imageView" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="@dimen/hero_rect_width"
|
||||
android:layout_height="@dimen/hero_rect_width"
|
||||
android:layout_marginHorizontal="@dimen/margin_xlarge"
|
||||
android:layout_marginTop="@dimen/margin_xlarge"
|
||||
app:layout_constraintBottom_toTopOf="@+id/introView"
|
||||
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/ic_share_app"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/introView"
|
||||
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/hotspot_intro"
|
||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
||||
app:layout_constraintBottom_toTopOf="@+id/startButton"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/imageView" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/startButton"
|
||||
style="@style/BriarButton"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/margin_large"
|
||||
android:layout_marginHorizontal="@dimen/margin_large"
|
||||
android:drawablePadding="8dp"
|
||||
android:text="@string/hotspot_button_start_sharing"
|
||||
app:drawableLeftCompat="@drawable/ic_wifi_tethering"
|
||||
@@ -83,7 +95,6 @@
|
||||
app:layout_constraintStart_toEndOf="@+id/progressBar"
|
||||
app:layout_constraintTop_toTopOf="@+id/startButton"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user