diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 95849bc66953..2c3e82b3c811 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -101,7 +101,8 @@ + android:theme="@style/WordPress.Dialog" + android:windowSoftInputMode="stateVisible" /> - - - - - - + + + + + + - - - - - - - - - - - - + + + + + \ No newline at end of file diff --git a/res/drawable/format_bar_bg_bottom.xml b/res/drawable/format_bar_bg_bottom.xml new file mode 100644 index 000000000000..19e86a4f81e3 --- /dev/null +++ b/res/drawable/format_bar_bg_bottom.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/format_bar_btn.xml b/res/drawable/format_bar_btn.xml index c3b2e6938107..3b28dee7fbea 100644 --- a/res/drawable/format_bar_btn.xml +++ b/res/drawable/format_bar_btn.xml @@ -7,8 +7,8 @@ android:top="4dp" android:bottom="4dp"/> - + \ No newline at end of file diff --git a/res/drawable/format_bar_btn_toggled.xml b/res/drawable/format_bar_btn_toggled.xml deleted file mode 100644 index 986e50787c46..000000000000 --- a/res/drawable/format_bar_btn_toggled.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/res/drawable/wp_button_toggle.xml b/res/drawable/wp_button_toggle.xml index e75edad0a1b1..01f78e4e2914 100644 --- a/res/drawable/wp_button_toggle.xml +++ b/res/drawable/wp_button_toggle.xml @@ -3,8 +3,8 @@ xmlns:android="http://schemas.android.com/apk/res/android"> + android:drawable="@android:color/transparent" /> + android:drawable="@color/pressed_wordpress" /> \ No newline at end of file diff --git a/res/layout/edit.xml b/res/layout/activity_edit_post.xml similarity index 98% rename from res/layout/edit.xml rename to res/layout/activity_edit_post.xml index 1d46c0e8b178..673865efe164 100644 --- a/res/layout/edit.xml +++ b/res/layout/activity_edit_post.xml @@ -29,6 +29,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="4dp" + android:textSize="22sp" android:hint="@string/title" android:inputType="textCapSentences|textAutoCorrect" /> @@ -38,10 +39,13 @@ android:layout_height="wrap_content" android:gravity="top" android:hint="@string/post_content" + android:lineSpacingExtra="4dp" + android:textSize="18sp" android:inputType="textMultiLine|textCapSentences|textAutoCorrect" android:minLines="@integer/content_editor_min_lines" android:paddingBottom="@dimen/content_edit_padding" - android:textColorLink="#21759b" /> + android:textColorLink="#21759b" + android:layerType="software" /> diff --git a/res/layout/fragment_edit_post_content.xml b/res/layout/fragment_edit_post_content.xml new file mode 100644 index 000000000000..efe43033ccae --- /dev/null +++ b/res/layout/fragment_edit_post_content.xml @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + +