diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-28 18:49:15 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-28 18:49:15 -0700 |
commit | ae5c55dcecef397fa1f36a4c13dd16d01b1baf0d (patch) | |
tree | 2f39fe923acb336ca5008b266a5f9c18016ba717 /library/src/main/res | |
parent | d52c787508bf5ba0023946228468731a82a1132d (diff) | |
download | kau-ae5c55dcecef397fa1f36a4c13dd16d01b1baf0d.tar.gz kau-ae5c55dcecef397fa1f36a4c13dd16d01b1baf0d.tar.bz2 kau-ae5c55dcecef397fa1f36a4c13dd16d01b1baf0d.zip |
Remove kau_ prefix for styleables
Diffstat (limited to 'library/src/main/res')
-rw-r--r-- | library/src/main/res/layout/kau_about_section_main.xml | 6 | ||||
-rw-r--r-- | library/src/main/res/layout/kau_activity_about.xml | 14 | ||||
-rw-r--r-- | library/src/main/res/layout/kau_activity_kpref.xml | 4 | ||||
-rw-r--r-- | library/src/main/res/layout/kau_recycler_textslider.xml | 4 | ||||
-rw-r--r-- | library/src/main/res/layout/kau_search_view.xml | 6 | ||||
-rw-r--r-- | library/src/main/res/values/attr.xml | 42 |
6 files changed, 38 insertions, 38 deletions
diff --git a/library/src/main/res/layout/kau_about_section_main.xml b/library/src/main/res/layout/kau_about_section_main.xml index 32b3f19..e501f60 100644 --- a/library/src/main/res/layout/kau_about_section_main.xml +++ b/library/src/main/res/layout/kau_about_section_main.xml @@ -12,13 +12,13 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - <ca.allanwang.kau.views.KauCutoutTextView + <ca.allanwang.kau.views.CutoutTextView android:id="@+id/about_main_cutout" android:layout_width="0dp" android:layout_height="@dimen/kau_about_header_height" android:minHeight="@dimen/kau_about_header_height" - app:kau_foregroundColor="?android:colorAccent" - app:kau_heightPercentageToScreen="0.5" + app:foregroundColor="?android:colorAccent" + app:heightPercentageToScreen="0.5" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> diff --git a/library/src/main/res/layout/kau_activity_about.xml b/library/src/main/res/layout/kau_activity_about.xml index a2db0e9..33cc781 100644 --- a/library/src/main/res/layout/kau_activity_about.xml +++ b/library/src/main/res/layout/kau_activity_about.xml @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<ca.allanwang.kau.widgets.KauElasticDragDismissFrameLayout +<ca.allanwang.kau.widgets.ElasticDragDismissFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/about_draggable_frame" android:layout_width="match_parent" android:layout_height="match_parent" - app:kau_dragDismissDistance="@dimen/kau_drag_dismiss_distance" - app:kau_dragDismissScale="0.95" + app:dragDismissDistance="@dimen/kau_drag_dismiss_distance" + app:dragDismissScale="0.95" tools:context=".about.AboutActivityBase"> <android.support.v4.view.ViewPager @@ -15,13 +15,13 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> - <ca.allanwang.kau.widgets.KauInkPageIndicator + <ca.allanwang.kau.widgets.InkPageIndicator android:id="@+id/about_indicator" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="top|center_horizontal" android:layout_marginTop="@dimen/kau_padding_normal" - app:kau_pageIndicatorColor="@color/kau_about_page_indicator_dark" - app:kau_currentPageIndicatorColor="@color/kau_about_page_indicator_dark_selected" /> + app:pageIndicatorColor="@color/kau_about_page_indicator_dark" + app:currentPageIndicatorColor="@color/kau_about_page_indicator_dark_selected" /> -</ca.allanwang.kau.widgets.KauElasticDragDismissFrameLayout> +</ca.allanwang.kau.widgets.ElasticDragDismissFrameLayout> diff --git a/library/src/main/res/layout/kau_activity_kpref.xml b/library/src/main/res/layout/kau_activity_kpref.xml index b3c0f78..05cacb5 100644 --- a/library/src/main/res/layout/kau_activity_kpref.xml +++ b/library/src/main/res/layout/kau_activity_kpref.xml @@ -24,12 +24,12 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> - <ca.allanwang.kau.widgets.KauTextSlider + <ca.allanwang.kau.widgets.TextSlider android:id="@+id/kau_toolbar_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" - app:kau_animation_type="slide_horizontal" /> + app:animation_type="slide_horizontal" /> </android.support.v7.widget.Toolbar> diff --git a/library/src/main/res/layout/kau_recycler_textslider.xml b/library/src/main/res/layout/kau_recycler_textslider.xml index f051902..1402cfb 100644 --- a/library/src/main/res/layout/kau_recycler_textslider.xml +++ b/library/src/main/res/layout/kau_recycler_textslider.xml @@ -13,12 +13,12 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> - <ca.allanwang.kau.widgets.KauTextSlider + <ca.allanwang.kau.widgets.TextSlider android:id="@+id/kau_toolbar_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" - app:kau_animation_type="slide_vertical" /> + app:animation_type="slide_vertical" /> </android.support.v7.widget.Toolbar> diff --git a/library/src/main/res/layout/kau_search_view.xml b/library/src/main/res/layout/kau_search_view.xml index cd1c4bd..ff9fd74 100644 --- a/library/src/main/res/layout/kau_search_view.xml +++ b/library/src/main/res/layout/kau_search_view.xml @@ -11,14 +11,14 @@ android:background="@color/kau_shadow_overlay" android:visibility="gone" /> - <ca.allanwang.kau.views.KauBoundedCardView + <ca.allanwang.kau.views.BoundedCardView android:id="@+id/search_cardview" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/kau_search_base_margin" android:layout_marginStart="@dimen/kau_search_base_margin" app:cardCornerRadius="@dimen/kau_search_base_corners" - app:kau_maxHeightPercent="0.9"> + app:maxHeightPercent="0.9"> <LinearLayout android:layout_width="match_parent" @@ -108,6 +108,6 @@ </LinearLayout> - </ca.allanwang.kau.views.KauBoundedCardView> + </ca.allanwang.kau.views.BoundedCardView> </merge>
\ No newline at end of file diff --git a/library/src/main/res/values/attr.xml b/library/src/main/res/values/attr.xml index 6a32807..daeb5e3 100644 --- a/library/src/main/res/values/attr.xml +++ b/library/src/main/res/values/attr.xml @@ -1,40 +1,40 @@ <?xml version="1.0" encoding="utf-8"?> -<resources> +<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName"> - <declare-styleable name="KauBoundedCardView"> - <attr name="kau_maxHeight" format="dimension" /> - <attr name="kau_maxHeightPercent" format="float" /> + <declare-styleable name="BoundedCardView"> + <attr name="maxHeight" format="dimension" /> + <attr name="maxHeightPercent" format="float" /> </declare-styleable> - <declare-styleable name="KauTextSlider"> - <attr name="kau_animation_type" format="enum"> + <declare-styleable name="TextSlider"> + <attr name="animation_type" format="enum"> <enum name="none" value="1000" /> <enum name="slide_horizontal" value="1001" /> <enum name="slide_vertical" value="1002" /> </attr> </declare-styleable> - <declare-styleable name="KauInkPageIndicator"> - <attr name="kau_dotDiameter" format="dimension" /> - <attr name="kau_dotGap" format="dimension" /> - <attr name="kau_animationDuration" format="integer" /> - <attr name="kau_pageIndicatorColor" format="color" /> - <attr name="kau_currentPageIndicatorColor" format="color" /> + <declare-styleable name="InkPageIndicator"> + <attr name="dotDiameter" format="dimension" /> + <attr name="dotGap" format="dimension" /> + <attr name="animationDuration" format="integer" /> + <attr name="pageIndicatorColor" format="color" /> + <attr name="currentPageIndicatorColor" format="color" /> </declare-styleable> - <declare-styleable name="KauElasticDragDismissFrameLayout"> - <attr name="kau_dragDismissDistance" format="dimension" /> - <attr name="kau_dragDismissFraction" format="float" /> - <attr name="kau_dragDismissScale" format="float" /> - <attr name="kau_dragElasticity" format="float" /> + <declare-styleable name="ElasticDragDismissFrameLayout"> + <attr name="dragDismissDistance" format="dimension" /> + <attr name="dragDismissFraction" format="float" /> + <attr name="dragDismissScale" format="float" /> + <attr name="dragElasticity" format="float" /> </declare-styleable> - <declare-styleable name="KauCutoutTextView"> - <attr name="kau_foregroundColor" format="color" /> + <declare-styleable name="CutoutTextView"> + <attr name="foregroundColor" format="color" /> <attr name="android:text" /> <attr name="android:minHeight" /> - <attr name="kau_heightPercentageToScreen" format="float" /> - <attr name="kau_font" format="string" /> + <attr name="heightPercentageToScreen" format="float" /> + <attr name="font"/> </declare-styleable> </resources>
\ No newline at end of file |