mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	- Rewrote Category to Kotlin
- Moved category to ui - Reworked Animation (smoother) - Updated TextDrawable
This commit is contained in:
		| @@ -4,6 +4,7 @@ | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:gravity="center"> | ||||
|  | ||||
|     <include layout="@layout/toolbar"/> | ||||
| @@ -12,9 +13,10 @@ | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent" | ||||
|         android:layout_marginTop="?attr/actionBarSize" | ||||
|         android:id="@+id/categories_list" | ||||
|         android:id="@+id/recycler" | ||||
|         android:choiceMode="multipleChoice" | ||||
|         android:listSelector="@color/list_choice_pressed_bg_light" /> | ||||
|         android:listSelector="@color/list_choice_pressed_bg_light" | ||||
|         tools:listitem="@layout/item_edit_categories"/> | ||||
|  | ||||
|     <android.support.design.widget.FloatingActionButton | ||||
|         android:id="@+id/fab" | ||||
| @@ -25,7 +27,7 @@ | ||||
|         android:scaleType="fitCenter" | ||||
|         android:src="@drawable/ic_add_white_24dp" | ||||
|         app:backgroundTint="@color/colorPrimary" | ||||
|         app:layout_anchor="@id/categories_list" | ||||
|         app:layout_anchor="@id/recycler" | ||||
|         app:layout_anchorGravity="bottom|right|end" | ||||
|         app:layout_behavior="eu.kanade.tachiyomi.ui.base.fab.FABAnimationUpDown"/> | ||||
|  | ||||
|   | ||||
| @@ -3,8 +3,8 @@ | ||||
|                 xmlns:tools="http://schemas.android.com/tools" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="?android:attr/listPreferredItemHeightLarge" | ||||
|                 android:paddingTop="@dimen/margin_top" | ||||
|                 android:paddingBottom="@dimen/margin_bottom" | ||||
|                 android:paddingTop="8dp" | ||||
|                 android:paddingBottom="8dp" | ||||
|                 android:background="@drawable/selector_chapter_light"> | ||||
|  | ||||
|     <ImageView | ||||
| @@ -14,7 +14,6 @@ | ||||
|         android:layout_alignParentLeft="true" | ||||
|         android:layout_alignParentStart="true" | ||||
|         android:layout_centerInParent="true" | ||||
|         android:elevation="4dp" | ||||
|         android:clickable="true" | ||||
|         android:layout_marginLeft="@dimen/margin_left" | ||||
|         android:layout_marginStart="@dimen/margin_left" | ||||
| @@ -30,8 +29,10 @@ | ||||
|         android:layout_marginRight="@dimen/margin_right" | ||||
|         android:layout_marginEnd="@dimen/margin_right" | ||||
|         android:scaleType="center" | ||||
|         android:layout_centerInParent="true" | ||||
|         android:layout_alignParentRight="true" | ||||
|         android:src="@drawable/ic_reorder_grey_600_24dp"/> | ||||
|         android:layout_alignParentEnd="true" | ||||
|         android:src="@drawable/ic_action_reorder"/> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@+id/title" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user