优化
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
android:layout_height="22dp"
|
||||
android:layout_gravity="right"
|
||||
android:visibility="invisible"
|
||||
app:hide_mode="invisible"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:loading_width="2dp"
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
android:layout_height="22dp"
|
||||
android:layout_gravity="right"
|
||||
android:visibility="invisible"
|
||||
app:hide_mode="invisible"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:loading_width="2dp"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginRight="4dp"
|
||||
app:hide_mode="gone"
|
||||
app:loading_width="1dp"
|
||||
tools:ignore="RtlHardcoded" />
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
android:layout_margin="6dp"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="invisible"
|
||||
app:hide_mode="invisible"
|
||||
app:loading_width="2dp" />
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -128,12 +128,6 @@
|
||||
<attr name="loading_color" format="color" />
|
||||
<attr name="shadow_position" format="integer" />
|
||||
<attr name="loading_speed" format="integer" />
|
||||
<attr name="hide_mode">
|
||||
<!-- Not displayed, but taken into account during layout (space is left for it). -->
|
||||
<enum name="invisible" value="1" />
|
||||
<!-- Completely hidden, as if the view had not been added. -->
|
||||
<enum name="gone" value="2" />
|
||||
</attr>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="CircleImageView">
|
||||
|
||||
Reference in New Issue
Block a user