2020-07-01 17:08:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout 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:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".activities.Main">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
layout="@layout/layout_include_toolbar" />
|
|
|
|
|
|
|
|
<awais.instagrabber.customviews.RemixDrawerLayout
|
|
|
|
android:id="@+id/drawerLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<!-- Profile View -->
|
2020-08-07 14:14:58 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/profile_view"
|
|
|
|
layout="@layout/layout_profile_view" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<!-- Feed View -->
|
2020-08-07 14:14:58 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/feed_view"
|
|
|
|
layout="@layout/layout_feed_view" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<!-- Discover View -->
|
2020-08-05 18:54:49 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/discoverLayout"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="end"
|
2020-08-05 18:54:49 +00:00
|
|
|
android:paddingTop="24dp"
|
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
android:orientation="vertical"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:tag="@android:string/yes">
|
|
|
|
|
2020-08-05 18:54:49 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatSpinner
|
|
|
|
android:id="@+id/discoverType"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-05 18:54:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/discover_placeholder"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingBottom="4dp" />
|
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/discoverSwipeRefreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:tag="@android:string/yes">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/discoverPosts"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
tools:listitem="@layout/item_feed" />
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
</LinearLayout>
|
2020-07-01 17:08:28 +00:00
|
|
|
</awais.instagrabber.customviews.RemixDrawerLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/iconSlider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
app:srcCompat="@drawable/ic_feed"
|
|
|
|
app:tint="?android:textColorSecondary" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
app:srcCompat="@drawable/ic_profile"
|
|
|
|
app:tint="?android:textColorPrimary" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
app:srcCompat="@drawable/ic_discover"
|
|
|
|
app:tint="?android:textColorSecondary" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|