|
|
@@ -18,10 +18,11 @@
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:titleTextAppearance="@style/ToolbarTitle" />
|
|
|
|
|
|
- <io.legato.kazusa.ui.widget.anima.RefreshProgressBar
|
|
|
+ <com.google.android.material.progressindicator.LinearProgressIndicator
|
|
|
android:id="@+id/refresh_progress_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="2dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:indeterminate="true"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tool_bar" />
|
|
|
|
|
|
<io.legato.kazusa.ui.widget.recycler.scroller.FastScrollRecyclerView
|
|
|
@@ -50,32 +51,29 @@
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
android:ellipsize="end"
|
|
|
android:gravity="center_vertical"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:paddingRight="10dp"
|
|
|
android:singleLine="true"
|
|
|
- android:textColor="@color/primaryText"
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/iv_top"
|
|
|
android:layout_width="36dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
+ style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
|
android:contentDescription="@string/go_to_top"
|
|
|
- android:src="@drawable/ic_arrow_drop_up"
|
|
|
+ app:icon="@drawable/ic_arrow_drop_up"
|
|
|
+ app:iconGravity="textStart"
|
|
|
android:tooltipText="@string/go_to_top"
|
|
|
- app:tint="@color/primaryText"
|
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/iv_bottom"
|
|
|
android:layout_width="36dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
+ style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
|
|
android:contentDescription="@string/go_to_bottom"
|
|
|
- android:src="@drawable/ic_arrow_drop_down"
|
|
|
+ app:icon="@drawable/ic_arrow_drop_down"
|
|
|
+ app:iconGravity="textStart"
|
|
|
android:tooltipText="@string/go_to_bottom"
|
|
|
- app:tint="@color/primaryText"
|
|
|
tools:ignore="UnusedAttribute" />
|
|
|
</LinearLayout>
|
|
|
|