[Quick search] Fix folder icon layout

This commit is contained in:
Alexey Kulish 2016-08-02 15:15:06 +03:00
parent e2edb9ce27
commit 4231c7a174

View file

@ -9,8 +9,8 @@
android:id="@+id/searchListItemLayout" android:id="@+id/searchListItemLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"
android:minHeight="60dp" android:minHeight="60dp"
android:orientation="horizontal"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:paddingLeft="16dp" android:paddingLeft="16dp"
android:paddingRight="16dp" android:paddingRight="16dp"
@ -85,13 +85,14 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="right"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <ImageView
android:id="@+id/type_name_icon" android:id="@+id/type_name_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_marginTop="4.5dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
android:src="@drawable/ic_small_group"/> android:src="@drawable/ic_small_group"/>
@ -104,28 +105,35 @@
android:textSize="@dimen/default_desc_text_size" android:textSize="@dimen/default_desc_text_size"
tools:text="City"/> tools:text="City"/>
<ImageView <LinearLayout
android:id="@+id/time_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="match_parent"
android:layout_gravity="center_vertical" android:orientation="horizontal">
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_time"/>
<TextView <ImageView
android:id="@+id/time" android:id="@+id/time_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:ellipsize="end" android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:lines="1" android:src="@drawable/ic_small_time"/>
android:maxLines="1"
android:scrollHorizontally="true"
android:singleLine="true"
android:textColor="?android:textColorSecondary" <TextView
android:textSize="@dimen/default_sub_text_size" android:id="@+id/time"
tools:text="10-12 am"/> android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:ellipsize="end"
android:lines="1"
android:maxLines="1"
android:scrollHorizontally="true"
android:singleLine="true"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"
tools:text="10-12 am"/>
</LinearLayout>
</LinearLayout> </LinearLayout>