|
1 | | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
2 | | - xmlns:tools="http://schemas.android.com/tools" |
3 | | - xmlns:app="http://schemas.android.com/apk/res-auto" |
4 | | - android:layout_width="match_parent" |
5 | | - android:layout_height="match_parent" |
6 | | - tools:context=".BaseActivity"> |
| 1 | +<RelativeLayout |
| 2 | + xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" |
| 3 | + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" |
| 4 | + android:layout_height="match_parent" tools:context=".BaseActivity"> |
7 | 5 |
|
8 | 6 | <com.alamkanak.weekview.WeekView |
9 | | - android:id="@+id/weekView" |
10 | | - android:layout_width="match_parent" |
11 | | - android:layout_height="match_parent" |
12 | | - app:eventTextColor="@android:color/white" |
13 | | - app:headerColumnTextColor="@color/toolbar_text" |
14 | | - app:noOfVisibleDays="3" |
15 | | - app:minTime="4" |
16 | | - app:maxTime="16" |
17 | | - app:autoLimitTime="false" |
18 | | - app:headerRowBackgroundColor="@color/toolbar" |
19 | | - app:dayBackgroundColor="#05000000" |
20 | | - app:todayColumnBackgroundColor="#1848adff" |
21 | | - app:todayHeaderTextColor="@color/accent" |
22 | | - app:newEventTimeResolutionInMinutes="15" |
23 | | - app:timeColumnResolution="60" |
24 | | - app:minOverlappingMinutes="5" /> |
| 7 | + android:id="@+id/weekView" android:layout_width="match_parent" android:layout_height="match_parent" |
| 8 | + app:autoLimitTime="false" app:dayBackgroundColor="#05000000" app:headerColumnTextColor="@color/toolbar_text" app:headerRowBackgroundColor="@color/toolbar" |
| 9 | + app:maxTime="16" app:minOverlappingMinutes="5" app:minTime="4" |
| 10 | + app:newEventTimeResolutionInMinutes="15" app:noOfVisibleDays="3" |
| 11 | + app:timeColumnResolution="60" app:todayColumnBackgroundColor="#1848adff" app:todayHeaderTextColor="@color/accent"/> |
25 | 12 |
|
26 | 13 | <TextView |
27 | | - android:id="@+id/draggable_view" |
28 | | - android:layout_width="wrap_content" |
29 | | - android:layout_height="wrap_content" |
30 | | - android:textColor="@android:color/white" |
31 | | - android:background="#ffff0000" |
32 | | - android:padding="3dp" |
33 | | - android:text="@string/drag_me" /> |
| 14 | + android:id="@+id/draggable_view" android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 15 | + android:background="#ffff0000" android:padding="3dp" android:text="@string/drag_me" |
| 16 | + android:textColor="@android:color/white"/> |
34 | 17 |
|
35 | 18 | </RelativeLayout> |
0 commit comments