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

Unified Diff: ui/android/java/res/layout/date_time_suggestion.xml

Issue 23623019: Support datalist for date/time input types on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/renderer_date_time_picker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/res/layout/date_time_suggestion.xml
diff --git a/ui/android/java/res/layout/autofill_text.xml b/ui/android/java/res/layout/date_time_suggestion.xml
similarity index 60%
copy from ui/android/java/res/layout/autofill_text.xml
copy to ui/android/java/res/layout/date_time_suggestion.xml
index bab3d77ef89d2bce4b735ba600dd500844c85ba4..e47ac7682c3ca6b5922086590fc8c5f75cec498b 100644
--- a/ui/android/java/res/layout/autofill_text.xml
+++ b/ui/android/java/res/layout/date_time_suggestion.xml
@@ -6,27 +6,30 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/autofill_menu_text"
- android:orientation="vertical"
+ android:id="@+id/date_time_suggestion"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="44dp"
+ android:orientation="horizontal"
android:gravity="center_vertical">
-
- <TextView android:id="@+id/autofill_label"
+ <TextView
+ android:id="@+id/date_time_suggestion_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:ellipsize="end"
android:singleLine="true"
- android:textSize="18sp"
- android:includeFontPadding="false"/>
- <TextView android:id="@+id/autofill_sublabel"
- android:layout_width="wrap_content"
+ android:textSize="18sp" />
+ <TextView
+ android:id="@+id/date_time_suggestion_label"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
- android:textSize="14sp"
+ android:layout_weight="1"
+ android:textSize="18sp"
+ android:gravity="end"
android:textColor="#8b8b8b"
android:ellipsize="end"
- android:singleLine="true"
- android:includeFontPadding="false"/>
+ android:singleLine="true" />
</LinearLayout>
« no previous file with comments | « content/renderer/renderer_date_time_picker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698