tor-browser

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

share_close.xml (2321B)


      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 
      6 <androidx.constraintlayout.widget.ConstraintLayout
      7    xmlns:android="http://schemas.android.com/apk/res/android"
      8    xmlns:app="http://schemas.android.com/apk/res-auto"
      9    xmlns:tools="http://schemas.android.com/tools"
     10    android:layout_width="match_parent"
     11    android:layout_height="match_parent"
     12    android:orientation="vertical"
     13    tools:background="?scrim">
     14 
     15    <androidx.appcompat.widget.AppCompatImageView
     16        android:id="@+id/closeButton"
     17        android:layout_width="wrap_content"
     18        android:layout_height="wrap_content"
     19        android:layout_marginVertical="16dp"
     20        android:layout_marginStart="10dp"
     21        android:background="@android:color/transparent"
     22        android:contentDescription="@string/content_description_close_button"
     23        android:padding="12dp"
     24        app:tint="@color/fx_mobile_icon_color_oncolor"
     25        app:layout_constraintStart_toStartOf="parent"
     26        app:layout_constraintTop_toTopOf="parent"
     27        app:srcCompat="@drawable/ic_close" />
     28 
     29    <androidx.appcompat.widget.AppCompatTextView
     30        android:id="@+id/title"
     31        android:layout_width="wrap_content"
     32        android:layout_height="wrap_content"
     33        android:layout_marginVertical="16dp"
     34        android:background="@android:color/transparent"
     35        android:paddingVertical="12dp"
     36        android:paddingHorizontal="1dp"
     37        android:text="@string/share_header_2"
     38        android:textAppearance="@style/HeaderTextStyle"
     39        android:textColor="@color/fx_mobile_text_color_oncolor_primary"
     40        android:textSize="20sp"
     41        app:layout_constraintStart_toEndOf="@id/closeButton"
     42        app:layout_constraintTop_toTopOf="parent" />
     43 
     44    <androidx.recyclerview.widget.RecyclerView
     45        android:id="@+id/shared_site_list"
     46        android:layout_width="match_parent"
     47        android:layout_height="wrap_content"
     48        app:layout_constraintEnd_toEndOf="parent"
     49        app:layout_constraintEnd_toStartOf="parent"
     50        app:layout_constraintTop_toBottomOf="@+id/title" />
     51 </androidx.constraintlayout.widget.ConstraintLayout>