mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-09 19:10:42 +00:00
47 lines
2.2 KiB
XML
47 lines
2.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?><!-- 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/experiment_card"
|
||
|
style="@style/OnboardingCardLightWithPadding"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<ImageButton
|
||
|
android:id="@+id/close"
|
||
|
android:layout_width="10dp"
|
||
|
android:layout_height="10dp"
|
||
|
android:background="?selectableItemBackgroundBorderless"
|
||
|
android:contentDescription="@string/content_description_close_button"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toEndOf="@id/description_text"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:srcCompat="@drawable/ic_close"
|
||
|
tools:srcCompat="@drawable/ic_close" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/description_text"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="16dp"
|
||
|
android:text="@string/default_browser_experiment_card_text"
|
||
|
android:textAppearance="@style/Body14TextStyle"
|
||
|
app:layout_constraintBottom_toTopOf="@id/set_default_browser"
|
||
|
app:layout_constraintEnd_toStartOf="@id/close"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/set_default_browser"
|
||
|
style="@style/PositiveButton"
|
||
|
android:layout_height="36dp"
|
||
|
android:background="@drawable/rounded_button_background"
|
||
|
android:text="@string/preferences_set_as_default_browser"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@id/description_text" />
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|