| <?xml version="1.0" encoding="utf-8"?> |
| |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:background="@color/white"> |
| |
| <android.support.design.widget.AppBarLayout |
| android:id="@+id/appbar" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <include |
| android:id="@+id/toolbar" |
| layout="@layout/toolbar" /> |
| |
| <android.support.design.widget.TabLayout |
| android:id="@+id/tab_layout" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_below="@+id/toolbar" |
| android:background="@color/tab_background" |
| app:tabIndicatorColor="@color/tab_indicator" /> |
| </android.support.design.widget.AppBarLayout> |
| |
| <org.wordpress.android.widgets.WPViewPager |
| android:id="@+id/viewpager" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_above="@+id/divider_list" |
| android:layout_below="@+id/appbar" /> |
| |
| <View |
| android:id="@+id/divider_list" |
| android:layout_width="match_parent" |
| android:layout_height="1dp" |
| android:layout_above="@+id/layout_bottom" |
| android:layout_alignWithParentIfMissing="true" |
| android:background="@color/reader_divider_grey" /> |
| |
| <LinearLayout |
| android:id="@+id/layout_bottom" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentBottom="true" |
| android:gravity="center_vertical" |
| android:orientation="horizontal" |
| android:paddingBottom="@dimen/margin_medium" |
| android:paddingLeft="@dimen/margin_medium" |
| android:paddingRight="@dimen/margin_extra_large" |
| android:paddingTop="@dimen/margin_small"> |
| |
| <EditText |
| android:id="@+id/edit_add" |
| style="@style/ReaderEditText.Topic" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:hint="@string/reader_hint_add_tag_or_url" /> |
| |
| <ImageButton |
| android:id="@+id/btn_add" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:background="?android:selectableItemBackground" |
| android:padding="@dimen/margin_small" |
| android:contentDescription="@string/add" |
| app:srcCompat="@drawable/reader_follow" /> |
| |
| </LinearLayout> |
| |
| <ProgressBar |
| android:id="@+id/progress_follow" |
| style="@style/ReaderProgressBar" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_centerInParent="true" |
| android:visibility="gone" /> |
| |
| </RelativeLayout> |