diff options
author | Nancy Chen <nancychen@google.com> | 2015-09-15 00:12:19 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-09-15 00:12:19 +0000 |
commit | 1fe8873e5cc81697d4c5619ed317254f5687166a (patch) | |
tree | 548bf05aae318377a6a8b4557b4834034c424569 /res | |
parent | b1cc0a092933ede0371b15496e01ce7521af812a (diff) | |
parent | 50e9686637d5eba8ce4b7cbc513ec469b2cd4e77 (diff) |
am 50e96866: Merge "Translate FAB up and down when Snackbar appears and disappears." into ub-contactsdialer-a-dev
* commit '50e9686637d5eba8ce4b7cbc513ec469b2cd4e77':
Translate FAB up and down when Snackbar appears and disappears.
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/dialtacts_activity.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml index 0f1f2bbdb..782d4f310 100644 --- a/res/layout/dialtacts_activity.xml +++ b/res/layout/dialtacts_activity.xml @@ -13,8 +13,9 @@ See the License for the specific language governing permissions and limitations under the License. --> -<FrameLayout +<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/dialtacts_mainlayout" android:layout_width="match_parent" android:layout_height="match_parent" @@ -43,7 +44,8 @@ android:layout_width="@dimen/floating_action_button_width" android:layout_height="@dimen/floating_action_button_height" android:layout_marginBottom="@dimen/floating_action_button_margin_bottom" - android:layout_gravity="center_horizontal|bottom"> + android:layout_gravity="center_horizontal|bottom" + app:layout_behavior="com.android.dialer.FloatingActionButtonBehavior"> <ImageButton android:id="@+id/floating_action_button" @@ -68,4 +70,4 @@ android:importantForAccessibility="no" /> </FrameLayout> -</FrameLayout> +</android.support.design.widget.CoordinatorLayout> |