diff options
author | Cole Faust <colefaust@google.com> | 2021-08-24 20:21:45 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-24 20:21:45 +0000 |
commit | 449ba5d71d706dffd20f20c5becae825473ccfb3 (patch) | |
tree | a61ed175ff5bbf3733f53ea9624e1abea84099e1 /res | |
parent | cd5bad6cbc860da9f03d46eb8064e9352d8ab72d (diff) | |
parent | b4f0b2a7fa82193bd5989897b1ded7af1b22abf8 (diff) | |
download | Calendar-449ba5d71d706dffd20f20c5becae825473ccfb3.tar.gz |
Update toolbar usage am: b4f0b2a7fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/Calendar/+/15640367
Change-Id: I5795b1c2890df705c235e77bf3df5a53ebcd7fee
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/calendar.xml | 41 |
1 files changed, 14 insertions, 27 deletions
diff --git a/res/layout/calendar.xml b/res/layout/calendar.xml index 56de478..7fb0bb0 100644 --- a/res/layout/calendar.xml +++ b/res/layout/calendar.xml @@ -13,36 +13,23 @@ See the License for the specific language governing permissions and limitations under the License. --> -<LinearLayout +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_height="match_parent" - android:layout_width="match_parent" - android:orientation="vertical"> - - <com.android.car.ui.toolbar.Toolbar - android:id="@+id/toolbar" + android:layout_width="match_parent"> + <com.android.car.ui.recyclerview.CarUiRecyclerView + android:id="@+id/events" android:layout_width="match_parent" - android:layout_height="wrap_content" - app:title="@string/app_name" + android:layout_height="match_parent" /> - <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent"> - <com.android.car.ui.recyclerview.CarUiRecyclerView - android:id="@+id/events" - android:layout_width="match_parent" - android:layout_height="match_parent" - /> - - <TextView - android:id="@+id/no_events_text" - android:maxWidth="200dp" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_margin="@dimen/car_ui_list_item_start_inset" - android:gravity="center" - android:textAppearance="@style/NoEventsText"/> - - </FrameLayout> + <TextView + android:id="@+id/no_events_text" + android:maxWidth="200dp" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_margin="@dimen/car_ui_list_item_start_inset" + android:gravity="center" + android:textAppearance="@style/NoEventsText"/> -</LinearLayout> +</FrameLayout> |