diff --git a/app/build.gradle b/app/build.gradle index c35f76be1b..39b725777c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -255,9 +255,9 @@ android { } dependencies { - implementation 'androidx.appcompat:appcompat:1.1.0-beta01' + implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.0.0' - implementation 'com.google.android.material:material:1.0.0' + implementation 'com.google.android.material:material:1.1.0' implementation 'androidx.legacy:legacy-support-v13:1.0.0' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.preference:preference:1.0.0' diff --git a/app/src/main/java/org/thoughtcrime/securesms/recipients/ui/bottomsheet/RecipientBottomSheetDialogFragment.java b/app/src/main/java/org/thoughtcrime/securesms/recipients/ui/bottomsheet/RecipientBottomSheetDialogFragment.java index 2eba810983..e70e3f8654 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/recipients/ui/bottomsheet/RecipientBottomSheetDialogFragment.java +++ b/app/src/main/java/org/thoughtcrime/securesms/recipients/ui/bottomsheet/RecipientBottomSheetDialogFragment.java @@ -11,7 +11,6 @@ import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.DialogFragment; -import androidx.fragment.app.Fragment; import androidx.lifecycle.ViewModelProviders; import com.google.android.material.bottomsheet.BottomSheetDialogFragment; @@ -61,8 +60,8 @@ public final class RecipientBottomSheetDialogFragment extends BottomSheetDialogF @Override public void onCreate(@Nullable Bundle savedInstanceState) { setStyle(DialogFragment.STYLE_NORMAL, - ThemeUtil.isDarkTheme(requireContext()) ? R.style.Signal_RecipientBottomSheet - : R.style.Signal_RecipientBottomSheet_Light); + ThemeUtil.isDarkTheme(requireContext()) ? R.style.Theme_Signal_RecipientBottomSheet + : R.style.Theme_Signal_RecipientBottomSheet_Light); super.onCreate(savedInstanceState); } diff --git a/app/src/main/res/drawable/rounded_dialog.xml b/app/src/main/res/drawable/rounded_dialog.xml deleted file mode 100644 index 9e0caea72f..0000000000 --- a/app/src/main/res/drawable/rounded_dialog.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/rounded_dialog_dark.xml b/app/src/main/res/drawable/rounded_dialog_dark.xml deleted file mode 100644 index a78269651c..0000000000 --- a/app/src/main/res/drawable/rounded_dialog_dark.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/recipient_bottom_sheet.xml b/app/src/main/res/layout/recipient_bottom_sheet.xml index 4e76e363b7..eb0bcdef6a 100644 --- a/app/src/main/res/layout/recipient_bottom_sheet.xml +++ b/app/src/main/res/layout/recipient_bottom_sheet.xml @@ -4,7 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:theme="@style/Signal.RecipientBottomSheet.Light"> + tools:theme="@style/Theme.Signal.RecipientBottomSheet.Light"> + + bold + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 22d498c3df..9001e07e34 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -793,28 +793,34 @@ false - - - - - - -