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

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: Used double to transfer value Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/android/java/res/layout/date_time_suggestion.xml
diff --git a/ui/android/java/res/layout/date_time_suggestion.xml b/ui/android/java/res/layout/date_time_suggestion.xml
new file mode 100644
index 0000000000000000000000000000000000000000..500c4253ee133c531eb93cce54aa080d3b1e0919
--- /dev/null
+++ b/ui/android/java/res/layout/date_time_suggestion.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2013 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/date_time_suggestion"
+ android:layout_width="match_parent"
+ android:layout_height="44dp"
newt (away) 2013/11/04 17:35:55 change layout_height to wrap_content, in case the
keishi 2013/11/05 07:23:42 Done.
+ android:minHeight="44dp"
+ android:orientation="horizontal"
+ android:gravity="center_vertical">
+ <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" />
+ <TextView
+ android:id="@+id/date_time_suggestion_label"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="10dp"
+ android:layout_weight="1"
+ android:textSize="18sp"
+ android:gravity="end"
+ android:textColor="#8b8b8b"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:includeFontPadding="false" />
newt (away) 2013/11/04 17:35:55 remove includeFontPadding attribute
keishi 2013/11/05 07:23:42 Done.
+</LinearLayout>
« content/public/common/date_time_suggestion.h ('K') | « 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