Commit a7b38df5 authored by Grigory Fedorov's avatar Grigory Fedorov

Expander indicator icon changed to new material one.

parent bf1b9f4e
......@@ -14,6 +14,6 @@
-->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/expander_indicator_dark_hidden" android:minLevel="0" android:maxLevel="0" />
<item android:drawable="@drawable/expander_indicator_dark_show" android:minLevel="1" android:maxLevel="1" />
<item android:drawable="@drawable/ic_arrow_drop_right_white_24dp" android:minLevel="0" android:maxLevel="0" />
<item android:drawable="@drawable/ic_arrow_drop_down_white_24dp" android:minLevel="1" android:maxLevel="1" />
</level-list>
\ No newline at end of file
......@@ -14,6 +14,6 @@
-->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/expander_indicator_light_hidden" android:minLevel="0" android:maxLevel="0" />
<item android:drawable="@drawable/expander_indicator_light_show" android:minLevel="1" android:maxLevel="1" />
<item android:drawable="@drawable/ic_arrow_drop_right_white_24dp" android:minLevel="0" android:maxLevel="0" />
<item android:drawable="@drawable/ic_arrow_drop_down_white_24dp" android:minLevel="1" android:maxLevel="1" />
</level-list>
\ No newline at end of file
......@@ -16,27 +16,29 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/expander_height"
android:gravity="center_vertical|left"
android:gravity="center_vertical|start"
android:background="@drawable/expander_background_dark"
>
<ImageView
android:id="@+id/indicator"
android:layout_width="wrap_content"
android:layout_height="@dimen/expander_height"
android:layout_marginLeft="@dimen/expander_arrow_margin_left"
android:layout_marginRight="@dimen/expander_arrow_margin_right"
android:layout_height="wrap_content"
android:src="@drawable/expander_indicator_dark"
/>
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<TextView
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="@dimen/expander_height"
android:gravity="center_vertical"
android:layout_marginRight="@dimen/expander_text_margin_right"
android:layout_marginEnd="@dimen/expander_text_margin_right"
android:singleLine="true"
android:ellipsize="marquee"
android:background="@drawable/ic_show_offline"
android:text="name (0/0)"
android:layout_toRightOf="@id/indicator"
android:layout_toEndOf="@id/indicator"
/>
</RelativeLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment