1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?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="match_parent"
- android:background="@color/white">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:elevation="0dp">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- app:titleTextAppearance="@style/Toolbar.TitleText">
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@id/app_bar_layout"
- android:layout_above="@+id/picker_bottombar">
- <FrameLayout
- android:id="@+id/picker_album_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="visible" />
- <FrameLayout
- android:id="@+id/picker_photos_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone" />
- </FrameLayout >
- <RelativeLayout
- android:id="@+id/picker_bottombar"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentBottom="true"
- android:background="#e6e6e6"
- android:visibility="visible">
- <TextView
- android:id="@+id/picker_bottombar_preview"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:enabled="false"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"
- android:background="@drawable/nim_picker_preview_btn_selector"
- android:layout_alignParentLeft="true"
- android:layout_centerVertical="true"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:gravity="center"
- android:text="@string/picker_image_preview"
- android:textColor="@color/color_picker_preview_selector"
- android:textSize="14.0sp"
- android:visibility="visible" />
- <TextView
- android:id="@+id/picker_bottombar_select"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"
- android:background="@drawable/nim_message_button_bottom_send_selector"
- android:enabled="false"
- android:gravity="center"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:text="@string/picker_image_send"
- android:textColor="@color/white"
- android:textSize="14.0sp"
- android:visibility="visible" />
- </RelativeLayout>
- </RelativeLayout>
|