mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
adding some sorting indicators at the laps
This commit is contained in:
@@ -21,6 +21,41 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="00.00"/>
|
||||
|
||||
<android.support.constraint.ConstraintLayout
|
||||
android:id="@+id/stopwatch_sorting_indicators_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@+id/stopwatch_time">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/stopwatch_sorting_indicator_1"
|
||||
android:layout_width="@dimen/lap_time_size"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_sorting_triangle"
|
||||
app:layout_constraintEnd_toStartOf="@+id/stopwatch_sorting_indicator_2"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/stopwatch_sorting_indicator_2"
|
||||
android:layout_width="@dimen/lap_time_size"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_sorting_triangle"
|
||||
app:layout_constraintEnd_toStartOf="@+id/stopwatch_sorting_indicator_3"
|
||||
app:layout_constraintStart_toEndOf="@+id/stopwatch_sorting_indicator_1"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/stopwatch_sorting_indicator_3"
|
||||
android:layout_width="@dimen/lap_time_size"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_sorting_triangle"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/stopwatch_sorting_indicator_2"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
||||
<com.simplemobiletools.commons.views.MyRecyclerView
|
||||
android:id="@+id/stopwatch_list"
|
||||
android:layout_width="0dp"
|
||||
@@ -33,7 +68,7 @@
|
||||
app:layout_constraintBottom_toTopOf="@+id/stopwatch_play_pause"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/stopwatch_time"/>
|
||||
app:layout_constraintTop_toBottomOf="@+id/stopwatch_sorting_indicators_holder"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/stopwatch_reset"
|
||||
|
Reference in New Issue
Block a user