1

I'm building an application using CalendarView. My issue is, that I don't find the way to customize the calendar style.

This is my layout

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/calendario_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="horizontal" >

    <CalendarView
        android:id="@+id/calendarView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        />

</LinearLayout>

When I show this screen, I get the month's name and the year, like in the photo.

Sample photo

How can I customize the CalendarView style?

blahdiblah
  • 33,069
  • 21
  • 98
  • 152
Mun0n
  • 4,438
  • 4
  • 28
  • 46
  • you can't customise CalanderView, DatePicker and TimePicker . – Shakeeb Ayaz Oct 01 '13 at 09:32
  • so, how can I show the numbers of the month? There are some attributes to customize the CalendarView...But I can't see nothing...because i can't get the days numbers. I need an example! Is what I'm asking for – Mun0n Oct 01 '13 at 09:43

1 Answers1

2

for designing the calendar you can try this Link and change the

android:layout_height="wrap_content"

to

android:layout_height="match_parent"

this might also help you Link

Community
  • 1
  • 1
vish
  • 168
  • 2
  • 13