Compare commits

...
12 Commits
120 changed files with 7200 additions and 2122 deletions

No files matched your search

+23 -14
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hippo.ehviewer"
android:versionCode="6"
android:versionName="0.3.1" >
android:versionCode="7"
android:versionName="0.3.2" >
<uses-sdk
android:minSdkVersion="14"
@@ -13,23 +13,32 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:name="com.hippo.ehviewer.CrashApplication"
android:name=".CrashApplication"
android:allowBackup="true"
android:largeHeap="true"
android:largeHeap="false"
android:hardwareAccelerated="false"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.hippo.ehviewer.activity.MangaListActivity"
android:name=".StartActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar.Transparent"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.MangaListActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
@@ -37,20 +46,20 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.MangaDetailActivity"
android:name=".activity.MangaDetailActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|adjustUnspecified|stateHidden"
android:configChanges="orientation|screenSize" >
</activity>
<activity
android:name="com.hippo.ehviewer.activity.MangaActivity"
android:name=".activity.MangaActivity"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize" >
</activity>
<activity
android:name="com.hippo.ehviewer.activity.SettingsActivity"
android:name=".activity.SettingsActivity"
android:label="@string/preference_settings_title"
android:icon="@drawable/ic_action_settings"
android:screenOrientation="portrait"
@@ -58,7 +67,7 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.FavouriteActivity"
android:name=".activity.FavouriteActivity"
android:label="@string/favourite"
android:icon="@drawable/ic_action_favourite"
android:screenOrientation="portrait"
@@ -66,7 +75,7 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.DownloadActivity"
android:name=".activity.DownloadActivity"
android:label="@string/download"
android:icon="@drawable/ic_action_download"
android:screenOrientation="portrait"
@@ -75,7 +84,7 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.MangaDownloadActivity"
android:name=".activity.MangaDownloadActivity"
android:label="@string/download"
android:icon="@drawable/ic_action_download"
android:screenOrientation="portrait"
@@ -83,7 +92,7 @@
</activity>
<service
android:name="com.hippo.ehviewer.service.DownloadService"
android:name=".service.DownloadService"
android:label="DownloadService" />
</application>
+23 -14
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hippo.ehviewer"
android:versionCode="6"
android:versionName="0.3.1" >
android:versionCode="7"
android:versionName="0.3.2" >
<uses-sdk
android:minSdkVersion="14"
@@ -13,23 +13,32 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:name="com.hippo.ehviewer.CrashApplication"
android:name=".CrashApplication"
android:allowBackup="true"
android:largeHeap="true"
android:largeHeap="false"
android:hardwareAccelerated="false"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.hippo.ehviewer.activity.MangaListActivity"
android:name=".StartActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar.Transparent"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.MangaListActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
@@ -37,20 +46,20 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.MangaDetailActivity"
android:name=".activity.MangaDetailActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|adjustUnspecified|stateHidden"
android:configChanges="orientation|screenSize" >
</activity>
<activity
android:name="com.hippo.ehviewer.activity.MangaActivity"
android:name=".activity.MangaActivity"
android:screenOrientation="portrait"
android:configChanges="orientation|screenSize" >
</activity>
<activity
android:name="com.hippo.ehviewer.activity.SettingsActivity"
android:name=".activity.SettingsActivity"
android:label="@string/preference_settings_title"
android:icon="@drawable/ic_action_settings"
android:screenOrientation="portrait"
@@ -58,7 +67,7 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.FavouriteActivity"
android:name=".activity.FavouriteActivity"
android:label="@string/favourite"
android:icon="@drawable/ic_action_favourite"
android:screenOrientation="portrait"
@@ -66,7 +75,7 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.DownloadActivity"
android:name=".activity.DownloadActivity"
android:label="@string/download"
android:icon="@drawable/ic_action_download"
android:screenOrientation="portrait"
@@ -75,7 +84,7 @@
</activity>
<activity
android:name="com.hippo.ehviewer.activity.MangaDownloadActivity"
android:name=".activity.MangaDownloadActivity"
android:label="@string/download"
android:icon="@drawable/ic_action_download"
android:screenOrientation="portrait"
@@ -83,7 +92,7 @@
</activity>
<service
android:name="com.hippo.ehviewer.service.DownloadService"
android:name=".service.DownloadService"
android:label="DownloadService" />
</application>
BIN
View File
Binary file not shown.
+421 -487
View File
@@ -1,279 +1,232 @@
int anim slide_in_from_bottom 0x7f040000
int anim slide_in_from_top 0x7f040001
int anim slide_out_to_bottom 0x7f040002
int anim slide_out_to_top 0x7f040003
int array download_item_long_click 0x7f0a0006
int array favourite_item_long_click 0x7f0a0005
int array is_exhentai 0x7f0a0009
int array list_item_long_click 0x7f0a0004
int array list_list_title 0x7f0a0000
int array min_rating 0x7f0a0001
int array page_scaling_entries 0x7f0a0002
int array page_scaling_entry_values 0x7f0a0003
int array preference_screen_ori_entries 0x7f0a0007
int array preference_screen_ori_entry_values 0x7f0a0008
int array pull_next 0x7f0a000c
int array pull_pre 0x7f0a000b
int array pull_refresh 0x7f0a000a
int attr adjustViewBounds 0x7f01002f
int attr alignmentMode 0x7f010025
int attr baseline 0x7f010035
int attr baselineAlignBottom 0x7f010033
int attr behindOffset 0x7f010003
int attr behindScrollScale 0x7f010005
int attr behindWidth 0x7f010004
int attr columnCount 0x7f010023
int attr columnOrderPreserved 0x7f010027
int attr cropToPadding 0x7f010034
int attr drawableAlpha 0x7f010036
int attr fadeDegree 0x7f01000b
int attr fadeEnabled 0x7f01000a
int attr layout_column 0x7f01002a
int attr layout_columnSpan 0x7f01002b
int attr layout_gravity 0x7f01002c
int attr layout_row 0x7f010028
int attr layout_rowSpan 0x7f010029
int attr mask 0x7f010037
int attr maxHeight 0x7f010031
int attr maxWidth 0x7f010030
int attr mode 0x7f010000
int attr orientation 0x7f010021
int attr ptrAdapterViewBackground 0x7f01001e
int attr ptrAnimationStyle 0x7f01001a
int attr ptrDrawable 0x7f010014
int attr ptrDrawableBottom 0x7f010020
int attr ptrDrawableEnd 0x7f010016
int attr ptrDrawableStart 0x7f010015
int attr ptrDrawableTop 0x7f01001f
int attr ptrHeaderBackground 0x7f01000f
int attr ptrHeaderSubTextColor 0x7f010011
int attr ptrHeaderTextAppearance 0x7f010018
int attr ptrHeaderTextColor 0x7f010010
int attr ptrListViewExtrasEnabled 0x7f01001c
int attr ptrMode 0x7f010012
int attr ptrOverScroll 0x7f010017
int attr ptrRefreshableViewBackground 0x7f01000e
int attr ptrRotateDrawableWhilePulling 0x7f01001d
int attr ptrScrollingWhileRefreshingEnabled 0x7f01001b
int attr ptrShowIndicator 0x7f010013
int attr ptrSubHeaderTextAppearance 0x7f010019
int attr rowCount 0x7f010022
int attr rowOrderPreserved 0x7f010026
int attr scaleType 0x7f01002e
int attr selectorDrawable 0x7f01000d
int attr selectorEnabled 0x7f01000c
int attr shadowDrawable 0x7f010008
int attr shadowWidth 0x7f010009
int attr src 0x7f01002d
int attr tint 0x7f010032
int attr touchModeAbove 0x7f010006
int attr touchModeBehind 0x7f010007
int attr useDefaultMargins 0x7f010024
int attr viewAbove 0x7f010001
int attr viewBehind 0x7f010002
int color blue_dark 0x7f0b0001
int color blue_light 0x7f0b0000
int dimen activity_horizontal_margin 0x7f080006
int dimen activity_vertical_margin 0x7f080007
int dimen default_gap 0x7f080005
int dimen header_footer_left_right_padding 0x7f080003
int dimen header_footer_top_bottom_padding 0x7f080004
int dimen indicator_corner_radius 0x7f080001
int dimen indicator_internal_padding 0x7f080002
int dimen indicator_right_padding 0x7f080000
int dimen menu_offset 0x7f08000a
int dimen shadow_width 0x7f080008
int dimen slidingmenu_offset 0x7f080009
int array download_item_long_click 0x7f080006
int array favourite_item_long_click 0x7f080005
int array is_exhentai 0x7f080009
int array list_item_long_click 0x7f080004
int array list_list_title 0x7f080000
int array min_rating 0x7f080001
int array page_scaling_entries 0x7f080002
int array page_scaling_entry_values 0x7f080003
int array preference_screen_ori_entries 0x7f080007
int array preference_screen_ori_entry_values 0x7f080008
int array pull_next 0x7f08000c
int array pull_pre 0x7f08000b
int array pull_refresh 0x7f08000a
int attr adjustViewBounds 0x7f01000e
int attr alignmentMode 0x7f010004
int attr baseline 0x7f010014
int attr baselineAlignBottom 0x7f010012
int attr columnCount 0x7f010002
int attr columnOrderPreserved 0x7f010006
int attr cropToPadding 0x7f010013
int attr drawableAlpha 0x7f010015
int attr layout_column 0x7f010009
int attr layout_columnSpan 0x7f01000a
int attr layout_gravity 0x7f01000b
int attr layout_row 0x7f010007
int attr layout_rowSpan 0x7f010008
int attr mask 0x7f010016
int attr maxHeight 0x7f010010
int attr maxWidth 0x7f01000f
int attr orientation 0x7f010000
int attr rowCount 0x7f010001
int attr rowOrderPreserved 0x7f010005
int attr scaleType 0x7f01000d
int attr src 0x7f01000c
int attr tint 0x7f010011
int attr useDefaultMargins 0x7f010003
int color blue_dark 0x7f090001
int color blue_light 0x7f090000
int dimen activity_horizontal_margin 0x7f070001
int dimen activity_vertical_margin 0x7f070002
int dimen default_gap 0x7f070000
int dimen menu_offset 0x7f070004
int dimen shadow_width 0x7f070003
int drawable artistcg 0x7f020000
int drawable asianporn 0x7f020001
int drawable back 0x7f020002
int drawable cosplay 0x7f020003
int drawable default_ptr_flip 0x7f020004
int drawable default_ptr_rotate 0x7f020005
int drawable doujinshi 0x7f020006
int drawable front 0x7f020007
int drawable gamecg 0x7f020008
int drawable ic_action_action_search 0x7f020009
int drawable ic_action_completed 0x7f02000a
int drawable ic_action_core_overflow 0x7f02000b
int drawable ic_action_download 0x7f02000c
int drawable ic_action_favourite 0x7f02000d
int drawable ic_action_jump 0x7f02000e
int drawable ic_action_pause 0x7f02000f
int drawable ic_action_refresh 0x7f020010
int drawable ic_action_remove 0x7f020011
int drawable ic_action_search 0x7f020012
int drawable ic_action_settings 0x7f020013
int drawable ic_action_start 0x7f020014
int drawable ic_launcher 0x7f020015
int drawable ic_navigation_drawer 0x7f020016
int drawable doujinshi 0x7f020004
int drawable front 0x7f020005
int drawable gamecg 0x7f020006
int drawable ic_action_action_search 0x7f020007
int drawable ic_action_completed 0x7f020008
int drawable ic_action_core_overflow 0x7f020009
int drawable ic_action_download 0x7f02000a
int drawable ic_action_favourite 0x7f02000b
int drawable ic_action_jump 0x7f02000c
int drawable ic_action_pause 0x7f02000d
int drawable ic_action_refresh 0x7f02000e
int drawable ic_action_remove 0x7f02000f
int drawable ic_action_search 0x7f020010
int drawable ic_action_settings 0x7f020011
int drawable ic_action_start 0x7f020012
int drawable ic_launcher 0x7f020013
int drawable ic_navigation_drawer 0x7f020014
int drawable ic_pulltorefresh_arrow 0x7f020015
int drawable ic_touch 0x7f020016
int drawable imageset 0x7f020017
int drawable indicator_arrow 0x7f020018
int drawable indicator_bg_bottom 0x7f020019
int drawable indicator_bg_top 0x7f02001a
int drawable manga 0x7f02001b
int drawable mask 0x7f02001c
int drawable misc 0x7f02001d
int drawable non_h 0x7f02001e
int drawable refresh 0x7f02001f
int drawable sadpanda 0x7f020020
int drawable scrollbar_blue 0x7f020021
int drawable scrollbar_white 0x7f020022
int drawable star 0x7f020023
int drawable star_empty 0x7f020024
int drawable star_half 0x7f020025
int drawable textfield 0x7f020026
int drawable unknown 0x7f020027
int drawable wait 0x7f020028
int drawable western 0x7f020029
int id action 0x7f07004c
int id action_download 0x7f07008f
int id action_favourite 0x7f07008e
int id action_jump 0x7f070092
int id action_refresh 0x7f070091
int id action_search 0x7f070090
int id action_settings 0x7f070093
int id alignBounds 0x7f070013
int id alignMargins 0x7f070014
int id autoCompleteTextView1 0x7f070089
int id both 0x7f070008
int id bottom 0x7f070016
int id bottom_panel 0x7f070081
int id button_artistcg 0x7f070050
int id button_asianporn 0x7f070056
int id button_cosplay 0x7f070055
int id button_doujinshi 0x7f07004e
int id button_gamecg 0x7f070051
int id button_imageset 0x7f070054
int id button_login 0x7f07007a
int id button_manga 0x7f07004f
int id button_misc 0x7f070057
int id button_non_h 0x7f070053
int id button_read 0x7f07003a
int id button_western 0x7f070052
int id center 0x7f07001b
int id centerCrop 0x7f070026
int id centerInside 0x7f070027
int id center_horizontal 0x7f070019
int id center_vertical 0x7f070017
int id checkbox_advance 0x7f070059
int id checkbox_sdesc 0x7f07005d
int id checkbox_sdt1 0x7f070060
int id checkbox_sdt2 0x7f070061
int id checkbox_sh 0x7f070062
int id checkbox_sname 0x7f07005b
int id checkbox_sr 0x7f070063
int id checkbox_stags 0x7f07005c
int id checkbox_sto 0x7f07005f
int id checkbox_storr 0x7f07005e
int id clip_horizontal 0x7f07001e
int id clip_vertical 0x7f07001d
int id cover 0x7f07006e
int id custom 0x7f070043
int id detail_average 0x7f070038
int id detail_button_cancel 0x7f07003c
int id detail_button_every 0x7f07003e
int id detail_button_known 0x7f07003f
int id detail_button_once 0x7f07003d
int id detail_cover 0x7f07002a
int id detail_language 0x7f070036
int id detail_pages 0x7f070034
int id detail_people 0x7f070039
int id detail_posted 0x7f070033
int id detail_rate 0x7f070037
int id detail_refresh 0x7f070030
int id detail_size 0x7f070035
int id detail_title 0x7f07002b
int id detail_type 0x7f070031
int id detail_uploader 0x7f070032
int id detail_wait 0x7f07002f
int id disabled 0x7f070005
int id download 0x7f070048
int id drawer_login 0x7f070074
int id drawer_login_over 0x7f070075
int id end 0x7f070020
int id favourite 0x7f07004d
int id fill 0x7f07001c
int id fill_horizontal 0x7f07001a
int id fill_vertical 0x7f070018
int id filter_advance 0x7f07005a
int id fitCenter 0x7f070024
int id fitEnd 0x7f070025
int id fitStart 0x7f070023
int id fitXY 0x7f070022
int id fl_inner 0x7f070083
int id flip 0x7f07000d
int id fullscreen 0x7f070003
int id gridview 0x7f07000e
int id horizontal 0x7f070011
int id info 0x7f07004b
int id is_exhentai 0x7f070076
int id left 0x7f070000
int id list 0x7f070044
int id list_button_logout 0x7f07007c
int id list_jump_edit 0x7f070067
int id list_jump_sum 0x7f070065
int id list_jump_to 0x7f070066
int id list_list 0x7f070069
int id list_main 0x7f070068
int id list_menu_list 0x7f070072
int id list_menu_login 0x7f070073
int id list_no_found 0x7f07006d
int id list_refresh 0x7f07006b
int id list_wait_first 0x7f07006a
int id list_wait_logout 0x7f07007d
int id manga_detail 0x7f070029
int id manga_detail_normal 0x7f07002c
int id manga_detail_offensive 0x7f07002d
int id manga_detail_pining 0x7f07002e
int id manga_detail_scrollview 0x7f070028
int id manualOnly 0x7f070009
int id margin 0x7f070002
int id matrix 0x7f070021
int id message 0x7f070042
int id name 0x7f07006f
int id negative_button 0x7f070045
int id neutral_button 0x7f070046
int id page_list 0x7f07003b
int id pager 0x7f070079
int id paper_list_gridLayout 0x7f07007e
int id paper_list_wait 0x7f07007f
int id password 0x7f070078
int id positive_button 0x7f070047
int id preview_button_refresh 0x7f070080
int id preview_num 0x7f070082
int id progressBar 0x7f07004a
int id pullDownFromTop 0x7f07000a
int id pullFromEnd 0x7f070007
int id pullFromStart 0x7f070006
int id pullUpFromBottom 0x7f07000b
int id pull_to_refresh_image 0x7f070084
int id pull_to_refresh_progress 0x7f070085
int id pull_to_refresh_sub_text 0x7f070087
int id pull_to_refresh_text 0x7f070086
int id rate 0x7f070071
int id remove 0x7f07008a
int id right 0x7f070001
int id rotate 0x7f07000c
int id sadpanda 0x7f07006c
int id scroll_view 0x7f070041
int id scrollview 0x7f070010
int id search_bar 0x7f070088
int id search_text 0x7f070058
int id selected_view 0x7f070004
int id set_name_edit 0x7f07008b
int id slidingmenumain 0x7f07008c
int id spinner_min_rating 0x7f070064
int id start 0x7f07001f
int id text_username 0x7f07007b
int id thumb 0x7f070049
int id title 0x7f070040
int id top 0x7f070015
int id type 0x7f070070
int id username 0x7f070077
int id vertical 0x7f070012
int id wait_message 0x7f07008d
int id webview 0x7f07000f
int drawable manga 0x7f020018
int drawable mask 0x7f020019
int drawable misc 0x7f02001a
int drawable non_h 0x7f02001b
int drawable progress_large 0x7f02001c
int drawable progress_small 0x7f02001d
int drawable sadpanda 0x7f02001e
int drawable scrollbar_blue 0x7f02001f
int drawable scrollbar_white 0x7f020020
int drawable spinner_16_inner 0x7f020021
int drawable spinner_16_outer 0x7f020022
int drawable spinner_76_inner 0x7f020023
int drawable spinner_76_outer 0x7f020024
int drawable star 0x7f020025
int drawable star_empty 0x7f020026
int drawable star_half 0x7f020027
int drawable textfield 0x7f020028
int drawable unknown 0x7f020029
int drawable welcome 0x7f02002a
int drawable western 0x7f02002b
int id action 0x7f06003d
int id action_download 0x7f060089
int id action_favourite 0x7f060088
int id action_jump 0x7f06008c
int id action_refresh 0x7f06008b
int id action_search 0x7f06008a
int id action_settings 0x7f06008d
int id alignBounds 0x7f060002
int id alignMargins 0x7f060003
int id app_start_view 0x7f060086
int id autoCompleteTextView1 0x7f060083
int id bottom 0x7f060005
int id bottom_panel 0x7f060075
int id button_artistcg 0x7f060041
int id button_asianporn 0x7f060047
int id button_check_login 0x7f06006d
int id button_cosplay 0x7f060046
int id button_doujinshi 0x7f06003f
int id button_gamecg 0x7f060042
int id button_imageset 0x7f060045
int id button_login 0x7f06006c
int id button_manga 0x7f060040
int id button_misc 0x7f060048
int id button_non_h 0x7f060044
int id button_read 0x7f06002b
int id button_western 0x7f060043
int id center 0x7f06000c
int id centerCrop 0x7f060017
int id centerInside 0x7f060018
int id center_horizontal 0x7f06000a
int id center_vertical 0x7f060008
int id checkbox_advance 0x7f06004a
int id checkbox_sdesc 0x7f06004e
int id checkbox_sdt1 0x7f060051
int id checkbox_sdt2 0x7f060052
int id checkbox_sh 0x7f060053
int id checkbox_sname 0x7f06004c
int id checkbox_sr 0x7f060054
int id checkbox_stags 0x7f06004d
int id checkbox_sto 0x7f060050
int id checkbox_storr 0x7f06004f
int id clip_horizontal 0x7f06000f
int id clip_vertical 0x7f06000e
int id cover 0x7f060060
int id custom 0x7f060034
int id detail_average 0x7f060029
int id detail_button_cancel 0x7f06002d
int id detail_button_every 0x7f06002f
int id detail_button_known 0x7f060030
int id detail_button_once 0x7f06002e
int id detail_cover 0x7f06001b
int id detail_language 0x7f060027
int id detail_pages 0x7f060025
int id detail_people 0x7f06002a
int id detail_posted 0x7f060024
int id detail_rate 0x7f060028
int id detail_refresh 0x7f060021
int id detail_size 0x7f060026
int id detail_title 0x7f06001c
int id detail_type 0x7f060022
int id detail_uploader 0x7f060023
int id detail_wait 0x7f060020
int id download 0x7f060039
int id drawer_layout 0x7f060059
int id drawer_login 0x7f060066
int id drawer_login_over 0x7f060067
int id end 0x7f060011
int id favourite 0x7f06003e
int id fill 0x7f06000d
int id fill_horizontal 0x7f06000b
int id fill_vertical 0x7f060009
int id filter_advance 0x7f06004b
int id fitCenter 0x7f060015
int id fitEnd 0x7f060016
int id fitStart 0x7f060014
int id fitXY 0x7f060013
int id footer_progressBar 0x7f060079
int id footer_tip_text 0x7f06007a
int id head_arrowImageView 0x7f06007f
int id head_contentLayout 0x7f06007e
int id head_progressBar 0x7f060080
int id head_tipsTextView 0x7f060081
int id header 0x7f060077
int id header_arrow_image 0x7f06007b
int id header_progressBar 0x7f06007c
int id header_tip_text 0x7f06007d
int id horizontal 0x7f060000
int id info 0x7f06003c
int id is_exhentai 0x7f060068
int id left 0x7f060006
int id list 0x7f060035
int id list_button_logout 0x7f060070
int id list_jump_edit 0x7f060058
int id list_jump_sum 0x7f060056
int id list_jump_to 0x7f060057
int id list_list 0x7f06005b
int id list_main 0x7f06005a
int id list_menu_list 0x7f060064
int id list_menu_login 0x7f060065
int id list_no_found 0x7f06005f
int id list_refresh 0x7f06005d
int id list_view 0x7f060078
int id list_wait_first 0x7f06005c
int id list_wait_login 0x7f06006e
int id list_wait_logout 0x7f060071
int id manga_detail 0x7f06001a
int id manga_detail_normal 0x7f06001d
int id manga_detail_offensive 0x7f06001e
int id manga_detail_pining 0x7f06001f
int id manga_detail_scrollview 0x7f060019
int id matrix 0x7f060012
int id message 0x7f060033
int id name 0x7f060061
int id negative_button 0x7f060036
int id neutral_button 0x7f060037
int id page_list 0x7f06002c
int id pager 0x7f06006b
int id paper_list_layout 0x7f060072
int id paper_list_wait 0x7f060073
int id password 0x7f06006a
int id positive_button 0x7f060038
int id preview_button_refresh 0x7f060074
int id preview_num 0x7f060076
int id progressBar 0x7f06003b
int id rate 0x7f060063
int id remove 0x7f060084
int id right 0x7f060007
int id sadpanda 0x7f06005e
int id scroll_view 0x7f060032
int id search_bar 0x7f060082
int id search_text 0x7f060049
int id set_name_edit 0x7f060085
int id spinner_min_rating 0x7f060055
int id start 0x7f060010
int id text_username 0x7f06006f
int id thumb 0x7f06003a
int id title 0x7f060031
int id top 0x7f060004
int id type 0x7f060062
int id username 0x7f060069
int id vertical 0x7f060001
int id wait_message 0x7f060087
int layout detail 0x7f030000
int layout detail_normal 0x7f030001
int layout detail_offensive 0x7f030002
@@ -296,184 +249,200 @@ int layout menu_login 0x7f030012
int layout menu_login_over 0x7f030013
int layout page_list 0x7f030014
int layout page_list_panel 0x7f030015
int layout pull_to_refresh_header_horizontal 0x7f030016
int layout pull_to_refresh_header_vertical 0x7f030017
int layout search_view 0x7f030018
int layout set_name 0x7f030019
int layout slidingmenumain 0x7f03001a
int layout wait 0x7f03001b
int menu detail 0x7f0d0000
int menu main 0x7f0d0001
int raw change_log 0x7f060000
int raw thanks 0x7f060001
int string _default 0x7f09008d
int string action_refresh 0x7f090051
int string action_settings 0x7f090052
int string actual_size 0x7f090095
int string add 0x7f090089
int string add_tag 0x7f09006a
int string add_to_favourite 0x7f090099
int string advance_search_left 0x7f09009d
int string app_name 0x7f090003
int string cache_large 0x7f090067
int string changelog 0x7f090083
int string checkbox_advance 0x7f090015
int string checkbox_sdesc 0x7f090018
int string checkbox_sdt1 0x7f09001b
int string checkbox_sdt2 0x7f09001c
int string checkbox_sh 0x7f09001d
int string checkbox_sname 0x7f090016
int string checkbox_sr 0x7f09001e
int string checkbox_stags 0x7f090017
int string checkbox_sto 0x7f09001a
int string checkbox_storr 0x7f090019
int string create_cache_error 0x7f090069
int string dailog_check_login 0x7f09000c
int string dailog_check_network 0x7f090008
int string dailog_network_error_no 0x7f09000a
int string dailog_network_error_yes 0x7f090009
int string dailog_waring_no 0x7f090007
int string dailog_waring_plain 0x7f090005
int string dailog_waring_title 0x7f090004
int string dailog_waring_yes 0x7f090006
int string detail_average 0x7f09002e
int string detail_button_cancel 0x7f090033
int string detail_button_every 0x7f090035
int string detail_button_known 0x7f090037
int string detail_button_once 0x7f090034
int string detail_button_read 0x7f090032
int string detail_language 0x7f09002d
int string detail_not_rated 0x7f090039
int string detail_offensive 0x7f090031
int string detail_offensive_title 0x7f090030
int string detail_pages 0x7f09002b
int string detail_people 0x7f09002f
int string detail_pining 0x7f090036
int string detail_posted 0x7f09002a
int string detail_preview_error 0x7f090038
int string detail_size 0x7f09002c
int string detail_uploader 0x7f090029
int string dialog_messgae_login_or_not 0x7f090010
int string dialog_send_crash_no 0x7f090025
int string dialog_send_crash_plain 0x7f090023
int string dialog_send_crash_title 0x7f090022
int string dialog_send_crash_yes 0x7f090024
int string dialog_title_login_or_not 0x7f09000f
int string download 0x7f090090
int string download_successfully 0x7f090079
int string download_task_finished 0x7f090077
int string download_unsuccessfully 0x7f09007a
int string downloading 0x7f090078
int string em_can_not_reach 0x7f09004f
int string em_check_login_error 0x7f090048
int string em_client_protocol 0x7f090045
int string em_logout_error 0x7f090049
int string em_network_error 0x7f09003f
int string em_no_network 0x7f09004e
int string em_no_network_2 0x7f090050
int string em_open_input_stream_error 0x7f090043
int string em_parser_error 0x7f090042
int string em_put_cache_error 0x7f090046
int string em_read_input_stream_error 0x7f090044
int string em_response_code_error 0x7f090041
int string em_retry 0x7f09004b
int string em_retry_times 0x7f09004c
int string em_timeout 0x7f090040
int string em_unknown_error 0x7f09004d
int string em_url_error 0x7f09004a
int string em_url_format_error 0x7f090047
int string error 0x7f090082
int string exit_tip 0x7f09000b
int string favourite 0x7f09008f
int string first_page 0x7f09003b
int string fit_to_height 0x7f090097
int string fit_to_screen 0x7f090098
int string fit_to_width 0x7f090096
int string hint_no_keyword 0x7f090014
int string homepage 0x7f09008e
int string input_error 0x7f090068
int string jump 0x7f09008b
int string jump_sum 0x7f09001f
int string jump_to 0x7f090020
int string landscape 0x7f090056
int string last_page 0x7f09007d
int string load_pre 0x7f09003a
int string login 0x7f090084
int string logout 0x7f090085
int string new_tag_name 0x7f09006f
int string no_found 0x7f090028
int string not_login 0x7f090011
int string not_started 0x7f09007b
int string password 0x7f090088
int string period 0x7f090080
int string portrait 0x7f090055
int string preference_author 0x7f090065
int string preference_author_summary 0x7f090066
int string preference_auto_page_cache 0x7f090060
int string preference_auto_page_cache_summary_off 0x7f090062
int string preference_auto_page_cache_summary_on 0x7f090061
int string preference_cache_summary 0x7f09005e
int string preference_cache_summary_no 0x7f09005f
int string preference_category_about 0x7f090064
int string preference_category_cache 0x7f090059
int string preference_category_display 0x7f090053
int string preference_clear_cp_cache 0x7f09005b
int string preference_clear_page_cache 0x7f09005d
int string preference_cp_cache 0x7f09005a
int string preference_download_path 0x7f090063
int string preference_page_cache 0x7f09005c
int string preference_page_scaling 0x7f090057
int string preference_screen_ori 0x7f090054
int string preference_settings_title 0x7f090058
int string pull_next_pull 0x7f090074
int string pull_next_release 0x7f090075
int string pull_pre_pull 0x7f090072
int string pull_pre_release 0x7f090073
int string pull_refresh_pull 0x7f090070
int string pull_refresh_release 0x7f090071
int string pull_to_refresh_pull_label 0x7f090000
int string pull_to_refresh_refreshing_label 0x7f090002
int string pull_to_refresh_release_label 0x7f090001
int string refresh 0x7f090081
int string remove 0x7f09009a
int string remove_info_data 0x7f09009b
int string retry_max_next 0x7f09003e
int string retry_max_pre 0x7f09003d
int string sadpanda 0x7f09007e
int string some_page 0x7f09008c
int string star_2 0x7f090091
int string star_3 0x7f090092
int string star_4 0x7f090093
int string star_5 0x7f090094
int string start_download_task 0x7f090076
int string start_reloading 0x7f09003c
int string tag_change_name 0x7f09006e
int string tag_name 0x7f09006b
int string tag_name_empty 0x7f09006c
int string tag_name_exist 0x7f09006d
int string thanks 0x7f09009c
int string toast_add_download 0x7f090027
int string toast_add_favourite 0x7f090026
int string toast_invalid_page 0x7f090021
int string toast_login_failed 0x7f09000e
int string toast_login_succeeded 0x7f09000d
int string toast_logout_failed 0x7f090013
int string toast_logout_succeeded 0x7f090012
int string unfinished 0x7f09007f
int string username 0x7f090087
int string wait 0x7f090086
int string waiting 0x7f09007c
int string what_to_do 0x7f09008a
int style ActionBar 0x7f0c0000
int style AppTheme 0x7f0c0006
int style Button 0x7f0c0003
int style Button_Blue 0x7f0c0004
int style Button_White 0x7f0c0005
int style OverFlow 0x7f0c0001
int style PopupMenu 0x7f0c0002
int[] styleable CheckImage { 0x7f010037 }
int layout pull_list_view 0x7f030016
int layout pull_list_view_footer 0x7f030017
int layout pull_list_view_header 0x7f030018
int layout pull_to_refresh_head 0x7f030019
int layout search_view 0x7f03001a
int layout set_name 0x7f03001b
int layout start 0x7f03001c
int layout wait 0x7f03001d
int menu detail 0x7f0c0000
int menu main 0x7f0c0001
int raw change_log 0x7f050000
int raw thanks 0x7f050001
int string _default 0x7f0a0094
int string action_refresh 0x7f0a0058
int string action_settings 0x7f0a0059
int string actual_size 0x7f0a009c
int string add 0x7f0a0090
int string add_tag 0x7f0a0071
int string add_to_favourite 0x7f0a00a0
int string advance_search_left 0x7f0a00a6
int string app_name 0x7f0a0000
int string cache_large 0x7f0a006e
int string changelog 0x7f0a008a
int string check_login 0x7f0a000a
int string checkbox_advance 0x7f0a0013
int string checkbox_sdesc 0x7f0a0016
int string checkbox_sdt1 0x7f0a0019
int string checkbox_sdt2 0x7f0a001a
int string checkbox_sh 0x7f0a001b
int string checkbox_sname 0x7f0a0014
int string checkbox_sr 0x7f0a001c
int string checkbox_stags 0x7f0a0015
int string checkbox_sto 0x7f0a0018
int string checkbox_storr 0x7f0a0017
int string checking_update 0x7f0a002a
int string create_cache_error 0x7f0a0070
int string dailog_check_network 0x7f0a0005
int string dailog_network_error_no 0x7f0a0007
int string dailog_network_error_yes 0x7f0a0006
int string dailog_waring_no 0x7f0a0004
int string dailog_waring_plain 0x7f0a0002
int string dailog_waring_title 0x7f0a0001
int string dailog_waring_yes 0x7f0a0003
int string detail_average 0x7f0a0032
int string detail_button_cancel 0x7f0a0037
int string detail_button_every 0x7f0a0039
int string detail_button_known 0x7f0a003b
int string detail_button_once 0x7f0a0038
int string detail_button_read 0x7f0a0036
int string detail_language 0x7f0a0031
int string detail_not_rated 0x7f0a003d
int string detail_offensive 0x7f0a0035
int string detail_offensive_title 0x7f0a0034
int string detail_pages 0x7f0a002f
int string detail_people 0x7f0a0033
int string detail_pining 0x7f0a003a
int string detail_posted 0x7f0a002e
int string detail_preview_error 0x7f0a003c
int string detail_size 0x7f0a0030
int string detail_uploader 0x7f0a002d
int string develop 0x7f0a00a5
int string dialog_messgae_login_or_not 0x7f0a000e
int string dialog_send_crash_no 0x7f0a0023
int string dialog_send_crash_plain 0x7f0a0021
int string dialog_send_crash_title 0x7f0a0020
int string dialog_send_crash_yes 0x7f0a0022
int string dialog_title_login_or_not 0x7f0a000d
int string dialog_wait_send_crash_msg 0x7f0a0008
int string download 0x7f0a0097
int string download_successfully 0x7f0a0080
int string download_task_finished 0x7f0a007e
int string download_unsuccessfully 0x7f0a0081
int string downloading 0x7f0a007f
int string em_can_not_reach 0x7f0a0054
int string em_check_login_error 0x7f0a004d
int string em_client_protocol 0x7f0a0049
int string em_host_error 0x7f0a0057
int string em_login_error 0x7f0a004c
int string em_logout_error 0x7f0a004e
int string em_network_error 0x7f0a0043
int string em_no_network 0x7f0a0053
int string em_no_network_2 0x7f0a0055
int string em_open_input_stream_error 0x7f0a0047
int string em_parser_error 0x7f0a0046
int string em_put_cache_error 0x7f0a004a
int string em_read_input_stream_error 0x7f0a0048
int string em_request_error 0x7f0a0056
int string em_response_code_error 0x7f0a0045
int string em_retry 0x7f0a0050
int string em_retry_times 0x7f0a0051
int string em_timeout 0x7f0a0044
int string em_unknown_error 0x7f0a0052
int string em_url_error 0x7f0a004f
int string em_url_format_error 0x7f0a004b
int string error 0x7f0a0089
int string exit_tip 0x7f0a0009
int string favourite 0x7f0a0096
int string first_page 0x7f0a003f
int string fit_to_height 0x7f0a009e
int string fit_to_screen 0x7f0a009f
int string fit_to_width 0x7f0a009d
int string found_update 0x7f0a002c
int string hint_no_keyword 0x7f0a0012
int string homepage 0x7f0a0095
int string input_error 0x7f0a006f
int string jump 0x7f0a0092
int string jump_sum 0x7f0a001d
int string jump_to 0x7f0a001e
int string landscape 0x7f0a005d
int string last_page 0x7f0a0084
int string list_title 0x7f0a0027
int string load_pre 0x7f0a003e
int string login 0x7f0a008b
int string logout 0x7f0a008c
int string new_tag_name 0x7f0a0076
int string no_found 0x7f0a0026
int string not_login 0x7f0a000f
int string not_started 0x7f0a0082
int string password 0x7f0a008f
int string period 0x7f0a0087
int string portrait 0x7f0a005c
int string preference_author 0x7f0a006c
int string preference_author_summary 0x7f0a006d
int string preference_auto_page_cache 0x7f0a0067
int string preference_auto_page_cache_summary_off 0x7f0a0069
int string preference_auto_page_cache_summary_on 0x7f0a0068
int string preference_cache_summary 0x7f0a0065
int string preference_cache_summary_no 0x7f0a0066
int string preference_category_about 0x7f0a006b
int string preference_category_cache 0x7f0a0060
int string preference_category_display 0x7f0a005a
int string preference_clear_cp_cache 0x7f0a0062
int string preference_clear_page_cache 0x7f0a0064
int string preference_cp_cache 0x7f0a0061
int string preference_download_path 0x7f0a006a
int string preference_page_cache 0x7f0a0063
int string preference_page_scaling 0x7f0a005e
int string preference_screen_ori 0x7f0a005b
int string preference_settings_title 0x7f0a005f
int string pull_next_pull 0x7f0a007b
int string pull_next_release 0x7f0a007c
int string pull_pre_pull 0x7f0a0079
int string pull_pre_release 0x7f0a007a
int string pull_refresh_pull 0x7f0a0077
int string pull_refresh_release 0x7f0a0078
int string refresh 0x7f0a0088
int string remove 0x7f0a00a1
int string remove_info_data 0x7f0a00a2
int string retry_max_next 0x7f0a0042
int string retry_max_pre 0x7f0a0041
int string sadpanda 0x7f0a0085
int string some_page 0x7f0a0093
int string star_2 0x7f0a0098
int string star_3 0x7f0a0099
int string star_4 0x7f0a009a
int string star_5 0x7f0a009b
int string start_download_task 0x7f0a007d
int string start_reloading 0x7f0a0040
int string tag_change_name 0x7f0a0075
int string tag_name 0x7f0a0072
int string tag_name_empty 0x7f0a0073
int string tag_name_exist 0x7f0a0074
int string tap_update 0x7f0a0029
int string thanks 0x7f0a00a4
int string toast_add_download 0x7f0a0025
int string toast_add_favourite 0x7f0a0024
int string toast_invalid_page 0x7f0a001f
int string toast_login_failed 0x7f0a000c
int string toast_login_succeeded 0x7f0a000b
int string toast_logout_failed 0x7f0a0011
int string toast_logout_succeeded 0x7f0a0010
int string unfinished 0x7f0a0086
int string up_to_date 0x7f0a002b
int string update 0x7f0a00a3
int string update_message 0x7f0a0028
int string username 0x7f0a008e
int string wait 0x7f0a008d
int string waiting 0x7f0a0083
int string what_to_do 0x7f0a0091
int style ActionBar 0x7f0b0000
int style AppTheme 0x7f0b0009
int style AppTheme_NoActionBar 0x7f0b000a
int style AppTheme_NoActionBar_Transparent 0x7f0b000b
int style Button 0x7f0b0003
int style Button_Blue 0x7f0b0004
int style Button_White 0x7f0b0005
int style OverFlow 0x7f0b0001
int style PopupMenu 0x7f0b0002
int style ProgressBar 0x7f0b0006
int style ProgressBar_Large 0x7f0b0008
int style ProgressBar_Small 0x7f0b0007
int[] styleable CheckImage { 0x7f010016 }
int styleable CheckImage_mask 0
int[] styleable GridLayout { 0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027 }
int[] styleable GridLayout { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006 }
int styleable GridLayout_alignmentMode 4
int styleable GridLayout_columnCount 2
int styleable GridLayout_columnOrderPreserved 6
@@ -481,7 +450,7 @@ int styleable GridLayout_orientation 0
int styleable GridLayout_rowCount 1
int styleable GridLayout_rowOrderPreserved 5
int styleable GridLayout_useDefaultMargins 3
int[] styleable GridLayout_Layout { 0x010100f4, 0x010100f5, 0x010100f6, 0x010100f7, 0x010100f8, 0x010100f9, 0x010100fa, 0x7f010028, 0x7f010029, 0x7f01002a, 0x7f01002b, 0x7f01002c }
int[] styleable GridLayout_Layout { 0x010100f4, 0x010100f5, 0x010100f6, 0x010100f7, 0x010100f8, 0x010100f9, 0x010100fa, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b }
int styleable GridLayout_Layout_android_layout_height 1
int styleable GridLayout_Layout_android_layout_margin 2
int styleable GridLayout_Layout_android_layout_marginBottom 6
@@ -494,42 +463,7 @@ int styleable GridLayout_Layout_layout_columnSpan 10
int styleable GridLayout_Layout_layout_gravity 11
int styleable GridLayout_Layout_layout_row 7
int styleable GridLayout_Layout_layout_rowSpan 8
int[] styleable PullToRefresh { 0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011, 0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015, 0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019, 0x7f01001a, 0x7f01001b, 0x7f01001c, 0x7f01001d, 0x7f01001e, 0x7f01001f, 0x7f010020 }
int styleable PullToRefresh_ptrAdapterViewBackground 16
int styleable PullToRefresh_ptrAnimationStyle 12
int styleable PullToRefresh_ptrDrawable 6
int styleable PullToRefresh_ptrDrawableBottom 18
int styleable PullToRefresh_ptrDrawableEnd 8
int styleable PullToRefresh_ptrDrawableStart 7
int styleable PullToRefresh_ptrDrawableTop 17
int styleable PullToRefresh_ptrHeaderBackground 1
int styleable PullToRefresh_ptrHeaderSubTextColor 3
int styleable PullToRefresh_ptrHeaderTextAppearance 10
int styleable PullToRefresh_ptrHeaderTextColor 2
int styleable PullToRefresh_ptrListViewExtrasEnabled 14
int styleable PullToRefresh_ptrMode 4
int styleable PullToRefresh_ptrOverScroll 9
int styleable PullToRefresh_ptrRefreshableViewBackground 0
int styleable PullToRefresh_ptrRotateDrawableWhilePulling 15
int styleable PullToRefresh_ptrScrollingWhileRefreshingEnabled 13
int styleable PullToRefresh_ptrShowIndicator 5
int styleable PullToRefresh_ptrSubHeaderTextAppearance 11
int[] styleable SlidingMenu { 0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d }
int styleable SlidingMenu_behindOffset 3
int styleable SlidingMenu_behindScrollScale 5
int styleable SlidingMenu_behindWidth 4
int styleable SlidingMenu_fadeDegree 11
int styleable SlidingMenu_fadeEnabled 10
int styleable SlidingMenu_mode 0
int styleable SlidingMenu_selectorDrawable 13
int styleable SlidingMenu_selectorEnabled 12
int styleable SlidingMenu_shadowDrawable 8
int styleable SlidingMenu_shadowWidth 9
int styleable SlidingMenu_touchModeAbove 6
int styleable SlidingMenu_touchModeBehind 7
int styleable SlidingMenu_viewAbove 1
int styleable SlidingMenu_viewBehind 2
int[] styleable SuperImageView { 0x7f01002d, 0x7f01002e, 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036 }
int[] styleable SuperImageView { 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011, 0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015 }
int styleable SuperImageView_adjustViewBounds 2
int styleable SuperImageView_baseline 8
int styleable SuperImageView_baselineAlignBottom 6
@@ -540,5 +474,5 @@ int styleable SuperImageView_maxWidth 3
int styleable SuperImageView_scaleType 1
int styleable SuperImageView_src 0
int styleable SuperImageView_tint 5
int xml searchable 0x7f050000
int xml settings 0x7f050001
int xml searchable 0x7f040000
int xml settings 0x7f040001
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,2 +1,2 @@
/android
/com
/.gitignore
-2
View File
@@ -1,5 +1,3 @@
# cache for current jar dependency. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8
1389885111965 627582 db0f122c99ef9f90dbab3fada6d191f2880cbb8e E:\code\SlidingMenu\library\libs\android-support-v4.jar
1389885111965 627582 db0f122c99ef9f90dbab3fada6d191f2880cbb8e E:\Android\code\EhViewer\libs\android-support-v4.jar
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,2 +1,2 @@
/android
/com
/.gitignore
-3
View File
@@ -12,6 +12,3 @@
# Project target.
target=android-19
android.library.reference.3=../../../code/SlidingMenu/library
android.library.reference.1=../../../workspace/gridlayout_v7
android.library.reference.2=../../../code/Android-PullToRefresh/library
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate
android:drawable="@drawable/spinner_76_outer"
android:pivotX="50%"
android:pivotY="50%"
android:fromDegrees="0"
android:toDegrees="1080" />
</item>
<item>
<rotate
android:drawable="@drawable/spinner_76_inner"
android:pivotX="50%"
android:pivotY="50%"
android:fromDegrees="720"
android:toDegrees="0" />
</item>
</layer-list>
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate
android:drawable="@drawable/spinner_16_outer"
android:pivotX="50%"
android:pivotY="50%"
android:fromDegrees="0"
android:toDegrees="1080" />
</item>
<item>
<rotate
android:drawable="@drawable/spinner_16_inner"
android:pivotX="50%"
android:pivotY="50%"
android:fromDegrees="720"
android:toDegrees="0" />
</item>
</layer-list>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

+11 -1
View File
@@ -59,7 +59,17 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp" />
<LinearLayout
android:id="@+id/tags_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation = "vertical"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:layout_marginBottom="8dp" >
</LinearLayout>
<Button
android:id="@+id/button_read"
android:layout_width="wrap_content"
+51 -43
View File
@@ -1,50 +1,58 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ptr="http://schemas.android.com/apk/res-auto"
android:id="@+id/list_main"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fitsSystemWindows="true" >
<com.hippo.ehviewer.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<com.handmark.pulltorefresh.library.PullToRefreshListView
android:id="@+id/list_list"
<com.hippo.ehviewer.view.GetPaddingRelativeLayout
android:id="@+id/list_main"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:divider="@android:color/transparent"
android:dividerHeight="0dp"
ptr:ptrMode="both" />
android:fitsSystemWindows="true" >
<ProgressBar
android:id="@+id/list_wait_first"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone" />
<com.hippo.ehviewer.widget.PullListView
android:id="@+id/list_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<Button
android:id="@+id/list_refresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:onClick="buttonRefresh"
android:text="@string/refresh"
android:visibility="gone" />
<ImageView
android:id="@+id/sadpanda"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:src="@drawable/sadpanda"
android:visibility="gone" />
<ProgressBar
android:id="@+id/list_wait_first"
style="@style/ProgressBar.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone" />
<TextView
android:id="@+id/list_no_found"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/no_found"
android:textSize="24sp"
android:visibility="gone" />
<Button
android:id="@+id/list_refresh"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:onClick="buttonRefresh"
android:text="@string/refresh"
android:visibility="gone" />
</RelativeLayout>
<ImageView
android:id="@+id/sadpanda"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:src="@drawable/sadpanda"
android:visibility="gone" />
<TextView
android:id="@+id/list_no_found"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/no_found"
android:textSize="24sp"
android:visibility="gone" />
</com.hippo.ehviewer.view.GetPaddingRelativeLayout>
<include
layout="@layout/list_menu_list" />
<include
layout="@layout/list_menu_login" />
</com.hippo.ehviewer.widget.DrawerLayout>
+2 -4
View File
@@ -1,14 +1,12 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:hippo="http://schemas.android.com/apk/res/com.hippo.ehviewer"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<com.hippo.ehviewer.view.OlImageView
<com.hippo.ehviewer.widget.LoadImageView
android:id="@+id/cover"
android:layout_width="67dp"
android:layout_height="wrap_content"
hippo:adjustViewBounds="true"
android:layout_height="100dp"
android:scaleType="fitCenter"
android:layout_gravity="center" />
+2 -1
View File
@@ -1,8 +1,9 @@
<com.hippo.ehviewer.view.TagListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/list_menu_list"
android:layout_width="match_parent"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:clickable="true"
android:background="@color/blue_dark"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
+2 -2
View File
@@ -1,10 +1,10 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/list_menu_login"
android:layout_width="match_parent"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="end"
android:clickable="true"
android:background="@color/blue_dark"
android:fitsSystemWindows="true"
android:orientation="vertical" >
<include
+4 -4
View File
@@ -10,8 +10,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginBottom="4dp"
android:hint="@string/username" />
@@ -21,8 +21,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginBottom="16dp"
android:fontFamily="sans-serif"
android:hint="@string/password"/>
+23 -3
View File
@@ -4,14 +4,34 @@
android:background="@android:color/transparent" >
<Button
style="@style/Button.White"
android:id="@+id/button_login"
style="@style/Button.White"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="50dp"
android:onClick="buttonLogin"
android:text="@string/login" />
<Button
android:id="@+id/button_check_login"
style="@style/Button.White"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="120dp"
android:onClick="buttonCheckLogin"
android:text="@string/check_login" />
<ProgressBar
style="@android:style/Widget.Holo.ProgressBar.Large"
android:id="@+id/list_wait_login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="100dp"
android:text="@string/login"
android:onClick="buttonLogin" />
android:visibility="gone" />
</RelativeLayout>
+1 -1
View File
@@ -25,7 +25,7 @@
android:onClick="buttonLogout" />
<ProgressBar
style="?android:attr/progressBarStyleLarge"
style="@android:style/Widget.Holo.ProgressBar.Large"
android:id="@+id/list_wait_logout"
android:visibility="gone"
android:layout_width="wrap_content"
+5 -4
View File
@@ -9,11 +9,12 @@
layout="@layout/page_list_panel"
android:layout_gravity="center" />
<android.support.v7.widget.GridLayout
android:id="@+id/paper_list_gridLayout"
<com.hippo.ehviewer.widget.AutoWrapLayout
android:id="@+id/paper_list_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</android.support.v7.widget.GridLayout>
android:layout_height="wrap_content"
android:layout_gravity="center" >
</com.hippo.ehviewer.widget.AutoWrapLayout>
<ProgressBar
android:id="@+id/paper_list_wait"
+18
View File
@@ -0,0 +1,18 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<include
android:id="@+id/header"
layout="@layout/pull_list_view_header" />
<ListView
android:id="@+id/list_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:divider="@android:color/transparent"
android:dividerHeight="0dp" >
</ListView>
</LinearLayout>
+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="16dp"
android:layout_marginTop="16dp" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="horizontal" >
<ProgressBar
android:id="@+id/footer_progressBar"
style="@style/ProgressBar.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginRight="20dp"
android:visibility="gone" />
<TextView
android:id="@+id/footer_tip_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
+44
View File
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="16dp"
android:layout_marginTop="16dp" >
<ImageView
android:id="@+id/header_arrow_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:src="@drawable/ic_pulltorefresh_arrow" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="horizontal" >
<ProgressBar
android:id="@+id/header_progressBar"
style="@style/ProgressBar.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginRight="20dp"
android:visibility="gone" />
<TextView
android:id="@+id/header_tip_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/head_contentLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingBottom="15dip"
android:paddingTop="10dip" >
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="30dip"
android:layout_marginRight="20dip" >
<ImageView
android:id="@+id/head_arrowImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/ic_pulltorefresh_arrow" />
</FrameLayout>
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="100dip"
android:layout_marginRight="10dip"
android:paddingBottom="15dip"
android:paddingTop="10dip" >
<ProgressBar
android:id="@+id/head_progressBar"
style="@android:style/Widget.ProgressBar.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />
</FrameLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center_horizontal"
android:orientation="vertical" >
<TextView
android:id="@+id/head_tipsTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@android:color/black" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
+7
View File
@@ -0,0 +1,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/app_start_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/welcome" >
</LinearLayout>
+16
View File
@@ -1,3 +1,19 @@
Version 0.3.2 (2014-03-23)
* 添加启动界面
* 添加自动更新功能
* 添加检测登陆状态按钮
* 添加漫画标签显示
* 优化下拉控件
* 优化侧边栏
* 优化漫画列表
* 优化预览列表,屏幕颠倒可重新布局
* 列表标题显示内容
* 后台检查登陆状态
* 设置中添加移除所有应用通知项
* 修正清除缓存错误
* 修正 game 拼写为 gmae 错误
* 修正其他问题
Version 0.3.1 (2014-03-14)
* 修正有时点击通知栏无法进入下载界面
+34 -7
View File
@@ -16,7 +16,7 @@
<string name="exit_tip">再按一次退出</string>
<!-- Login -->
<string name="dailog_check_login">检查登陆状态</string>
<string name="check_login">检查登陆状态</string>
<string name="toast_login_succeeded">登陆成功</string>
<string name="toast_login_failed">登陆失败</string>
<string name="dialog_title_login_or_not">是否登陆</string>
@@ -49,6 +49,7 @@
<string name="dialog_send_crash_plain">上次该应用崩溃了。你愿意把日志发送给开发者以便以后得到更好的用户体验么?</string>
<string name="dialog_send_crash_yes">我愿意</string>
<string name="dialog_send_crash_no">门儿都没有</string>
<string name="dialog_wait_send_crash_msg">请在发送完日志后关闭该窗口</string>
<!-- List item long click -->
<string name="toast_add_favourite">已添加到收藏</string>
@@ -56,7 +57,15 @@
<!-- MangaListActivity -->
<string name="no_found">未找到</string>
<string name="list_title" formatted="false">%s 第 %d 页</string>
<!-- Update -->
<string name="update_message" formatted="false">发现新版本:%s\n大小:%s\n%s\n\n是否更新?</string>
<string name="tap_update">点击检查更新</string>
<string name="checking_update">正在检查更新</string>
<string name="up_to_date">已是最新版</string>
<string name="found_update">发现新版本</string>
<!-- MangaDetialActivity -->
<string name="detail_uploader">上传者:%s</string>
<string name="detail_posted">发布时间:%s</string>
@@ -93,6 +102,7 @@
<string name="em_client_protocol">无效的请求或无效的响应</string>
<string name="em_put_cache_error">存入缓存错误</string>
<string name="em_url_format_error">网址错误</string>
<string name="em_login_error">用户名或密码错误</string>
<string name="em_check_login_error">获取用户信息错误</string>
<string name="em_logout_error">退出错误</string>
<string name="em_url_error">网址错误</string>
@@ -102,6 +112,8 @@
<string name="em_no_network">无网络连接</string>
<string name="em_can_not_reach">你所在的网络无法连接到 e-hentai</string>
<string name="em_no_network_2">无网络连接?</string>
<string name="em_request_error">请求错误</string>
<string name="em_host_error">主机错误</string>
<!-- Action -->
<string name="action_refresh">刷新</string>
@@ -147,10 +159,25 @@
<!-- Pull -->
<string name="pull_refresh_pull">下拉刷新…</string>
<string name="pull_refresh_release">释放刷新…</string>
<string name="pull_pre_pull">下拉载入上一页…</string>
<string name="pull_pre_release">释放载入上一页…</string>
<string name="pull_next_pull">上提载入下一页…</string>
<string name="pull_next_release">释放载入下一页…</string>
<string name="pull_refresh_doing">正在刷新…</string>
<string name="pull_refresh_done">完成刷新</string>
<string name="pull_refresh_cancel">取消刷新</string>
<string name="pull_pre_pull">下拉读取上一页…</string>
<string name="pull_pre_release">释放读取上一页…</string>
<string name="pull_pre_doing">正在读取上一页…</string>
<string name="pull_pre_done">完成读取上一页</string>
<string name="pull_pre_cancel">取消读取上一页</string>
<string name="pull_load_pull">下拉加载…</string>
<string name="pull_load_release">释放加载…</string>
<string name="pull_load_doing">正在加载…</string>
<string name="pull_load_done">完成加载</string>
<string name="pull_load_cancel">取消加载</string>
<string name="footer_loading">正在加载更多…</string>
<string name="footer_loaded">已全部加载</string>
<string name="footer_fail">加载失败,点击继续加载</string>
<!-- Download -->
<string name="start_download_task">开始下载任务</string>
@@ -194,11 +221,11 @@
<string name="fit_to_screen">匹配屏幕</string>
<string name="add_to_favourite">收藏</string>
<string name="download">下载</string>
<string name="remove">移除</string>
<string name="remove_info_data">移除信息与数据</string>
<string name="update">更新</string>
<string name="thanks">感谢</string>
<string name="develop">开发</string>
<string name="advance_search_left">高级搜索请左划</string>
</resources>
-15
View File
@@ -60,20 +60,5 @@
<item>g.e-hentai.org</item>
<item>exhentai.org</item>
</string-array>
<string-array name="pull_refresh">
<item>@string/pull_refresh_pull</item>
<item>@string/pull_refresh_release</item>
</string-array>
<string-array name="pull_pre">
<item>@string/pull_pre_pull</item>
<item>@string/pull_pre_release</item>
</string-array>
<string-array name="pull_next">
<item>@string/pull_next_pull</item>
<item>@string/pull_next_release</item>
</string-array>
</resources>
-1
View File
@@ -3,7 +3,6 @@
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="shadow_width">15dp</dimen>
<dimen name="slidingmenu_offset">120dp</dimen>
<dimen name="menu_offset">150dp</dimen>
+34 -7
View File
@@ -13,18 +13,20 @@
<string name="dailog_check_network">Checking network</string>
<string name="dailog_network_error_yes">I don\'t care</string>
<string name="dailog_network_error_no">Fine</string>
<string name="dialog_wait_send_crash_msg">Please close the dialog after sending logcat</string>
<!-- Exit -->
<string name="exit_tip">Click again to exit</string>
<!-- Login -->
<string name="dailog_check_login">Checking login status</string>
<string name="check_login">Checking login status</string>
<string name="toast_login_succeeded">Login succeeded</string>
<string name="toast_login_failed">Login failed</string>
<string name="dialog_title_login_or_not">Login or not</string>
<string name="dialog_messgae_login_or_not">What are the benefits of login ?</string>
<string name="not_login">Do not login</string>
<string name="toast_logout_succeeded">Logout succeeded</string>
<string name="toast_logout_failed">Logout failed</string>
@@ -58,7 +60,15 @@
<!-- MangaListActivity -->
<string name="no_found">No hits found</string>
<string name="list_title" formatted="false">%s Page %d</string>
<!-- Update -->
<string name="update_message" formatted="false">Found new version : %s\nSize : %s\n%s\n\nUpdate ?</string>
<string name="tap_update">Tap to check update</string>
<string name="checking_update">checking updating</string>
<string name="up_to_date">Up to date</string>
<string name="found_update">Found update</string>
<!-- MangaDetialActivity -->
<string name="detail_uploader">Uploader: %s</string>
<string name="detail_posted">Posted: %s</string>
@@ -97,6 +107,7 @@
<string name="em_client_protocol">Invalid request or invalid response</string>
<string name="em_put_cache_error">Put cache error</string>
<string name="em_url_format_error">Url format error</string>
<string name="em_login_error">Username or password error</string>
<string name="em_check_login_error">Get user info error</string>
<string name="em_logout_error">Logout error</string>
<string name="em_url_error">Url error</string>
@@ -106,6 +117,8 @@
<string name="em_no_network">No network</string>
<string name="em_can_not_reach">Your network can not reach e-hentai</string>
<string name="em_no_network_2">No network ?</string>
<string name="em_request_error">Request error</string>
<string name="em_host_error">Host error</string>
<!-- Action -->
<string name="action_refresh">Refresh</string>
@@ -153,10 +166,25 @@
<!-- Pull -->
<string name="pull_refresh_pull">Pull to refresh…</string>
<string name="pull_refresh_release">Release to refresh…</string>
<string name="pull_refresh_doing">Refreshing…</string>
<string name="pull_refresh_done">Refreshed</string>
<string name="pull_refresh_cancel">Cancel refresh</string>
<string name="pull_pre_pull">Pull to load previous page…</string>
<string name="pull_pre_release">Release to load previous page…</string>
<string name="pull_next_pull">Pull to load next page…</string>
<string name="pull_next_release">Release to load next page…</string>
<string name="pull_pre_doing">Loading previous page…</string>
<string name="pull_pre_done">Loaded previous page…</string>
<string name="pull_pre_cancel">Cancel previous page…</string>
<string name="pull_load_pull">Pull to load…</string>
<string name="pull_load_release">Release to load…</string>
<string name="pull_load_doing">Loading…</string>
<string name="pull_load_done">Loaded</string>
<string name="pull_load_cancel">Cancel load</string>
<string name="footer_loading">Loading more…</string>
<string name="footer_loaded">All loaded</string>
<string name="footer_fail">Load fail,click to reload</string>
<!-- Download -->
<string name="start_download_task">Start download task</string>
@@ -201,12 +229,11 @@
<string name="fit_to_screen">Fit to screen</string>
<string name="add_to_favourite">Add to favourite</string>
<string name="download">Download</string>
<string name="remove">Remove</string>
<string name="remove_info_data">Remove information and data</string>
<string name="update">Update</string>
<string name="thanks">Thanks</string>
<string name="develop">Develop</string>
<string name="advance_search_left">Advance search in left</string>
</resources>
+19
View File
@@ -32,4 +32,23 @@
<item name="android:textColor">@android:color/black</item>
</style>
<style name="ProgressBar" parent="@android:Widget.Holo.ProgressBar">
</style>
<style name="ProgressBar.Small">
<item name="android:indeterminateDrawable">@drawable/progress_small</item>
<item name="android:minWidth">16dip</item>
<item name="android:maxWidth">16dip</item>
<item name="android:minHeight">16dip</item>
<item name="android:maxHeight">16dip</item>
</style>
<style name="ProgressBar.Large">
<item name="android:indeterminateDrawable">@drawable/progress_large</item>
<item name="android:minWidth">76dip</item>
<item name="android:maxWidth">76dip</item>
<item name="android:minHeight">76dip</item>
<item name="android:maxHeight">76dip</item>
</style>
</resources>
+12
View File
@@ -15,4 +15,16 @@
<item name="@android:scrollbarThumbVertical">@drawable/scrollbar_blue</item>
</style>
<style name="AppTheme.NoActionBar">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
</style>
<!-- Theme for start activity -->
<style name="AppTheme.NoActionBar.Transparent">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@android:style/Animation</item>
</style>
</resources>
+12 -2
View File
@@ -19,7 +19,6 @@
android:title="@string/preference_page_scaling" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/preference_category_cache" >
<EditTextPreference
android:defaultValue="25"
@@ -73,6 +72,17 @@
android:key="preference_thanks"
android:title="@string/thanks" />
<Preference
android:key="preference_update"
android:title="@string/update"
android:summary="@string/tap_update" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/develop" >
<Preference
android:key="preference_remove_all_noification"
android:title="点击移除所有通知" />
</PreferenceCategory>
</PreferenceScreen>
+2 -1
View File
@@ -13,6 +13,7 @@ import com.hippo.ehviewer.util.Ui;
import android.app.Application;
import android.util.Log;
import android.widget.Toast;
public class CrashApplication extends Application implements UncaughtExceptionHandler {
@@ -23,7 +24,7 @@ public class CrashApplication extends Application implements UncaughtExceptionHa
@Override
public void onCreate() {
super.onCreate();
Log.i(TAG, "onCreate");
// TODO Init everything
Config.init(this);
Ui.init(this);
@@ -0,0 +1,159 @@
package com.hippo.ehviewer;
import java.util.Stack;
import com.hippo.ehviewer.network.HttpHelper;
import com.hippo.ehviewer.util.Ui;
import com.hippo.ehviewer.util.Util;
import com.hippo.ehviewer.widget.LoadImageView;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Message;
import android.support.v4.util.LruCache;
import android.util.Log;
public class ImageLoadManager {
private static final String TAG = "ImageLoadManager";
private class LoadTask {
public LoadImageView liv;
public boolean download;
public Bitmap bitmap;
public LoadTask(LoadImageView liv, boolean download) {
this.liv = liv;
this.download = download;
}
}
private Context mContext;
private final Stack<LoadTask> mLoadCacheTask;
private ImageDownloadManager mImageDownloadTask;
private LruCache<String, Bitmap> mMemoryCache;
private DiskCache mDiskCache;
private LoadTask curLoadTask;
private final LoadTask emptyLoadTask = new LoadTask(null, false);
private static final Handler loadImageHandler =
new Handler() {
@Override
public void handleMessage(Message msg) {
LoadTask task = (LoadTask)msg.obj;
task.liv.setImageBitmap(task.bitmap);
}
};
public ImageLoadManager(Context context, LruCache<String, Bitmap> memoryCache,
DiskCache diskCache) {
mLoadCacheTask = new Stack<LoadTask>();
mImageDownloadTask = new ImageDownloadManager();
mContext = context;
mMemoryCache = memoryCache;
mDiskCache = diskCache;
}
public synchronized void add(LoadImageView liv, boolean download) {
liv.setState(LoadImageView.LOADING);
mLoadCacheTask.push(new LoadTask(liv, download));
if (curLoadTask == null) {
new Thread(new LoadFromCacheTask()).start();
curLoadTask = emptyLoadTask;
}
}
private class LoadFromCacheTask implements Runnable {
@Override
public void run() {
while (true) {
synchronized (ImageLoadManager.this) {
if (mLoadCacheTask.isEmpty()) {
curLoadTask = null;
break;
}
curLoadTask = mLoadCacheTask.pop();
}
LoadImageView liv = curLoadTask.liv;
String key = liv.getKey();
Bitmap bitmap;
if ((bitmap = mMemoryCache.get(key)) == null) {
bitmap = (Bitmap)mDiskCache.get(key, Util.BITMAP);
if (bitmap != null)
mMemoryCache.put(key, bitmap);
}
Message msg = new Message();
msg.obj = curLoadTask;
if (bitmap == null) { // Load from cache error
curLoadTask.bitmap = Ui.BITMAP_LAUNCH;
if (curLoadTask.download)
mImageDownloadTask.add(curLoadTask);
else
liv.setState(LoadImageView.FAIL);
} else {
curLoadTask.bitmap = bitmap;
liv.setState(LoadImageView.LOADED);
}
loadImageHandler.sendMessage(msg);
}
}
}
private class ImageDownloadManager {
private static final int MAX_DOWNLOAD_THREADS = 3;
private final Stack<LoadTask> mDownloadTask;
private int workingDownloadThreads = 0;
public ImageDownloadManager() {
mDownloadTask = new Stack<LoadTask>();
}
public synchronized void add(LoadTask loadTask) {
mDownloadTask.push(loadTask);
if (workingDownloadThreads < MAX_DOWNLOAD_THREADS) {
new Thread(new DownloadImageTask()).start();
workingDownloadThreads++;
}
}
private class DownloadImageTask implements Runnable {
@Override
public void run() {
LoadTask loadTask;
HttpHelper httpHelper = new HttpHelper();
while (true) {
synchronized (ImageDownloadManager.this) {
if (mDownloadTask.isEmpty()) {
loadTask = null;
workingDownloadThreads--;
break;
}
loadTask = mDownloadTask.pop();
}
LoadImageView liv = loadTask.liv;
Bitmap bitmap = httpHelper.getImage(liv.getUrl(),
liv.getKey(), mMemoryCache, mDiskCache, true);
Message msg = new Message();
msg.obj = loadTask;
if (bitmap == null) {
Log.d(TAG, mContext.getString(httpHelper.getLastEMsgId()));
loadTask.bitmap = Ui.BITMAP_TOUCH;
liv.setState(LoadImageView.FAIL);
liv.setOnClickListener(ImageLoadManager.this);
} else {
loadTask.bitmap = bitmap;
liv.setState(LoadImageView.LOADED);
}
loadImageHandler.sendMessage(msg);
}
}
}
}
}
+1 -1
View File
@@ -15,6 +15,6 @@ public class ListMangaDetail {
public boolean expunged;
public String rating;
public String torrentcount;
public String[] tags;
public String[][] tags;
}
+6 -2
View File
@@ -50,8 +50,11 @@ public class ListUrls {
if (!(object instanceof ListUrls))
return false;
ListUrls listUrls = (ListUrls)object;
if (page == listUrls.page && type == listUrls.type
return page == listUrls.page && isSameUrls(listUrls);
}
public boolean isSameUrls(ListUrls listUrls) {
if (type == listUrls.type
&& mAdvsearch == listUrls.mAdvsearch
&& isMinRating == listUrls.isMinRating) {
if ((search == null && listUrls.search != null)
@@ -72,6 +75,7 @@ public class ListUrls {
@Override
public ListUrls clone() {
ListUrls listUrls = new ListUrls(type, search, page);
listUrls.setMax(max);
if (mAdvsearch) {
if (isMinRating)
listUrls.setAdvance(advsearchType, minRating);
+187
View File
@@ -0,0 +1,187 @@
package com.hippo.ehviewer;
import com.hippo.ehviewer.activity.MangaListActivity;
import com.hippo.ehviewer.dialog.DialogBuilder;
import com.hippo.ehviewer.util.Config;
import com.hippo.ehviewer.util.Crash;
import com.hippo.ehviewer.view.AlertButton;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import android.widget.LinearLayout;
public class StartActivity extends Activity {
private static final int CHECK_WARING = 0;
private static final int CHECK_CRESH = 1;
private static final int CHECK_NETWORK = 2;
private String lastCrash;
private boolean isAnimationOver = false;
private boolean isCheckOver = false;
private AlertDialog createWarningDialog() {
return new DialogBuilder(this).setCancelable(false)
.setTitle(R.string.dailog_waring_title)
.setMessage(R.string.dailog_waring_plain)
.setPositiveButton(R.string.dailog_waring_yes,
new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
Config.allowed();
check(CHECK_NETWORK);
}
}).setNegativeButton(R.string.dailog_waring_no,
new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
finish();
}
}).create();
}
private AlertDialog createNetworkErrorDialog() {
return new DialogBuilder(this).setCancelable(false)
.setTitle(R.string.error).setMessage(R.string.em_no_network)
.setPositiveButton(R.string.dailog_network_error_yes,
new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
check(CHECK_CRESH);
}
})
.setNegativeButton(R.string.dailog_network_error_no,
new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
finish();
}
}).create();
}
private AlertDialog createSendCrashDialog() {
return new DialogBuilder(this).setCancelable(false)
.setTitle(R.string.dialog_send_crash_title)
.setMessage(R.string.dialog_send_crash_plain)
.setPositiveButton(R.string.dialog_send_crash_yes, new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
new DialogBuilder(StartActivity.this).setCancelable(false)
.setTitle(R.string.wait)
.setMessage(R.string.dialog_wait_send_crash_msg)
.setPositiveButton(android.R.string.ok,
new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
checkOver();
}
}).show();
Intent i = new Intent(Intent.ACTION_SENDTO);
i.setData(Uri.parse("mailto:ehviewersu@gmail.com"));
i.putExtra(Intent.EXTRA_SUBJECT, "I found a bug in EhViewer !");
i.putExtra(Intent.EXTRA_TEXT, lastCrash);
startActivity(i);
lastCrash = null;
}
}).setNegativeButton(R.string.dialog_send_crash_no, new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
lastCrash = null;
checkOver();
}
}).create();
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.start);
LinearLayout wellcome = (LinearLayout)findViewById(R.id.app_start_view);
// Show welcome in progress
AlphaAnimation aa = new AlphaAnimation(0.3f,1.0f);
aa.setDuration(2000);
aa.setAnimationListener(new AnimationListener() {
@Override
public void onAnimationEnd(Animation arg0) {
synchronized (StartActivity.this) {
if (isCheckOver)
redirectTo();
isAnimationOver = true;
}
}
@Override
public void onAnimationRepeat(Animation animation) {}
@Override
public void onAnimationStart(Animation animation) {}
});
wellcome.startAnimation(aa);
check(CHECK_WARING);
}
private void check(int order) {
switch (order) {
case CHECK_WARING:
if (!Config.isAllowed()) {
createWarningDialog().show();
return;
}
case CHECK_NETWORK:
if (!isNetworkAvailable()) {
createNetworkErrorDialog().show();
return;
}
case CHECK_CRESH:
if ((lastCrash = Crash.getLastCrash()) != null) {
createSendCrashDialog().show();
return;
}
}
checkOver();
}
private synchronized void checkOver() {
if (isAnimationOver)
redirectTo();
isCheckOver = true;
}
private boolean isNetworkAvailable() {
ConnectivityManager cm = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo mNetworkInfo = cm.getActiveNetworkInfo();
if (mNetworkInfo == null || !mNetworkInfo.isAvailable())
return false;
else
return true;
}
private void redirectTo(){
Intent intent = new Intent(this, MangaListActivity.class);
startActivity(intent);
finish();
}
}
+147
View File
@@ -0,0 +1,147 @@
package com.hippo.ehviewer;
import java.io.File;
import java.net.MalformedURLException;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.support.v4.app.NotificationCompat;
import android.util.Log;
import android.view.View;
import com.hippo.ehviewer.dialog.DialogBuilder;
import com.hippo.ehviewer.network.Downloader;
import com.hippo.ehviewer.util.Config;
import com.hippo.ehviewer.util.EhClient;
import com.hippo.ehviewer.view.AlertButton;
public class UpdateHelper {
private static final String TAG = "UpdateHelper";
private Activity mActivity;
private String updateFileName;
private OnCheckUpdateListener listener;
public UpdateHelper(Activity activity) {
mActivity = activity;
}
public void checkUpdate() {
EhClient.checkUpdate(new EhClient.OnCheckUpdateListener() {
@Override
public void onSuccess(String pageContext) {
String[] items = pageContext.split("\n");
if (items.length > 3) {
if (listener != null)
listener.onSuccess(pageContext);
String newVer = items[0];
final String url = EhClient.UPDATE_URL + items[1];
final String name = url.substring(url.lastIndexOf('/')+1);
updateFileName = name;
String size = items[2];
String info = items[3];
AlertDialog dialog = new DialogBuilder(mActivity).setTitle(R.string.update)
.setMessage(String.format(mActivity.getString(R.string.update_message), newVer, size, info))
.setNegativeButton(android.R.string.cancel, new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
}
}).setPositiveButton(android.R.string.ok, new View.OnClickListener() {
@Override
public void onClick(View v) {
((AlertButton)v).dialog.dismiss();
Downloader d = new Downloader();
try {
d.resetData(Config.getDownloadPath(), name, url);
d.setOnDownloadListener(new UpdateListener());
new Thread(d).start();
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
}).create();
if (!mActivity.isFinishing())
dialog.show();
} else if(pageContext.equals("none")) {
if (listener != null)
listener.onNoUpdate();
} else if(pageContext.equals("error")){
if (listener != null)
listener.onFailure(R.string.em_request_error);
} else {
if (listener != null)
listener.onFailure(R.string.em_host_error);
}
}
@Override
public void onFailure(int eMesgId) {
Log.d(TAG, mActivity.getString(eMesgId));
if (listener != null)
listener.onFailure(eMesgId);
}
});
}
public UpdateHelper SetOnCheckUpdateListener(OnCheckUpdateListener listener) {
this.listener = listener;
return this;
}
public interface OnCheckUpdateListener {
public void onSuccess(String pageContext);
public void onNoUpdate();
public void onFailure(int eMesgId);
}
private class UpdateListener implements Downloader.OnDownloadListener {
private NotificationManager mNotifyManager;
private NotificationCompat.Builder mBuilder;
public UpdateListener() {
mNotifyManager = (NotificationManager)
mActivity.getSystemService(Context.NOTIFICATION_SERVICE);
mBuilder = new NotificationCompat.Builder(mActivity.getApplicationContext());
mBuilder.setSmallIcon(R.drawable.ic_launcher);
}
@Override
public void onDownloadStart(int totalSize) {
mBuilder.setContentTitle("正在下载更新")
.setContentText(null)
.setProgress(0, 0, true).setOngoing(true);
mNotifyManager.notify(233, mBuilder.build());
}
@Override
public void onDownloadStatusUpdate(
int downloadSize, int totalSize) {
mBuilder.setContentTitle("正在下载更新")
.setContentText(String.format("%.2f / %.2f KB", downloadSize/1024.0f, totalSize/1024.0f))
.setProgress(totalSize, downloadSize, false).setOngoing(true);
mNotifyManager.notify(233, mBuilder.build());
}
@Override
public void onDownloadOver(boolean ok, int eMesgId) {
if (ok) {
mNotifyManager.cancel(233);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(Config.getDownloadPath(), updateFileName)),
"application/vnd.android.package-archive");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mActivity.getApplicationContext().startActivity(intent);
} else {
mBuilder.setContentTitle("下载更新失败")
.setContentText(null)
.setProgress(0, 0, false).setOngoing(false);
}
}
}
}
@@ -24,6 +24,7 @@ import android.widget.AdapterView.OnItemLongClickListener;
import android.widget.Toast;
import com.hippo.ehviewer.BeautifyScreen;
import com.hippo.ehviewer.ImageLoadManager;
import com.hippo.ehviewer.ListMangaDetail;
import com.hippo.ehviewer.R;
import com.hippo.ehviewer.dialog.DialogBuilder;
@@ -36,6 +37,7 @@ import com.hippo.ehviewer.util.Favourite;
import com.hippo.ehviewer.util.Ui;
import com.hippo.ehviewer.view.AlertButton;
import com.hippo.ehviewer.view.OlImageView;
import com.hippo.ehviewer.widget.LoadImageView;
public class FavouriteActivity extends Activity{
private static final String TAG = "FavouriteActivity";
@@ -44,6 +46,8 @@ public class FavouriteActivity extends Activity{
private ArrayList<ListMangaDetail> mFavouriteLmd;
private int longClickItemIndex;
private ImageLoadManager mImageLoadManager;
private DownloadServiceConnection mServiceConn = new DownloadServiceConnection();
// List item long click dialog
@@ -111,12 +115,10 @@ public class FavouriteActivity extends Activity{
if (convertView == null)
convertView = mInflater.inflate(R.layout.list_item, null);
OlImageView thumb = (OlImageView)convertView.findViewById(R.id.cover);
LoadImageView thumb = (LoadImageView)convertView.findViewById(R.id.cover);
if (!lmd.gid.equals(thumb.getKey())) {
thumb.setUrl(lmd.thumb);
thumb.setKey(lmd.gid);
thumb.setCache(Cache.memoryCache, Cache.cpCache);
thumb.loadFromCache();
thumb.setLoadInfo(lmd.thumb, lmd.gid);
mImageLoadManager.add(thumb, true);
// Set manga name
TextView name = (TextView) convertView.findViewById(R.id.name);
@@ -169,6 +171,8 @@ public class FavouriteActivity extends Activity{
longClickDialog = setLongClickDialog();
mImageLoadManager = new ImageLoadManager(getApplicationContext(), Cache.memoryCache, Cache.cpCache);
getActionBar().setDisplayHomeAsUpEnabled(true);
// For colourfy the activity
@@ -17,19 +17,19 @@ import com.hippo.ehviewer.util.Favourite;
import com.hippo.ehviewer.util.Ui;
import com.hippo.ehviewer.util.Util;
import com.hippo.ehviewer.view.OlImageView;
import com.hippo.ehviewer.widget.AutoWrapLayout;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.ColorDrawable;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.widget.GridLayout;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Gravity;
@@ -38,17 +38,15 @@ import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup.LayoutParams;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AutoCompleteTextView;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.ScrollView;
import android.widget.SearchView;
import android.widget.TextView;
import android.widget.Toast;
@@ -59,9 +57,6 @@ public class MangaDetailActivity extends Activity {
private static final String TAG = "MangaDetailActivity";
private static final int previewWidth = 100;
private static final int previewHeigth = 142;
private String url;
//private String gid;
//private String token;
@@ -74,7 +69,7 @@ public class MangaDetailActivity extends Activity {
private ViewGroup mangaDetailOffensive;
private ViewGroup mangaDetailPining;
private ViewGroup pageListMain;
private GridLayout pageListGridLayout;
private AutoWrapLayout pageListLayout;
private ProgressBar waitPageList;
private TextView previewNumText;
private TextView previewNumText2;
@@ -158,13 +153,13 @@ public class MangaDetailActivity extends Activity {
white.setBounds(0, 0, item.width, item.height);
tvu.setCompoundDrawables(null, white, null, null);
GridLayout.LayoutParams lp = new GridLayout.LayoutParams();
AutoWrapLayout.LayoutParams lp = new AutoWrapLayout.LayoutParams();
lp.leftMargin = Ui.dp2pix(8);
lp.topMargin = Ui.dp2pix(8);
lp.rightMargin = Ui.dp2pix(8);
lp.bottomMargin = Ui.dp2pix(8);
pageListGridLayout.addView(tvu, lp);
pageListLayout.addView(tvu, lp);
index++;
}
// Download pic
@@ -172,6 +167,8 @@ public class MangaDetailActivity extends Activity {
+ curPage + "-" + rowIndex, Util.getResourcesType(row.imageUrl), Cache.memoryCache,
Cache.cpCache, new int[]{page, rowIndex}, new PageImageGetListener());
rowIndex ++;
Log.d(TAG, "add page row");
}
}
@@ -206,7 +203,7 @@ public class MangaDetailActivity extends Activity {
item.xOffset, item.yOffset, item.width, item.height));
bitmapDrawable.setBounds(0, 0, item.width, item.height);
TextViewWithUrl tvu = (TextViewWithUrl)pageListGridLayout.getChildAt(i);
TextViewWithUrl tvu = (TextViewWithUrl)pageListLayout.getChildAt(i);
tvu.setCompoundDrawables(null, bitmapDrawable, null, null);
}
@@ -370,7 +367,7 @@ public class MangaDetailActivity extends Activity {
}
private void refreshPageList() {
pageListGridLayout.removeAllViews();
pageListLayout.removeAllViews();
waitPageList.setVisibility(View.VISIBLE);
previewRefreshButton.setVisibility(View.GONE);
@@ -418,6 +415,7 @@ public class MangaDetailActivity extends Activity {
if (Build.VERSION.SDK_INT >= 19) {
BeautifyScreen.fixColour(this);
}
}
@Override
@@ -483,7 +481,7 @@ public class MangaDetailActivity extends Activity {
mangaDetailOffensive = (ViewGroup) findViewById(R.id.manga_detail_offensive);
mangaDetailPining = (ViewGroup) findViewById(R.id.manga_detail_pining);
pageListMain = (ViewGroup) findViewById(R.id.page_list);
pageListGridLayout = (GridLayout) findViewById(R.id.paper_list_gridLayout);
pageListLayout = (AutoWrapLayout) findViewById(R.id.paper_list_layout);
waitPageList = (ProgressBar) findViewById(R.id.paper_list_wait);
previewRefreshButton = (Button) findViewById(R.id.preview_button_refresh);
previewNumText = (TextView) findViewById(R.id.preview_num);
@@ -496,7 +494,7 @@ public class MangaDetailActivity extends Activity {
setTitle(mangaDetail.gid);
calcGridLayout();
//calcGridLayout();
OlImageView coverImage = (OlImageView) findViewById(R.id.detail_cover);
coverImage.setUrl(mangaDetail.thumb);
@@ -563,6 +561,11 @@ public class MangaDetailActivity extends Activity {
peopleTv.setText(String.format(
getString(R.string.detail_people), mangaDetail.people));
if (mangaDetail.tags != null) {
LinearLayout tagsLayout = (LinearLayout) findViewById(R.id.tags_layout);
addTags(tagsLayout, mangaDetail.tags);
}
mangaDetailNormal.setVisibility(View.VISIBLE);
// Init go to dialog or disable it
@@ -576,11 +579,6 @@ public class MangaDetailActivity extends Activity {
if (mangaDetail.previewLists[0] != null) {
pageListMain.setVisibility(View.VISIBLE);
// preview num
int row = (mangaDetail.previewLists[0].getSum()+columnCount-1)
/columnCount;
if (row * (previewHeigth + Ui.dp2pix(32))
< (screenHeight - Ui.getStatusBarHeight()
- Ui.getNavigationBarHeight(false))/2)
bottomPanel.setVisibility(View.GONE);
previewNumText.setText(String.format("%d / %d",
@@ -597,16 +595,48 @@ public class MangaDetailActivity extends Activity {
}
}
private void calcGridLayout() {
// TODO If pre is longer then length, add plane at bottom
// For pageListGridLayout
DisplayMetrics displaymetrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
int screenWidth = displaymetrics.widthPixels;
screenHeight = displaymetrics.heightPixels;
columnCount = screenWidth / (previewWidth + Ui.dp2pix(16));
pageListGridLayout.setColumnCount(columnCount);
private void addTags(LinearLayout tagsLayout, String[][] tagGroups) {
tagsLayout.removeAllViews();
int darkBlue = getResources().getColor(R.color.blue_dark);
int x = Ui.dp2pix(8);
AutoWrapLayout layout = new AutoWrapLayout(this);
for (String[] tagGroup : tagGroups) {
for (int i = 0; i < tagGroup.length; i ++) {
if (i == 0)
continue;
TextView tagView = new TextView(this);
tagView.setText(tagGroup[i]);
tagView.setTextColor(Color.WHITE);
tagView.setBackgroundColor(darkBlue);
tagView.setPadding(x, x, x, x);
AutoWrapLayout.LayoutParams lp = new AutoWrapLayout.LayoutParams();
lp.setMargins(x, x, x, x);
layout.addView(tagView, lp);
}
}
tagsLayout.addView(layout);
// TODO show group name when it look well
/*
for (String[] tagGroup : tagGroups) {
AutoWrapLayout layout = new AutoWrapLayout(this);
for (int i = 0; i < tagGroup.length; i ++) {
TextView tagView = new TextView(this);
if (i == 0) {
tagView.setText(tagGroup[i] + ":");
} else {
tagView.setText(tagGroup[i]);
tagView.setTextColor(Color.WHITE);
tagView.setBackgroundColor(darkBlue);
}
tagView.setPadding(x, x, x, x);
AutoWrapLayout.LayoutParams lp = new AutoWrapLayout.LayoutParams();
lp.setMargins(x, x, x, x);
layout.addView(tagView, lp);
}
tagsLayout.addView(layout);
}*/
}
Loaded 100 of 120 files, more files were not shown because too many files have changed in this diff. Show more