Skip to content

Commit

Permalink
add item to the top (WiP)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyScherzinger committed Apr 19, 2017
1 parent 2fc0a99 commit c0d7102
Showing 1 changed file with 34 additions and 13 deletions.
47 changes: 34 additions & 13 deletions src/main/res/layout/folder_sync_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,31 @@
<include
layout="@layout/toolbar_standard"/>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/listItemHighlighted"
android:gravity="center">

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/standard_padding"
android:src="@drawable/ic_create_folder"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/standard_padding"
android:paddingRight="@dimen/standard_padding"
android:paddingTop="@dimen/standard_padding"
android:text="Create custom folder"/>
</LinearLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<android.support.v7.widget.RecyclerView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
android:visibility="visible"
android:layout_marginRight="-3dp"
android:layout_marginLeft="-3dp"
android:layout_marginBottom="-3dp"/>

<LinearLayout
android:id="@android:id/progress"
android:layout_width="match_parent"
Expand Down Expand Up @@ -82,7 +91,19 @@
android:layout_margin="@dimen/standard_margin"
android:gravity="center"
android:text="@string/folder_sync_no_results"
android:visibility="gone" />
android:visibility="gone"/>

<android.support.v7.widget.RecyclerView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="-3dp"
android:layout_marginLeft="-3dp"
android:layout_marginRight="-3dp"
android:clipToPadding="false"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
android:visibility="visible"/>
</FrameLayout>

</LinearLayout>
Expand Down

0 comments on commit c0d7102

Please sign in to comment.