Comments (2)
here layout files:
main_activity.xml
<RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2"
android:background="@color/colorPrimaryDark">
<!-- left content -->
</RelativeLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="5"
android:orientation="vertical">
<FrameLayout
android:id="@+id/content_main"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
fragment_main.xml
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Fragment content" />
<RelativeLayout
android:id="@+id/data_nav_main"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/view_data_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/holo_orange_light"
android:paddingBottom="6dp"
android:paddingTop="6dp">
<TextView
android:id="@+id/data_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:gravity="center_horizontal"
android:text="show/hide calendar"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/data_nav_calendar_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/view_data_nav"
android:background="#aacccccc"
android:visibility="gone">
<com.p_v.flexiblecalendar.FlexibleCalendarView
android:id="@+id/data_nav_calendarView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white"
android:paddingLeft="100dp"
android:paddingRight="100dp" />
</RelativeLayout>
</RelativeLayout>
from flexiblecalendar.
I solved replacing LinearLayout with RelativeLayout
Thanks
from flexiblecalendar.
Related Issues (20)
- Calendar month not show all dates HOT 1
- How to convert month to weekview in the library HOT 1
- Populate event on calendar load - how to get start and end date HOT 1
- On month scroll / moving to next / previous month HOT 1
- Event dot is not showing for Today's event HOT 1
- Date selected remains persistent on month change. HOT 6
- Cannot change color of selected date (text)
- How can I setEvent on current day? HOT 4
- Remove android:label from the Manifest
- Event color issue HOT 1
- Calendar not showing correctly on tablet in landscape mode
- how to unselect selected date by click selected date
- Add event dyanamically
- How to set start and End date for Calender? HOT 1
- Scrolling Issue in Flexible Calender
- designing
- How to get start and End date for Calender?
- How to change calendar number convert arabic?
- Attempt to invoke virtual method 'boolean com.p_v.flexiblecalendar.entity.SelectedDateItem.equals(java.lang.Object)' on a null object reference
- How can i set visible only next 14 days
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexiblecalendar.