Created
April 15, 2020 15:52
-
-
Save aznoisib/68f0b9c072e018253e3542cd341ddc08 to your computer and use it in GitHub Desktop.
Layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:aapt="http://schemas.android.com/aapt" android:id="@+id/coordinator_layout" android:layout_width="match_parent" android:layout_height="match_parent"> | |
<android.support.design.widget.AppBarLayout android:theme="@style/AppTheme.AppBarOverlay" android:layout_width="match_parent" android:layout_height="wrap_content"/> | |
<include layout="@layout/content_main"/> | |
</android.support.design.widget.CoordinatorLayout> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:aapt="http://schemas.android.com/aapt" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior"> | |
<RelativeLayout android:id="@+id/rlayout" android:focusableInTouchMode="true" android:layout_width="match_parent" android:layout_height="match_parent"> | |
<android.support.p003v7.widget.Toolbar android:theme="@style/AppToolbar" android:id="@+id/toolbar" android:background="?attr/colorPrimary" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:layout_alignParentTop="true" android:elevation="4dp"> | |
<LinearLayout android:layout_width="match_parent" android:layout_height="match_parent"> | |
<TextView android:textColor="@android:color/white" android:gravity="center" android:id="@+id/ex" android:background="@drawable/ic_tab_black_24dp" android:padding="5dp" android:layout_width="?attr/actionBarSize" android:layout_height="match_parent" android:text="0" android:breakStrategy="2"/> | |
<EditText android:textColor="#807f7f" android:textColorHint="#807f7f" android:layout_gravity="center" android:id="@+id/et" android:background="#fff" android:padding="5dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint=" Enter Search Or Address" android:ems="10" android:scrollHorizontally="true" android:selectAllOnFocus="true" android:inputType="textNoSuggestions" android:imeOptions="actionGo"/> | |
</LinearLayout> | |
</android.support.p003v7.widget.Toolbar> | |
<android.support.p003v7.widget.ActionMenuView android:id="@+id/bottom_toolbar" android:background="?attr/colorPrimary" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:layout_alignParentBottom="true" android:elevation="4dp"/> | |
<WebView android:id="@+id/webpad" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@+id/bottom_toolbar" android:layout_below="@+id/toolbar"/> | |
<ProgressBar android:id="@+id/progressbar" android:visibility="gone" android:layout_width="match_parent" android:layout_height="5dp" android:max="100" android:layout_alignTop="@+id/webpad" android:layout_centerHorizontal="true" android:layout_centerVertical="true" style="@style/Widget.ProgressBar.Horizontal"/> | |
</RelativeLayout> | |
</android.support.constraint.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment