| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright (C) 2015 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. |
| --> |
| |
| <!-- marginTop is given to ignore the translation of the dim background for |
| menu_enter animation.xml. If the margin is not given, y-translation of dim's boundary is |
| too clearly shown. --> |
| <com.android.tv.menu.MenuView xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/menu" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginTop="@dimen/menu_margin_top" |
| android:background="@drawable/menu_background" |
| android:visibility="gone"> |
| |
| <!-- Temporary TextView's are used for the animation. --> |
| <TextView |
| android:id="@+id/temp_title_for_old" |
| style="@style/menu_row_title_view" |
| android:visibility="gone" /> |
| <TextView |
| android:id="@+id/temp_title_for_current" |
| style="@style/menu_row_title_view" |
| android:visibility="gone" /> |
| |
| </com.android.tv.menu.MenuView> |