From 2082fea1fbad21dc9d6e07c98151640bfbc169c2 Mon Sep 17 00:00:00 2001 From: d34d Date: Tue, 21 Apr 2015 20:19:30 -0700 Subject: Remove direct references to private framework resources This will allow us to distribute the chooser. Private resources were either redefined in our xml or reflection is used to retrieve these values in code. Change-Id: I8c901abef6a5492094d4b86752368625a385bb47 --- res/layout/bottom_actions.xml | 2 +- res/layout/component_selector.xml | 2 +- res/layout/fragment_pager_list.xml | 2 +- res/layout/navbar_card.xml | 2 +- res/layout/save_apply_button.xml | 2 +- res/layout/status_bar_card.xml | 10 +++++----- res/values/dimens.xml | 7 ++++++- res/values/styles.xml | 4 +++- 8 files changed, 19 insertions(+), 12 deletions(-) (limited to 'res') diff --git a/res/layout/bottom_actions.xml b/res/layout/bottom_actions.xml index b2eb936..0797ced 100644 --- a/res/layout/bottom_actions.xml +++ b/res/layout/bottom_actions.xml @@ -77,5 +77,5 @@ + android:layout_height="@dimen/navigation_bar_height"/> \ No newline at end of file diff --git a/res/layout/component_selector.xml b/res/layout/component_selector.xml index 7c2bd53..747e776 100644 --- a/res/layout/component_selector.xml +++ b/res/layout/component_selector.xml @@ -30,5 +30,5 @@ + android:layout_height="@dimen/navigation_bar_height"/> \ No newline at end of file diff --git a/res/layout/fragment_pager_list.xml b/res/layout/fragment_pager_list.xml index 5e30f13..fc08626 100644 --- a/res/layout/fragment_pager_list.xml +++ b/res/layout/fragment_pager_list.xml @@ -198,7 +198,7 @@ + android:layout_height="@dimen/navigation_bar_height" /> diff --git a/res/layout/navbar_card.xml b/res/layout/navbar_card.xml index bc95df0..729d789 100644 --- a/res/layout/navbar_card.xml +++ b/res/layout/navbar_card.xml @@ -27,7 +27,7 @@ android:id="@+id/navigation_bar" android:orientation="horizontal" android:layout_width="match_parent" - android:layout_height="@*android:dimen/navigation_bar_height" + android:layout_height="@dimen/navigation_bar_height" android:paddingStart="6dp" android:paddingEnd="6dp" android:background="#000"> diff --git a/res/layout/save_apply_button.xml b/res/layout/save_apply_button.xml index c1791f1..edbe962 100644 --- a/res/layout/save_apply_button.xml +++ b/res/layout/save_apply_button.xml @@ -32,6 +32,6 @@ + android:layout_height="@dimen/navigation_bar_height"/> \ No newline at end of file diff --git a/res/layout/status_bar_card.xml b/res/layout/status_bar_card.xml index ad50167..96e4113 100644 --- a/res/layout/status_bar_card.xml +++ b/res/layout/status_bar_card.xml @@ -28,7 +28,7 @@ android:id="@+id/status_bar" android:orientation="horizontal" android:layout_width="match_parent" - android:layout_height="@*android:dimen/status_bar_height" + android:layout_height="@dimen/status_bar_height" android:paddingEnd="6dp" android:background="#000"> @@ -41,7 +41,7 @@ @@ -49,14 +49,14 @@ @@ -64,7 +64,7 @@ diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 8c9ee88..e5b909b 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -62,7 +62,12 @@ 10dp 24dp - @*android:dimen/navigation_bar_height + + 48dp + + 25dp + + 24dp 12dp 24dp diff --git a/res/values/styles.xml b/res/values/styles.xml index 71dd055..124bd8e 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -39,10 +39,12 @@ 16sp -