Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Put border around note title. Add to README and .gitignore #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ app/proguard-project.txt

# Local configuration file (sdk path, etc)
local.properties

android-support-v4.jar

# Mac info
.DS_Store
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Showcase app for [SQLCipher for Android](http://sqlcipher.net/sqlcipher-for-andr

Follow these steps to setup your dev environment using Eclipse:

1. create a new Eclipse *workspace* in the root director of the repo.
1. create a new Eclipse *workspace* in the root directory of the repo.
2. For Cacheword, import this directory `external/cacheword/cachewordlib/`, using "Import -> Android -> Existing Android Code Into Workspace":
3. Then, "Import -> General -> Existing Projects Into Workspace" for the `app/` directory.

Expand Down
7 changes: 7 additions & 0 deletions app/res/drawable/backwithborder.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>

<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#00000000"/>
<stroke android:width="2dip" android:color="#ffffff"/>
</shape>
33 changes: 30 additions & 3 deletions app/res/layout/note_edit.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:baselineAligned="false"
android:orientation="vertical" >

<EditText
android:id="@+id/title"
style="@style/padtext"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:background="@drawable/backwithborder"
android:padding="2dp"
android:hint="enter title"
android:textColor="#cccccc" />

<EditText android:id="@+id/body"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
style="@style/padtext"
android:layout_weight="1"
android:scrollbars="vertical"
android:gravity="top"
=======
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
Expand All @@ -24,7 +51,7 @@
android:scrollbars="vertical"
android:fadingEdge="vertical"
android:gravity="top"
android:singleLine="false"
android:hint="@string/enter_note_text" />
android:singleLine="false"
android:hint="@string/enter_note_text" />

</LinearLayout>
</LinearLayout>