Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <stefan.niedermann@googlemail.com>2016-01-02 20:31:01 +0300
committerStefan Niedermann <stefan.niedermann@googlemail.com>2016-01-02 20:31:01 +0300
commitc2358f7c57866c7fd4eb3dbefc7ffbca85429451 (patch)
tree58af9dc54559d46ce283a1aeefbaf5d3c13ff38b
parent90bc4355ef3c99ab173b59517d804841310a28b0 (diff)
Fix #50 In edit view, text alignment should be the same as in note view and #49 Background color should be white everywhere
-rw-r--r--app/src/main/res/layout/activity_edit.xml14
-rw-r--r--app/src/main/res/layout/activity_single_note.xml2
-rw-r--r--app/src/main/res/values/styles.xml1
3 files changed, 10 insertions, 7 deletions
diff --git a/app/src/main/res/layout/activity_edit.xml b/app/src/main/res/layout/activity_edit.xml
index a9134c2b..93d12045 100644
--- a/app/src/main/res/layout/activity_edit.xml
+++ b/app/src/main/res/layout/activity_edit.xml
@@ -1,22 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout
+ android:id="@+id/editContentContainer"
+ xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- tools:context="it.niedermann.owncloud.notes.android.activity.CreateNoteActivity"
- android:id="@+id/editContentContainer" >
+ tools:context="it.niedermann.owncloud.notes.android.activity.CreateNoteActivity">
<ScrollView
+ android:id="@+id/scrollView2"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/scrollView2" >
+ android:layout_height="match_parent">
<EditText
android:id="@+id/editContent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
- android:inputType="textMultiLine" />
+ android:inputType="textMultiLine"
+ android:padding="16dp"/>
</ScrollView>
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/activity_single_note.xml b/app/src/main/res/layout/activity_single_note.xml
index 50153143..533a5057 100644
--- a/app/src/main/res/layout/activity_single_note.xml
+++ b/app/src/main/res/layout/activity_single_note.xml
@@ -13,7 +13,7 @@
android:id="@+id/single_note_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="10dp"
+ android:padding="16dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/fg_default" />
</ScrollView>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 251ae624..53dc8a57 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -9,6 +9,7 @@
<!-- Snackbar Action Link -->
<item name="colorAccent">@color/primary</item>
<item name="android:buttonStyle">@style/ocbutton</item>
+ <item name="android:windowBackground">@color/bg_normal</item>
</style>
<style name="fab">
<item name="android:layout_margin">16dp</item>