diff --git a/kalendar/src/main/java/com/yalantis/kalendar/model/KalendarStylable.kt b/kalendar/src/main/java/com/yalantis/kalendar/model/KalendarStylable.kt deleted file mode 100644 index ef1a2e6..0000000 --- a/kalendar/src/main/java/com/yalantis/kalendar/model/KalendarStylable.kt +++ /dev/null @@ -1,31 +0,0 @@ -package com.yalantis.kalendar.model - -import android.content.res.TypedArray -import android.graphics.Typeface -import com.yalantis.kalendar.EMPTY_STRING -import com.yalantis.kalendar.R - -class KalendarStylable(attrs: TypedArray) { - - val dragHeight = attrs.getDimensionPixelSize(R.styleable.Kalendar_dragHeight, attrs.resources.getDimensionPixelSize(R.dimen.default_drag_height)) - var dragColor = attrs.getColor(R.styleable.Kalendar_dragColor, attrs.resources.getColor(R.color.light_gray)) - val dragText = attrs.getString(R.styleable.Kalendar_dragText) ?: EMPTY_STRING - var dragTextColor = attrs.getColor(R.styleable.Kalendar_dragTextColor, attrs.resources.getColor(R.color.drag_text_color)) - val dragTextSize = attrs.getDimensionPixelSize(R.styleable.Kalendar_dragTextSize, attrs.resources.getDimensionPixelSize(R.dimen.drag_text_size)) - var selectedDayDrawable = attrs.getResourceId(R.styleable.Kalendar_selectedDayDrawable, R.drawable.day_background) - val pageBackground = attrs.getColor(R.styleable.Kalendar_pageBackground, attrs.resources.getColor(android.R.color.white)) - - var dayTypeface: Typeface = Typeface.MONOSPACE - var weekDayTypeface: Typeface = Typeface.DEFAULT - var monthTypeface: Typeface = Typeface.DEFAULT_BOLD - - var monthSwitchBackground = R.drawable.ic_cell - var weekDayNamesBackground = R.drawable.ic_cell_1_line - - var selectedWeekBackground = R.drawable.selected_week_back - var unselectedWeekBackground = R.drawable.unselected_week - - init { - attrs.recycle() - } -} \ No newline at end of file diff --git a/sample/build.gradle b/sample/build.gradle index d716025..c938fe2 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -32,7 +32,7 @@ dependencies { implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' - implementation project(":kalendar") + implementation project(':vishnu') testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' diff --git a/sample/src/main/res/layout/activity_main.xml b/sample/src/main/res/layout/activity_main.xml index cc6e209..f6b17d6 100644 --- a/sample/src/main/res/layout/activity_main.xml +++ b/sample/src/main/res/layout/activity_main.xml @@ -21,7 +21,7 @@ android:layout_marginStart="16dp"/> - + package="com.yalantis.vishnu"> diff --git a/kalendar/src/main/java/com/yalantis/kalendar/Extentions.kt b/vishnu/src/main/java/com/yalantis/vishnu/Extentions.kt similarity index 98% rename from kalendar/src/main/java/com/yalantis/kalendar/Extentions.kt rename to vishnu/src/main/java/com/yalantis/vishnu/Extentions.kt index c18e71b..be924e5 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/Extentions.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/Extentions.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar +package com.yalantis.vishnu import android.view.View import java.util.* diff --git a/kalendar/src/main/java/com/yalantis/kalendar/MonthPagerAdapter.kt b/vishnu/src/main/java/com/yalantis/vishnu/MonthPagerAdapter.kt similarity index 82% rename from kalendar/src/main/java/com/yalantis/kalendar/MonthPagerAdapter.kt rename to vishnu/src/main/java/com/yalantis/vishnu/MonthPagerAdapter.kt index 325ca4a..476df68 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/MonthPagerAdapter.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/MonthPagerAdapter.kt @@ -1,20 +1,21 @@ -package com.yalantis.kalendar +package com.yalantis.vishnu import android.util.SparseArray import android.view.View import android.view.ViewGroup import androidx.viewpager.widget.PagerAdapter -import com.yalantis.kalendar.model.KalendarStylable -import com.yalantis.kalendar.view.MonthPage +import com.yalantis.vishnu.interfaces.VishnuListener +import com.yalantis.vishnu.model.VishnuStylable +import com.yalantis.vishnu.view.MonthPage import java.util.* -class MonthPagerAdapter(private val listener: MonthPage.KalendarListener) : PagerAdapter() { +class MonthPagerAdapter(private val listener: VishnuListener) : PagerAdapter() { private val months = mutableListOf() private val pages = SparseArray() - lateinit var stylable: KalendarStylable + lateinit var stylable: VishnuStylable override fun isViewFromObject(p0: View, p1: Any) = p0 === p1 diff --git a/kalendar/src/main/java/com/yalantis/kalendar/implementation/DateManagerImpl.kt b/vishnu/src/main/java/com/yalantis/vishnu/implementation/DateManagerImpl.kt similarity index 93% rename from kalendar/src/main/java/com/yalantis/kalendar/implementation/DateManagerImpl.kt rename to vishnu/src/main/java/com/yalantis/vishnu/implementation/DateManagerImpl.kt index 61707a3..5f719b3 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/implementation/DateManagerImpl.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/implementation/DateManagerImpl.kt @@ -1,8 +1,8 @@ -package com.yalantis.kalendar.implementation +package com.yalantis.vishnu.implementation -import com.yalantis.kalendar.* -import com.yalantis.kalendar.interfaces.DateManager -import com.yalantis.kalendar.interfaces.DateView +import com.yalantis.vishnu.* +import com.yalantis.vishnu.interfaces.DateManager +import com.yalantis.vishnu.interfaces.DateView import java.util.* import java.util.Calendar.* diff --git a/kalendar/src/main/java/com/yalantis/kalendar/implementation/MoveManagerImpl.kt b/vishnu/src/main/java/com/yalantis/vishnu/implementation/MoveManagerImpl.kt similarity index 97% rename from kalendar/src/main/java/com/yalantis/kalendar/implementation/MoveManagerImpl.kt rename to vishnu/src/main/java/com/yalantis/vishnu/implementation/MoveManagerImpl.kt index 65727a8..36baa18 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/implementation/MoveManagerImpl.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/implementation/MoveManagerImpl.kt @@ -1,12 +1,12 @@ -package com.yalantis.kalendar.implementation +package com.yalantis.vishnu.implementation import android.animation.Animator import android.animation.ValueAnimator import android.view.MotionEvent import android.view.animation.DecelerateInterpolator -import com.yalantis.kalendar.* -import com.yalantis.kalendar.interfaces.MoveManager -import com.yalantis.kalendar.interfaces.ViewProvider +import com.yalantis.vishnu.* +import com.yalantis.vishnu.interfaces.MoveManager +import com.yalantis.vishnu.interfaces.ViewProvider class MoveManagerImpl(private val viewProvider: ViewProvider) : MoveManager { diff --git a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/DateManager.kt b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/DateManager.kt similarity index 96% rename from kalendar/src/main/java/com/yalantis/kalendar/interfaces/DateManager.kt rename to vishnu/src/main/java/com/yalantis/vishnu/interfaces/DateManager.kt index 8a57e68..3fb2149 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/DateManager.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/DateManager.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.interfaces +package com.yalantis.vishnu.interfaces import java.util.* diff --git a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/DateView.kt b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/DateView.kt similarity index 80% rename from kalendar/src/main/java/com/yalantis/kalendar/interfaces/DateView.kt rename to vishnu/src/main/java/com/yalantis/vishnu/interfaces/DateView.kt index bda61f8..3f64f47 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/DateView.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/DateView.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.interfaces +package com.yalantis.vishnu.interfaces import java.util.* diff --git a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/MoveManager.kt b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/MoveManager.kt similarity index 92% rename from kalendar/src/main/java/com/yalantis/kalendar/interfaces/MoveManager.kt rename to vishnu/src/main/java/com/yalantis/vishnu/interfaces/MoveManager.kt index a7cfc18..db9d591 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/MoveManager.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/MoveManager.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.interfaces +package com.yalantis.vishnu.interfaces import android.view.MotionEvent diff --git a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/ViewProvider.kt b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/ViewProvider.kt similarity index 97% rename from kalendar/src/main/java/com/yalantis/kalendar/interfaces/ViewProvider.kt rename to vishnu/src/main/java/com/yalantis/vishnu/interfaces/ViewProvider.kt index c449c6e..d9979e5 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/interfaces/ViewProvider.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/ViewProvider.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.interfaces +package com.yalantis.vishnu.interfaces interface ViewProvider { diff --git a/vishnu/src/main/java/com/yalantis/vishnu/interfaces/VishnuListener.kt b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/VishnuListener.kt new file mode 100644 index 0000000..9d8cfa4 --- /dev/null +++ b/vishnu/src/main/java/com/yalantis/vishnu/interfaces/VishnuListener.kt @@ -0,0 +1,35 @@ +package com.yalantis.vishnu.interfaces + +import com.yalantis.vishnu.view.MonthPage +import java.util.* + +interface VishnuListener { + /** + * Invokes when user clicks on current page day view + */ + fun onDayClick(date: Date) + + /** + * Invokes when current page collapsed/expanded state changed + */ + + fun onStateChanged(isCollapsed: Boolean) + + /** + * Invokes when current page height changed + */ + + fun onHeightChanged(newHeight: Int) + + /** + * Invokes when clicks on next/previous month + */ + + fun onMonthChanged(forward: Boolean, date: Date? = null) + + /** + * Invokes when current page size has been measured + */ + + fun onSizeMeasured(monthPage: MonthPage, collapsedHeight: Int, totalHeight: Int) +} diff --git a/kalendar/src/main/java/com/yalantis/kalendar/model/KAction.kt b/vishnu/src/main/java/com/yalantis/vishnu/model/KAction.kt similarity index 82% rename from kalendar/src/main/java/com/yalantis/kalendar/model/KAction.kt rename to vishnu/src/main/java/com/yalantis/vishnu/model/KAction.kt index 99bc093..b8e538f 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/model/KAction.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/model/KAction.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.model +package com.yalantis.vishnu.model const val ACTION_NEXT_MONTH = 0 const val ACTION_PREV_MONTH = 1 diff --git a/vishnu/src/main/java/com/yalantis/vishnu/model/VishnuStylable.kt b/vishnu/src/main/java/com/yalantis/vishnu/model/VishnuStylable.kt new file mode 100644 index 0000000..4caa1fd --- /dev/null +++ b/vishnu/src/main/java/com/yalantis/vishnu/model/VishnuStylable.kt @@ -0,0 +1,34 @@ +package com.yalantis.vishnu.model + +import android.content.Context +import android.content.res.TypedArray +import android.graphics.Typeface +import androidx.core.content.ContextCompat +import com.yalantis.vishnu.EMPTY_STRING +import com.yalantis.vishnu.R + +class VishnuStylable(private var context: Context?, attrs: TypedArray) { + + val dragHeight = attrs.getDimensionPixelSize(R.styleable.Vishnu_dragHeight, attrs.resources.getDimensionPixelSize(R.dimen.default_drag_height)) + var dragColor = attrs.getColor(R.styleable.Vishnu_dragColor, ContextCompat.getColor(requireNotNull(context), R.color.light_gray)) + val dragText = attrs.getString(R.styleable.Vishnu_dragText) ?: EMPTY_STRING + var dragTextColor = attrs.getColor(R.styleable.Vishnu_dragTextColor, ContextCompat.getColor(requireNotNull(context),R.color.drag_text_color)) + val dragTextSize = attrs.getDimensionPixelSize(R.styleable.Vishnu_dragTextSize, attrs.resources.getDimensionPixelSize(R.dimen.drag_text_size)) + var selectedDayDrawable = attrs.getResourceId(R.styleable.Vishnu_selectedDayDrawable, R.drawable.day_background) + val pageBackground = attrs.getColor(R.styleable.Vishnu_pageBackground, ContextCompat.getColor(requireNotNull(context),android.R.color.white)) + + var dayTypeface: Typeface = Typeface.MONOSPACE + var weekDayTypeface: Typeface = Typeface.DEFAULT + var monthTypeface: Typeface = Typeface.DEFAULT_BOLD + + var monthSwitchBackground = R.drawable.ic_cell + var weekDayNamesBackground = R.drawable.ic_cell_1_line + + var selectedWeekBackground = R.drawable.selected_week_back + var unselectedWeekBackground = R.drawable.unselected_week + + init { + attrs.recycle() + context = null + } +} \ No newline at end of file diff --git a/kalendar/src/main/java/com/yalantis/kalendar/view/Day.kt b/vishnu/src/main/java/com/yalantis/vishnu/view/Day.kt similarity index 91% rename from kalendar/src/main/java/com/yalantis/kalendar/view/Day.kt rename to vishnu/src/main/java/com/yalantis/vishnu/view/Day.kt index 6b9026f..8b48161 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/view/Day.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/view/Day.kt @@ -1,12 +1,12 @@ -package com.yalantis.kalendar.view +package com.yalantis.vishnu.view import android.content.Context import android.view.Gravity import android.widget.LinearLayout import android.widget.TextView import androidx.appcompat.widget.AppCompatTextView -import com.yalantis.kalendar.EMPTY_INT -import com.yalantis.kalendar.EMPTY_STRING +import com.yalantis.vishnu.EMPTY_INT +import com.yalantis.vishnu.EMPTY_STRING import java.util.* class Day(context: Context) : AppCompatTextView(context) { diff --git a/kalendar/src/main/java/com/yalantis/kalendar/view/Month.kt b/vishnu/src/main/java/com/yalantis/vishnu/view/Month.kt similarity index 94% rename from kalendar/src/main/java/com/yalantis/kalendar/view/Month.kt rename to vishnu/src/main/java/com/yalantis/vishnu/view/Month.kt index 85955fd..4afbaf2 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/view/Month.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/view/Month.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.view +package com.yalantis.vishnu.view import android.content.Context import android.graphics.Typeface @@ -6,7 +6,7 @@ import android.view.ViewGroup.LayoutParams.WRAP_CONTENT import android.widget.LinearLayout import android.widget.TextView import androidx.appcompat.widget.AppCompatTextView -import com.yalantis.kalendar.EMPTY_STRING +import com.yalantis.vishnu.EMPTY_STRING class Month(context: Context) : AppCompatTextView(context) { companion object { diff --git a/kalendar/src/main/java/com/yalantis/kalendar/view/MonthPage.kt b/vishnu/src/main/java/com/yalantis/vishnu/view/MonthPage.kt similarity index 92% rename from kalendar/src/main/java/com/yalantis/kalendar/view/MonthPage.kt rename to vishnu/src/main/java/com/yalantis/vishnu/view/MonthPage.kt index f23f825..7e69e7f 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/view/MonthPage.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/view/MonthPage.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.view +package com.yalantis.vishnu.view import android.animation.LayoutTransition import android.annotation.SuppressLint @@ -12,19 +12,16 @@ import android.view.ViewGroup.LayoutParams.MATCH_PARENT import android.widget.LinearLayout import android.widget.TextView import androidx.core.content.ContextCompat -import com.yalantis.kalendar.* -import com.yalantis.kalendar.implementation.DateManagerImpl -import com.yalantis.kalendar.implementation.MoveManagerImpl -import com.yalantis.kalendar.interfaces.DateManager -import com.yalantis.kalendar.interfaces.DateView -import com.yalantis.kalendar.interfaces.MoveManager -import com.yalantis.kalendar.interfaces.ViewProvider -import com.yalantis.kalendar.model.* +import com.yalantis.vishnu.* +import com.yalantis.vishnu.implementation.DateManagerImpl +import com.yalantis.vishnu.implementation.MoveManagerImpl +import com.yalantis.vishnu.interfaces.* +import com.yalantis.vishnu.model.* import java.util.* import kotlin.collections.ArrayList @SuppressLint("ViewConstructor") -class MonthPage(context: Context, stylable: KalendarStylable) : LinearLayout(context), ViewProvider, +class MonthPage(context: Context, stylable: VishnuStylable) : LinearLayout(context), ViewProvider, Day.OnDayClickListener, DateView { private var dragTextSize = EMPTY_INT @@ -55,7 +52,7 @@ class MonthPage(context: Context, stylable: KalendarStylable) : LinearLayout(con private var collapsedHeight = EMPTY_INT - var listener: KalendarListener? = null + var listener: VishnuListener? = null lateinit var pageDate: Date @@ -131,7 +128,7 @@ class MonthPage(context: Context, stylable: KalendarStylable) : LinearLayout(con obtainStylable(stylable) } - private fun obtainStylable(stylable: KalendarStylable) { + private fun obtainStylable(stylable: VishnuStylable) { dragText = stylable.dragText dragColor = stylable.dragColor dragHeight = stylable.dragHeight @@ -592,35 +589,4 @@ class MonthPage(context: Context, stylable: KalendarStylable) : LinearLayout(con week.y = newTop - week.height week.layoutParams = week.layoutParams.apply { height = week.height } } - - interface KalendarListener { - /** - * Invokes when user clicks on current page day view - */ - fun onDayClick(date: Date) - - /** - * Invokes when current page collapsed/expanded state changed - */ - - fun onStateChanged(isCollapsed: Boolean) - - /** - * Invokes when current page height changed - */ - - fun onHeightChanged(newHeight: Int) - - /** - * Invokes when clicks on next/previous month - */ - - fun onMonthChanged(forward: Boolean, date: Date? = null) - - /** - * Invokes when current page size has been measured - */ - - fun onSizeMeasured(monthPage: MonthPage, collapsedHeight: Int, totalHeight: Int) - } } \ No newline at end of file diff --git a/kalendar/src/main/java/com/yalantis/kalendar/view/Kalendar.kt b/vishnu/src/main/java/com/yalantis/vishnu/view/Vishnu.kt similarity index 93% rename from kalendar/src/main/java/com/yalantis/kalendar/view/Kalendar.kt rename to vishnu/src/main/java/com/yalantis/vishnu/view/Vishnu.kt index 76aa958..116d035 100644 --- a/kalendar/src/main/java/com/yalantis/kalendar/view/Kalendar.kt +++ b/vishnu/src/main/java/com/yalantis/vishnu/view/Vishnu.kt @@ -1,4 +1,4 @@ -package com.yalantis.kalendar.view +package com.yalantis.vishnu.view import android.content.Context import android.graphics.Typeface @@ -9,24 +9,24 @@ import android.widget.FrameLayout import androidx.annotation.ColorRes import androidx.annotation.DrawableRes import androidx.viewpager.widget.ViewPager -import com.yalantis.kalendar.* -import com.yalantis.kalendar.model.KalendarStylable +import com.yalantis.vishnu.* +import com.yalantis.vishnu.interfaces.VishnuListener +import com.yalantis.vishnu.model.VishnuStylable import java.util.* -class Kalendar(context: Context, attributeSet: AttributeSet) : FrameLayout(context, attributeSet), - MonthPage.KalendarListener { +class Vishnu(context: Context, attributeSet: AttributeSet) : FrameLayout(context, attributeSet), VishnuListener { private lateinit var viewPager: ViewPager private var isFirstMonthInit = false - private lateinit var stylable: KalendarStylable + private lateinit var stylable: VishnuStylable private var previousPage = START_PAGE private var currentMonth: MonthPage? = null - var changeListener: MonthPage.KalendarListener? = null + var changeListener: VishnuListener? = null private val scrollListener = object : ViewPager.SimpleOnPageChangeListener() { override fun onPageSelected(position: Int) { @@ -129,7 +129,7 @@ class Kalendar(context: Context, attributeSet: AttributeSet) : FrameLayout(conte private fun makeWrapContent(position: Int) { val adapter = viewPager.adapter as MonthPagerAdapter - currentMonth= adapter.getPageAt(position) + currentMonth = adapter.getPageAt(position) viewPager.layoutParams = viewPager.layoutParams.apply { this.height = currentMonth?.getCurrentHeight() ?: WRAP_CONTENT } @@ -195,8 +195,8 @@ class Kalendar(context: Context, attributeSet: AttributeSet) : FrameLayout(conte id = View.generateViewId() layoutParams = FrameLayout.LayoutParams(WRAP_CONTENT, WRAP_CONTENT) addOnPageChangeListener(scrollListener) - adapter = MonthPagerAdapter(this@Kalendar).apply { - stylable = this@Kalendar.stylable + adapter = MonthPagerAdapter(this@Vishnu).apply { + stylable = this@Vishnu.stylable setMonths(createYear(Calendar.getInstance().time)) } } @@ -272,7 +272,7 @@ class Kalendar(context: Context, attributeSet: AttributeSet) : FrameLayout(conte */ private fun parseStyledAttributes(attributeSet: AttributeSet) { - stylable = KalendarStylable(context.obtainStyledAttributes(attributeSet, R.styleable.Kalendar)) + stylable = VishnuStylable(context, context.obtainStyledAttributes(attributeSet, R.styleable.Vishnu)) } diff --git a/kalendar/src/main/res/drawable/day_background.xml b/vishnu/src/main/res/drawable/day_background.xml similarity index 100% rename from kalendar/src/main/res/drawable/day_background.xml rename to vishnu/src/main/res/drawable/day_background.xml diff --git a/kalendar/src/main/res/drawable/ic_cell.xml b/vishnu/src/main/res/drawable/ic_cell.xml similarity index 100% rename from kalendar/src/main/res/drawable/ic_cell.xml rename to vishnu/src/main/res/drawable/ic_cell.xml diff --git a/kalendar/src/main/res/drawable/ic_cell_1_line.xml b/vishnu/src/main/res/drawable/ic_cell_1_line.xml similarity index 100% rename from kalendar/src/main/res/drawable/ic_cell_1_line.xml rename to vishnu/src/main/res/drawable/ic_cell_1_line.xml diff --git a/kalendar/src/main/res/drawable/selected_week_back.xml b/vishnu/src/main/res/drawable/selected_week_back.xml similarity index 100% rename from kalendar/src/main/res/drawable/selected_week_back.xml rename to vishnu/src/main/res/drawable/selected_week_back.xml diff --git a/kalendar/src/main/res/drawable/unselected_week.xml b/vishnu/src/main/res/drawable/unselected_week.xml similarity index 100% rename from kalendar/src/main/res/drawable/unselected_week.xml rename to vishnu/src/main/res/drawable/unselected_week.xml diff --git a/kalendar/src/main/res/values/attrs.xml b/vishnu/src/main/res/values/attrs.xml similarity index 92% rename from kalendar/src/main/res/values/attrs.xml rename to vishnu/src/main/res/values/attrs.xml index 97c3f62..e08759a 100644 --- a/kalendar/src/main/res/values/attrs.xml +++ b/vishnu/src/main/res/values/attrs.xml @@ -1,6 +1,6 @@ - + diff --git a/kalendar/src/main/res/values/colors.xml b/vishnu/src/main/res/values/colors.xml similarity index 100% rename from kalendar/src/main/res/values/colors.xml rename to vishnu/src/main/res/values/colors.xml diff --git a/kalendar/src/main/res/values/dimen.xml b/vishnu/src/main/res/values/dimen.xml similarity index 100% rename from kalendar/src/main/res/values/dimen.xml rename to vishnu/src/main/res/values/dimen.xml