Advertisement
alamkanak

Android Week View Attributes

Dec 22nd, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3.  
  4.     <!-- Attributes for Android Week View Library: https://github.com/alamkanak/Android-Week-View -->
  5.     <declare-styleable name="WeekView">
  6.         <attr name="firstDayOfWeek" format="enum">
  7.             <enum name="sunday" value="1"/>
  8.             <enum name="monday" value="2"/>
  9.             <enum name="tuesday" value="3"/>
  10.             <enum name="wednesday" value="4"/>
  11.             <enum name="thursday" value="5"/>
  12.             <enum name="friday" value="6"/>
  13.             <enum name="saturday" value="7"/>
  14.         </attr>
  15.         <attr name="hourHeight" format="dimension"/>
  16.         <attr name="textSize" format="dimension"/>
  17.         <attr name="eventTextSize" format="dimension"/>
  18.         <attr name="headerColumnPadding" format="dimension"/>
  19.         <attr name="headerRowPadding" format="dimension"/>
  20.         <attr name="columnGap" format="dimension"/>
  21.         <attr name="headerColumnTextColor" format="color"/>
  22.         <attr name="noOfVisibleDays" format="integer"/>
  23.         <attr name="headerRowBackgroundColor" format="color"/>
  24.         <attr name="dayBackgroundColor" format="color"/>
  25.         <attr name="hourSeparatorColor" format="color"/>
  26.         <attr name="todayBackgroundColor" format="color"/>
  27.         <attr name="todayHeaderTextColor" format="color"/>
  28.         <attr name="hourSeparatorHeight" format="dimension"/>
  29.         <attr name="eventTextColor" format="color"/>
  30.         <attr name="eventPadding" format="dimension"/>
  31.         <attr name="headerColumnBackground" format="color"/>
  32.         <attr name="dayNameLength" format="enum">
  33.             <enum name="length_short" value="1"/>
  34.             <enum name="length_long" value="2"/>
  35.         </attr>
  36.         <attr name="overlappingEventGap" format="dimension"/>
  37.         <attr name="eventMarginVertical" format="dimension"/>
  38.  
  39.     </declare-styleable>
  40.  
  41. </resources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement