Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
66e2727acb | ||
|
|
78bcb037ac | ||
|
|
9aecbf9e66 | ||
|
|
bcba2f556b | ||
|
|
148f03a175 | ||
|
|
f39cfc7875 | ||
|
|
5bc166d3da | ||
|
|
7e5a844246 | ||
|
|
8cecf200eb | ||
|
|
535a6297af | ||
|
|
5ea2fdb651 | ||
|
|
bfe9044fda | ||
|
|
d277066d34 | ||
|
|
cbbe1478ae | ||
|
|
8848e712cc | ||
|
|
ed693d1742 | ||
|
|
626def198c | ||
|
|
b9fc9b054b | ||
|
|
602f68e88b | ||
|
|
dfa00b7605 | ||
|
|
27cb0aa260 | ||
|
|
416d080eb4 | ||
|
|
386c98575d | ||
|
|
84f9aef856 | ||
|
|
13cbb7507e | ||
|
|
4a1594f982 | ||
|
|
761ce507f1 | ||
|
|
67884ed9d3 | ||
|
|
12412d67fb | ||
|
|
2c58f6c9ae | ||
|
|
65e908546b | ||
|
|
ea18b8c090 | ||
|
|
6c182f3bba | ||
|
|
807c49eea1 | ||
|
|
50dd19222e | ||
|
|
b5bbf19a65 | ||
|
|
9ed06be68b | ||
|
|
9da0c76da6 | ||
|
|
1b06d19059 | ||
|
|
e258617c23 | ||
|
|
839a7227ab | ||
|
|
f49b111e15 | ||
|
|
d5d6b6fb4c | ||
|
|
7cc794d614 |
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" />
|
||||
@@ -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" />
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
Before Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 199 B |
|
After Width: | Height: | Size: 898 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 818 B |
|
After Width: | Height: | Size: 941 B |
|
After Width: | Height: | Size: 1005 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 914 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 877 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 847 B |
|
After Width: | Height: | Size: 997 B |
|
Before Width: | Height: | Size: 168 B |
|
Before Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 166 B |
|
After Width: | Height: | Size: 576 B |
|
After Width: | Height: | Size: 689 B |
|
After Width: | Height: | Size: 493 B |
|
After Width: | Height: | Size: 562 B |
|
After Width: | Height: | Size: 602 B |
|
After Width: | Height: | Size: 723 B |
|
After Width: | Height: | Size: 600 B |
|
After Width: | Height: | Size: 726 B |
|
After Width: | Height: | Size: 583 B |
|
After Width: | Height: | Size: 694 B |
|
After Width: | Height: | Size: 779 B |
|
After Width: | Height: | Size: 885 B |
|
After Width: | Height: | Size: 560 B |
|
After Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
@@ -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" />
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" />
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -25,4 +25,5 @@
|
||||
android:paddingRight="24dp"
|
||||
android:minHeight="48dp"
|
||||
android:maxHeight="48dp"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:textColor="@android:color/black" />
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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)
|
||||
* 修正不能看瞎眼本子的错误
|
||||
* 修正搜索标签错误
|
||||
* 完善设置界面
|
||||
|
||||
@@ -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>
|
||||