Compare commits

...
44 Commits
Author SHA1 Message Date
seven332 66e2727acb 添加阅读信息获取 2014-06-14 02:14:27 +08:00
seven332 78bcb037ac 添加 Google Analytics 2014-06-14 01:49:40 +08:00
seven332 9aecbf9e66 添加默认收藏设置 2014-06-14 00:29:31 +08:00
seven332 bcba2f556b 字符串移至 string.xml 2014-06-13 22:47:24 +08:00
seven332 148f03a175 添加主题颜色设定 2014-06-13 22:01:37 +08:00
seven332 f39cfc7875 随机主题配色 2014-06-13 18:14:41 +08:00
seven332 5bc166d3da Translucent 移至 themes.xml 2014-06-13 00:15:25 +08:00
seven332 7e5a844246 修正收藏切换显示问题 2014-06-12 23:17:53 +08:00
seven332 8cecf200eb 完成账户收藏管理 2014-06-12 23:12:32 +08:00
seven332 535a6297af 注释掉关闭应用时删除文件 2014-06-11 20:19:17 +08:00
seven332 5ea2fdb651 抽象 AbstractGalleryActivity 2014-06-11 20:12:32 +08:00
seven332 bfe9044fda 更名 2014-06-10 23:41:39 +08:00
seven332 d277066d34 更改 Toast 颜色 2014-06-10 23:39:45 +08:00
seven332 cbbe1478ae 收藏界面添加返回键隐藏 ActionableToastBar 2014-06-10 22:52:22 +08:00
seven332 8848e712cc 调整 SuperToast 布局,使其不会横向占满屏幕 2014-06-10 12:50:15 +08:00
seven332 ed693d1742 更新 SuperSwipeRefreshLayout 对 paddingTop 判断方式,并修正其对滑动判断错误 2014-06-10 11:18:04 +08:00
seven332 626def198c 修正以匹配服务器的 json 格式 2014-06-10 08:31:43 +08:00
seven332 b9fc9b054b 更新检查地址改为 http://www.ehviewer.com/API 2014-06-10 08:23:59 +08:00
seven332 602f68e88b dialog 中 message 居中 2014-06-10 00:45:04 +08:00
seven332 dfa00b7605 将 Toast 换为 SuperToast 2014-06-10 00:34:58 +08:00
seven332 27cb0aa260 添加 SuperToast 2014-06-07 02:57:09 +08:00
seven332 416d080eb4 添加 ActionableToastBar 2014-06-07 02:03:26 +08:00
seven332 386c98575d 允许 HfListView 启用或禁用 Header 或 Footer 2014-06-05 23:06:09 +08:00
seven332 84f9aef856 使 SwipeProgressBar 在 paddingTop 不为 0 时正确显示 2014-06-05 20:17:25 +08:00
seven332 13cbb7507e 初步完成收藏 2014-06-05 19:18:59 +08:00
seven332 4a1594f982 调整 list 获取 2014-05-30 20:10:05 +08:00
seven332 761ce507f1 简化字符串 2014-05-30 15:27:01 +08:00
seven332 67884ed9d3 修正媒体扫描错误 2014-05-30 14:40:16 +08:00
seven332 12412d67fb 添加新的缓存管理 2014-05-30 12:29:25 +08:00
seven332 2c58f6c9ae 添加收藏夹批处理 2014-05-30 00:22:57 +08:00
seven332 65e908546b 修正 sad panda 识别 2014-05-29 22:01:40 +08:00
seven332 ea18b8c090 调整 List 获取 2014-05-29 20:39:03 +08:00
seven332 6c182f3bba 添加 ex test 2014-05-28 23:28:52 +08:00
seven332 807c49eea1 Detail Activity ActionBar Translucent 2014-05-28 22:33:38 +08:00
seven332 50dd19222e 添加 Detail Info 显示 2014-05-28 21:33:32 +08:00
seven332 b5bbf19a65 扩充 DetailParser 2014-05-28 20:43:46 +08:00
seven332 9ed06be68b 预先获取 density 2014-05-28 01:19:26 +08:00
seven332 9da0c76da6 调整 preview panel button 背景 2014-05-26 18:01:58 +08:00
seven332 1b06d19059 增加添加至服务器收藏 2014-05-25 23:30:05 +08:00
seven332 e258617c23 Add idear 2014-05-25 22:29:15 +08:00
seven332 839a7227ab 移除可能产生卡顿的不必要操作 2014-05-25 20:27:39 +08:00
seven332 f49b111e15 调整 action bar tag 背景 2014-05-25 17:12:51 +08:00
seven332 d5d6b6fb4c 添加一种列表搜索方式 2014-05-25 15:03:45 +08:00
seven332 7cc794d614 修正 changelog 错误 2014-05-25 14:46:03 +08:00
156 changed files with 8430 additions and 1289 deletions

No files matched your search

+3 -3
View File
@@ -15,8 +15,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hippo.ehviewer"
android:versionCode="16"
android:versionName="0.5.1" >
android:versionCode="17"
android:versionName="0.5.2" >
<uses-sdk
android:minSdkVersion="14"
@@ -33,7 +33,7 @@
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:theme="@style/AppTheme.Normal" >
<activity
android:name=".StartActivity"
-3
View File
@@ -1,8 +1,5 @@
以下文件采用 Creative Commons Attribution 3.0 Unported License 授权,未特殊说明均指 res 目录及其子目录下同名文件。
ab_bg.9.png
ab_bg_bottom.9.png
ab_bg_stacked.9.png
ic_action_completed.png
ic_action_core_overflow.png
ic_action_core_overflow_dark.png
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2012 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:valueFrom="0.0"
android:valueTo="1.0"
android:propertyName="alpha"
android:interpolator="@android:interpolator/decelerate_quad"
android:duration="250" />
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2012 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
android:valueFrom="1.0"
android:valueTo="0.0"
android:propertyName="alpha"
android:interpolator="@android:interpolator/decelerate_quad"
android:duration="250" />
-1
View File
@@ -16,5 +16,4 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromYDelta="100%p" android:toYDelta="0" android:duration="1000"/>
<alpha android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="1000" />
</set>
-1
View File
@@ -16,5 +16,4 @@
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromYDelta="0" android:toYDelta="-100%p" android:duration="1000"/>
<alpha android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="1000" />
</set>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 779 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

File renamed without changes.
+32
View File
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 Hippo Seven
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:state_selected="true"
android:drawable="@color/holo_purple_light_light" />
<item
android:state_focused="true"
android:drawable="@color/holo_purple_light_light" />
<item
android:state_pressed="true"
android:drawable="@color/holo_purple_light_light" />
<item
android:state_enabled="false"
android:drawable="@color/light_gray" />
<item
android:drawable="@android:color/holo_purple" />
</selector>
File renamed without changes.
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_pressed="true"
android:drawable="@android:color/white" />
<item android:state_focused="false" android:state_pressed="true"
android:drawable="@android:color/white" />
<item android:state_focused="true"
android:drawable="@android:color/white" />
<item
android:drawable="@android:color/transparent" />
</selector>
+3
View File
@@ -24,6 +24,9 @@
<item
android:state_pressed="true"
android:drawable="@drawable/card_bg_selected" />
<item
android:state_activated="true"
android:drawable="@drawable/card_bg_activated" />
<item
android:drawable="@drawable/card_bg" />
</selector>
+80
View File
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2012 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
<ImageView
android:id="@+id/description_icon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:paddingLeft="16dip"
android:paddingStart="16dip" />
<TextView
android:id="@+id/description_text"
android:layout_width="0dip"
android:layout_height="match_parent"
android:layout_weight="1"
android:ellipsize="end"
android:gravity="center_vertical"
android:paddingLeft="16dip"
android:paddingStart="16dip"
android:singleLine="true"
android:textColor="@android:color/white"
android:textSize="16sp" />
<LinearLayout
android:id="@+id/action_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="@drawable/clickable_bg_purple"
android:clickable="true" >
<View
android:id="@+id/separator"
android:layout_width="1dip"
android:layout_height="match_parent"
android:layout_marginBottom="10dip"
android:layout_marginRight="12dip"
android:layout_marginEnd="12dip"
android:layout_marginTop="10dip"
android:background="@android:color/white" />
<ImageView
android:id="@+id/action_icon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:layout_marginRight="4dip"
android:layout_marginEnd="4dip" />
<TextView
android:id="@+id/action_text"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="4dip"
android:layout_marginStart="4dip"
android:gravity="center_vertical"
android:paddingRight="16dip"
android:paddingEnd="16dip"
android:textSize="18sp"
android:textAllCaps="true"
android:textColor="@android:color/white"
android:fontFamily="sans-serif-condensed" />
</LinearLayout>
</merge>
+35
View File
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 Hippo Seven
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1" >
</ListView>
<CheckBox
android:id="@+id/set_default"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12.0dp"
android:layout_marginTop="8.0dp"
android:layout_marginBottom="8.0dp"
android:checked="false"
android:text="@string/set_default_favorite" />
</merge>
+48
View File
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_height="match_parent">
<ProgressBar android:id="@+id/progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:layout_marginBottom="1dip"
android:layout_marginStart="16dip"
android:layout_marginEnd="16dip"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/progress_percent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="16dip"
android:layout_marginStart="16dip"
android:layout_marginEnd="16dip"
android:layout_alignParentStart="true"
android:layout_below="@id/progress"
/>
<TextView
android:id="@+id/progress_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="16dip"
android:layout_marginStart="16dip"
android:layout_marginEnd="16dip"
android:layout_alignParentEnd="true"
android:layout_below="@id/progress"
/>
</RelativeLayout>
+1
View File
@@ -20,6 +20,7 @@
android:orientation="vertical" >
<LinearLayout
android:id="@+id/title_layout"
android:layout_width="fill_parent"
android:layout_height="64dp"
android:background="@android:color/holo_blue_dark"
+156
View File
@@ -0,0 +1,156 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Andrew Neal
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/color_scheme_dialog_row_padding" >
<com.hippo.ehviewer.widget.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<LinearLayout
android:id="@+id/color_scheme_dialog_row_one"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/color_picker_view"
android:layout_marginBottom="4dp"
android:orientation="horizontal"
android:paddingLeft="@dimen/color_scheme_dialog_row_padding"
android:paddingRight="@dimen/color_scheme_dialog_row_padding" >
<Button
android:id="@+id/color_scheme_dialog_preset_one"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/holo_blue_light" />
<Button
android:id="@+id/color_scheme_dialog_preset_two"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="1"
android:background="@android:color/holo_green_light" />
<Button
android:id="@+id/color_scheme_dialog_preset_three"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="1"
android:background="@android:color/holo_orange_dark" />
<Button
android:id="@+id/color_scheme_dialog_preset_four"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="1"
android:background="@android:color/holo_orange_light" />
<Button
android:id="@+id/color_scheme_dialog_old_color"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="2"
android:background="@android:color/holo_blue_dark"
android:text="@string/current_color"
android:textSize="12.0sp"
android:textStyle="bold" />
<Button
android:id="@+id/color_scheme_dialog_new_color"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:background="@android:color/transparent"
android:text="@string/new_color"
android:textSize="12.0sp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/color_scheme_dialog_row_one"
android:layout_marginBottom="4dp"
android:orientation="horizontal"
android:paddingLeft="@dimen/color_scheme_dialog_row_padding"
android:paddingRight="@dimen/color_scheme_dialog_row_padding" >
<Button
android:id="@+id/color_scheme_dialog_preset_five"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/holo_purple" />
<Button
android:id="@+id/color_scheme_dialog_preset_six"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="1"
android:background="@android:color/holo_red_light" />
<Button
android:id="@+id/color_scheme_dialog_preset_seven"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="1"
android:background="@android:color/darker_gray" />
<Button
android:id="@+id/color_scheme_dialog_preset_eight"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="1"
android:background="@android:color/black" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
android:layout_weight="4"
android:gravity="center"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hex" />
<EditText
android:id="@+id/color_scheme_dialog_hex_value"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:digits="0123456789ABCDEFabcdef"
android:imeOptions="actionGo"
android:inputType="textFilter"
android:maxLength="8"
android:singleLine="true"
android:typeface="monospace" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
+1
View File
@@ -104,6 +104,7 @@
</RelativeLayout>
<View
android:id="@+id/crude_divider"
android:layout_width="fill_parent"
android:layout_height="2.0dp"
android:background="@android:color/holo_blue_light" />
+4 -2
View File
@@ -20,6 +20,7 @@
android:orientation="vertical" >
<LinearLayout
android:id="@+id/title_layout"
android:layout_width="fill_parent"
android:layout_height="64.0dp"
android:orientation="horizontal"
@@ -46,7 +47,7 @@
android:layout_gravity="center"
android:layout_marginRight="8.0dp"
android:src="@drawable/ic_action_touch"
android:background="@drawable/blue_bn_bg"
android:background="@drawable/clickable_bg_blue"
android:visibility="gone" />
</LinearLayout>
@@ -68,12 +69,13 @@
android:id="@+id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="36dp"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:layout_marginTop="36dp"
android:layout_gravity="center"
android:textSize="18sp"
android:autoLink="web"
android:visibility="gone" />
<LinearLayout
+1 -1
View File
@@ -36,6 +36,6 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textColor="@android:color/holo_red_dark"
android:text="当前路径不可写" />
android:text="@string/cur_dir_not_writable" />
</LinearLayout>
@@ -13,12 +13,12 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory android:title="@string/develop" >
<Preference
android:key="preference_remove_all_noification"
android:title="点击移除所有通知" />
</PreferenceCategory>
</PreferenceScreen>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/favorite_menu_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/holo_blue_dark"
android:clickable="true"
android:divider="@color/detail_divider"
android:dividerHeight="1.0dp"
android:scrollbarThumbVertical="@drawable/scrollbar_white" />
+10 -7
View File
@@ -13,10 +13,15 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
android:layout_height="fill_parent" >
<com.hippo.ehviewer.widget.FswView
android:id="@+id/alignment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true" />
<ListView
android:id="@+id/favourite"
@@ -24,9 +29,7 @@
android:layout_height="fill_parent"
android:divider="@null"
android:listSelector="@android:color/transparent"
android:cacheColorHint="@color/main_background"
android:fitsSystemWindows="true"
android:clipToPadding="false" >
android:cacheColorHint="@color/list_main_bg" >
</ListView>
</LinearLayout>
</RelativeLayout>
+11 -16
View File
@@ -14,52 +14,47 @@
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<com.hippo.ehviewer.widget.FswView
android:id="@+id/alignment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true" />
android:layout_height="match_parent" />
<com.hippo.ehviewer.widget.HfListView
android:id="@+id/list_list"
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<ProgressBar
android:id="@+id/list_wait_first"
android:id="@+id/wait"
style="@style/ProgressBar.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone" />
android:layout_centerInParent="true" />
<Button
android:id="@+id/list_refresh"
android:id="@+id/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" />
android:text="@string/refresh" />
<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" />
android:src="@drawable/sadpanda" />
<TextView
android:id="@+id/list_no_found"
android:id="@+id/none"
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" />
android:text="@string/none"
android:textSize="24sp" />
</RelativeLayout>
+2 -1
View File
@@ -25,4 +25,5 @@
android:paddingRight="24dp"
android:minHeight="48dp"
android:maxHeight="48dp"
android:singleLine="true" />
android:singleLine="true"
android:textColor="@android:color/black" />
+1
View File
@@ -14,6 +14,7 @@
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/list_menu_left"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/holo_blue_dark"
+9 -11
View File
@@ -18,28 +18,26 @@
android:layout_height="wrap_content"
android:gravity="center" >
<ImageView
<View
android:id="@+id/back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/back" />
android:layout_width="24.0dp"
android:layout_height="48.0dp" />
<TextView
android:id="@+id/preview_num"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="48dp"
android:layout_marginRight="48dp"
android:layout_marginLeft="48.0dp"
android:layout_marginRight="48.0dp"
android:padding="12dp"
android:textSize="14sp"
android:textColor="@android:color/white"
android:background="@android:color/holo_blue_dark"
android:background="@drawable/clickable_bg_blue"
android:clickable="true" />
<ImageView
<View
android:id="@+id/front"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/front" />
android:layout_width="24.0dp"
android:layout_height="48.0dp" />
</LinearLayout>
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2011, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout android:id="@+id/body"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:baselineAligned="false"
android:padding="16dip">
<ProgressBar android:id="@android:id/progress"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:max="10000"
android:layout_marginEnd="16dip" />
<TextView android:id="@+id/message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical" />
</LinearLayout>
</FrameLayout>
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Hippo Seven
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="24.0dp"
android:paddingRight="24.0dp" >
<!-- TODO I have no idear how to make some space in left and right when message is long -->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="60.0dp"
android:minWidth="100.0dp"
android:background="@android:color/holo_purple" >
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingLeft="16dip"
android:paddingStart="16dip" />
<RelativeLayout
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1" >
<TextView
android:id="@+id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:paddingLeft="16dip"
android:paddingStart="16dip"
android:paddingRight="16dip"
android:paddingEnd="16dip"
android:paddingTop="18.0dp"
android:paddingBottom="18.0dp"
android:textColor="@android:color/white"
android:textSize="16sp" />
</RelativeLayout>
</LinearLayout>
</FrameLayout>
@@ -13,6 +13,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
</resources>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/action_list"
android:title="@string/list"
android:icon="@drawable/ic_action_list"
android:showAsAction="always" />
</menu>
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 Hippo Seven
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/action_delete"
android:title="@string/delete"
android:icon="@drawable/ic_action_delete_dark"
android:showAsAction="always" />
<item
android:id="@+id/action_move"
android:title="@string/move"
android:icon="@drawable/ic_action_move_dark"
android:showAsAction="always" />
</menu>
+7 -1
View File
@@ -1,4 +1,10 @@
Version 0.5.0 (2014-05-24)
Version 0.5.2 (2014-06-14)
* 添加账户收藏管理
* 添加主题颜色设定
* 添加 Google Analytics
* 修正其他问题
Version 0.5.1 (2014-05-24)
* 修正不能看瞎眼本子的错误
* 修正搜索标签错误
* 完善设置界面
+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 Hippo Seven
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<style name="AppTheme.Normal">
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
<style name="AppTheme.Main.ListActivity">
<item name="android:windowBackground">@color/list_main_bg</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
<!-- For activity whose main view is list, make background darker to match white list -->
<style name="AppTheme.ListActivity">
<item name="android:windowBackground">@color/list_main_bg</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
</resources>
Loaded 100 of 156 files, more files were not shown because too many files have changed in this diff. Show more