| <?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> |