tor-browser

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

share_tab_item.xml (2232B)


      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 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      6    xmlns:app="http://schemas.android.com/apk/res-auto"
      7    android:layout_width="match_parent"
      8    android:layout_height="wrap_content"
      9    xmlns:tools="http://schemas.android.com/tools"
     10    android:layout_margin="8dp">
     11 
     12    <ImageView
     13        android:id="@+id/share_tab_favicon"
     14        android:layout_width="40dp"
     15        android:layout_height="40dp"
     16        android:padding="8dp"
     17        android:background="@drawable/favicon_background"
     18        android:backgroundTint="?attr/layer2"
     19        android:importantForAccessibility="no"
     20        app:layout_constraintStart_toStartOf="parent"
     21        app:layout_constraintTop_toTopOf="parent"
     22        app:layout_constraintBottom_toBottomOf="parent"/>
     23 
     24    <TextView
     25        android:id="@+id/share_tab_title"
     26        android:layout_width="0dp"
     27        android:layout_height="wrap_content"
     28        android:layout_marginStart="8dp"
     29        android:textSize="20sp"
     30        android:maxLines="1"
     31        android:ellipsize="end"
     32        android:textColor="@color/fx_mobile_text_color_oncolor_primary"
     33        tools:text="Download Firefox - Free Web Browser"
     34        app:layout_constraintStart_toEndOf="@id/share_tab_favicon"
     35        app:layout_constraintTop_toTopOf="parent"
     36        app:layout_constraintEnd_toEndOf="parent"/>
     37 
     38    <TextView
     39        android:id="@+id/share_tab_url"
     40        android:layout_width="0dp"
     41        android:layout_height="wrap_content"
     42        android:textSize="12sp"
     43        android:maxLines="1"
     44        android:ellipsize="end"
     45        android:textColor="@color/fx_mobile_text_color_oncolor_secondary"
     46        tools:text="https://www.mozilla.org/en-US/firefox/new/"
     47        app:layout_constraintStart_toStartOf="@id/share_tab_title"
     48        app:layout_constraintTop_toBottomOf="@id/share_tab_title"
     49        app:layout_constraintEnd_toEndOf="parent"/>
     50 
     51 </androidx.constraintlayout.widget.ConstraintLayout>