1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-04 11:31:35 +00:00
This commit is contained in:
Austin Huang 2020-07-25 17:10:26 -04:00
parent 51c4da8dce
commit 1827ed85ee
No known key found for this signature in database
GPG key ID: 84C23AA04587A91F
41 changed files with 428 additions and 93 deletions

View file

@ -227,6 +227,63 @@
</LinearLayout>
</RelativeLayout>
</com.google.android.material.appbar.CollapsingToolbarLayout>
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/tagToolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
android:visibility="gone">
<RelativeLayout
android:id="@+id/tagInfoContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
android:background="@null"
android:orientation="vertical"
android:paddingBottom="5dp">
<LinearLayout
android:id="@+id/hashtagInfo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="@dimen/profile_info_container_bottom_space">
<awais.instagrabber.customviews.CircularImageView
android:id="@+id/mainHashtagImage"
android:layout_width="@dimen/profile_picture_size"
android:layout_height="@dimen/profile_picture_size"
android:adjustViewBounds="true"
android:background="?selectableItemBackgroundBorderless" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/mainTagPostCount"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="12dp"
android:layout_marginLeft="12dp"
android:layout_marginEnd="12dp"
android:layout_marginRight="12dp"
android:layout_weight="1"
android:gravity="center"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="15sp"
tools:text="35\nPosts" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnFollowTag"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="2"
android:text="@string/follow"
android:textColor="@color/btn_pink_text_color"
android:textSize="20sp"
app:backgroundTint="@color/btn_pink_background" />
</LinearLayout>
</RelativeLayout>
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
<FrameLayout

View file

@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="3.2"
android:animateLayoutChanges="true"
android:orientation="vertical"
tools:context=".activities.PostViewer">
@ -27,7 +28,7 @@
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.6">
android:layout_weight="1.9">
<com.google.android.exoplayer2.ui.PlayerView
android:id="@+id/playerView"
@ -81,7 +82,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/mediaList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingStart="5dp"
@ -95,12 +96,12 @@
layout="@layout/item_feed_bottom"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.4" />
android:layout_weight="1"/>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.26"
android:layout_weight="0.3"
android:background="#0000"
android:weightSum="2"
android:layout_alignParentBottom="true">
@ -119,6 +120,7 @@
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnBookmark"
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"

View file

@ -25,7 +25,6 @@
</string-array>
<string-array name="profile_fetch_modes">
<item>Instadp</item>
<item>Insta-Stalker</item>
<item>Instafullsize</item>
</string-array>
<string-array name="date_presets">

View file

@ -26,7 +26,6 @@
<string name="title_favorites">Favoritos</string>
<string name="title_discover">Explorar</string>
<string name="title_comments">Comentarios</string>
<string name="title_hashtag_prefix">Hashtag: </string>
<string name="title_highlight">Resaltado: %s</string>
<string name="title_user_story">Historia de usuario</string>
<string name="title_changelog">Lista de cambios</string>

View file

@ -25,7 +25,6 @@
</string-array>
<string-array name="profile_fetch_modes">
<item>Instadp</item>
<item>Insta-Stalker</item>
<item>Instafullsize</item>
</string-array>
<string-array name="date_presets">

View file

@ -26,7 +26,6 @@
<string name="title_favorites">Favoris</string>
<string name="title_discover">Découvrir</string>
<string name="title_comments">Commentaires</string>
<string name="title_hashtag_prefix">Hashtag: </string>
<string name="title_highlight">Highlight: %s</string>
<string name="title_user_story">Stories de l\'utilisateur</string>
<string name="title_changelog">Journal des changements</string>

View file

@ -25,7 +25,6 @@
</string-array>
<string-array name="profile_fetch_modes">
<item>Instadp</item>
<item>Insta-Stalker</item>
<item>Instafullsize</item>
</string-array>
<string-array name="date_presets">

View file

@ -26,7 +26,6 @@
<string name="title_favorites">Favorit</string>
<string name="title_discover">Temukan</string>
<string name="title_comments">Komentar</string>
<string name="title_hashtag_prefix">Hashtag: </string>
<string name="title_highlight">Sorotan: %s</string>
<string name="title_user_story">Story</string>
<string name="title_changelog">Catatan Perubahan</string>

View file

@ -25,7 +25,6 @@
</string-array>
<string-array name="profile_fetch_modes">
<item>Instadp</item>
<item>Insta-Stalker</item>
<item>Instafullsize</item>
</string-array>
<string-array name="date_presets">

View file

@ -26,7 +26,6 @@
<string name="title_favorites">Favoriti</string>
<string name="title_discover">Scopri</string>
<string name="title_comments">Commenti</string>
<string name="title_hashtag_prefix">Hashtag: </string>
<string name="title_highlight">Contenuto in evidenza: %s</string>
<string name="title_user_story">Storia Utente</string>
<string name="title_changelog">Changelog</string>

View file

@ -25,7 +25,6 @@
</string-array>
<string-array name="profile_fetch_modes">
<item>Instadp</item>
<item>Insta-Stalker</item>
<item>Instafullsize</item>
</string-array>
<string-array name="date_presets">

View file

@ -26,7 +26,6 @@
<string name="title_favorites">最爱</string>
<string name="title_discover">发现</string>
<string name="title_comments">留言</string>
<string name="title_hashtag_prefix">标签: </string>
<string name="title_highlight">精彩:%s</string>
<string name="title_user_story">用户快拍</string>
<string name="title_changelog">日志</string>
@ -106,7 +105,7 @@
<string name="quick_access_confirm_delete">你真的要删除 %s?</string>
<string name="profile_viewer_imageinfo">宽: %d\n高: %d</string>
<string name="profile_viewer_colordepth_prefix">\n色深:</string>
<string name="profile_endpoint">选择头像服务</string>
<string name="profile_endpoint">选择头像服务\n不影响#标签)</string>
<string name="open_profile">打开主页</string>
<string name="view_pfp">查看头像</string>
<string name="direct_messages_you"></string>

View file

@ -28,7 +28,6 @@
<string-array name="profile_fetch_modes">
<item>Instadp</item>
<item>Insta-Stalker</item>
<item>Instafullsize</item>
</string-array>

View file

@ -9,6 +9,8 @@
<string name="action_setting">Settings (v%s)</string>
<string name="action_settings">Settings</string>
<string name="action_download">Download</string>
<string name="action_github" translatable="false">GitHub</string>
<string name="action_fdroid" translatable="false">F-Droid</string>
<string name="action_search">Search username…</string>
<string name="action_compare">Compare</string>
@ -31,7 +33,6 @@
<string name="title_favorites">Favorites</string>
<string name="title_discover">Discover</string>
<string name="title_comments">Comments</string>
<string name="title_hashtag_prefix">Hashtag: </string>
<string name="title_highlight">Highlight: %s</string>
<string name="title_user_story">User Story</string>
<string name="title_changelog">Changelog</string>
@ -88,6 +89,10 @@
<string name="follow">Follow</string>
<string name="unfollow">Unfollow</string>
<string name="favorite">Add to Favorites</string>
<string name="unfavorite">Remove from Favorites</string>
<string name="favorite_short">Favorite</string>
<string name="unfavorite_short">Unfavorite</string>
<string name="block">Block</string>
<string name="unblock">Unblock</string>
<string name="restrict">Restrict</string>
@ -124,7 +129,7 @@
<string name="profile_viewer_imageinfo">Width: %d\nHeight: %d</string>
<string name="profile_viewer_colordepth_prefix">\nColor depth:</string>
<string name="profile_endpoint">Select profile picture endpoint</string>
<string name="profile_endpoint">Select profile picture endpoint\n(Does not affect hashtags)</string>
<string name="open_profile">Open profile</string>
<string name="view_pfp">View profile picture</string>
@ -182,6 +187,7 @@
<string name="login_success_loading_cookies">Successfully loaded cookies!\nIf you still can\'t open private pages/posts, re-login!</string>
<string name="update_available">An update is available!</string>
<string name="update_notice">Reminder: If you downloaded from F-Droid, you must update from it! Same applies for GitHub.</string>
<string name="updated">Thank you for updating InstaGrabber!</string>
<string name="crash_title">App crashed</string>
<string name="crash_descr">Oops.. the app crashed, but don\'t worry you can send error report to the developer to help him fix the issue. (:</string>