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-24 14:33:10 -04:00
parent cdbc0173c4
commit 394ffe19b7
No known key found for this signature in database
GPG key ID: 84C23AA04587A91F
46 changed files with 467 additions and 374 deletions

View file

@ -0,0 +1,26 @@
<!--
Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:alpha="0.8"
android:tint="?attr/colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12,2C6.47,2 2,6.47 2,12c0,5.53 4.47,10 10,10c5.53,0 10,-4.47 10,-10C22,6.47 17.53,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8s8,3.59 8,8S16.41,20 12,20z"/>
<path
android:fillColor="@android:color/white"
android:pathData="M15.59,7l-3.59,3.59l-3.59,-3.59l-1.41,1.41l3.59,3.59l-3.59,3.59l1.41,1.41l3.59,-3.59l3.59,3.59l1.41,-1.41l-3.59,-3.59l3.59,-3.59z"/>
</vector>

View file

@ -75,30 +75,14 @@
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
android:textSize="16sp"
tools:text="retro nugget" />
tools:text="Austin Huang" />
</LinearLayout>
<awais.instagrabber.customviews.RamboTextView
android:id="@+id/mainUrl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/profileInfoText"
android:ellipsize="marquee"
android:paddingStart="10dp"
android:paddingLeft="10dp"
android:paddingEnd="10dp"
android:paddingRight="10dp"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
android:textSize="16sp"
android:visibility="gone"
tools:text="http://bigdickbitch.com/" />
<awais.instagrabber.customviews.RamboTextView
android:id="@+id/mainBiography"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/mainUrl"
android:layout_below="@id/profileInfoText"
android:background="?android:selectableItemBackground"
android:paddingStart="10dp"
android:paddingLeft="10dp"
@ -106,13 +90,79 @@
android:paddingRight="10dp"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="16sp"
tools:text="Fuck y'all for real." />
tools:text="THE GLORIOUS (step)OWNER OF THIS APP" />
<awais.instagrabber.customviews.RamboTextView
android:id="@+id/mainUrl"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/mainBiography"
android:ellipsize="marquee"
android:paddingStart="10dp"
android:paddingLeft="10dp"
android:paddingEnd="10dp"
android:paddingRight="10dp"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="16sp"
tools:text="https://austinhuang.me/"
android:visibility="gone" />
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/profileActions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/mainUrl"
android:weightSum="3">
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnFollow"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginStart="2dp"
android:layout_marginRight="8dp"
android:layout_weight="1"
android:text="@string/follow"
android:textColor="@color/btn_pink_text_color"
android:textSize="18sp"
app:backgroundTint="@color/btn_pink_background"
android:visibility="gone" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnRestrict"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginEnd="1dp"
android:layout_marginStart="1dp"
android:layout_marginRight="8dp"
android:layout_weight="1"
android:text="@string/restrict"
android:textColor="@color/btn_orange_text_color"
android:textSize="18sp"
app:backgroundTint="@color/btn_orange_background"
android:visibility="gone" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnBlock"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginEnd="2dp"
android:layout_marginRight="8dp"
android:layout_weight="1"
android:text="@string/block"
android:textColor="@color/btn_red_text_color"
android:textSize="18sp"
app:backgroundTint="@color/btn_red_background"
android:visibility="gone" />
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/highlightsList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/mainBiography"
android:layout_below="@id/profileActions"
android:clipToPadding="false"
android:orientation="horizontal"
android:paddingStart="5dp"
@ -146,7 +196,7 @@
android:layout_weight="1"
android:gravity="center"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="16sp"
android:textSize="15sp"
tools:text="35\nPosts" />
<androidx.appcompat.widget.AppCompatTextView
@ -157,7 +207,7 @@
android:background="?selectableItemBackgroundBorderless"
android:gravity="center"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="16sp"
android:textSize="15sp"
tools:text="68\nFollowers" />
<androidx.appcompat.widget.AppCompatTextView
@ -172,7 +222,7 @@
android:background="?selectableItemBackgroundBorderless"
android:gravity="center"
android:textAppearance="@style/TextAppearance.AppCompat"
android:textSize="16sp"
android:textSize="15sp"
tools:text="64\nFollowing" />
</LinearLayout>
</RelativeLayout>
@ -212,11 +262,13 @@
android:visibility="gone">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/privatePage1"
android:layout_width="@dimen/private_page_margins"
android:layout_height="@dimen/private_page_margins"
app:srcCompat="@drawable/lock" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/privatePage2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"

View file

@ -99,16 +99,17 @@
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="8dp"
android:layout_height="0dp"
android:layout_weight="0.26"
android:background="#0000"
android:weightSum="2">
android:weightSum="2"
android:layout_alignParentBottom="true">
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnLike"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="6dp"
android:layout_marginRight="8dp"
android:layout_weight="1"
android:text="@string/like"
@ -121,7 +122,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginEnd="8dp"
android:layout_marginEnd="6dp"
android:layout_marginRight="8dp"
android:layout_weight="1"
android:text="@string/bookmark"

View file

@ -34,7 +34,7 @@
android:title="@string/action_settings"
android:titleCondensed="@string/action_settings"
android:visible="false"
app:showAsAction="always" />
app:showAsAction="ifRoom" />
<item
android:id="@+id/action_dms"

View file

@ -5,7 +5,7 @@
<item>Inglés</item>
<item>Francés [Gracias a @kernoeb (Telegram)]</item>
<item>Español [Gracias a @sguinetti (GitLab)]</item>
<item>Chino Simplificado [Gracias a @laiboonsing (GitLab)]</item>
<item>Chino Simplificado</item>
<item>Indonesio [Gracias a @Galang23 (GitLab)]</item>
<item>Italiano [Gracias a @RAR_Ramar (Telegram)]</item>
</string-array>

View file

@ -129,7 +129,6 @@
<string name="comment_view_mention_user_search">¿Quieres buscar el nombre de usuario?</string>
<string name="comment_view_mention_hash_search">¿Quieres buscar el hashtag?</string>
<string name="followers_open_in_insta">Abrir en Instagram</string>
<string name="followers_type_followers">Seguidores</string>
<string name="followers_type_following">Siguiendo</string>
<string name="followers_compare">Comparar seguidores &amp; siguiendo</string>

View file

@ -5,7 +5,7 @@
<item>Anglais</item>
<item>Français [Merci à @kernoeb (Telegram)]</item>
<item>Espagnol [Merci à @sguinetti (GitLab)]</item>
<item>Chinois Simplifié [Merci à @laiboonsing (GitLab)]</item>
<item>Chinois Simplifié</item>
<item>Indonésien [Merci à @Galang23 (GitLab)]</item>
<item>Italien [Merci à @RAR_Ramar (Telegram)]</item>
</string-array>

View file

@ -129,7 +129,6 @@
<string name="comment_view_mention_user_search">Souhaitez-vous faire une recherche sur le nom d\'utilisateur ?</string>
<string name="comment_view_mention_hash_search">Souhaitez-vous faire une recherch sur le hashtag ?</string>
<string name="followers_open_in_insta">Ouvrir dans Instagram</string>
<string name="followers_type_followers">Abonnés</string>
<string name="followers_type_following">Abonnements</string>
<string name="followers_compare">Comparer les abonnés et abonnements</string>

View file

@ -5,7 +5,7 @@
<item>Inggris</item>
<item>Prancis [Terima kasih @kernoeb (Telegram)]</item>
<item>Spanyol [Terima kasih @sguinetti (GitLab)]</item>
<item>Tiongkok Sederhana [Terima kasih @laiboonsing (GitLab)]</item>
<item>Tiongkok Sederhana</item>
<item>Bahasa Indonesia [Terima kasih @Galang23 (GitLab)]</item>
<item>Italia [Terima kasih @RAR_Ramar (Telegram)]</item>
</string-array>

View file

@ -129,7 +129,6 @@
<string name="comment_view_mention_user_search">Apakah anda ingin mencari nama pengguna ini?</string>
<string name="comment_view_mention_hash_search">Apakah anda ingin mencari hashtag ini?</string>
<string name="followers_open_in_insta">Buka di Instagram</string>
<string name="followers_type_followers">Pengikut</string>
<string name="followers_type_following">Diikuti</string>
<string name="followers_compare">Membandingkan pengikut &amp; yang diikuti</string>

View file

@ -5,7 +5,7 @@
<item>Inglese</item>
<item>Francese [Grazie a @kernoeb (Telegram)]</item>
<item>Spagnolo [Grazie a @sguinetti (GitLab)]</item>
<item>Cinese Semplificato [Grazie a @laiboonsing (GitLab)]</item>
<item>Cinese Semplificato</item>
<item>Indonesiano [Grazie a @Galang23 (GitLab)]</item>
<item>Italiano [Grazie a @RAR_Ramar (Telegram)]</item>
</string-array>

View file

@ -129,7 +129,6 @@
<string name="comment_view_mention_user_search">Vuoi cercare il nome utente?</string>
<string name="comment_view_mention_hash_search">Vuoi cercare l\'hashtag?</string>
<string name="followers_open_in_insta">Apri in Instagram</string>
<string name="followers_type_followers">Followers</string>
<string name="followers_type_following">Following</string>
<string name="followers_compare">Confronto followers &amp; following</string>

View file

@ -5,9 +5,9 @@
<item>英文</item>
<item>法文 [感谢 @kernoeb (Telegram)]</item>
<item>西班牙文 [感谢 @sguinetti (GitLab)]</item>
<item>简体中文 [感谢 @laiboonsing (GitLab)] </item>
<item>简体中文</item>
<item>印度尼西亚 [感谢 @Galang23 (GitLab)]</item>
<item>大利文 [感谢 @RAR_Ramar (Telegram)]</item>
<item>大利文 [感谢 @RAR_Ramar (Telegram)]</item>
</string-array>
<string-array name="theme_presets">

View file

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="action_quickaccess">快捷道</string>
<string name="action_quickaccess">快捷</string>
<string name="action_about">关于</string>
<string name="action_dms">Direct消息</string>
<string name="action_dms">私聊</string>
<string name="action_settings">设定</string>
<string name="action_download">下载</string>
<string name="action_search">用户名…</string>
<string name="action_search">用户名…</string>
<string name="action_compare">比较</string>
<string name="single_like">次赞</string>
<string name="multiple_likes">次赞</string>
<string name="clipboard_error">复制文字时出错</string>
<string name="clipboard_copied">复制到剪贴板!</string>
<string name="clipboard_copied">复制到剪贴板!</string>
<string name="report">报告</string>
<string name="password">密码 (最多32字符)</string>
<string name="ok">OK</string>
@ -36,7 +36,7 @@
<string name="bottom_toolbar">底下显示工具栏</string>
<string name="download_user_folder">下载帖子到下载里的用户名文件夹</string>
<string name="autoload_posts">自动加载用户所有帖子</string>
<string name="error_loading_profile">载入主页时出错!\n尝试再次登录并搜寻</string>
<string name="error_loading_profile">载入主页时出错!\n请尝试再次登录并搜索</string>
<string name="error_creating_folders">创建下载文件夹时出错</string>
<string name="show_feed">显示用户动态 (只在登录后有效)</string>
<string name="save_to_folder">保存至自定义文件夹</string>
@ -50,10 +50,10 @@
<string name="main_posts_followers">%s\n粉丝</string>
<string name="main_posts_following">%s\n已关注</string>
<string name="post_viewer_video_post">视频</string>
<string name="post_viewer_image_post">图片</string>
<string name="post_viewer_video_post">视频</string>
<string name="post_viewer_image_post">图片</string>
<string name="post_viewer_autoplay_video">自动播放视频</string>
<string name="post_viewer_muted_autoplay">总是静音视频</string>
<string name="post_viewer_muted_autoplay">视频默认静音</string>
<string name="post_viewer_post_from">%s - %s</string>
<string name="post_viewer_download_message">注: 当前[时段]直到你的到来都不会显示此对话,且总是下载以显示的帖子片</string>
<string name="post_viewer_download_dialog_title">选择要下载的</string>
@ -69,7 +69,7 @@
<string name="read_more">阅读更多…</string>
<string name="login">登录</string>
<string name="send_logs">发送日志[出了什么差错的话]</string>
<string name="send_logs">发送调试日志</string>
<string name="time_settings">发帖时间设定</string>
<string name="project_link">参观项目页面</string>
<string name="telegram_link">加入 Telegram 群组</string>
@ -89,8 +89,8 @@
<string name="dialog_export_err_password_empty">密码为空! 密码不能是空的,笨蛋!</string>
<string name="refresh">刷新</string>
<string name="get_cookies"> cookies</string>
<string name="desktop_2fa">桌面版\n用于 2FA</string>
<string name="get_cookies"> cookies</string>
<string name="desktop_2fa">桌面版</string>
<string name="time_settings_title_custom">自定义格式</string>
<string name="time_settings_title_separator">分界</string>
@ -99,15 +99,15 @@
<string name="time_settings_title_preview">预览</string>
<string name="time_settings_swap_time">时间和日期\n位置交换</string>
<string name="quick_access_info_dialog">最爱面板是用来添加你最爱的标签和/或用户。\n\n而快捷道是用来迅速切换账户的。\n\n注1: 确保登录各个账户 [设定 > 登录] 让账户写进列表!\n\n注2: 登出当前账户才登录另一个账户。\n如果多账户对你没用你我都做不了什么</string>
<string name="quick_access_info_dialog">最爱面板让您添加您最爱的标签和用户。\n\n而快捷通道是用来迅速切换账户的。\n\n注1: 请确保各个账户已登录 [设定 > 登录] 来添加账户!\n\n注2: 登出当前账户之后再登录另一个账户。</string>
<string name="quick_access_cannot_delete_curr">无法删除正在使用的账户</string>
<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">选择头像服务</string>
<string name="open_profile">打开主页</string>
<string name="view_pfp">看大头照</string>
<string name="view_pfp">查看头像</string>
<string name="direct_download">直接下载</string>
<string name="direct_download_desc">直接下载至手机!</string>
@ -125,21 +125,33 @@
<string name="downloader_error_download_file">下载文件时出错</string>
<string name="comment_viewer_copy_user">复制用户名</string>
<string name="comment_viewer_copy_comment">复制留言</string>
<string name="comment_view_mention_user_search">你要搜寻用户名吗?</string>
<string name="comment_view_mention_hash_search">你要搜寻标签吗?</string>
<string name="comment_viewer_copy_comment">复制评论</string>
<string name="comment_view_mention_user_search">要搜索用户名吗?</string>
<string name="comment_view_mention_hash_search">要搜索标签吗?</string>
<string name="followers_open_in_insta">于 Instagram 打开</string>
<string name="followers_type_followers">粉丝</string>
<string name="followers_type_following">关注</string>
<string name="followers_compare">比较粉丝 &amp; 关注</string>
<string name="followers_compare">比较粉丝关注</string>
<string name="followers_both_following">互粉</string>
<string name="followers_not_following">关注 %s</string>
<string name="followers_not_follower">%s 不是粉丝</string>
<string name="followers_not_following">关注 %s</string>
<string name="followers_not_follower">%s 未关注</string>
<string name="login_error_loading_cookies">载入 cookies 时出错</string>
<string name="login_success_loading_cookies">成功载入 cookies!\n若你仍不能查看私密 页面/帖子,重新登录!</string>
<string name="login_success_loading_cookies">成功载入 cookies!\n若你仍不能查看私密页面/帖子,重新登录!</string>
<string name="crash_title">应用崩溃</string>
<string name="crash_title">应用崩溃</string>
<string name="crash_descr">糟糕..应用崩溃了,不过别担心,你可以向开发者发送错误报告来帮助他修复问题。 (:</string>
<string name="update_available">检测到有新版本… 请点击下载来打开浏览器。</string>
<string name="updated">感谢阁下更新InstaGrabber</string>
<string name="downloader_downloading_media">媒体下载中</string>
<string name="matrix_link">加入 Matrix 群组</string>
<string name="like"></string>
<string name="unlike">取消赞</string>
<string name="bookmark">加入收藏</string>
<string name="unbookmark">解除收藏</string>
<string name="logout">退出</string>
<string name="no_more_stories">到底啦!</string>
<string name="description">原作者 AWAiS 将 InstaGrabber 做成了一个小巧玲珑的 Instagram 帖子下载 [写作下载读作剽窃] 程序不过他跳槽了所以我Austin Huang就把它接了下来。 [希望此举有所值得。] 不管怎样InstaGrabber 完全开源,无广告,无跟踪 [Instagram 原生跟踪除外]998都不要你还等啥\n有问题 [或者只是想谈谈心] ?请联系 instagrabber@austinhuang.me 或点击下方各按钮。</string>
<string name="direct_messages_you"></string>
<string name="direct_messages_sent_link">分享了</string>
</resources>

View file

@ -5,7 +5,7 @@
<item>English</item>
<item>French [Thanks to @kernoeb (Telegram)]</item>
<item>Spanish [Thanks to @sguinetti (GitLab)]</item>
<item>Chinese Simplified [Thanks to @laiboonsing (GitLab)]</item>
<item>Chinese Simplified</item>
<item>Indonesian [Thanks to @Galang23 (GitLab)]</item>
<item>Italian [Thanks to @RAR_Ramar (Telegram)]</item>
</string-array>

View file

@ -17,10 +17,11 @@
<color name="btn_red_background">#E62323</color>
<color name="btn_red_text_color">@color/text_color_dark</color>
<color name="btn_purple_background">#909090</color>
<color name="btn_pink_background">#FF69B4</color>
<color name="btn_pink_text_color">#FFFFFFFF</color>
<color name="btn_pink_text_color">@color/text_color_dark</color>
<color name="btn_lightpink_background">#FFB6C1</color>
<color name="btn_lightpink_text_color">#FF000000</color>
<color name="btn_lightpink_text_color">@color/text_color_light</color>
<color name="btn_orange_background">#FF5500</color>
<color name="btn_orange_text_color">#FFFFFFFF</color>

View file

@ -6,6 +6,7 @@
<string name="action_quickaccess">Quick Access</string>
<string name="action_about">About</string>
<string name="action_dms">Direct Messages</string>
<string name="action_setting">Settings (v%s)</string>
<string name="action_settings">Settings</string>
<string name="action_download">Download</string>
<string name="action_search">Search username…</string>
@ -67,6 +68,7 @@
<string name="no_more_stories">No more stories!</string>
<string name="view_story_post">View Story Post</string>
<string name="priv_acc">This Account is Private</string>
<string name="empty_acc">This Account has No Posts</string>
<string name="curr_version">Current version: v%s</string>
<string name="read_more">read more…</string>
@ -84,6 +86,12 @@
<string name="bookmark">Bookmark</string>
<string name="unbookmark">Unbookmark</string>
<string name="follow">Follow</string>
<string name="unfollow">Unfollow</string>
<string name="block">Block</string>
<string name="unblock">Unblock</string>
<string name="restrict">Restrict</string>
<string name="unrestrict">Unrestrict</string>
<string name="dialog_export_btn_export">Export</string>
<string name="dialog_export_btn_import">Import</string>
@ -110,7 +118,7 @@
<string name="time_settings_title_preview">Preview</string>
<string name="time_settings_swap_time">Swap Time and\nDate positions</string>
<string name="quick_access_info_dialog">Favorites panel is for adding your favorite hashtags and/or usernames.\n\nAnd the Quick Access panel is for quickly switching between accounts.\n\nNote 1: Make sure to Login into each account [Settings > Login] to add account to the list!\n\nNote 2: Log out of the current account and then log into the other account.\nIf multiple accounts don\'t work for you there\'s nothing we both can do!</string>
<string name="quick_access_info_dialog">Favorites panel is for adding your favorite hashtags and/or usernames.\n\nAnd the Quick Access panel is for quickly switching between accounts.\n\nNote 1: Make sure to Login into each account [Settings > Login] to add account to the list!\n\nNote 2: Log out of the current account and then log into the other account.</string>
<string name="quick_access_cannot_delete_curr">Cannot delete currently in use account</string>
<string name="quick_access_confirm_delete">Are you sure you want to delete %s?</string>
@ -163,7 +171,6 @@
<string name="comment_view_mention_user_search">Do you want to search the username?</string>
<string name="comment_view_mention_hash_search">Do you want to search the hashtag?</string>
<string name="followers_open_in_insta">Open in Instagram</string>
<string name="followers_type_followers">Followers</string>
<string name="followers_type_following">Following</string>
<string name="followers_compare">Comparing followers &amp; following</string>
@ -174,7 +181,7 @@
<string name="login_error_loading_cookies">Error loading cookies</string>
<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…\nPress Download to open browser.</string>
<string name="update_available">An update is available… Press Download to open browser.</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>