blob: d1ede45481cd8cf2c9a2198e0068634f93f26a0b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2017 Google Inc.
~
~ 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.
-->
<android.support.wearable.view.drawer.WearableDrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/no_messages_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginEnd="@dimen/horizontal_spacing"
android:text="@string/you_have_no_messages"
android:layout_gravity="center_vertical"
android:visibility="gone"
tools:visibility="visible" />
<android.support.wearable.view.WearableRecyclerView
android:id="@+id/recycler_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@null"
android:clipToPadding="false"
android:paddingBottom="@dimen/list_item_height"
android:paddingTop="@dimen/list_item_height"
android:scrollbars="vertical" />
<android.support.wearable.view.drawer.WearableActionDrawer
android:id="@+id/bottom_action_drawer"
android:layout_width="match_parent"
app:action_menu="@menu/chat"
android:layout_height="match_parent" />
<EditText
android:id="@+id/edit_text_input"
android:layout_width="0sp"
android:layout_height="0sp"
android:imeOptions="actionSend"
android:inputType="textShortMessage|textAutoCorrect|textCapSentences"
android:visibility="invisible"
tools:ignore="LabelFor" />
</android.support.wearable.view.drawer.WearableDrawerLayout>