Chromium Code Reviews| 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 <org.chromium.chrome.browser.widget.ContextualSearchOptOutPromo | |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | |
| 9 android:id="@+id/contextual_search_opt_out_promo" | |
| 10 android:layout_width="match_parent" | |
| 11 android:layout_height="wrap_content" | |
| 12 android:orientation="vertical"> | |
| 13 | |
| 14 <LinearLayout | |
| 15 android:layout_width="match_parent" | |
| 16 android:layout_height="wrap_content" | |
| 17 android:layout_marginTop="9dp" | |
| 18 android:background="#EEE" | |
| 19 android:orientation="vertical"> | |
| 20 | |
| 21 <!-- marginTop = 16dp - 9dp (margin above) --> | |
| 22 <org.chromium.ui.widget.TextViewWithClickableSpans | |
| 23 android:id="@+id/contextual_search_opt_out_text" | |
| 24 android:color="@color/contextual_search_promo_text_color" | |
| 25 android:layout_width="match_parent" | |
| 26 android:layout_height="wrap_content" | |
| 27 android:layout_marginTop="7dp" | |
| 28 android:layout_marginStart="16dp" | |
| 29 android:layout_marginEnd="16dp" | |
| 30 android:bufferType="spannable" | |
| 31 android:textSize="16sp" /> | |
| 32 | |
| 33 <Button | |
|
Donn Denman
2015/04/02 19:44:58
As you know, we'll want to add a second button.
pedro (no code reviews)
2015/04/03 21:01:01
Acknowledged.
| |
| 34 android:id="@+id/contextual_search_got_it_button" | |
| 35 android:layout_width="wrap_content" | |
| 36 android:layout_height="wrap_content" | |
| 37 android:layout_gravity="end" | |
| 38 android:layout_marginEnd="16dp" | |
| 39 android:background="?attr/selectableItemBackground" | |
| 40 android:fontFamily="sans-serif-medium" | |
| 41 android:paddingStart="8dp" | |
| 42 android:paddingEnd="8dp" | |
| 43 android:text="@string/contextual_search_got_it_button" | |
| 44 android:textAllCaps="true" | |
| 45 android:textColor="@color/light_active_color" | |
| 46 android:textSize="14sp" /> | |
| 47 | |
| 48 <View | |
| 49 android:layout_width="match_parent" | |
| 50 android:layout_height="1px" | |
| 51 android:background="#c2c2c2" /> | |
| 52 | |
| 53 </LinearLayout> | |
| 54 </org.chromium.chrome.browser.widget.ContextualSearchOptOutPromo> | |
| OLD | NEW |