tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

component_exceptions.xml (2375B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      3   - License, v. 2.0. If a copy of the MPL was not distributed with this
      4   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      5 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      6    xmlns:app="http://schemas.android.com/apk/res-auto"
      7    xmlns:tools="http://schemas.android.com/tools"
      8    android:id="@+id/exceptions_wrapper"
      9    android:layout_width="match_parent"
     10    android:layout_height="match_parent">
     11 
     12    <androidx.constraintlayout.widget.ConstraintLayout
     13        android:id="@+id/exceptions_empty_view"
     14        android:layout_width="match_parent"
     15        android:layout_height="wrap_content"
     16        android:layout_margin="@dimen/exceptions_description_margin">
     17 
     18        <TextView
     19            android:id="@+id/exceptions_empty_message"
     20            android:layout_width="match_parent"
     21            android:layout_height="wrap_content"
     22            android:padding="4dp"
     23            android:text="@string/exceptions_empty_message_description"
     24            android:textAlignment="viewStart"
     25            android:textColor="?attr/textSecondary"
     26            android:textSize="16sp"
     27            android:visibility="visible"
     28            app:layout_constraintTop_toTopOf="parent" />
     29 
     30        <org.mozilla.fenix.utils.LinkTextView
     31            android:id="@+id/exceptions_learn_more"
     32            android:layout_width="match_parent"
     33            android:layout_height="@dimen/component_exceptions_learn_more_height"
     34            android:padding="4dp"
     35            android:text="@string/exceptions_empty_message_learn_more_link"
     36            android:textAlignment="viewStart"
     37            android:textColor="?attr/textSecondary"
     38            android:textSize="16sp"
     39            android:visibility="visible"
     40            app:layout_constraintTop_toBottomOf="@id/exceptions_empty_message" />
     41    </androidx.constraintlayout.widget.ConstraintLayout>
     42 
     43    <androidx.recyclerview.widget.RecyclerView
     44        android:id="@+id/exceptions_list"
     45        android:layout_width="match_parent"
     46        android:layout_height="match_parent"
     47        android:visibility="gone"
     48        tools:listheader="@layout/exceptions_description"
     49        tools:listitem="@layout/exception_item"
     50        tools:listfooter="@layout/delete_exceptions_button" />
     51 </FrameLayout>