Android日歷庫:Android Week View

jopen 10年前發布 | 38K 次閱讀 Android開發 移動開發 Android Week View

一個Android庫來顯示應用程序中的日歷(周視圖或日視圖)。它支持自定義樣式。

Android日歷庫:Android Week View

Please note that this project is still under development. I will be happy if you collaborate in this project and help it become even more polished.

</blockquote>

特性

  • Week view calendar
  • Day view calendar
  • Custom styling
  • Horizontal and vertical scrolling
  • Infinite horizontal scrolling
  • Live preview of custom styling in xml preview window

// Get a reference for the week view in the layout.
mWeekView = (WeekView) findViewById(R.id.weekView);

// Set an action when any event is clicked.
mWeekView.setOnEventClickListener(mEventClickListener);

// The week view has infinite scrolling horizontally. We have to provide the events of a
// month every time the month changes on the week view.
mWeekView.setMonthChangeListener(mMonthChangeListener);

// Set long press listener for events.
mWeekView.setEventLongPressListener(mEventLongPressListener);

項目主頁:http://www.baiduhome.net/lib/view/home/1413643157840

     

       本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
       轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
       本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!