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

Commit bf446c2a authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Windowshade visual cleanups."

parents d85ffac5 a3dba34d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -17,8 +17,9 @@
 */
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- For formatting day of week and date in DateView.  Day of week precedes date by default,
         but this may be overridden on a per-locale basis if necessary. -->
    <string name="status_bar_date_formatter">%1$s\n%2$s</string>
    <!-- For formatting day of week and date in DateView.  %1$s is DOW, %2$s is date.
         In Roman locales we now show only the date, but DOW is available for other locales if
         necessary. -->
    <string name="status_bar_date_formatter">%2$s</string>

</resources>
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ public final class DateView extends TextView {
        final Context context = getContext();
        Date now = new Date();
        CharSequence dow = DateFormat.format("EEEE", now);
        CharSequence date = DateFormat.getMediumDateFormat(getContext()).format(now);
        CharSequence date = DateFormat.getLongDateFormat(context).format(now);
        setText(context.getString(R.string.status_bar_date_formatter, dow, date));
    }