2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:background="?attr/color_background_secondary">
|
|
|
|
|
|
|
|
<include layout="@layout/toolbar" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-27 09:19:07 +00:00
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:layout_width="fill_parent"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-03-18 08:30:22 +00:00
|
|
|
android:layout_below="@id/toolbar"
|
2018-02-27 09:19:07 +00:00
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-27 09:19:07 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-27 09:19:07 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/account_image_wrapper"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginTop="@dimen/publish_avatar_top_margin"
|
|
|
|
android:background="@drawable/account_image_border">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-27 09:19:07 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/account_image"
|
|
|
|
android:layout_width="@dimen/publish_avatar_size"
|
|
|
|
android:layout_height="@dimen/publish_avatar_size"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/hint"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/touch_to_choose_picture"
|
2018-02-28 17:20:53 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
2018-02-27 09:19:07 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/secondary_hint"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-28 17:20:53 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
|
|
android:text="@string/or_long_press_for_default"/>
|
2018-02-27 09:19:07 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/hint_or_warning"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
2018-02-28 17:20:53 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
2018-02-27 09:19:07 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/button_bar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
2018-02-27 09:19:07 +00:00
|
|
|
android:layout_alignParentRight="true">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/cancel_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2018-03-02 16:09:00 +00:00
|
|
|
android:text="@string/cancel"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginBottom="7dp"
|
|
|
|
android:layout_marginTop="7dp"
|
2018-02-27 09:19:07 +00:00
|
|
|
android:background="?attr/divider"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/publish_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:enabled="false"
|
2018-03-02 16:09:00 +00:00
|
|
|
android:text="@string/publish"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|