mirror of
				https://github.com/SimpleMobileTools/Simple-Clock.git
				synced 2025-06-05 22:19:17 +02:00 
			
		
		
		
	fixing some constraintlayout glitches
This commit is contained in:
		| @@ -71,21 +71,6 @@ | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintTop_toBottomOf="@+id/stopwatch_sorting_indicators_holder"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/stopwatch_reset" | ||||
|         android:layout_width="@dimen/stopwatch_button_small_size" | ||||
|         android:layout_height="@dimen/stopwatch_button_small_size" | ||||
|         android:layout_alignParentBottom="true" | ||||
|         android:layout_toLeftOf="@+id/stopwatch_play_pause" | ||||
|         android:background="?attr/selectableItemBackgroundBorderless" | ||||
|         android:padding="@dimen/normal_margin" | ||||
|         android:src="@drawable/ic_reset" | ||||
|         android:visibility="gone" | ||||
|         app:layout_constraintBottom_toBottomOf="@+id/stopwatch_play_pause" | ||||
|         app:layout_constraintEnd_toStartOf="@+id/stopwatch_play_pause" | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintTop_toTopOf="@+id/stopwatch_play_pause"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/stopwatch_play_pause" | ||||
|         android:layout_width="@dimen/stopwatch_button_size" | ||||
| @@ -100,6 +85,20 @@ | ||||
|         app:layout_constraintHorizontal_bias="0.5" | ||||
|         app:layout_constraintStart_toStartOf="parent"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/stopwatch_reset" | ||||
|         android:layout_width="@dimen/stopwatch_button_small_size" | ||||
|         android:layout_height="@dimen/stopwatch_button_small_size" | ||||
|         android:layout_toLeftOf="@+id/stopwatch_play_pause" | ||||
|         android:background="?attr/selectableItemBackgroundBorderless" | ||||
|         android:padding="@dimen/normal_margin" | ||||
|         android:src="@drawable/ic_reset" | ||||
|         android:visibility="gone" | ||||
|         app:layout_constraintBottom_toBottomOf="@+id/stopwatch_play_pause" | ||||
|         app:layout_constraintEnd_toStartOf="@+id/stopwatch_play_pause" | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintTop_toTopOf="@+id/stopwatch_play_pause"/> | ||||
|  | ||||
|     <com.simplemobiletools.commons.views.MyTextView | ||||
|         android:id="@+id/stopwatch_lap" | ||||
|         android:layout_width="wrap_content" | ||||
|   | ||||
| @@ -67,6 +67,20 @@ | ||||
|         app:layout_constraintTop_toBottomOf="@+id/timer_vibrate_holder" | ||||
|         tools:text="Default alarm"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/timer_play_pause" | ||||
|         android:layout_width="@dimen/stopwatch_button_size" | ||||
|         android:layout_height="@dimen/stopwatch_button_size" | ||||
|         android:layout_alignParentBottom="true" | ||||
|         android:layout_centerHorizontal="true" | ||||
|         android:layout_marginBottom="@dimen/big_margin" | ||||
|         android:padding="@dimen/normal_margin" | ||||
|         android:src="@drawable/ic_play" | ||||
|         app:layout_constraintBottom_toBottomOf="parent" | ||||
|         app:layout_constraintEnd_toEndOf="parent" | ||||
|         app:layout_constraintHorizontal_bias="0.5" | ||||
|         app:layout_constraintStart_toStartOf="parent"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/timer_reset" | ||||
|         android:layout_width="@dimen/stopwatch_button_small_size" | ||||
| @@ -82,18 +96,4 @@ | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintTop_toTopOf="@+id/timer_play_pause"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/timer_play_pause" | ||||
|         android:layout_width="@dimen/stopwatch_button_size" | ||||
|         android:layout_height="@dimen/stopwatch_button_size" | ||||
|         android:layout_alignParentBottom="true" | ||||
|         android:layout_centerHorizontal="true" | ||||
|         android:layout_marginBottom="@dimen/big_margin" | ||||
|         android:padding="@dimen/normal_margin" | ||||
|         android:src="@drawable/ic_play" | ||||
|         app:layout_constraintBottom_toBottomOf="parent" | ||||
|         app:layout_constraintEnd_toEndOf="parent" | ||||
|         app:layout_constraintHorizontal_bias="0.5" | ||||
|         app:layout_constraintStart_toStartOf="parent"/> | ||||
|  | ||||
| </androidx.constraintlayout.widget.ConstraintLayout> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user