From bb8c5373b684744326b2aad1e8e42e74cce8e9a1 Mon Sep 17 00:00:00 2001 From: Alex Forcier Date: Fri, 17 Apr 2015 12:01:44 -0400 Subject: [PATCH] Added format bar buttons and dividers to editor layout --- .../src/main/res/layout/fragment_editor.xml | 104 +++++++++++++++--- .../src/main/res/values/dimens.xml | 8 ++ .../src/main/res/values/styles.xml | 17 +++ 3 files changed, 113 insertions(+), 16 deletions(-) mode change 100644 => 100755 WordPressEditor/src/main/res/layout/fragment_editor.xml mode change 100644 => 100755 WordPressEditor/src/main/res/values/styles.xml diff --git a/WordPressEditor/src/main/res/layout/fragment_editor.xml b/WordPressEditor/src/main/res/layout/fragment_editor.xml old mode 100644 new mode 100755 index a573dfe74b40..698057d3dd36 --- a/WordPressEditor/src/main/res/layout/fragment_editor.xml +++ b/WordPressEditor/src/main/res/layout/fragment_editor.xml @@ -14,27 +14,99 @@ android:layout_width="fill_parent" android:layout_height="@dimen/format_bar_height" android:layout_gravity="bottom" - android:background="@color/format_bar_background" - android:orientation="horizontal"> + android:background="@android:color/white" + android:orientation="vertical"> - + - + + + android:layout_weight="1"> - - - + android:layout_height="wrap_content" + android:orientation="horizontal"> + + + + + + + + + + + + + + + + + + + + + diff --git a/WordPressEditor/src/main/res/values/dimens.xml b/WordPressEditor/src/main/res/values/dimens.xml index de41f98eb40c..3653981a463f 100644 --- a/WordPressEditor/src/main/res/values/dimens.xml +++ b/WordPressEditor/src/main/res/values/dimens.xml @@ -1,11 +1,19 @@ 40dp + 5dp + 4dp + 9dp + + 1dp + 0.6dp + 28dp 37dp 2dp 20dp + 2dp 4dp 8dp diff --git a/WordPressEditor/src/main/res/values/styles.xml b/WordPressEditor/src/main/res/values/styles.xml old mode 100644 new mode 100755 index b319abea3f8f..8ac61de5e2ea --- a/WordPressEditor/src/main/res/values/styles.xml +++ b/WordPressEditor/src/main/res/values/styles.xml @@ -6,4 +6,21 @@ "" "" + + + + + +