aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@cyanogenmoditalia.it>2016-06-01 20:40:45 +0200
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-06-01 23:19:52 +0300
commit4e0849cf226ab0289226a25755a7462bc42badee (patch)
treebec53da7da3b92a4736d5cc0e560d1d6640110f4
parent4a538eb3e7be9d49c516acb60eabe0195a764e8e (diff)
downloadandroid_external_ahbottomnavigation-4e0849cf226ab0289226a25755a7462bc42badee.tar.gz
android_external_ahbottomnavigation-4e0849cf226ab0289226a25755a7462bc42badee.tar.bz2
android_external_ahbottomnavigation-4e0849cf226ab0289226a25755a7462bc42badee.zip
ahbottomnavigation: use right background resources
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
-rw-r--r--ahbottomnavigation/src/main/res/layout/bottom_navigation_item.xml4
-rw-r--r--ahbottomnavigation/src/main/res/layout/bottom_navigation_small_item.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/ahbottomnavigation/src/main/res/layout/bottom_navigation_item.xml b/ahbottomnavigation/src/main/res/layout/bottom_navigation_item.xml
index 0489ccf..2b25640 100644
--- a/ahbottomnavigation/src/main/res/layout/bottom_navigation_item.xml
+++ b/ahbottomnavigation/src/main/res/layout/bottom_navigation_item.xml
@@ -5,7 +5,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/bottom_navigation_height"
- android:background="?selectableItemBackgroundBorderless"
+ android:background="?android:attr/selectableItemBackgroundBorderless"
android:minWidth="@dimen/bottom_navigation_min_width"
android:paddingLeft="@dimen/bottom_navigation_padding_left"
android:paddingRight="@dimen/bottom_navigation_padding_right">
@@ -49,4 +49,4 @@
android:textSize="@dimen/bottom_navigation_notification_text_size"
android:textStyle="bold" />
-</FrameLayout> \ No newline at end of file
+</FrameLayout>
diff --git a/ahbottomnavigation/src/main/res/layout/bottom_navigation_small_item.xml b/ahbottomnavigation/src/main/res/layout/bottom_navigation_small_item.xml
index 5477de1..9fc63f5 100644
--- a/ahbottomnavigation/src/main/res/layout/bottom_navigation_small_item.xml
+++ b/ahbottomnavigation/src/main/res/layout/bottom_navigation_small_item.xml
@@ -5,7 +5,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/bottom_navigation_height"
- android:background="?selectableItemBackgroundBorderless"
+ android:background="?android:attr/selectableItemBackgroundBorderless"
android:minWidth="@dimen/bottom_navigation_min_width">
<ImageView
@@ -48,4 +48,4 @@
android:textSize="@dimen/bottom_navigation_notification_text_size"
android:textStyle="bold"/>
-</FrameLayout> \ No newline at end of file
+</FrameLayout>