tor-browser

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

component_saved_logins.xml (3467B)


      1 <?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
      2   - License, v. 2.0. If a copy of the MPL was not distributed with this
      3   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      4 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      5    xmlns:tools="http://schemas.android.com/tools"
      6    xmlns:app="http://schemas.android.com/apk/res-auto"
      7    android:id="@+id/saved_logins_wrapper"
      8    android:layout_width="match_parent"
      9    android:layout_height="match_parent">
     10 
     11    <ProgressBar
     12        android:id="@+id/progress_bar"
     13        style="@style/Widget.AppCompat.ProgressBar.Horizontal"
     14        android:indeterminate="true"
     15        android:layout_width="match_parent"
     16        android:layout_height="8dp"
     17        android:translationY="-3dp"
     18        android:visibility="gone"
     19        app:layout_constraintTop_toTopOf="parent"
     20        app:layout_constraintStart_toStartOf="parent" />
     21 
     22    <androidx.appcompat.widget.LinearLayoutCompat
     23        android:layout_width="match_parent"
     24        android:layout_height="wrap_content"
     25        android:orientation="vertical">
     26 
     27        <androidx.constraintlayout.widget.ConstraintLayout
     28            android:id="@+id/saved_passwords_empty_view"
     29            android:layout_width="match_parent"
     30            android:layout_height="wrap_content"
     31            android:visibility="gone"
     32            android:layout_margin="@dimen/exceptions_description_margin">
     33 
     34            <TextView
     35                android:id="@+id/saved_passwords_empty_message"
     36                android:layout_width="match_parent"
     37                android:layout_height="wrap_content"
     38                android:padding="4dp"
     39                android:text="@string/preferences_passwords_saved_logins_description_empty_text_2"
     40                android:textColor="?attr/textSecondary"
     41                android:textSize="16sp"
     42                app:layout_constraintTop_toTopOf="parent"
     43                app:layout_constraintStart_toStartOf="parent" />
     44 
     45            <org.mozilla.fenix.utils.LinkTextView
     46                android:id="@+id/saved_passwords_empty_learn_more"
     47                android:layout_width="match_parent"
     48                android:layout_height="wrap_content"
     49                android:padding="4dp"
     50                android:text="@string/preferences_passwords_saved_logins_description_empty_learn_more_link_2"
     51                android:textColor="?attr/textSecondary"
     52                android:textSize="16sp"
     53                app:layout_constraintTop_toBottomOf="@id/saved_passwords_empty_message" />
     54        </androidx.constraintlayout.widget.ConstraintLayout>
     55 
     56            <androidx.recyclerview.widget.RecyclerView
     57                android:id="@+id/saved_logins_list"
     58                android:layout_width="match_parent"
     59                android:layout_height="0dp"
     60                android:layout_weight="1"
     61                android:visibility="gone"
     62                tools:listitem="@layout/logins_item" />
     63 
     64            <include
     65                android:id="@+id/add_login_button"
     66                layout="@layout/layout_add_login"
     67                android:layout_width="match_parent"
     68                android:layout_height="wrap_content"
     69                android:layout_weight="0"
     70                app:layout_constraintBottom_toBottomOf="parent"
     71                app:layout_constraintTop_toBottomOf="@id/saved_logins_list" />
     72 
     73    </androidx.appcompat.widget.LinearLayoutCompat>
     74 
     75 </FrameLayout>