calendar - Android Library for a Week View Scheduler (no dates) -


so developing android app version of our campus student portal.

so there exists feature shows "schedule" of classes 1 student has, , looks in web app equivalent:

enter image description here

the problem is, have yet find existing library conforms feature. see calendars week views, exact dates. i need simple scheduler days of sunday - saturday, timetable @ row headers, , no months, dates, or years shown exact.

also because whole timetable seems space costly, efficient view instead shows timetable 1 day only, upon scrolling left or right, navigates other days.

one library came close alamkanak's week view, there's week view limits show 1 day within viewport, still shows date, unnecessary.

enter image description here

do have library suggestions fits feature is? or workaround modification existing library (like 1 above) changes show week view only no dates , time table.

  1. use xml file

      <?xml version="1.0" encoding="utf-8"?>   <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"   xmlns:tools="http://schemas.android.com/tools"   android:layout_width="match_parent"   android:layout_height="match_parent"   android:orientation="horizontal"   android:paddingbottom="@dimen/activity_vertical_margin"   android:weightsum="2"  tools:context="com.mobilefirst.vediosurfacedemo.gridactivity">  <linearlayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="0.3" android:orientation="vertical">  <gridview xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/gridview1"     android:layout_width="match_parent"     android:layout_height="50dp"     android:layout_gravity="center_horizontal"     android:listselector="@android:color/transparent"     android:numcolumns="7"     android:stretchmode="columnwidth" />     <gridview xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/gridview2"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:layout_gravity="center_horizontal"     android:layout_margintop="20dp"     android:background="@null"     android:choicemode="multiplechoicemodal"     android:listselector="@android:color/transparent"     android:numcolumns="7"     android:stretchmode="columnwidth" />    </linearlayout>     <linearlayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.6" android:orientation="vertical">   <gridview xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/gridview"     android:layout_width="match_parent"     android:layout_height="50dp"     android:layout_gravity="center_horizontal"     android:listselector="@android:color/transparent"     android:numcolumns="1"     android:stretchmode="columnwidth" />  <gridview xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/gridview3"     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:layout_gravity="center_horizontal"     android:layout_margintop="20dp"     android:background="@null"     android:listselector="@android:color/transparent"     android:numcolumns="1"     android:stretchmode="columnwidth" />       </linearlayout>    </linearlayout> 
  2. for gridview2 , gridview3 use same layout file. give same web app.

  3. set gridview1 weekdays arrayadapter.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -