OSDN Git Service

Add placeholder summary to stablize app info pref height
authorFan Zhang <zhfan@google.com>
Mon, 10 Apr 2017 23:17:33 +0000 (16:17 -0700)
committerFan Zhang <zhfan@google.com>
Mon, 10 Apr 2017 23:18:46 +0000 (16:18 -0700)
Change-Id: I6a62a94bb02271cdde9873745432aa829d6d4460
Fix: 36900036
Test: rebuild and existing robotests

res/xml/installed_app_details_ia.xml

index 50d183d..b092753 100644 (file)
     <Preference
         android:key="permission_settings"
         android:title="@string/permissions_label"
+        android:summary="@string/summary_placeholder"
         android:selectable="true"/>
 
     <Preference
         android:key="storage_settings"
         android:title="@string/storage_settings"
+        android:summary="@string/summary_placeholder"
         android:selectable="true"/>
 
     <Preference
         android:key="data_settings"
         android:title="@string/data_usage_summary_title"
+        android:summary="@string/summary_placeholder"
         android:selectable="true"/>
 
     <Preference
         android:key="battery"
         android:title="@string/power_usage_summary_title"
+        android:summary="@string/summary_placeholder"
         android:selectable="true"/>
 
     <Preference
         android:key="preferred_settings"
         android:title="@string/launch_by_default"
+        android:summary="@string/summary_placeholder"
         android:selectable="true"/>
 
     <Preference
         android:key="memory"
         android:title="@string/memory_settings_title"
+        android:summary="@string/summary_placeholder"
         android:enabled="false"
         android:selectable="true"/>