Skip to content

Commit 0d743d7

Browse files
author
Tneciv
committed
improve the nightmode
1 parent abd6bcf commit 0d743d7

File tree

15 files changed

+24
-28
lines changed

15 files changed

+24
-28
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### 历史版本:
66

7+
* [3.38](https://raw.githubusercontent.com/Tneciv/ZhihuDaily/dev/apk/com.tneciv.zhihudaily-3.38-20160305-release.apk)
78
* [3.36](https://raw.githubusercontent.com/Tneciv/ZhihuDaily/dev/apk/com.tneciv.zhihudaily-3.36-20160229-release.apk)
89
* [3.35](https://raw.githubusercontent.com/Tneciv/ZhihuDaily/dev/apk/com.tneciv.zhihudaily-3.35-20160225-release.apk)
910
* [3.33](https://raw.githubusercontent.com/Tneciv/ZhihuDaily/dev/apk/com.tneciv.zhihudaily-3.33-20160220-release.apk)
@@ -15,11 +16,11 @@
1516
#### 部分特性
1617

1718
- Material Design
18-
- 首页最新消息
19-
- 启动速度优化
2019
- 不含多余权限
2120
- 多种视图模式
2221
- MVP架构
22+
- 夜间模式
23+
- 无图模式
2324

2425
#### 为什么是「壁上观」
2526

@@ -36,9 +37,7 @@
3637

3738
#### 为什么要有「壁上观」?
3839

39-
起初「壁上观」只是一个练手项目,只有很简单的网络请求和结果解析加载功能,发布到Google play后意外得到了几个好评,深感愧疚,便有了重构了的念头。
40-
41-
项目重构为MVP架构,第三方库也基本全部更换,为了更深入理解 Material Design , 重新学习 Google guide , 坑挖的太大,仍在努力填坑中。
40+
官方知乎日报客户端迟迟不见更新为 Material Design ,界面不够美观,内容分类杂乱,一己之力,希望有另一种实现。
4241

4342
### 应用预览
4443

2.25 MB
Binary file not shown.

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.tneciv.zhihudaily"
88
minSdkVersion 16
99
targetSdkVersion 23
10-
versionCode 20160303
11-
versionName '3.37'
10+
versionCode 20160305
11+
versionName '3.38'
1212
}
1313
buildTypes {
1414
release {

app/src/main/res/layout/appintro_first.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
android:gravity="center"
4646
android:paddingLeft="64dp"
4747
android:paddingRight="64dp"
48-
android:text="是一个知乎日报阅读app"
48+
android:text="是一个知乎日报阅读App"
4949
android:textColor="#ffffff"
5050
android:textSize="16sp" />
5151

app/src/main/res/layout/appintro_third.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
android:layout_weight="3"
4545
android:gravity="center"
4646
android:paddingLeft="64dp"
47+
android:autoLink="web"
4748
android:paddingRight="64dp"
48-
android:text="「壁上观」\n\n @Tneciv"
49+
android:text="「壁上观」 Tneciv © \n \n https://github.com/Tneciv/ZhihuDaily "
4950
android:textColor="#ffffff"
5051
android:textSize="16sp" />
5152

app/src/main/res/layout/content_detail.xml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
android:id="@+id/nested"
66
android:layout_width="match_parent"
77
android:layout_height="match_parent"
8-
android:paddingTop="28dp"
98
android:scrollbarAlwaysDrawVerticalTrack="true"
109
android:scrollbarStyle="insideOverlay"
1110
android:scrollbars="vertical"
@@ -14,9 +13,17 @@
1413
tools:context="com.tneciv.zhihudaily.detail.view.DetailActivity"
1514
tools:showIn="@layout/activity_detail">
1615

17-
<WebView
18-
android:id="@+id/webView"
16+
<LinearLayout
1917
android:layout_width="match_parent"
20-
android:layout_height="wrap_content" />
18+
android:layout_height="match_parent"
19+
android:orientation="vertical"
20+
android:paddingTop="28dp">
21+
22+
<WebView
23+
android:id="@+id/webView"
24+
android:layout_width="match_parent"
25+
android:layout_height="wrap_content" />
26+
</LinearLayout>
27+
2128

2229
</android.support.v4.widget.NestedScrollView>

app/src/main/res/menu/activity_main_drawer.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222

2323
<item android:title="@string/app_name">
2424
<menu>
25+
<item
26+
android:id="@+id/nav_gitHub"
27+
android:icon="@drawable/ic_action_github"
28+
android:title="@string/title_activity_opensource" />
2529
<item
2630
android:id="@+id/nav_send"
2731
android:icon="@drawable/ic_fingerprint"
2832
android:title="@string/about" />
29-
<item
30-
android:id="@+id/nav_gitHub"
31-
android:icon="@drawable/ic_action_github"
32-
android:title="GitHub" />
3333
</menu>
3434
</item>
3535

4 KB
Loading
2.05 KB
Loading
6.71 KB
Loading

0 commit comments

Comments
 (0)