tor-browser

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

quicksettings_website_info.xml (3005B)


      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 <LinearLayout
      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:id="@+id/website_info_view"
     11    android:layout_width="match_parent"
     12    android:layout_height="wrap_content"
     13    android:orientation="vertical">
     14 
     15    <LinearLayout
     16        android:layout_width="match_parent"
     17        android:layout_height="wrap_content"
     18        android:orientation="horizontal"
     19        android:minHeight="@dimen/tracking_protection_item_height"
     20        android:paddingTop="8dp"
     21        android:paddingBottom="8dp">
     22 
     23        <ImageView
     24            android:id="@+id/faviconImage"
     25            android:layout_width="24dp"
     26            android:layout_height="24dp"
     27            android:importantForAccessibility="no"
     28            android:scaleType="fitCenter"
     29            android:layout_marginStart="16dp"
     30            android:layout_gravity="center_vertical"
     31            tools:drawableStartCompat="@drawable/ic_internet" />
     32 
     33        <TextView
     34            android:id="@+id/url"
     35            style="@style/QuickSettingsText"
     36            android:layout_width="match_parent"
     37            android:layout_height="wrap_content"
     38            android:paddingStart="8dp"
     39            android:paddingTop="8dp"
     40            tools:text="https://wikipedia.org"
     41            tools:ignore="RtlSymmetry" />
     42    </LinearLayout>
     43 
     44    <LinearLayout
     45        android:id="@+id/securityInfoContainer"
     46        android:layout_width="match_parent"
     47        android:layout_height="wrap_content"
     48        android:minHeight="@dimen/tracking_protection_item_height"
     49        android:orientation="horizontal"
     50        style="@style/QuickSettingsText">
     51        <ImageView
     52            android:id="@+id/securityInfoIcon"
     53            android:layout_width="wrap_content"
     54            android:layout_height="wrap_content"
     55            android:importantForAccessibility="no"
     56            app:srcCompat="@drawable/mozac_ic_lock_24"
     57            app:tint="?attr/textPrimary" />
     58        <LinearLayout
     59            android:layout_width="match_parent"
     60            android:layout_height="wrap_content"
     61            android:orientation="vertical">
     62            <TextView
     63                android:id="@+id/securityInfo"
     64                style="@style/QuickSettingsLargeText"
     65                android:minHeight="@dimen/quicksettings_item_height"
     66                android:layout_width="match_parent"
     67                android:paddingStart="8dp"
     68                android:layout_height="wrap_content"
     69                app:drawableEndCompat="@drawable/ic_arrowhead_right"
     70                android:paddingEnd="0dp"
     71                tools:text="Connection is secure" />
     72        </LinearLayout>
     73    </LinearLayout>
     74 </LinearLayout>