made a ‘Custom view’ as a calendar…. Cool :)

made a ‘Custom view’ as a calendar…. Cool 🙂

LL.bindClass(“android.widget.FrameLayout”);

LL.bindClass(“android.view.Gravity”);

LL.bindClass(“android.widget.CalendarView”);

var context = LL.getContext();

var calendarView = new CalendarView(context);

var lp = new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT);

lp.gravity = Gravity.TOP;

calendarView.setLayoutParams(lp);

item.setVerticalGrab(true);

return calendarView;

]]>

3 Commentsto made a ‘Custom view’ as a calendar…. Cool :)

  1. Anonymous says:

    < ![CDATA[

    This is awesome

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Wow excellent work.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    I tried too, but the customview disappeared as soon as I relaunch LL….

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *