[Android] Brave news on NTP, integration with mojom and feature flag

This commit is contained in:
Alex C
2021-11-24 14:23:24 -08:00
committed by Pete Miller
parent 9e029ef0f4
commit df2f0906ae
83 changed files with 4483 additions and 198 deletions
+10
View File
@@ -50,6 +50,16 @@
<color name="brave_theme_color">#fb542b</color>
<color name="brave_rewards_theme_color">#392DD1</color>
<!-- Brave news colors -->
<!-- <color name="card_background">#DC353535</color> -->
<color name="card_background">#F23B3E4F</color>
<color name="card_background_solid">#353535</color>
<!-- <color name="turn_on_button">#737ADE</color> -->
<color name="news_text_color">@android:color/white</color>
<color name="news_time_color">#9CD2D5CF</color>
<color name="news_promoted_background_color">#495057</color>
<!-- Incognito mode colors -->
<color name="ntp_bg_incognito">@color/incognito_modern_primary_color</color>
+1
View File
@@ -8,6 +8,7 @@
<item name="set_default_browser" type="id"/>
<item name="brave_rewards_id" type="id"/>
<item name="brave_wallet_id" type="id"/>
<item name="brave_news_id" type="id"/>
<item name="exit_id" type="id"/>
<item name="help_id" type="id"/>
<item name="request_brave_vpn_row_menu_id" type="id"/>
+9
View File
@@ -20,6 +20,15 @@
<item name="switchStyle">@style/Widget.MaterialComponents.CompoundButton.Switch</item>
</style>
<style name="AppBottomSheetDialogTheme"
parent="Theme.Design.Light.BottomSheetDialog">
<item name="bottomSheetStyle">@style/AppModalStyle</item>
</style>
<style name="AppModalStyle" parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">@drawable/rounded_top_corners</item>
</style>
<!-- Buttons for Brave Sync -->
<style name="BraveSyncButton">
<item name="android:textColor">@android:color/white</item>