Skip to content

Releases: chenBingX/SuperTextView

v3.2.6.99

17 Jan 15:47
Compare
Choose a tag to compare
  • Support for setting 'Network Image' in XML for StateDrawable and StateDrawable2

In XML, use a 'Network Image' as a background image

<com.coorchice.library.SuperTextView
  android:id="@+id/stv_40"
  android:layout_width="150dp"
  android:layout_height="150dp"
  android:layout_gravity="center_horizontal"
  android:layout_marginTop="16dp"
  android:gravity="bottom|center"
  android:paddingBottom="1dp"
  android:text="网络背景图"
  android:textColor="#000"
  android:textSize="14sp"
  app:stv_corner="10dp"
  app:stv_isShowState="true"
  app:stv_drawableAsBackground="true"
  app:stv_solid="#f1f1f1"
  app:stv_state_drawable="https://gw.alicdn.com/imgextra/i3/O1CN01suhAFr1cXQX49D2xp_!!6000000003610-0-tps-468-466.jpg" />

In XML, set the 'Network Image' for StateDrawable2

<com.coorchice.library.SuperTextView
  android:id="@+id/stv_41"
  android:layout_width="350dp"
  android:layout_height="100dp"
  android:layout_gravity="center_horizontal"
  android:layout_marginTop="30dp"
  android:paddingLeft="116dp"
  android:paddingTop="30dp"
  android:text="StateDrawable2 网络图"
  android:textColor="@color/black"
  android:textSize="14sp"
  app:stv_corner="50dp"
  app:stv_isShowState2="true"
  app:stv_left_bottom_corner="true"
  app:stv_left_top_corner="true"
  app:stv_solid="#f1f1f1"
  app:stv_state_drawable2="https://gw.alicdn.com/imgextra/i3/O1CN01XPmcmt1vJfKcQ8o6O_!!6000000006152-0-tps-500-500.jpg"
  app:stv_state_drawable2_height="100dp"
  app:stv_state_drawable2_mode="left"
  app:stv_state_drawable2_width="100dp"/>

v3.2.6.64

17 Jan 15:44
Compare
Choose a tag to compare
  • Support for setting 'Network Image' in XML for StateDrawable and StateDrawable2

In XML, use a 'Network Image' as a background image

<com.coorchice.library.SuperTextView
  android:id="@+id/stv_40"
  android:layout_width="150dp"
  android:layout_height="150dp"
  android:layout_gravity="center_horizontal"
  android:layout_marginTop="16dp"
  android:gravity="bottom|center"
  android:paddingBottom="1dp"
  android:text="网络背景图"
  android:textColor="#000"
  android:textSize="14sp"
  app:stv_corner="10dp"
  app:stv_isShowState="true"
  app:stv_drawableAsBackground="true"
  app:stv_solid="#f1f1f1"
  app:stv_state_drawable="https://gw.alicdn.com/imgextra/i3/O1CN01suhAFr1cXQX49D2xp_!!6000000003610-0-tps-468-466.jpg" />

In XML, set the 'Network Image' for StateDrawable2

<com.coorchice.library.SuperTextView
  android:id="@+id/stv_41"
  android:layout_width="350dp"
  android:layout_height="100dp"
  android:layout_gravity="center_horizontal"
  android:layout_marginTop="30dp"
  android:paddingLeft="116dp"
  android:paddingTop="30dp"
  android:text="StateDrawable2 网络图"
  android:textColor="@color/black"
  android:textSize="14sp"
  app:stv_corner="50dp"
  app:stv_isShowState2="true"
  app:stv_left_bottom_corner="true"
  app:stv_left_top_corner="true"
  app:stv_solid="#f1f1f1"
  app:stv_state_drawable2="https://gw.alicdn.com/imgextra/i3/O1CN01XPmcmt1vJfKcQ8o6O_!!6000000006152-0-tps-500-500.jpg"
  app:stv_state_drawable2_height="100dp"
  app:stv_state_drawable2_mode="left"
  app:stv_state_drawable2_width="100dp"/>

v3.2.6

17 Jan 15:41
Compare
Choose a tag to compare
  • Support for setting 'Network Image' in XML for StateDrawable and StateDrawable2

In XML, use a 'Network Image' as a background image

<com.coorchice.library.SuperTextView
  android:id="@+id/stv_40"
  android:layout_width="150dp"
  android:layout_height="150dp"
  android:layout_gravity="center_horizontal"
  android:layout_marginTop="16dp"
  android:gravity="bottom|center"
  android:paddingBottom="1dp"
  android:text="网络背景图"
  android:textColor="#000"
  android:textSize="14sp"
  app:stv_corner="10dp"
  app:stv_isShowState="true"
  app:stv_drawableAsBackground="true"
  app:stv_solid="#f1f1f1"
  app:stv_state_drawable="https://gw.alicdn.com/imgextra/i3/O1CN01suhAFr1cXQX49D2xp_!!6000000003610-0-tps-468-466.jpg" />

In XML, set the 'Network Image' for StateDrawable2

<com.coorchice.library.SuperTextView
  android:id="@+id/stv_41"
  android:layout_width="350dp"
  android:layout_height="100dp"
  android:layout_gravity="center_horizontal"
  android:layout_marginTop="30dp"
  android:paddingLeft="116dp"
  android:paddingTop="30dp"
  android:text="StateDrawable2 网络图"
  android:textColor="@color/black"
  android:textSize="14sp"
  app:stv_corner="50dp"
  app:stv_isShowState2="true"
  app:stv_left_bottom_corner="true"
  app:stv_left_top_corner="true"
  app:stv_solid="#f1f1f1"
  app:stv_state_drawable2="https://gw.alicdn.com/imgextra/i3/O1CN01XPmcmt1vJfKcQ8o6O_!!6000000006152-0-tps-500-500.jpg"
  app:stv_state_drawable2_height="100dp"
  app:stv_state_drawable2_mode="left"
  app:stv_state_drawable2_width="100dp"/>

SuperTextView v3.2.5.99

14 Nov 13:12
Compare
Choose a tag to compare

【support】 armeabi-v7a、arm64-v8a、x86

1.【fix】setDrawablePaddingLeft() not work
2. 【OP】Clear log
3. 【Fix】SuperTextView will not draw when width or height is 0
4. 【New】Support cache gif by the GifCache
5. 【OP】Optimize Gif rendering efficiency

SuperTextView v3.2.5.64

13 Nov 07:54
Compare
Choose a tag to compare

【support】 armeabi-v7a、arm64-v8a

1.【fix】setDrawablePaddingLeft() not work
2. 【OP】Clear log
3. 【Fix】SuperTextView will not draw when width or height is 0
4. 【New】Support cache gif by the GifCache
5. 【OP】Optimize Gif rendering efficiency

SuperTextView v3.2.5

13 Nov 07:45
Compare
Choose a tag to compare

【support】 armeabi-va

1.【fix】setDrawablePaddingLeft() not work
2. 【OP】Clear log
3. 【Fix】SuperTextView will not draw when width or height is 0
4. 【New】Support cache gif by the GifCache
5. 【OP】Optimize Gif rendering efficiency

SuperTextView v3.2.4.64

18 Oct 10:25
Compare
Choose a tag to compare

该版本仅包含了 armeabi-v7a、arm64-v8a 的 .so 库

  • 修复Drawable直接写16进制颜色值,不显示的问题
  • Drawable 支持指定层级
  • 修复 Drawable1 作为背景图时,缩放模式 scaleType 切换失效问题

SuperTextView v3.2.4

18 Oct 10:18
Compare
Choose a tag to compare

该版本仅包含 armeabi-v7a 的 .so 库!

  • 修复Drawable直接写16进制颜色值,不显示的问题
  • Drawable 支持指定层级
  • 修复 Drawable1 作为背景图时,缩放模式 scaleType 切换失效问题

SuperTextView v3.2.3.64

17 Oct 14:23
Compare
Choose a tag to compare

增加arm64支持

SuperTextView v3.2.3

27 Sep 11:26
Compare
Choose a tag to compare
  • 优化文字描边

  • 优化透明gif的展示