aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/logcache_activity.xml
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-06-09 17:42:00 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-06-09 17:42:00 +0200
commit6c346e0e7ba72dcfae10b2b494f964857c9a14d4 (patch)
treea6abf489855dab209f577206d32b36637fbe157b /main/res/layout/logcache_activity.xml
parentafe3dd26ad820b53e7b1db94cade9a104d2ea063 (diff)
downloadcgeo-6c346e0e7ba72dcfae10b2b494f964857c9a14d4.zip
cgeo-6c346e0e7ba72dcfae10b2b494f964857c9a14d4.tar.gz
cgeo-6c346e0e7ba72dcfae10b2b494f964857c9a14d4.tar.bz2
refactoring: use activity names for layouts
Diffstat (limited to 'main/res/layout/logcache_activity.xml')
-rw-r--r--main/res/layout/logcache_activity.xml179
1 files changed, 179 insertions, 0 deletions
diff --git a/main/res/layout/logcache_activity.xml b/main/res/layout/logcache_activity.xml
new file mode 100644
index 0000000..e0294da
--- /dev/null
+++ b/main/res/layout/logcache_activity.xml
@@ -0,0 +1,179 @@
+<?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:background="?background_color"
+ android:orientation="vertical" >
+
+ <LinearLayout style="@style/action_bar" >
+
+ <include layout="@layout/actionbar_title" />
+
+ <include layout="@layout/actionbar_progress" />
+ </LinearLayout>
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dip" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dip"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <Button
+ android:id="@+id/type"
+ style="@style/button_full"
+ android:layout_width="0dip"
+ android:layout_weight="1" />
+
+ <Button
+ android:id="@+id/date"
+ style="@style/button_full"
+ android:layout_width="0dip"
+ android:layout_weight="1" />
+ </LinearLayout>
+
+ <EditText
+ android:id="@+id/log"
+ style="@style/edittext_full"
+ android:layout_height="wrap_content"
+ android:hint="@string/log_new_log_text"
+ android:inputType="textMultiLine|textCapSentences"
+ android:maxLength="4000"
+ android:minLines="5"
+ android:singleLine="false" />
+
+ <LinearLayout
+ android:id="@+id/tweet_box"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="5dip"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:orientation="horizontal"
+ android:visibility="gone" >
+
+ <CheckBox
+ android:id="@+id/tweet"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left"
+ android:gravity="center"
+ android:padding="2sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:gravity="left"
+ android:paddingRight="3dip"
+ android:text="@string/visit_tweet"
+ android:textColor="?text_color"
+ android:textSize="14sp" />
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/image_btn"
+ style="@style/button_full"
+ android:text="@string/log_image_attach" />
+
+ <Button
+ android:id="@+id/post"
+ style="@style/button_full"
+ android:text="@string/log_post" />
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/cache_log_offline" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <Button
+ android:id="@+id/save"
+ style="@style/button_full"
+ android:layout_width="0dip"
+ android:layout_weight="1"
+ android:text="@string/log_save" />
+
+ <Button
+ android:id="@+id/clear"
+ style="@style/button_full"
+ android:layout_width="0dip"
+ android:layout_weight="1"
+ android:text="@string/log_clear" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/inventory_box"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="10dip"
+ android:layout_marginTop="10dip"
+ android:orientation="vertical"
+ android:visibility="gone" >
+
+ <RelativeLayout style="@style/separator_horizontal_layout" >
+
+ <View style="@style/separator_horizontal" />
+
+ <TextView
+ style="@style/separator_horizontal_headline"
+ android:text="@string/cache_inventory" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:id="@+id/inventory"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/inventory_changeall"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right"
+ android:orientation="vertical"
+ android:visibility="gone" >
+
+ <Button
+ android:id="@+id/changebutton"
+ style="@style/button_full"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ android:layout_marginBottom="5dip"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:layout_weight="1"
+ android:gravity="right"
+ android:text="@string/log_tb_changeall"
+ android:textSize="14sp" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+
+</LinearLayout> \ No newline at end of file