Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: chrome/android/java/res/layout/snackbar.xml

Issue 2912083003: Replace assets for avatar placeholder on Android (Closed)
Patch Set: Use vector asset for account avatar picture Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 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 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:id="@+id/snackbar" 7 android:id="@+id/snackbar"
8 android:layout_width="match_parent" 8 android:layout_width="match_parent"
9 android:layout_height="wrap_content" 9 android:layout_height="wrap_content"
10 android:layout_gravity="bottom|start" 10 android:layout_gravity="bottom|start"
11 android:minHeight="@dimen/snackbar_min_height" 11 android:minHeight="@dimen/snackbar_min_height"
12 android:orientation="horizontal" > 12 android:orientation="horizontal" >
13 13
14 <ImageView android:id="@+id/snackbar_profile_image" 14 <ImageView android:id="@+id/snackbar_profile_image"
15 android:layout_width="24dp" 15 android:layout_width="@dimen/snackbar_image_size"
16 android:layout_height="24dp" 16 android:layout_height="@dimen/snackbar_image_size"
17 android:layout_gravity="center_vertical" 17 android:layout_gravity="center_vertical"
18 android:layout_marginStart="12dp" 18 android:layout_marginStart="12dp"
19 android:layout_marginEnd="-12dp" 19 android:layout_marginEnd="-12dp"
20 android:scaleType="fitCenter" 20 android:scaleType="fitCenter"
21 android:visibility="visible" 21 android:visibility="visible"
22 android:contentDescription="@null"/> 22 android:contentDescription="@null"/>
23 23
24 <org.chromium.chrome.browser.snackbar.TemplatePreservingTextView 24 <org.chromium.chrome.browser.snackbar.TemplatePreservingTextView
25 android:id="@+id/snackbar_message" 25 android:id="@+id/snackbar_message"
26 android:layout_width="0dp" 26 android:layout_width="0dp"
(...skipping 14 matching lines...) Expand all
41 android:layout_gravity="center_vertical" 41 android:layout_gravity="center_vertical"
42 android:paddingEnd="24dp" 42 android:paddingEnd="24dp"
43 android:paddingStart="24dp" 43 android:paddingStart="24dp"
44 android:fontFamily="sans-serif-medium" 44 android:fontFamily="sans-serif-medium"
45 android:textAllCaps="true" 45 android:textAllCaps="true"
46 android:textColor="@color/snackbar_button_color" 46 android:textColor="@color/snackbar_button_color"
47 android:textSize="14sp" 47 android:textSize="14sp"
48 style="@style/ButtonCompatBorderless" /> 48 style="@style/ButtonCompatBorderless" />
49 49
50 </LinearLayout> 50 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698