mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Experimental Anilist and Kitsu support (#586)
* Tracking tab with anilist support * Rename MangaSync to Track * Rename variables and methods to track * Kitsu implementation * Variables refactoring * Travis fix?
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/al.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/al.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/kitsu.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/kitsu.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 6.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/mal.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/drawable-xxxhdpi/mal.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.2 KiB | 
							
								
								
									
										9
									
								
								app/src/main/res/drawable/ic_done_white_18dp.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/src/main/res/drawable/ic_done_white_18dp.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="18dp" | ||||
|     android:height="18dp" | ||||
|     android:viewportWidth="24.0" | ||||
|     android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFFFF" | ||||
|         android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L9,16.2z"/> | ||||
| </vector> | ||||
| @@ -1,149 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <android.support.v7.widget.CardView | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:id="@+id/cv_mal" | ||||
|     style="@style/Theme.Widget.CardView" | ||||
|     > | ||||
|  | ||||
|     <RelativeLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:padding="@dimen/card_margin"> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/myanimelist_title_layout" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="?android:listPreferredItemHeightSmall" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:paddingLeft="?android:listPreferredItemPaddingLeft" | ||||
|             android:paddingRight="?android:listPreferredItemPaddingRight"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 android:text="Title"/> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/myanimelist_title" | ||||
|                 style="@style/TextAppearance.Medium.Button" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 android:text="@string/action_edit"/> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider1" | ||||
|             android:layout_width="fill_parent" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_below="@id/myanimelist_title_layout" | ||||
|             android:background="?android:attr/divider"/> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/myanimelist_status_layout" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="?android:listPreferredItemHeightSmall" | ||||
|             android:layout_below="@id/divider1" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:paddingLeft="?android:listPreferredItemPaddingLeft" | ||||
|             android:paddingRight="?android:listPreferredItemPaddingRight" | ||||
|             > | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 android:text="Status"/> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/myanimelist_status" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 tools:text="Reading"/> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider2" | ||||
|             android:layout_width="fill_parent" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_below="@id/myanimelist_status_layout" | ||||
|             android:background="?android:attr/divider"/> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/myanimelist_chapters_layout" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="?android:listPreferredItemHeightSmall" | ||||
|             android:layout_below="@id/divider2" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:paddingLeft="?android:listPreferredItemPaddingLeft" | ||||
|             android:paddingRight="?android:listPreferredItemPaddingRight"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 android:text="Chapters"/> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/myanimelist_chapters" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 tools:text="12/24"/> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider3" | ||||
|             android:layout_width="fill_parent" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_below="@id/myanimelist_chapters_layout" | ||||
|             android:background="?android:attr/divider"/> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/myanimelist_score_layout" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="?android:listPreferredItemHeightSmall" | ||||
|             android:layout_below="@id/divider3" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:paddingLeft="?android:listPreferredItemPaddingLeft" | ||||
|             android:paddingRight="?android:listPreferredItemPaddingRight"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 android:text="@string/score"/> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/myanimelist_score" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_centerVertical="true" | ||||
|                 tools:text="10"/> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|     </RelativeLayout> | ||||
|  | ||||
| </android.support.v7.widget.CardView> | ||||
| @@ -14,11 +14,11 @@ | ||||
|         android:paddingRight="@dimen/margin_right"> | ||||
| 
 | ||||
|         <EditText | ||||
|             android:id="@+id/myanimelist_search_field" | ||||
|             android:id="@+id/track_search" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_weight="1" | ||||
|             android:hint="@string/title_hint"/> | ||||
|             android:hint="@string/title"/> | ||||
| 
 | ||||
|     </LinearLayout> | ||||
| 
 | ||||
| @@ -33,7 +33,7 @@ | ||||
|         android:visibility="gone"/> | ||||
| 
 | ||||
|     <ListView | ||||
|         android:id="@+id/myanimelist_search_results" | ||||
|         android:id="@+id/track_search_list" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:choiceMode="singleChoice" | ||||
| @@ -1,17 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <android.support.v4.widget.SwipeRefreshLayout | ||||
|     android:id="@+id/swipe_refresh" | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent" | ||||
|     android:orientation="vertical"> | ||||
|  | ||||
|     <ScrollView | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent"> | ||||
|  | ||||
|         <include layout="@layout/card_myanimelist_personal"/> | ||||
|  | ||||
|     </ScrollView> | ||||
|  | ||||
| </android.support.v4.widget.SwipeRefreshLayout> | ||||
							
								
								
									
										20
									
								
								app/src/main/res/layout/fragment_track.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								app/src/main/res/layout/fragment_track.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:orientation="vertical" android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent"> | ||||
|  | ||||
|     <android.support.v4.widget.SwipeRefreshLayout | ||||
|         android:id="@+id/swipe_refresh" | ||||
|         xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent" | ||||
|         android:orientation="vertical"> | ||||
|  | ||||
|         <android.support.v7.widget.RecyclerView | ||||
|             android:id="@+id/recycler" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="match_parent"/> | ||||
|  | ||||
|    </android.support.v4.widget.SwipeRefreshLayout> | ||||
|  | ||||
| </LinearLayout> | ||||
							
								
								
									
										185
									
								
								app/src/main/res/layout/item_track.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										185
									
								
								app/src/main/res/layout/item_track.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,185 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <android.support.v7.widget.CardView | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:id="@+id/track" | ||||
|     style="@style/Theme.Widget.CardView"> | ||||
|  | ||||
|     <android.support.constraint.ConstraintLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content"> | ||||
|  | ||||
|         <FrameLayout | ||||
|             android:id="@+id/logo" | ||||
|             android:layout_width="48dp" | ||||
|             android:layout_height="0dp" | ||||
|             tools:background="#2E51A2" | ||||
|             app:layout_constraintLeft_toLeftOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             app:layout_constraintBottom_toBottomOf="parent"> | ||||
|  | ||||
|             <ImageView | ||||
|                 android:id="@+id/track_logo" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center" | ||||
|                 tools:src="@drawable/mal" /> | ||||
|  | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/title_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:padding="16dp" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo" | ||||
|             app:layout_constraintRight_toRightOf="parent"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/title" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_title" | ||||
|                 style="@style/TextAppearance.Medium.Button" | ||||
|                 android:textColor="?colorAccent" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_alignParentEnd="true" | ||||
|                 android:text="@string/action_edit" /> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider1" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/title_container" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginRight="16dp" /> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/status_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:padding="16dp" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider1" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo" | ||||
|             app:layout_constraintRight_toRightOf="parent"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/status" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_status" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_alignParentEnd="true" | ||||
|                 tools:text="Reading" /> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider2" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/status_container" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginRight="16dp" /> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/chapters_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:padding="16dp" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider2" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo" | ||||
|             app:layout_constraintRight_toRightOf="parent"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/chapters" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_chapters" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_alignParentEnd="true" | ||||
|                 tools:text="12/24" /> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider3" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/chapters_container" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginRight="16dp" /> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:id="@+id/score_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:padding="16dp" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider3" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo" | ||||
|             app:layout_constraintRight_toRightOf="parent"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/score" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_score" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_alignParentRight="true" | ||||
|                 android:layout_alignParentEnd="true" | ||||
|                 tools:text="10" /> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|     </android.support.constraint.ConstraintLayout> | ||||
|  | ||||
| </android.support.v7.widget.CardView> | ||||
| @@ -1,12 +1,12 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|               android:layout_width="match_parent" | ||||
|               android:layout_height="match_parent" | ||||
|               android:orientation="vertical" | ||||
|               android:background="?attr/selectable_list_drawable"> | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content" | ||||
|     android:orientation="vertical" | ||||
|     android:background="?attr/selectable_list_drawable"> | ||||
| 
 | ||||
|     <TextView | ||||
|         android:id="@+id/myanimelist_result_title" | ||||
|         android:id="@+id/track_search_title" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:padding="10dp"/> | ||||
| @@ -65,7 +65,7 @@ | ||||
|     <string name="pref_category_reader">Lector</string> | ||||
|     <string name="pref_category_downloads">Descargas</string> | ||||
|     <string name="pref_category_sources">Fuentes</string> | ||||
|     <string name="pref_category_sync">Sincronización</string> | ||||
|     <string name="pref_category_tracking">Seguimiento</string> | ||||
|     <string name="pref_category_advanced">Avanzado</string> | ||||
|     <string name="pref_category_about">Acerca de</string> | ||||
|  | ||||
| @@ -232,7 +232,7 @@ | ||||
|     <string name="on_hold">En espera</string> | ||||
|     <string name="plan_to_read">Para leer luego</string> | ||||
|     <string name="score">Puntuación</string> | ||||
|     <string name="title_hint">Título…</string> | ||||
|     <string name="title">Título</string> | ||||
|     <string name="status">Estado</string> | ||||
|     <string name="chapters">Capítulos</string> | ||||
|  | ||||
|   | ||||
| @@ -240,7 +240,7 @@ | ||||
|     <string name="on_hold">Em espera</string> | ||||
|     <string name="plan_to_read">Planeada a leitura</string> | ||||
|     <string name="score">Avaliação</string> | ||||
|     <string name="title_hint">Título…</string> | ||||
|     <string name="title">Título</string> | ||||
|     <string name="status">Estado</string> | ||||
|     <string name="chapters">Capítulos</string> | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|  | ||||
|     <string name="pref_category_general_key">pref_category_general_key</string> | ||||
|     <string name="pref_category_reader_key">pref_category_reader_key</string> | ||||
|     <string name="pref_category_sync_key">pref_category_sync_key</string> | ||||
|     <string name="pref_category_tracking_key">pref_category_tracking_key</string> | ||||
|     <string name="pref_category_downloads_key">pref_category_downloads_key</string> | ||||
|     <string name="pref_category_advanced_key">pref_category_advanced_key</string> | ||||
|     <string name="pref_category_about_key">pref_category_about_key</string> | ||||
| @@ -52,7 +52,7 @@ | ||||
|     <string name="pref_last_used_category_key">last_used_category</string> | ||||
|  | ||||
|     <string name="pref_source_languages">pref_source_languages</string> | ||||
|     <string name="pref_category_manga_sync_accounts_key">category_manga_sync_accounts</string> | ||||
|     <string name="pref_category_tracking_accounts_key">category_tracking_accounts</string> | ||||
|  | ||||
|     <string name="pref_clear_chapter_cache_key">pref_clear_chapter_cache_key</string> | ||||
|     <string name="pref_clear_database_key">pref_clear_database_key</string> | ||||
|   | ||||
| @@ -80,7 +80,7 @@ | ||||
|     <string name="pref_category_reader">Reader</string> | ||||
|     <string name="pref_category_downloads">Downloads</string> | ||||
|     <string name="pref_category_sources">Sources</string> | ||||
|     <string name="pref_category_sync">Sync</string> | ||||
|     <string name="pref_category_tracking">Tracking</string> | ||||
|     <string name="pref_category_advanced">Advanced</string> | ||||
|     <string name="pref_category_about">About</string> | ||||
|  | ||||
| @@ -276,13 +276,14 @@ | ||||
|     <string name="confirm_delete_chapters">Are you sure you want to delete selected chapters?</string> | ||||
|  | ||||
|     <!-- MyAnimeList fragment --> | ||||
|     <string name="manga_tracking_tab">Tracking</string> | ||||
|     <string name="reading">Reading</string> | ||||
|     <string name="completed">Completed</string> | ||||
|     <string name="dropped">Dropped</string> | ||||
|     <string name="on_hold">On hold</string> | ||||
|     <string name="plan_to_read">Plan to read</string> | ||||
|     <string name="score">Score</string> | ||||
|     <string name="title_hint">Title…</string> | ||||
|     <string name="title">Title</string> | ||||
|     <string name="status">Status</string> | ||||
|     <string name="chapters">Chapters</string> | ||||
|  | ||||
|   | ||||
| @@ -1,30 +1,32 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <PreferenceScreen | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto"> | ||||
| 
 | ||||
|     <PreferenceScreen | ||||
|         android:icon="@drawable/ic_sync_black_24dp" | ||||
|         android:key="sync_screen" | ||||
|         android:key="tracking_screen" | ||||
|         android:persistent="false" | ||||
|         android:title="@string/pref_category_sync" | ||||
|         android:title="@string/pref_category_tracking" | ||||
|         app:asp_tintEnabled="true"> | ||||
| 
 | ||||
|         <SwitchPreference | ||||
|             android:key="@string/pref_auto_update_manga_sync_key" | ||||
|             android:title="@string/pref_auto_update_manga_sync" | ||||
|             android:defaultValue="true" /> | ||||
|             android:defaultValue="true" | ||||
|             app:showText="false"/> | ||||
| 
 | ||||
|         <SwitchPreference | ||||
|             android:key="@string/pref_ask_update_manga_sync_key" | ||||
|             android:title="@string/pref_ask_update_manga_sync" | ||||
|             android:defaultValue="false" | ||||
|             android:dependency="@string/pref_auto_update_manga_sync_key" /> | ||||
|             android:dependency="@string/pref_auto_update_manga_sync_key" | ||||
|             app:showText="false"/> | ||||
| 
 | ||||
|         <PreferenceCategory | ||||
|             android:key="@string/pref_category_manga_sync_accounts_key" | ||||
|             android:key="@string/pref_category_tracking_accounts_key" | ||||
|             android:title="@string/services" | ||||
|             android:persistent="false" /> | ||||
|             android:persistent="false" | ||||
|             app:showText="false"/> | ||||
| 
 | ||||
|     </PreferenceScreen> | ||||
| 
 | ||||
		Reference in New Issue
	
	Block a user