mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 13:31:51 +01:00
move refresh to front of category name (#346)
This commit is contained in:
parent
45fc923f34
commit
03c50cc998
@ -54,6 +54,42 @@
|
||||
app:constraint_referenced_ids="start_space,collapse_arrow,checkbox"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/update_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="35dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:padding="5dp"
|
||||
android:src="@drawable/ic_refresh_white_24dp"
|
||||
android:tint="?attr/colorAccent"
|
||||
app:layout_constraintBottom_toBottomOf="@id/category_title"
|
||||
app:layout_constraintEnd_toStartOf="@id/category_title"
|
||||
app:layout_constraintStart_toEndOf="@+id/start_barrier"
|
||||
app:layout_constraintTop_toTopOf="@id/category_title"
|
||||
app:rippleColor="@color/fullRippleColor" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/cat_progress"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_margin="5dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/update_button"
|
||||
app:layout_constraintEnd_toEndOf="@id/update_button"
|
||||
app:layout_constraintStart_toStartOf="@id/update_button"
|
||||
app:layout_constraintTop_toTopOf="@id/update_button"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<Space
|
||||
android:id="@+id/space"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="20dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/category_sort"
|
||||
app:layout_constraintStart_toEndOf="@id/category_title"
|
||||
app:layout_constraintWidth_min="1dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/category_title"
|
||||
style="@style/TextAppearance.MaterialComponents.Headline6"
|
||||
@ -73,47 +109,12 @@
|
||||
android:textSize="22sp"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/update_button"
|
||||
app:layout_constraintEnd_toStartOf="@id/space"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toEndOf="@+id/start_barrier"
|
||||
app:layout_constraintStart_toEndOf="@+id/update_button"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="Title dfdsfsfsfsfsfdsfsfsfs" />
|
||||
|
||||
<Space
|
||||
android:id="@+id/space"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="20dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/category_sort"
|
||||
app:layout_constraintStart_toEndOf="@id/update_button"
|
||||
app:layout_constraintWidth_min="1dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/update_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="35dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:padding="5dp"
|
||||
android:src="@drawable/ic_refresh_white_24dp"
|
||||
android:tint="?attr/colorAccent"
|
||||
app:layout_constraintBottom_toBottomOf="@id/category_title"
|
||||
app:layout_constraintEnd_toStartOf="@id/space"
|
||||
app:layout_constraintStart_toEndOf="@id/category_title"
|
||||
app:layout_constraintTop_toTopOf="@id/category_title"
|
||||
app:rippleColor="@color/fullRippleColor" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/cat_progress"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_margin="5dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@id/update_button"
|
||||
app:layout_constraintEnd_toEndOf="@id/update_button"
|
||||
app:layout_constraintStart_toStartOf="@id/update_button"
|
||||
app:layout_constraintTop_toTopOf="@id/update_button"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/category_sort"
|
||||
|
Loading…
Reference in New Issue
Block a user