Skip to content

Commit 148be96

Browse files
committed
更新ShadowLayout成长历史
1 parent b9dfdd1 commit 148be96

File tree

2 files changed

+79
-1
lines changed

2 files changed

+79
-1
lines changed

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

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,88 @@
7575
android:orientation="vertical">
7676

7777

78+
<TextView
79+
android:layout_width="wrap_content"
80+
android:layout_height="wrap_content"
81+
android:layout_marginLeft="@dimen/dp_15"
82+
android:layout_marginTop="25dp"
83+
android:layout_marginRight="@dimen/dp_15"
84+
android:text="3.1.3 (2020-11-04)"
85+
android:textColor="@color/title_color"
86+
android:textSize="15sp"
87+
/>
88+
89+
<TextView
90+
android:layout_width="wrap_content"
91+
android:layout_height="wrap_content"
92+
android:layout_marginLeft="@dimen/dp_15"
93+
android:layout_marginTop="5dp"
94+
android:layout_marginRight="@dimen/dp_15"
95+
android:text="@string/des_3.1.3"
96+
android:textColor="#000"
97+
android:textSize="15sp"
98+
/>
99+
100+
101+
102+
103+
<TextView
104+
android:layout_width="wrap_content"
105+
android:layout_height="wrap_content"
106+
android:layout_marginLeft="@dimen/dp_15"
107+
android:layout_marginTop="25dp"
108+
android:layout_marginRight="@dimen/dp_15"
109+
android:text="3.1.2 (2020-10-30)"
110+
android:textColor="@color/title_color"
111+
android:textSize="15sp"
112+
/>
113+
114+
<TextView
115+
android:layout_width="wrap_content"
116+
android:layout_height="wrap_content"
117+
android:layout_marginLeft="@dimen/dp_15"
118+
android:layout_marginTop="5dp"
119+
android:layout_marginRight="@dimen/dp_15"
120+
android:text="@string/des_3.1.2"
121+
android:textColor="#000"
122+
android:textSize="15sp"
123+
/>
124+
125+
126+
127+
<TextView
128+
android:layout_width="wrap_content"
129+
android:layout_height="wrap_content"
130+
android:layout_marginLeft="@dimen/dp_15"
131+
android:layout_marginTop="25dp"
132+
android:layout_marginRight="@dimen/dp_15"
133+
android:text="3.1.1 (2020-10-28)"
134+
android:textColor="@color/title_color"
135+
android:textSize="15sp"
136+
/>
137+
138+
<TextView
139+
android:layout_width="wrap_content"
140+
android:layout_height="wrap_content"
141+
android:layout_marginLeft="@dimen/dp_15"
142+
android:layout_marginTop="5dp"
143+
android:layout_marginRight="@dimen/dp_15"
144+
android:text="@string/des_3.1.1"
145+
android:textColor="#000"
146+
android:textSize="15sp"
147+
/>
148+
149+
150+
151+
78152

79153
<TextView
80154
android:layout_width="wrap_content"
81155
android:layout_height="wrap_content"
82156
android:layout_marginLeft="@dimen/dp_15"
83157
android:layout_marginTop="25dp"
84158
android:layout_marginRight="@dimen/dp_15"
85-
android:text="3.1.0 (2020-10-28)"
159+
android:text="3.1.0 (2020-10-24)"
86160
android:textColor="@color/title_color"
87161
android:textSize="15sp"
88162
/>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<string name="des_3.0.3">☛ 修改了select时,内部设置点击,占据焦点的问题\n☛ 解决了在recyclerView中,adapter.notifyItemChange时,setSelect(true)第一次失效的问题\n☛ 解决clickable无效问题\n☛ 增加了代码设置阴影是否可见</string>
1414
<string name="des_3.0.4">☛ 修复在xml设置app:clickable="false"时,代码设置为true时,点击事件失效。\n☛ 修改issues#57下的代码规范,非常感谢lydlovezjr同学issues57</string>
1515
<string name="des_3.1.0">☛ shapeMode新增了ripple(点击水波纹样式),具体会在README中说明\n☛ ShadowLayout,新增了渐变色,这也是issues大量出现的需求,感谢大家的支持</string>
16+
<string name="des_3.1.1">☛ 再使用shape功能时,在按钮点击的时候,往往也会伴随textView的颜色值变化\n☛ app:hl_bindTextView="@+id/txt_rippled" 要绑定的textView的id\n☛ app:hl_text="点击前的文案";app:hl_text_true="点击后的文案"\n☛ app:hl_textColor="#000",点击前的文案颜色;app:hl_textColor_true="#fff",点击后的文案颜色</string>
17+
<string name="des_3.1.2">☛ 因软键盘的弹出和收起,触发addOnLayoutChangeListener引起的bug,解决</string>
18+
<string name="des_3.1.3">☛ 增加代码设置属性:\n☛ 1、setShadowHidden 设置阴影是否隐藏\n☛ 2、setShadowColor 设置阴影颜色值\n☛ 3、setShadowLimit 设置阴影扩散区域\n☛ 4、setOffsetX 设置阴影的X轴偏移量\n☛ 5、setOffsetY 设置阴影的Y轴偏移量\n☛ 6、setShadowHiddenTop 隐藏上边阴影(同理其他三遍)\n☛ 7、setCornerRadius 设置圆角\n☛ 8、setLayoutBackground 设置false时的背景颜色值\n☛ 9、setLayoutBackgroundTrue 设置true时的背景颜色值\n☛ 10、setStrokeColor 设置false时的边框颜色\n☛ 11、setStrokeColorTrue 设置true时的边框颜色\n☛ 12、setClickable 设置ShadowLayout不可点击</string>
19+
1620

1721

1822
</resources>

0 commit comments

Comments
 (0)