-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7580 from brave/add_rewards_bottom_banner_existin…
…g_user_android Add rewards bottom banner existing user android
- Loading branch information
Showing
9 changed files
with
136 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2021 The Brave Authors. All rights reserved. | ||
Use of this source code is governed by a BSD-style license that can be | ||
found in the LICENSE file. --> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/bre_banner" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:padding="16dp" | ||
android:background="@color/ntp_non_disruptive_banner_bg_color" | ||
android:layout_gravity="center_horizontal|bottom" | ||
android:orientation="vertical" | ||
android:visibility="gone"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="8dp" | ||
android:orientation="horizontal"> | ||
|
||
<TextView | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:textSize="16sp" | ||
android:drawableStart="@drawable/bat_logo" | ||
android:drawablePadding="16dp" | ||
android:textStyle="bold" | ||
android:textColor="@android:color/white" | ||
android:text="@string/brave_ui_brave_rewards"/> | ||
|
||
<ImageView | ||
android:id="@+id/bre_banner_close" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:contentDescription="@null" | ||
android:src="@drawable/btn_close_white"/> | ||
|
||
</LinearLayout> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textSize="18sp" | ||
android:layout_marginBottom="4dp" | ||
android:text="@string/bre_banner_title_text" | ||
android:textColor="@android:color/white"/> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textSize="14sp" | ||
android:layout_marginBottom="20dp" | ||
android:text="@string/bre_banner_text" | ||
android:textColor="@android:color/white"/> | ||
|
||
<Button | ||
android:id="@+id/btn_take_tour" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal" | ||
android:gravity="center_vertical" | ||
android:background="@drawable/blue_rounded_button" | ||
android:text="@string/take_quick_tour" | ||
android:textAllCaps="false" | ||
android:textSize="16sp" | ||
android:paddingStart="16dp" | ||
android:paddingEnd="16dp" | ||
android:layout_marginBottom="20dp" | ||
android:textColor="@android:color/white" | ||
style="?android:attr/borderlessButtonStyle"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters