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> |