Skip to content

Commit 299bf59

Browse files
committed
修正回复按钮图片
1 parent e9eb7e6 commit 299bf59

5 files changed

Lines changed: 102 additions & 2 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--
2+
~ Copyright 2017 GcsSloop
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
~
16+
~ Last modified 2017-03-30 00:25:57
17+
~
18+
~ GitHub: https://github.com/GcsSloop
19+
~ Website: http://www.gcssloop.com
20+
~ Weibo: http://weibo.com/GcsSloop
21+
-->
22+
23+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
24+
25+
<item android:drawable="@drawable/topic_reply_btn_normal" android:state_enabled="true" android:state_window_focused="false"/>
26+
<item android:drawable="@drawable/topic_reply_btn_normal" android:state_enabled="false"/>
27+
<item android:drawable="@drawable/topic_reply_btn_click" android:state_pressed="true"/>
28+
<item android:drawable="@drawable/topic_reply_btn_normal" android:state_focused="true"/>
29+
30+
</selector>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--
2+
~ Copyright 2017 GcsSloop
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
~
16+
~ Last modified 2017-03-30 00:23:16
17+
~
18+
~ GitHub: https://github.com/GcsSloop
19+
~ Website: http://www.gcssloop.com
20+
~ Weibo: http://weibo.com/GcsSloop
21+
-->
22+
23+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
24+
android:shape="rectangle">
25+
<solid android:color="#467EE1"/>
26+
<stroke
27+
android:width="1dp"
28+
android:color="#999999"/>
29+
<corners
30+
android:bottomLeftRadius="4dp"
31+
android:bottomRightRadius="4dp"
32+
android:topLeftRadius="4dp"
33+
android:topRightRadius="4dp"/>
34+
</shape>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--
2+
~ Copyright 2017 GcsSloop
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
~
16+
~ Last modified 2017-03-30 00:24:36
17+
~
18+
~ GitHub: https://github.com/GcsSloop
19+
~ Website: http://www.gcssloop.com
20+
~ Weibo: http://weibo.com/GcsSloop
21+
-->
22+
23+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
24+
android:shape="rectangle">
25+
<solid android:color="#356DD0"/>
26+
<stroke
27+
android:width="1dp"
28+
android:color="#999999"/>
29+
<corners
30+
android:bottomLeftRadius="4dp"
31+
android:bottomRightRadius="4dp"
32+
android:topLeftRadius="4dp"
33+
android:topRightRadius="4dp"/>
34+
</shape>

diycode-app/src/main/res/layout/activity_topic_content.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,11 @@
227227
android:textSize="16sp"/>
228228

229229
<Button
230+
android:layout_marginTop="12dp"
231+
android:background="@drawable/topic_reply_btn_bg"
230232
android:id="@+id/send_reply"
231233
android:layout_width="100dp"
232-
android:layout_height="wrap_content"
234+
android:layout_height="40dp"
233235
android:layout_alignParentRight="true"
234236
android:layout_below="@id/my_reply"
235237
android:text="发送"/>

diycode-app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
<string name="about_me_title">我是谁?</string>
3939
<string name="about_me_desc">
40-
&#160;&#160;&#160;&#160;我是机娘 0.01 号,内核版本 v0.08,由电力驱动,目前生活在你的手机中,
40+
&#160;&#160;&#160;&#160;我是机娘 0.01 号,内核版本 v0.1.0,由电力驱动,目前生活在你的手机中,
4141
主要任务是帮助你看到最新的社区信息,由于我上学时经常逃课,知识水平不高,所以我偶尔会抽风,
4242
如果遇到这种情况,请千万不要告诉我爸爸,否则他会把我抓回去再教育的。
4343
</string>

0 commit comments

Comments
 (0)