Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fccd1dcd authored by Isaac Katzenelson's avatar Isaac Katzenelson
Browse files

Add LAP label to lap info

Bug: 7350699
Change-Id: I3661245aa84480656d8718412d8bf80dc1aab296
parent 0000f13d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -35,16 +35,17 @@
        android:id="@+id/lap_number" />
    <TextView
        android:layout_width="0dip"
        android:layout_weight="1"
        android:layout_height="wrap_content"
        android:textColor="@color/clock_gray"
        android:layout_weight="1"
        android:gravity="center"
        android:gravity="right"
        style="@style/body"
        android:textAllCaps="false"
        android:id="@+id/lap_time" />
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_width="0dip"
        android:layout_weight="1"
        android:textColor="@color/clock_gray"
        android:gravity="right"
        style="@style/body"
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@
    <!-- Size of margin for circles. -->
    <dimen name="circle_margin_top">48dp</dimen>
    <dimen name="circle_margin">96dp</dimen>
    <dimen name="laps_margin">144dp</dimen>
    <dimen name="laps_margin">110dp</dimen>
    <dimen name="analog_clock_margin">96dp</dimen>

     <!-- Width of the clock, for use with alarm buttons. -->
+0 −1
Original line number Diff line number Diff line
@@ -343,7 +343,6 @@
    <string name="sw_reset_button">Reset</string>
    <!-- Describes the purpose of the button to share the stopwatch value. -->
    <string name="sw_share_button">Share</string>
    <string name="sw_current_lap_number"><xliff:g id="number">%d</xliff:g></string>

    <!-- Abbreviation for temporal hours -->
    <string name="hours_label">h</string>
+2 −1
Original line number Diff line number Diff line
@@ -105,7 +105,8 @@ public class StopwatchFragment extends DeskClockFragment implements OnSharedPref
            TextView toalTime = (TextView)lapInfo.findViewById(R.id.lap_total);
            lapTime.setText(Stopwatches.getTimeText(mLaps.get(position).mLapTime));
            toalTime.setText(Stopwatches.getTimeText(mLaps.get(position).mTotalTime));
            count.setText(getString(R.string.sw_current_lap_number, mLaps.size() - position));
            count.setText(getString(R.string.sw_notification_lap_number, mLaps.size() - position)
                    .toUpperCase());

            lapInfo.setBackgroundColor(mBackgroundColor);
            return lapInfo;