Add a settings icon to restricted profile config header

This is to make it obvious that the header invokes user info settings.

Bug: 8888002

Also fix a minor copy/paste error in contentDesription attribute.

Change-Id: I3a90b0d691df8302fee696d82c5819f43109ae8e
This commit is contained in:
Amith Yamasani
2013-05-13 14:54:48 -07:00
parent 0a3cf29344
commit 1d4329631d
2 changed files with 9 additions and 1 deletions

View File

@@ -34,7 +34,7 @@
android:paddingStart="16dip"
android:paddingEnd="16dip"
android:src="@drawable/ic_sysbar_quicksettings"
android:contentDescription="@string/user_delete_user_description"
android:contentDescription="@string/settings_label"
android:layout_gravity="center"
android:background="?android:attr/selectableItemBackground" />
<View

View File

@@ -79,6 +79,14 @@
android:text="@string/user_summary_restricted_profile"
android:maxLines="4" />
</RelativeLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:paddingStart="16dip"
android:paddingEnd="16dip"
android:src="@drawable/ic_sysbar_quicksettings"
android:contentDescription="@string/settings_label"
android:layout_gravity="center"/>
</LinearLayout>
<View android:layout_width="match_parent"
android:layout_height="2dp"