Temporary fix for wrong course icons

This commit is contained in:
Bennet Brunsen committed 2015-04-16 16:24:56 +02:00
1 parent 78182d451a
commit e58ab740bd
5 files changed
+7 -4

No files matched your search

@@ -172,9 +172,9 @@
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center_horizontal"
android:textAppearance="?textSmall"
tools:drawableTop="@drawable/course_updown_64dp_dark"
android:textAppearance="?textLarge"
tools:text="012" />
<!--tools:drawableTop="@drawable/course_updown_64dp_dark" -->
</RelativeLayout>
</RelativeLayout>
@@ -208,7 +208,8 @@
android:layout_margin="@dimen/default_margin_half"
android:layout_toLeftOf="@+id/start_course_value"
android:layout_toStartOf="@+id/start_course_value"
tools:src="@drawable/course_triangle_48dp_dark" />
tools:src="@drawable/course_triangle_48dp_dark"
android:visibility="gone"/>
<TextView
android:id="@+id/start_course_value"
@@ -80,6 +80,7 @@ public class CourseNameAdapter extends BaseAdapter implements View.OnClickListen
if (drawable != null) {
flag.setImageDrawable(drawable);
}
flag.setVisibility(View.GONE);
}
convertView.setOnClickListener(this);
@@ -150,7 +150,7 @@ public class SetupPanelFragment extends BasePanelFragment {
}
drawable = BitmapHelper.getAttrDrawable(getActivity(), resId);
}
mCourseValue.setCompoundDrawablesWithIntrinsicBounds(null, drawable, null, null);
//mCourseValue.setCompoundDrawablesWithIntrinsicBounds(null, drawable, null, null);
}
}
@@ -164,6 +164,7 @@ public class MainScheduleFragment extends BaseFragment implements View.OnClickLi
if (drawable != null) {
mCourseSymbol.setImageDrawable(drawable);
}
mCourseSymbol.setVisibility(View.GONE);
}
}
}