Loading res/layout/lap_view.xml +4 −3 Original line number Diff line number Diff line Loading @@ -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" Loading res/values-sw600dp/dimens.xml +1 −1 Original line number Diff line number Diff line Loading @@ -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. --> Loading res/values/strings.xml +0 −1 Original line number Diff line number Diff line Loading @@ -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> Loading src/com/android/deskclock/stopwatch/StopwatchFragment.java +2 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
res/layout/lap_view.xml +4 −3 Original line number Diff line number Diff line Loading @@ -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" Loading
res/values-sw600dp/dimens.xml +1 −1 Original line number Diff line number Diff line Loading @@ -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. --> Loading
res/values/strings.xml +0 −1 Original line number Diff line number Diff line Loading @@ -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> Loading
src/com/android/deskclock/stopwatch/StopwatchFragment.java +2 −1 Original line number Diff line number Diff line Loading @@ -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; Loading