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

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

Issue 1759483002: [Snackbar] Replace popup window with views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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:layout_width="match_parent" 7 android:layout_width="match_parent"
8 android:layout_height="wrap_content" 8 android:layout_height="wrap_content"
9 android:layout_gravity="bottom|start"
10 android:layout_marginStart="@dimen/snackbar_margin"
9 android:minHeight="@dimen/snackbar_min_height" 11 android:minHeight="@dimen/snackbar_min_height"
10 android:orientation="horizontal" > 12 android:orientation="horizontal" >
11 13
12 <ImageView android:id="@+id/snackbar_profile_image" 14 <ImageView android:id="@+id/snackbar_profile_image"
13 android:layout_width="24dp" 15 android:layout_width="24dp"
14 android:layout_height="24dp" 16 android:layout_height="24dp"
15 android:layout_gravity="center_vertical" 17 android:layout_gravity="center_vertical"
16 android:layout_marginStart="12dp" 18 android:layout_marginStart="12dp"
17 android:layout_marginEnd="-12dp" 19 android:layout_marginEnd="-12dp"
18 android:scaleType="fitCenter" 20 android:scaleType="fitCenter"
(...skipping 20 matching lines...) Expand all
39 android:layout_gravity="center_vertical" 41 android:layout_gravity="center_vertical"
40 android:paddingEnd="24dp" 42 android:paddingEnd="24dp"
41 android:paddingStart="24dp" 43 android:paddingStart="24dp"
42 android:fontFamily="sans-serif-medium" 44 android:fontFamily="sans-serif-medium"
43 android:textAllCaps="true" 45 android:textAllCaps="true"
44 android:textColor="@color/snackbar_button_color" 46 android:textColor="@color/snackbar_button_color"
45 android:textSize="14sp" 47 android:textSize="14sp"
46 style="@style/ButtonCompatBorderless" /> 48 style="@style/ButtonCompatBorderless" />
47 49
48 </LinearLayout> 50 </LinearLayout>
OLDNEW
« no previous file with comments | « chrome/android/java/res/anim/snackbar_out.xml ('k') | chrome/android/java/res/values-sw600dp/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698