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

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

Issue 2805623003: Move the clear button to the right (Closed)
Patch Set: increase button height Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2017 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 <!-- Used by ClearBrowsingDataPreferencesTab to replace the default layout 6 <!-- Used by ClearBrowsingDataPreferencesTab to replace the default layout
7 of a PreferenceFragment and add a footer button. --> 7 of a PreferenceFragment and add a footer button. -->
8 8
9 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 9 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="match_parent" 11 android:layout_height="match_parent"
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 <ListView 14 <ListView
15 android:id="@android:id/list" 15 android:id="@android:id/list"
16 android:layout_width="match_parent" 16 android:layout_width="match_parent"
17 android:layout_weight="1" 17 android:layout_weight="1"
18 android:layout_height="0dp"/> 18 android:layout_height="0dp"/>
19 19
20 <View style="@style/Divider"/> 20 <View style="@style/Divider"/>
21 21
22 <Button 22 <Button
23 android:id="@+id/clear_button" 23 android:id="@+id/clear_button"
24 android:layout_gravity="end"
24 style="?android:attr/buttonBarButtonStyle" 25 style="?android:attr/buttonBarButtonStyle"
25 android:layout_width="match_parent" 26 android:layout_width="wrap_content"
26 android:layout_height="wrap_content" 27 android:layout_height="wrap_content"
28 android:padding="8dp"
29 android:minHeight="48dp"
30 android:layout_marginEnd="8dp"
27 android:focusable="true" 31 android:focusable="true"
28 android:text="@string/clear_data_delete" /> 32 android:text="@string/clear_data_delete" />
29 33
30 </LinearLayout> 34 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698