mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
updating commons, gradle and some style formatting
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/stopwatch_fragment"
|
||||
@@ -19,7 +18,7 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="00.00"/>
|
||||
tools:text="00.00" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/stopwatch_sorting_indicators_holder"
|
||||
@@ -35,7 +34,7 @@
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintEnd_toStartOf="@+id/stopwatch_sorting_indicator_2"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/stopwatch_sorting_indicator_2"
|
||||
@@ -44,7 +43,7 @@
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintEnd_toStartOf="@+id/stopwatch_sorting_indicator_3"
|
||||
app:layout_constraintStart_toEndOf="@+id/stopwatch_sorting_indicator_1"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/stopwatch_sorting_indicator_3"
|
||||
@@ -53,7 +52,7 @@
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/stopwatch_sorting_indicator_2"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@@ -69,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_sorting_indicators_holder"/>
|
||||
app:layout_constraintTop_toBottomOf="@+id/stopwatch_sorting_indicators_holder" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/stopwatch_play_pause"
|
||||
@@ -78,18 +77,18 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/big_margin"
|
||||
android:padding="@dimen/normal_margin"
|
||||
android:padding="@dimen/activity_margin"
|
||||
android:src="@drawable/ic_play_vector"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.5"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
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:layout_toStartOf="@+id/stopwatch_play_pause"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:padding="@dimen/normal_margin"
|
||||
android:src="@drawable/ic_reset_vector"
|
||||
@@ -97,7 +96,7 @@
|
||||
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"/>
|
||||
app:layout_constraintTop_toTopOf="@+id/stopwatch_play_pause" />
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/stopwatch_lap"
|
||||
@@ -115,6 +114,6 @@
|
||||
app:layout_constraintBottom_toBottomOf="@+id/stopwatch_play_pause"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/stopwatch_play_pause"
|
||||
app:layout_constraintTop_toTopOf="@+id/stopwatch_play_pause"/>
|
||||
app:layout_constraintTop_toTopOf="@+id/stopwatch_play_pause" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
@@ -16,6 +16,7 @@
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/timer_constraint"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
@@ -80,6 +81,7 @@
|
||||
tools:text="Default alarm" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/timer_label_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
@@ -120,7 +122,7 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="@dimen/big_margin"
|
||||
android:padding="@dimen/normal_margin"
|
||||
android:padding="@dimen/activity_margin"
|
||||
android:src="@drawable/ic_play_vector"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@@ -134,11 +136,11 @@
|
||||
android:padding="@dimen/normal_margin"
|
||||
android:src="@drawable/ic_reset_vector"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/timer_play_pause"
|
||||
app:layout_constraintEnd_toStartOf="@+id/timer_play_pause"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/timer_play_pause" />
|
||||
app:layout_constraintTop_toTopOf="@+id/timer_play_pause"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
android:id="@+id/add_time_zone_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toLeftOf="@+id/add_time_zone_checkbox"
|
||||
android:layout_toStartOf="@+id/add_time_zone_checkbox"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:maxLines="1"
|
||||
@@ -27,8 +27,8 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignTop="@+id/add_time_zone_title"
|
||||
android:layout_alignBottom="@+id/add_time_zone_title"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/activity_margin"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="@dimen/activity_margin"
|
||||
android:clickable="false"
|
||||
android:gravity="center"/>
|
||||
|
||||
|
Reference in New Issue
Block a user