aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout
diff options
context:
space:
mode:
authorJoachim Wilke <git@joachim-wilke.de>2012-06-01 14:18:43 +0200
committerJoachim Wilke <git@joachim-wilke.de>2012-07-06 17:38:21 +0200
commit2ab1a677b17e79eed9ef389742e100280edc6b9a (patch)
treea659673cff5f5e427ff9d81020ac978f95f68d2e /main/res/layout
parentd1d1cb75b4e51d86e6bb0df910864b0687e1b1b5 (diff)
downloadcgeo-2ab1a677b17e79eed9ef389742e100280edc6b9a.zip
cgeo-2ab1a677b17e79eed9ef389742e100280edc6b9a.tar.gz
cgeo-2ab1a677b17e79eed9ef389742e100280edc6b9a.tar.bz2
Issue #409: Edit "Personal Cache Note" and copy from it
https://github.com/cgeo/c-geo-opensource/issues/issue/409
Diffstat (limited to 'main/res/layout')
-rw-r--r--main/res/layout/cacheview_description.xml13
-rw-r--r--main/res/layout/editor.xml25
2 files changed, 34 insertions, 4 deletions
diff --git a/main/res/layout/cacheview_description.xml b/main/res/layout/cacheview_description.xml
index c985bfb..7cbcbe0 100644
--- a/main/res/layout/cacheview_description.xml
+++ b/main/res/layout/cacheview_description.xml
@@ -110,8 +110,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="12dip"
- android:orientation="vertical"
- android:visibility="gone" >
+ android:orientation="vertical" >
<RelativeLayout style="@style/separator_horizontal_layout" >
@@ -129,8 +128,14 @@
android:linksClickable="true"
android:textColor="?text_color"
android:textColorLink="?text_color_link"
- android:textSize="14dip"
- android:visibility="gone" />
+ android:textSize="14dip" />
+ <Button
+ android:id="@+id/edit_personalnote"
+ style="@style/button_small"
+ android:layout_marginBottom="36dip"
+ android:layout_marginTop="12dip"
+ android:text="@string/cache_personal_note_edit" />
+
</LinearLayout>
</LinearLayout>
diff --git a/main/res/layout/editor.xml b/main/res/layout/editor.xml
new file mode 100644
index 0000000..88b1b10
--- /dev/null
+++ b/main/res/layout/editor.xml
@@ -0,0 +1,25 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:background="?background_color" >
+
+ <EditText
+ android:id="@+id/editorEditText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:inputType="textMultiLine"
+ android:scrollbars="vertical" >
+
+ <requestFocus />
+ </EditText>
+
+ <Button style="@style/button_full"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/editorSave"
+ android:text="@string/editor_save" />
+
+</LinearLayout>