Fixed invisible checkboxes in repeat control set

pull/14/head
Sam Bosley 13 years ago
parent 2d78f94a01
commit 67c2776472

@ -101,7 +101,6 @@ public class RepeatControlSet extends PopupControlSet {
int dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK); int dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK);
checkBox.setPadding(0, 0, 0, 0); checkBox.setPadding(0, 0, 0, 0);
checkBox.setLayoutParams(lp); checkBox.setLayoutParams(lp);
checkBox.setBackgroundResource(0);
checkBox.setTag(Weekday.values()[dayOfWeek - 1]); checkBox.setTag(Weekday.values()[dayOfWeek - 1]);
checkBox.setButtonDrawable(R.drawable.btn_check_small); checkBox.setButtonDrawable(R.drawable.btn_check_small);

@ -42,7 +42,8 @@
<LinearLayout android:id="@+id/repeatDayOfWeekContainer" <LinearLayout android:id="@+id/repeatDayOfWeekContainer"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:gravity="center"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout

Loading…
Cancel
Save