Commit fe36595f authored by Grigory Fedorov's avatar Grigory Fedorov

Colors instead of png used for conference affiliation drawables.

parent 47575646
...@@ -14,23 +14,23 @@ ...@@ -14,23 +14,23 @@
--> -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android"> <level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:drawable="@drawable/ic_affilation_none" android:drawable="@android:color/transparent"
android:minLevel="0" android:minLevel="0"
android:maxLevel="0" /> android:maxLevel="0" />
<item <item
android:drawable="@drawable/ic_affilation_member" android:drawable="@color/green_A400"
android:minLevel="1" android:minLevel="1"
android:maxLevel="1" /> android:maxLevel="1" />
<item <item
android:drawable="@drawable/ic_affilation_admin" android:drawable="@color/amber_A100"
android:minLevel="2" android:minLevel="2"
android:maxLevel="2" /> android:maxLevel="2" />
<item <item
android:drawable="@drawable/ic_affilation_owner" android:drawable="@color/deep_orange_A100"
android:minLevel="3" android:minLevel="3"
android:maxLevel="3" /> android:maxLevel="3" />
<item <item
android:drawable="@drawable/ic_affilation_outcast" android:drawable="@android:color/transparent"
android:minLevel="4" android:minLevel="4"
android:maxLevel="4" /> android:maxLevel="4" />
</level-list> </level-list>
\ No newline at end of file
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
android:layout_height="@dimen/avatar_size_toolbar" android:layout_height="@dimen/avatar_size_toolbar"
android:layout_marginLeft="2dip" android:layout_marginLeft="2dip"
android:scaleType="fitXY" android:scaleType="fitXY"
android:src="@drawable/ic_affilation" android:src="@drawable/ic_affiliation"
/> />
<RelativeLayout <RelativeLayout
......
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