summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Abhijit Nukalapati <abhijitnuk@google.com> 2020-11-11 14:51:04 -0800
committer Josh Yang <yzj@google.com> 2021-09-09 01:15:08 +0000
commitbf0bc2a7ba3b8d184cc52d63ac6d32e51f9e1426 (patch)
tree6f76a663ba5846c46608d6b37579044e0a3ea694
parentc5cf3ab60ae55a5b4eeb2f98f1e8378b10e6da80 (diff)
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)
-rw-r--r--core/res/res/layout-watch/global_actions.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/res/res/layout-watch/global_actions.xml b/core/res/res/layout-watch/global_actions.xml
index b7479d848465..d8e569b40059 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>