summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@cyanogenmoditalia.it>2016-06-01 15:08:07 +0200
committerArne Coucheron <arco68@gmail.com>2017-12-16 06:52:02 +0100
commitd95bc703203aabf3878f5a48fa8d37b37f3b1d37 (patch)
tree8ad74b8b4a38f90e93fbf3ba4af2d41dfb88120e /res/layout
parent49512427f6d712827844252ea4973a9045ed393a (diff)
downloadandroid_packages_apps_Gallery2-d95bc703203aabf3878f5a48fa8d37b37f3b1d37.tar.gz
android_packages_apps_Gallery2-d95bc703203aabf3878f5a48fa8d37b37f3b1d37.tar.bz2
android_packages_apps_Gallery2-d95bc703203aabf3878f5a48fa8d37b37f3b1d37.zip
Gallery2: Update theme
* Expose icons colors too Change-Id: If2a7cac0779e20f39fdb3037df9d48581106ef3e Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/action_mode.xml2
-rw-r--r--res/layout/camera_filmstrip.xml4
-rw-r--r--res/layout/drawer_list_item.xml2
-rw-r--r--res/layout/filtershow_actionbar.xml4
-rw-r--r--res/layout/filtershow_actionbar_effects.xml2
-rw-r--r--res/layout/filtershow_editor_panel.xml4
-rw-r--r--res/layout/gallery_main.xml4
-rw-r--r--res/layout/photopage_progress_bar.xml6
-rw-r--r--res/layout/popup_list_item.xml2
-rw-r--r--res/layout/toolbar.xml11
10 files changed, 20 insertions, 21 deletions
diff --git a/res/layout/action_mode.xml b/res/layout/action_mode.xml
index ec4704d92..efa920dda 100644
--- a/res/layout/action_mode.xml
+++ b/res/layout/action_mode.xml
@@ -32,7 +32,7 @@
style="?android:attr/actionButtonStyle"
android:divider="?android:attr/listDividerAlertDialog"
android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
- android:textColor="#8A000000"
+ android:textColor="@color/black_transparent_4"
android:textSize="20sp"
android:singleLine="true"
android:gravity="start|center_vertical"
diff --git a/res/layout/camera_filmstrip.xml b/res/layout/camera_filmstrip.xml
index 6fbc62114..7230addd7 100644
--- a/res/layout/camera_filmstrip.xml
+++ b/res/layout/camera_filmstrip.xml
@@ -53,9 +53,9 @@
<TextView
android:id="@+id/pano_stitching_progress_text"
android:text="@string/pano_progress_text"
- android:textColor="#ffffffff"
+ android:textColor="@color/white"
android:textSize="14dp"
- android:shadowColor="#ff000000"
+ android:shadowColor="@color/black"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="2"
diff --git a/res/layout/drawer_list_item.xml b/res/layout/drawer_list_item.xml
index aee19831e..bee765604 100644
--- a/res/layout/drawer_list_item.xml
+++ b/res/layout/drawer_list_item.xml
@@ -48,7 +48,7 @@
android:textSize="12sp"
android:layout_centerVertical="true"
android:fontFamily="sans-serif-medium"
- android:textColor="#000000"
+ android:textColor="@color/black"
android:alpha="0.87"
android:layout_marginStart="64dp"
/>
diff --git a/res/layout/filtershow_actionbar.xml b/res/layout/filtershow_actionbar.xml
index 60088e0a1..a71e933ab 100644
--- a/res/layout/filtershow_actionbar.xml
+++ b/res/layout/filtershow_actionbar.xml
@@ -40,6 +40,6 @@
android:text="@string/save"
android:textAllCaps="true"
android:layout_gravity="center_vertical|right"
- android:textColor="#ffffff" />
+ android:textColor="@color/white" />
-</FrameLayout> \ No newline at end of file
+</FrameLayout>
diff --git a/res/layout/filtershow_actionbar_effects.xml b/res/layout/filtershow_actionbar_effects.xml
index b14a0a766..48ed3b397 100644
--- a/res/layout/filtershow_actionbar_effects.xml
+++ b/res/layout/filtershow_actionbar_effects.xml
@@ -53,7 +53,7 @@
android:drawableEnd="@drawable/spinner_triangle"
android:gravity="center"
android:text="@string/apply_effect"
- android:textColor="#ffffff"
+ android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
diff --git a/res/layout/filtershow_editor_panel.xml b/res/layout/filtershow_editor_panel.xml
index 39770c6e8..4f3177051 100644
--- a/res/layout/filtershow_editor_panel.xml
+++ b/res/layout/filtershow_editor_panel.xml
@@ -57,7 +57,7 @@
<!-- android:layout_height="@dimen/swap_button_height" -->
<!-- android:text="@string/apply_effect" -->
<!-- android:layout_gravity="left" -->
-<!-- android:textColor="#ffffff" -->
+<!-- android:textColor="@color/white" -->
<!-- android:textSize="20sp" -->
<!-- android:layout_weight="1"/> -->
@@ -79,4 +79,4 @@
android:visibility="gone" />
</LinearLayout>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>
diff --git a/res/layout/gallery_main.xml b/res/layout/gallery_main.xml
index 8aa2c07eb..31d67c5ea 100644
--- a/res/layout/gallery_main.xml
+++ b/res/layout/gallery_main.xml
@@ -58,7 +58,7 @@
android:layout_width="270dp"
android:layout_height="match_parent"
android:layout_gravity="start"
- android:background="#fafafa"
+ android:background="@color/white"
android:clickable="true" >
<!-- Header -->
@@ -78,7 +78,7 @@
android:layout_marginStart="16dp"
android:fontFamily="sans-serif"
android:text="@string/navigation_drawer_title"
- android:textColor="#ffffff"
+ android:textColor="@color/white"
android:textSize="24sp" />
</RelativeLayout>
diff --git a/res/layout/photopage_progress_bar.xml b/res/layout/photopage_progress_bar.xml
index 57b78320b..1acbd77cb 100644
--- a/res/layout/photopage_progress_bar.xml
+++ b/res/layout/photopage_progress_bar.xml
@@ -9,7 +9,7 @@
android:visibility="invisible">
<View
android:id="@+id/photopage_progress_background"
- android:background="#ff000000"
+ android:background="@color/black"
android:layout_width="match_parent"
android:layout_height="8dp"
android:layout_alignParentBottom="true"
@@ -25,9 +25,9 @@
<TextView
android:id="@+id/photopage_progress_bar_text"
android:text="@string/pano_progress_text"
- android:textColor="#ffffffff"
+ android:textColor="@color/white"
android:textSize="14dp"
- android:shadowColor="#ff000000"
+ android:shadowColor="@color/black"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="2"
diff --git a/res/layout/popup_list_item.xml b/res/layout/popup_list_item.xml
index f0bafc1e8..0fad174aa 100644
--- a/res/layout/popup_list_item.xml
+++ b/res/layout/popup_list_item.xml
@@ -20,7 +20,7 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
android:textSize="20sp"
- android:textColor="#8A000000"
+ android:textColor="@color/black_transparent_4"
android:singleLine="true"
android:gravity="center_vertical"
android:paddingStart="16dp"
diff --git a/res/layout/toolbar.xml b/res/layout/toolbar.xml
index 054d97c84..cf9b8a9ca 100644
--- a/res/layout/toolbar.xml
+++ b/res/layout/toolbar.xml
@@ -31,12 +31,11 @@
<Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height"
- android:paddingTop="26dp"
- android:background="@color/toolbar_theme"
- android:elevation="4dp"
+ android:paddingTop="24dp"
+ android:background="@color/primary"
+ android:elevation="8dp"
android:theme="@style/ToolbarTheme"
android:titleTextAppearance="@style/ToolbarTitleStyle"
- android:popupTheme="@style/ToolbarPopUpTheme"
- android:navigationIcon="@drawable/drawer" >
+ android:popupTheme="@style/ToolbarPopUpTheme" >
-</Toolbar> \ No newline at end of file
+</Toolbar>