diff options
author | Vinod Krishnan <vinodkrishnan@google.com> | 2016-03-16 18:15:45 -0700 |
---|---|---|
committer | Vinod Krishnan <vinodkrishnan@google.com> | 2016-03-18 16:19:00 -0700 |
commit | 3cc4e9da825cc19608e8d9f9df4c5a5d8eff379a (patch) | |
tree | 6ed027bff67067106ba6409a8ec2e8534d953aac /res/layout-watch | |
parent | 6317f684a214b23fa3103943daaf7a47aa676914 (diff) | |
download | android_packages_apps_PackageInstaller-3cc4e9da825cc19608e8d9f9df4c5a5d8eff379a.tar.gz android_packages_apps_PackageInstaller-3cc4e9da825cc19608e8d9f9df4c5a5d8eff379a.tar.bz2 android_packages_apps_PackageInstaller-3cc4e9da825cc19608e8d9f9df4c5a5d8eff379a.zip |
Show No permissions, if there are no permissions
Change-Id: I285e326994268fc5b561e4a445ac2af326a64397
Diffstat (limited to 'res/layout-watch')
-rw-r--r-- | res/layout-watch/settings_internal.xml | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/res/layout-watch/settings_internal.xml b/res/layout-watch/settings_internal.xml index fdd21cef..e1947aaa 100644 --- a/res/layout-watch/settings_internal.xml +++ b/res/layout-watch/settings_internal.xml @@ -14,19 +14,38 @@ limitations under the License. --> <merge xmlns:android="http://schemas.android.com/apk/res/android"> - <TextView - android:id="@+id/header" + <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="@dimen/settings_header_base_height" - android:layout_marginLeft="16dp" - android:layout_marginTop="@dimen/settings_header_top_margin" - android:textSize="@dimen/setting_short_header_text_size" - android:maxLines="2" - android:ellipsize="end" - android:textColor="#9E9E9E" - android:fontFamily="sans-serif-condensed-light" + android:layout_height="match_parent" + android:orientation="vertical"> + <TextView + android:id="@+id/header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="@dimen/settings_header_base_height" + android:layout_marginLeft="16dp" + android:layout_marginTop="@dimen/settings_header_top_margin" + android:textSize="@dimen/setting_short_header_text_size" + android:maxLines="2" + android:ellipsize="end" + android:textColor="#9E9E9E" + android:fontFamily="sans-serif-condensed-light" + /> + + <TextView + android:id="@+id/details" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="@dimen/settings_header_base_height" + android:layout_marginLeft="16dp" + android:layout_marginTop="@dimen/settings_header_top_margin" + android:maxLines="2" + android:ellipsize="end" + android:textColor="@color/permissions_settings_item_color" + android:textSize="14sp" + android:visibility="gone" /> + </LinearLayout> <android.support.wearable.view.WearableListView xmlns:android="http://schemas.android.com/apk/res/android" |