diff --git a/briar-android/artwork/bluetooth.svg b/briar-android/artwork/bluetooth.svg deleted file mode 100644 index 0905e018e..000000000 --- a/briar-android/artwork/bluetooth.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/briar-android/artwork/il_bluetooth_connect_dark.svg b/briar-android/artwork/il_bluetooth_connect_dark.svg new file mode 100644 index 000000000..2eb7d20d2 --- /dev/null +++ b/briar-android/artwork/il_bluetooth_connect_dark.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/briar-android/artwork/il_bluetooth_connect_light.svg b/briar-android/artwork/il_bluetooth_connect_light.svg new file mode 100644 index 000000000..e4778593e --- /dev/null +++ b/briar-android/artwork/il_bluetooth_connect_light.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/briar-android/src/main/java/org/briarproject/briar/android/contact/connect/BluetoothIntroFragment.java b/briar-android/src/main/java/org/briarproject/briar/android/contact/connect/BluetoothIntroFragment.java index ed774bcd2..63ceaa6fb 100644 --- a/briar-android/src/main/java/org/briarproject/briar/android/contact/connect/BluetoothIntroFragment.java +++ b/briar-android/src/main/java/org/briarproject/briar/android/contact/connect/BluetoothIntroFragment.java @@ -25,6 +25,7 @@ import androidx.lifecycle.ViewModelProvider; import static android.Manifest.permission.ACCESS_FINE_LOCATION; import static android.widget.Toast.LENGTH_LONG; import static org.briarproject.briar.android.AppModule.getAndroidComponent; +import static org.briarproject.briar.android.util.UiUtils.hideViewOnSmallScreen; @MethodsNotNullByDefault @ParametersNotNullByDefault @@ -71,6 +72,7 @@ public class BluetoothIntroFragment extends Fragment { @Override public void onStart() { super.onStart(); + hideViewOnSmallScreen(requireView().findViewById(R.id.introImageView)); conditionManager.reset(); } diff --git a/briar-android/src/main/res/drawable-night/il_bluetooth_connect.xml b/briar-android/src/main/res/drawable-night/il_bluetooth_connect.xml new file mode 100644 index 000000000..c9505b66b --- /dev/null +++ b/briar-android/src/main/res/drawable-night/il_bluetooth_connect.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/briar-android/src/main/res/drawable/ic_bluetooth.xml b/briar-android/src/main/res/drawable/ic_bluetooth.xml deleted file mode 100644 index cd6f7cb41..000000000 --- a/briar-android/src/main/res/drawable/ic_bluetooth.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/briar-android/src/main/res/drawable/il_bluetooth_connect.xml b/briar-android/src/main/res/drawable/il_bluetooth_connect.xml new file mode 100644 index 000000000..8ab5e0acc --- /dev/null +++ b/briar-android/src/main/res/drawable/il_bluetooth_connect.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/briar-android/src/main/res/layout/fragment_bluetooth_intro.xml b/briar-android/src/main/res/layout/fragment_bluetooth_intro.xml index f7c5a272c..ac9198215 100644 --- a/briar-android/src/main/res/layout/fragment_bluetooth_intro.xml +++ b/briar-android/src/main/res/layout/fragment_bluetooth_intro.xml @@ -1,51 +1,56 @@ - + android:orientation="vertical"> - + android:layout_height="0dp" + android:layout_weight="1"> - + - + -