|
17 | 17 | android:layout_width="match_parent" |
18 | 18 | android:layout_height="50sp" |
19 | 19 | android:background="?colorPrimary" |
20 | | - android:orientation="horizontal" |
| 20 | + android:orientation="vertical" |
21 | 21 | android:paddingStart="16sp" |
22 | 22 | android:paddingTop="5sp" |
23 | 23 | android:paddingEnd="16sp" |
24 | | - android:paddingBottom="5sp"> |
| 24 | + android:paddingBottom="5sp" |
| 25 | + android:visibility="visible"> |
25 | 26 |
|
26 | 27 | <LinearLayout |
27 | | - android:id="@+id/addressBarContainer" |
| 28 | + android:id="@+id/deeplinkAddressBar" |
28 | 29 | android:layout_width="match_parent" |
29 | 30 | android:layout_height="match_parent" |
30 | 31 | android:layout_weight="1" |
31 | | - android:background="@drawable/input_layout_normal" |
32 | | - android:orientation="horizontal"> |
| 32 | + android:orientation="horizontal" |
| 33 | + android:visibility="visible"> |
33 | 34 |
|
34 | 35 | <LinearLayout |
35 | | - android:layout_width="40dp" |
| 36 | + android:id="@+id/closeButtonDeeplink" |
| 37 | + android:layout_width="40sp" |
| 38 | + android:layout_height="match_parent" |
| 39 | + android:layout_margin="2dp" |
| 40 | + android:layout_weight="0" |
| 41 | + android:background="@drawable/invisible_button" |
| 42 | + android:clickable="true" |
| 43 | + android:gravity="center" |
| 44 | + android:orientation="vertical"> |
| 45 | + |
| 46 | + <ImageView |
| 47 | + android:id="@+id/imageView" |
| 48 | + android:layout_width="14dp" |
| 49 | + android:layout_height="wrap_content" |
| 50 | + android:alpha="0.8" |
| 51 | + app:srcCompat="@drawable/ic_close" /> |
| 52 | + </LinearLayout> |
| 53 | + |
| 54 | + <LinearLayout |
| 55 | + android:layout_width="40sp" |
36 | 56 | android:layout_height="match_parent" |
37 | 57 | android:layout_margin="2dp" |
38 | 58 | android:layout_weight="0" |
| 59 | + android:background="@drawable/invisible_button" |
| 60 | + android:clickable="false" |
39 | 61 | android:gravity="center" |
40 | 62 | android:orientation="vertical"> |
41 | 63 |
|
|
46 | 68 | android:layout_gravity="center" |
47 | 69 | android:alpha="0.8" |
48 | 70 | app:srcCompat="@drawable/ic_secure_filled" /> |
| 71 | + |
49 | 72 | </LinearLayout> |
50 | 73 |
|
51 | | - <TextView |
52 | | - android:id="@+id/addressBarDomain" |
53 | | - android:layout_width="wrap_content" |
| 74 | + <LinearLayout |
| 75 | + android:layout_width="match_parent" |
54 | 76 | android:layout_height="match_parent" |
55 | | - android:layout_weight="0" |
56 | | - android:alpha="0.9" |
| 77 | + android:layout_weight="1" |
57 | 78 | android:gravity="center" |
58 | | - android:lines="1" |
59 | | - android:maxLines="1" |
60 | | - android:minLines="1" |
61 | | - android:textAlignment="viewStart" |
62 | | - android:textColor="?colorSecondary" |
63 | | - android:visibility="visible" /> |
64 | | - |
65 | | - <TextView |
66 | | - android:id="@+id/addressBarPath" |
67 | | - android:layout_width="wrap_content" |
| 79 | + android:orientation="vertical"> |
| 80 | + |
| 81 | + <TextView |
| 82 | + android:id="@+id/textView4" |
| 83 | + android:layout_width="match_parent" |
| 84 | + android:layout_height="wrap_content" |
| 85 | + android:text="Title" /> |
| 86 | + |
| 87 | + <TextView |
| 88 | + android:id="@+id/textView5" |
| 89 | + android:layout_width="match_parent" |
| 90 | + android:layout_height="wrap_content" |
| 91 | + android:text="URL" |
| 92 | + android:textSize="10sp" /> |
| 93 | + </LinearLayout> |
| 94 | + |
| 95 | + <LinearLayout |
| 96 | + android:layout_width="40dp" |
68 | 97 | android:layout_height="match_parent" |
| 98 | + android:layout_margin="2dp" |
69 | 99 | android:layout_weight="0" |
70 | | - android:alpha="0.5" |
71 | | - android:ellipsize="end" |
| 100 | + android:background="@drawable/invisible_button" |
| 101 | + android:clickable="true" |
72 | 102 | android:gravity="center" |
73 | | - android:lines="1" |
74 | | - android:maxLines="1" |
75 | | - android:minLines="1" |
76 | | - android:paddingEnd="5sp" |
77 | | - android:textAlignment="viewStart" |
78 | | - android:textColor="?colorSecondary" |
79 | | - app:autoSizeTextType="none" /> |
| 103 | + android:orientation="vertical"> |
80 | 104 |
|
| 105 | + <ImageView |
| 106 | + android:id="@+id/imageView2" |
| 107 | + android:layout_width="14dp" |
| 108 | + android:layout_height="wrap_content" |
| 109 | + android:alpha="0.8" |
| 110 | + app:srcCompat="@drawable/ic_open_in_new" /> |
| 111 | + </LinearLayout> |
81 | 112 | </LinearLayout> |
82 | 113 |
|
83 | 114 | <LinearLayout |
84 | | - android:id="@+id/closeAddressBarButton" |
85 | | - android:layout_width="wrap_content" |
86 | | - android:layout_height="wrap_content" |
87 | | - android:layout_gravity="center" |
88 | | - android:layout_marginLeft="11dp" |
89 | | - android:background="@drawable/invisible_button" |
90 | | - android:orientation="vertical" |
91 | | - android:padding="5sp"> |
| 115 | + android:id="@+id/normalAddressbar" |
| 116 | + android:layout_width="match_parent" |
| 117 | + android:layout_height="match_parent" |
| 118 | + android:layout_weight="1" |
| 119 | + android:orientation="horizontal" |
| 120 | + android:visibility="gone"> |
92 | 121 |
|
93 | 122 | <LinearLayout |
94 | | - android:layout_width="20dp" |
95 | | - android:layout_height="20dp" |
96 | | - android:layout_gravity="center" |
97 | | - android:alpha="0.9" |
98 | | - android:background="@drawable/tab_icon" |
99 | | - android:gravity="center" |
100 | | - android:orientation="vertical"> |
| 123 | + android:id="@+id/addressBarContainer" |
| 124 | + android:layout_width="match_parent" |
| 125 | + android:layout_height="match_parent" |
| 126 | + android:layout_weight="1" |
| 127 | + android:background="@drawable/input_layout_normal" |
| 128 | + android:clickable="true" |
| 129 | + android:orientation="horizontal"> |
| 130 | + |
| 131 | + <LinearLayout |
| 132 | + android:layout_width="40dp" |
| 133 | + android:layout_height="match_parent" |
| 134 | + android:layout_margin="2dp" |
| 135 | + android:layout_weight="0" |
| 136 | + android:gravity="center" |
| 137 | + android:orientation="vertical"> |
| 138 | + |
| 139 | + <ImageView |
| 140 | + android:id="@+id/contextIdentityIcon" |
| 141 | + android:layout_width="14dp" |
| 142 | + android:layout_height="wrap_content" |
| 143 | + android:layout_gravity="center" |
| 144 | + android:alpha="0.8" |
| 145 | + app:srcCompat="@drawable/ic_secure_filled" /> |
| 146 | + </LinearLayout> |
101 | 147 |
|
102 | 148 | <TextView |
103 | | - android:id="@+id/tabNumber" |
104 | | - android:layout_width="match_parent" |
105 | | - android:layout_height="wrap_content" |
| 149 | + android:id="@+id/addressBarDomain" |
| 150 | + android:layout_width="wrap_content" |
| 151 | + android:layout_height="match_parent" |
| 152 | + android:layout_weight="0" |
| 153 | + android:alpha="0.9" |
| 154 | + android:gravity="center" |
| 155 | + android:lines="1" |
| 156 | + android:maxLines="1" |
| 157 | + android:minLines="1" |
| 158 | + android:textAlignment="viewStart" |
| 159 | + android:textColor="?colorSecondary" |
| 160 | + android:visibility="visible" /> |
| 161 | + |
| 162 | + <TextView |
| 163 | + android:id="@+id/addressBarPath" |
| 164 | + android:layout_width="wrap_content" |
| 165 | + android:layout_height="match_parent" |
| 166 | + android:layout_weight="0" |
| 167 | + android:alpha="0.5" |
| 168 | + android:ellipsize="end" |
106 | 169 | android:gravity="center" |
107 | | - android:text="1" |
| 170 | + android:lines="1" |
| 171 | + android:maxLines="1" |
| 172 | + android:minLines="1" |
| 173 | + android:paddingEnd="5sp" |
| 174 | + android:textAlignment="viewStart" |
108 | 175 | android:textColor="?colorSecondary" |
109 | | - android:textSize="12sp" |
110 | | - android:textStyle="bold" /> |
| 176 | + app:autoSizeTextType="none" /> |
| 177 | + |
111 | 178 | </LinearLayout> |
| 179 | + |
| 180 | + <LinearLayout |
| 181 | + android:id="@+id/closeAddressBarButton" |
| 182 | + android:layout_width="wrap_content" |
| 183 | + android:layout_height="wrap_content" |
| 184 | + android:layout_gravity="center" |
| 185 | + android:layout_marginLeft="11dp" |
| 186 | + android:background="@drawable/invisible_button" |
| 187 | + android:clickable="true" |
| 188 | + android:orientation="vertical" |
| 189 | + android:padding="5sp"> |
| 190 | + |
| 191 | + <LinearLayout |
| 192 | + android:layout_width="20dp" |
| 193 | + android:layout_height="20dp" |
| 194 | + android:layout_gravity="center" |
| 195 | + android:alpha="0.9" |
| 196 | + android:background="@drawable/tab_icon" |
| 197 | + android:gravity="center" |
| 198 | + android:orientation="vertical"> |
| 199 | + |
| 200 | + <TextView |
| 201 | + android:id="@+id/tabNumber" |
| 202 | + android:layout_width="match_parent" |
| 203 | + android:layout_height="wrap_content" |
| 204 | + android:gravity="center" |
| 205 | + android:text="1" |
| 206 | + android:textColor="?colorSecondary" |
| 207 | + android:textSize="12sp" |
| 208 | + android:textStyle="bold" /> |
| 209 | + </LinearLayout> |
| 210 | + </LinearLayout> |
| 211 | + |
112 | 212 | </LinearLayout> |
113 | 213 |
|
114 | 214 | </LinearLayout> |
|
0 commit comments