Files
brave-core/android/java/res/layout/dapps_dialog.xml
T
Pavneet-Sing 894d4af016 chore(wallet): update dapps dialog UI
- Add timer to auto close
- Show dialog as per toolbar config and device
2022-04-12 16:07:18 +05:30

43 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2022 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at http://mozilla.org/MPL/2.0/. */
-->
<androidx.constraintlayout.widget.ConstraintLayout 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/dapp_dialog_root"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:background="@drawable/blue_rounded_notification_bg"
android:gravity="center_horizontal"
android:maxHeight="350dp"
android:orientation="vertical"
android:padding="24dp"
tools:ignore="RtlSymmetry">
<ImageView
android:id="@+id/iv_dapp_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:background="@drawable/ic_wallet_lock"
android:backgroundTint="@color/brave_white"
android:contentDescription="@null"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_dapp_desc"
style="@style/BraveWalletTextViewWhite"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="40dp"
android:text="@string/brave_wallet_dapps_connection_request_msg"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>