aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/post_location_settings_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/post_location_settings_view.xml')
-rw-r--r--WordPress/src/main/res/layout/post_location_settings_view.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/post_location_settings_view.xml b/WordPress/src/main/res/layout/post_location_settings_view.xml
new file mode 100644
index 000000000..b35cdc766
--- /dev/null
+++ b/WordPress/src/main/res/layout/post_location_settings_view.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/sectionLocationView"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/locationText"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/locationText"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/selectable_background_wordpress"
+ android:drawableLeft="@drawable/ic_action_location_searching"
+ android:gravity="center_vertical"
+ android:paddingBottom="4dp"
+ android:paddingRight="4dp"
+ android:text="@string/loading"
+ android:textSize="@dimen/text_sz_large" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/updateLocation"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="8dp"
+ android:layout_marginLeft="0dp"
+ android:layout_marginRight="8dp"
+ android:layout_marginStart="0dp"
+ android:layout_weight="1"
+ android:ellipsize="end"
+ android:lines="1"
+ android:text="@string/edit_location"
+ android:textSize="@dimen/text_sz_large" />
+
+ <Button
+ android:id="@+id/removeLocation"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="0dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="0dp"
+ android:layout_marginStart="8dp"
+ android:layout_weight="1"
+ android:ellipsize="end"
+ android:lines="1"
+ android:text="@string/remove"
+ android:textSize="@dimen/text_sz_large" />
+ </LinearLayout>
+</LinearLayout>