wrapping actions container in a scroll view
This is to prevent items behind cut off as more are added
BUG: 170406279
Bug: 199336777
Test: manual (layout file change, nothing to test here)
Change-Id: I2f6c4045689e0b297d8cef3cc1c36a7b8ac71d27
(cherry picked from commit 4e49974ba89c613c8c6b1488b0e8cafbee0ed0cb)
diff --git a/core/res/res/layout-watch/global_actions.xml b/core/res/res/layout-watch/global_actions.xml
index b7479d8..d8e569b 100644
--- a/core/res/res/layout-watch/global_actions.xml
+++ b/core/res/res/layout-watch/global_actions.xml
@@ -13,9 +13,16 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:clipToPadding="false"
+ android:fillViewport="true">
+ <LinearLayout
+ android:id="@+id/actions_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:showDividers="middle"
android:divider="@drawable/global_action_item_divider"
android:orientation="vertical"/>
+</ScrollView>