diff options
author | Winson Chung <winsonc@google.com> | 2011-03-04 10:04:49 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-03-04 11:20:32 -0800 |
commit | 30882dd91a1fd6b9877fad1ebc5b1042c5d26fcd (patch) | |
tree | 7490e24594f868302e34c7853033685ecf178607 /res | |
parent | 3c438bcbd3a0e40141117c5b68a82a8be5ddf140 (diff) | |
download | android_packages_apps_Trebuchet-30882dd91a1fd6b9877fad1ebc5b1042c5d26fcd.tar.gz android_packages_apps_Trebuchet-30882dd91a1fd6b9877fad1ebc5b1042c5d26fcd.tar.bz2 android_packages_apps_Trebuchet-30882dd91a1fd6b9877fad1ebc5b1042c5d26fcd.zip |
Adding background protection for AllApps.
Change-Id: If4f8a2e80e1ceae6c84fcea58cc5fcc118aad25e
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-xlarge/button_bar.xml | 6 | ||||
-rw-r--r-- | res/values/attrs.xml | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/res/layout-xlarge/button_bar.xml b/res/layout-xlarge/button_bar.xml index 6cd8e8896..5c96c5ced 100644 --- a/res/layout-xlarge/button_bar.xml +++ b/res/layout-xlarge/button_bar.xml @@ -89,7 +89,7 @@ android:focusable="false" android:clickable="true" /> - <TextView + <com.android.launcher2.StrokedTextView android:id="@+id/all_apps_button" android:text="@string/all_apps_button_label" android:drawablePadding="@dimen/all_apps_button_drawable_padding" @@ -107,6 +107,10 @@ android:textColor="#CCFFFFFF" android:textSize="18sp" + launcher:strokeColor="#991e3157" + launcher:strokeTextColor="#DDFFFFFF" + launcher:strokeWidth="2.5" + android:shadowColor="#DA000000" android:shadowDx="0.0" android:shadowDy="0.0" diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 5e6a2ab64..2be599955 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -61,6 +61,16 @@ </declare-styleable> + <!-- StrokedTextView specific attributes. --> + <declare-styleable name="StrokedTextView"> + <!-- The color of the stroke outline --> + <attr name="strokeColor" format="color" /> + <!-- The color of the text --> + <attr name="strokeTextColor" format="color" /> + <!-- The width of the stroke --> + <attr name="strokeWidth" format="float" /> + </declare-styleable> + <!-- PagedViewIcon specific attributes. These attributes are used to customize a PagedViewIcon view in XML files. --> <declare-styleable name="PagedViewIcon"> |