Files
app_Settings/res/layout/time_zone_search_header.xml
Kanyinsola Fapohunda 70bd476df5 Improve and align date & time screens with the rest of settings
This is part 1 of the changes to update the date&time region and
time zone picker screens in settings. The detail of the changes made are
below:

* Updates the region picker, region zone picker and fixed offset picker
  to align with thr rest of settings.
* Adds a radio button on time zone items to show the currently selected
  time zone item.
* Ensure the item view subviews are aligned correctly based on when
  part of the subviews are hidden.
   - When the summary text and current time text is not showing, ensure
   the title text is centered.
   - When the summary text is not showing, ensure the title and the
     current time are centered.
* Removes unused icon text view, it has been replaced with  a radio
  button to show the current selection.

See details of the UI changes and screenshot at  go/date-time-ui-updates.

Flag: EXEMPT this feature is flagged with the settings wide flag
Test: manual - view ui updates in go/date-time-ui-updates
Bug: 349671765
Change-Id: Idcc7132ec28f12dfc812dc2a846feb43098dc06d
2025-03-19 18:11:53 +00:00

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginTop="16dp"
android:textAppearance="@style/TextAppearance.CategoryTitle.SettingsLib"
android:textColor="?android:attr/colorAccent"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"/>