changed style of xml items(now text in the same position as others bottom sheet elements)
This commit is contained in:
parent
d4458fa51e
commit
66a703e8ba
1 changed files with 10 additions and 7 deletions
|
@ -12,20 +12,23 @@
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/change_color_icon"
|
android:id="@+id/change_color_icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="@dimen/standard_icon_size"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="@dimen/standard_icon_size"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:layout_marginEnd="@dimen/bottom_sheet_icon_margin"
|
||||||
|
android:layout_marginRight="@dimen/bottom_sheet_icon_margin"
|
||||||
android:src="@drawable/ic_action_appearance" />
|
android:src="@drawable/ic_action_appearance" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/title"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:paddingBottom="6dp"
|
android:ellipsize="end"
|
||||||
android:paddingLeft="@dimen/list_content_padding"
|
android:maxLines="1"
|
||||||
android:paddingTop="6dp"
|
|
||||||
android:text="@string/change_color"
|
android:text="@string/change_color"
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
android:textAppearance="@style/TextAppearance.ListItemTitle" />
|
||||||
android:textSize="@dimen/default_list_text_size" />
|
|
||||||
|
|
||||||
<android.support.v7.widget.AppCompatImageView
|
<android.support.v7.widget.AppCompatImageView
|
||||||
android:id="@+id/colorImage"
|
android:id="@+id/colorImage"
|
||||||
|
|
Loading…
Reference in a new issue