OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. --> | |
5 | |
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
7 android:id="@+id/undobar" | |
8 android:layout_width="match_parent" | |
9 android:layout_height="@dimen/undo_bar_height" | |
10 android:background="#282C32" | |
11 android:orientation="horizontal" > | |
12 | |
13 <org.chromium.chrome.browser.snackbar.TemplatePreservingTextView | |
14 android:id="@+id/undobar_message" | |
15 android:layout_width="0dp" | |
16 android:layout_height="wrap_content" | |
17 android:layout_gravity="start|center_vertical" | |
18 android:layout_marginStart="24dp" | |
19 android:layout_weight="1" | |
20 android:singleLine="true" | |
21 android:textAlignment="viewStart" | |
22 android:textColor="@android:color/white" | |
23 android:textSize="14sp" /> | |
24 | |
25 <TextView | |
26 android:id="@+id/undobar_button" | |
27 android:layout_width="wrap_content" | |
28 android:layout_height="match_parent" | |
29 android:fontFamily="sans-serif-medium" | |
30 android:gravity="center_vertical" | |
31 android:paddingEnd="24dp" | |
32 android:paddingStart="24dp" | |
33 android:text="@string/undo_bar_button_text" | |
34 android:textAllCaps="true" | |
35 android:textColor="@color/snack_bar_button_color" | |
36 android:textSize="14sp" /> | |
37 | |
38 </LinearLayout> | |
OLD | NEW |