Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / android / java / res / layout / dropdown_item.xml
index bded0ad..1652fcb 100644 (file)
@@ -6,29 +6,44 @@
 -->
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:id="@+id/dropdown_menu_text"
-    android:orientation="vertical"
+    android:orientation="horizontal"
+    android:layout_width="match_parent"
+    android:layout_height="wrap_content"
     android:gravity="center_vertical">
 
-    <TextView android:id="@+id/dropdown_label"
-        android:layout_width="wrap_content"
+    <LinearLayout android:id="@+id/dropdown_label_wrapper"
+        android:layout_weight="1"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
-        android:layout_marginStart="10dp"
-        android:layout_marginEnd="10dp"
-        android:ellipsize="end"
-        android:singleLine="true"
-        android:textAlignment="viewStart"
-        android:textSize="18sp"
-        android:includeFontPadding="false"/>
-    <TextView android:id="@+id/dropdown_sublabel"
+        android:orientation="vertical"
+        android:gravity="center_vertical">
+
+        <TextView android:id="@+id/dropdown_label"
+            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:textAlignment="viewStart"
+            android:textSize="18sp"
+            android:includeFontPadding="false"/>
+        <TextView android:id="@+id/dropdown_sublabel"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="10dp"
+            android:layout_marginEnd="10dp"
+            android:textSize="14sp"
+            android:textColor="#8b8b8b"
+            android:ellipsize="end"
+            android:singleLine="true"
+            android:textAlignment="viewStart"
+            android:includeFontPadding="false"/>
+    </LinearLayout>
+
+    <ImageView android:id="@+id/dropdown_icon"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_marginStart="10dp"
-        android:layout_marginEnd="10dp"
-        android:textSize="14sp"
-        android:textColor="#8b8b8b"
-        android:ellipsize="end"
-        android:singleLine="true"
-        android:textAlignment="viewStart"
-        android:includeFontPadding="false"/>
+        android:layout_margin="8dp"/>
+
 </LinearLayout>