tor-browser

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

logins_item.xml (2654B)


      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    xmlns:tools="http://schemas.android.com/tools"
      8    android:layout_width="match_parent"
      9    android:layout_height="wrap_content"
     10    android:background="?android:attr/selectableItemBackground"
     11    android:clickable="true"
     12    android:focusable="true"
     13    android:minHeight="?android:attr/listPreferredItemHeight">
     14 
     15    <ImageView
     16        android:id="@+id/favicon_image"
     17        style="@style/Mozac.Widgets.Favicon"
     18        android:layout_marginStart="16dp"
     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/webAddressView"
     26        android:layout_width="0dp"
     27        android:layout_height="wrap_content"
     28        android:layout_marginStart="@dimen/saved_logins_item_margin_start"
     29        android:layout_marginEnd="@dimen/saved_logins_item_margin_end"
     30        android:ellipsize="middle"
     31        android:singleLine="true"
     32        android:textAppearance="?android:attr/textAppearanceListItem"
     33        android:textColor="?attr/textPrimary"
     34        app:layout_constraintBottom_toTopOf="@id/usernameView"
     35        app:layout_constraintEnd_toEndOf="parent"
     36        app:layout_constraintStart_toEndOf="@+id/favicon_image"
     37        app:layout_constraintTop_toTopOf="parent"
     38        app:layout_constraintVertical_chainStyle="packed"
     39        tools:text="mozilla.org" />
     40 
     41    <TextView
     42        android:id="@+id/usernameView"
     43        android:layout_width="0dp"
     44        android:layout_height="wrap_content"
     45        android:layout_marginStart="@dimen/saved_logins_item_margin_start"
     46        android:layout_marginEnd="@dimen/saved_logins_item_margin_end"
     47        android:ellipsize="middle"
     48        android:singleLine="true"
     49        android:textColor="?attr/textSecondary"
     50        app:layout_constraintBottom_toBottomOf="parent"
     51        app:layout_constraintEnd_toEndOf="parent"
     52        app:layout_constraintStart_toEndOf="@+id/favicon_image"
     53        app:layout_constraintTop_toBottomOf="@id/webAddressView"
     54        app:layout_constraintVertical_chainStyle="packed"
     55        tools:text="mozilla.org" />
     56 </androidx.constraintlayout.widget.ConstraintLayout>