-
-
Save amalChandran/3d65e914ddc675b841cdedc86163daa8 to your computer and use it in GitHub Desktop.
This file contains 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"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/content_main" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior" | |
tools:context="com.example.dell.finalstartup.MainActivity" | |
tools:showIn="@layout/app_bar_main"> | |
<ProgressBar | |
android:id="@+id/progressBar" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:layout_centerVertical="true" /> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<!-- For pic of the day --> | |
<android.support.v4.widget.NestedScrollView | |
android:id="@+id/scrollView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:fillViewport="true" | |
app:layout_behavior="@string/appbar_scrolling_view_behavior"> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Pic of the day example layout" | |
android:textSize="22sp" /> | |
<ImageView | |
android:id="@+id/picOfTheDay" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" /> | |
<!-- Grey Line --> | |
<View | |
android:layout_width="match_parent" | |
android:layout_height="@dimen/gray_line_width" | |
android:background="#c0c0c0" /> | |
<!-- For products --> | |
<ListView | |
android:id="@+id/list" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_below="@+id/scrollView" /> | |
</LinearLayout> | |
</android.support.v4.widget.NestedScrollView> | |
</LinearLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment