1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-05 12:01:35 +00:00

Initial commit for new posts layout

This commit is contained in:
Ammar Githam 2020-10-17 19:07:03 +09:00
parent 03f52d5058
commit 6bf59e83ad
132 changed files with 9030 additions and 2012 deletions

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ProfilePicView">
<attr name="size" format="enum">
<enum name="tiny" value="0" />
<enum name="small" value="1" />
<enum name="regular" value="2" />
<enum name="large" value="3" />
</attr>
</declare-styleable>
</resources>

View file

@ -35,6 +35,7 @@
<color name="black">#000000</color>
<color name="black_800">#121212</color>
<color name="black_a50">#80000000</color>
<color name="black_a80">#CC000000</color>
<color name="grey_50">#FAFAFA</color>
<color name="grey_100">#F5F5F5</color>

View file

@ -5,7 +5,12 @@
<dimen name="profile_picture_size">90dp</dimen>
<dimen name="image_size_40">40dp</dimen>
<dimen name="feed_profile_size">48dp</dimen>
<dimen name="profile_pic_size_tiny">24dp</dimen>
<dimen name="profile_pic_size_small">40dp</dimen>
<dimen name="profile_pic_size_regular">48dp</dimen>
<dimen name="profile_pic_size_large">90dp</dimen>
<dimen name="slider_item_size">80dp</dimen>
<dimen name="highlight_size">70dp</dimen>
<dimen name="dm_link_image_size">120dp</dimen>
@ -19,7 +24,6 @@
<dimen name="notification_image_size">56dp</dimen>
<dimen name="message_item_size">@dimen/simple_item_picture_size</dimen>
<dimen name="message_item_profile_size">@dimen/feed_profile_size</dimen>
<dimen name="dm_media_img_max_height">500dp</dimen>
<dimen name="dm_message_card_radius">8dp</dimen>

View file

@ -81,10 +81,10 @@
<string name="votef_story_poll">Vote successful!</string>
<string name="voted_story_poll">You have already voted!</string>
<string name="respond_story">Respond</string>
<string name="answer_hint">Answer...</string>
<string name="answer_hint">Answer</string>
<string name="answered_story">Answer successful!</string>
<string name="reply_story">Reply to story</string>
<string name="reply_hint">Reply...</string>
<string name="reply_hint">Reply</string>
<string name="story_quiz">Quiz</string>
<string name="story_quizzed">You have already answered!</string>
<string name="story_mentions">Mentions</string>
@ -111,7 +111,9 @@
<string name="tagged">Tagged</string>
<string name="dm_person">Message</string>
<string name="like">Like (%s)</string>
<string name="like_without_count">Like</string>
<string name="unlike">Unlike (%s)</string>
<string name="unlike_without_count">Unlike</string>
<string name="bookmark">Bookmark</string>
<string name="unbookmark">Unbookmark</string>
<string name="follow">Follow</string>
@ -193,7 +195,7 @@
<string name="direct_download_perms_ask">Please grant permissions and try downloading again!</string>
<string name="downloader_started">Download started</string>
<string name="downloader_complete">Download completed</string>
<string name="downloader_downloading_post">Downloading post</string>
<string name="downloader_downloading_post">Downloading post</string>
<string name="downloader_downloading_media">Downloading media</string>
<string name="downloader_downloading_pfp">Downloading profile picture</string>
<string name="downloader_downloaded_in_folder">File downloaded in Downloads folder!</string>
@ -219,8 +221,8 @@
<string name="followers_not_follower">%s is not following</string>
<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="comment_hint">Write a new comment...</string>
<string name="dm_hint">Write a new message...</string>
<string name="comment_hint">Write a new comment</string>
<string name="dm_hint">Write a new message</string>
<string name="liked_notif">Liked your post</string>
<string name="comment_notif">Commented on your post:</string>
<string name="follow_notif">Started following you</string>
@ -228,9 +230,9 @@
<string name="request_notif">Requested following you</string>
<string name="request_approve">Approve request</string>
<string name="request_reject">Reject request</string>
<string name="share_public_post">Share this public post to...</string>
<string name="share_public_post">Share this public post to</string>
<string name="share_private_post">This is a private post! Share to those who can view them!</string>
<string name="discover_empty">This category is somehow empty...</string>
<string name="discover_empty">This category is somehow empty</string>
<string name="update_available">An update is available! (%s)</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>
@ -241,7 +243,7 @@
<string name="license" translatable="false">Copyright (C) 2019 AWAiS\nCopyright (C) 2020 Austin Huang, Ammar Githam\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See https://www.gnu.org/licenses/.</string>
<string name="liability" translatable="false">This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</string>
<string name="select_picture">Select Picture</string>
<string name="uploading">Uploading...</string>
<string name="uploading">Uploading</string>
<string name="activity_count_prefix">You have:</string>
<string name="activity_count_relationship">%d follows</string>
<string name="activity_count_comments">%d comments</string>
@ -300,4 +302,35 @@
<string name="file_chosen_label">File:</string>
<string name="enter_password">Enter password</string>
<string name="select_backup_file">Select a backup file (.zaai/.backup)</string>
<string name="apply">Apply</string>
<string name="save">Save</string>
<string name="caption">Caption</string>
<string name="player_timeline_desc">Video player timeline</string>
<string name="one_x" translatable="false">1x</string>
<string name="two_x" translatable="false">2x</string>
<string name="pt_two_five_x">0.25x</string>
<string name="pt_five_x">0.5x</string>
<string name="pt_seven_five_x">0.75x</string>
<string name="one_pt_two_five_x">1.25x</string>
<string name="one_pt_five_x">1.5x</string>
<string name="liking">Liking…</string>
<string name="like_unsuccessful">Like unsuccessful</string>
<string name="unlike_unsuccessful">Unlike unsuccessful</string>
<string name="unliking">Unliking…</string>
<string name="controls">Controls</string>
<string name="saving">Saving…</string>
<string name="removing">Removing…</string>
<string name="save_unsuccessful">Save unsuccessful</string>
<string name="save_remove_unsuccessful">Remove unsuccessful</string>
<string name="downloading">Downloading…</string>
<string name="downloader_downloading_child">Download item %d of %d</string>
<string name="delete">Delete</string>
<plurals name="likes_count">
<item quantity="one">%d like</item>
<item quantity="other">%d likes</item>
</plurals>
<plurals name="comments_count">
<item quantity="one">%d comment</item>
<item quantity="other">%d comments</item>
</plurals>
</resources>

View file

@ -137,4 +137,57 @@
<item name="colorPrimary">@color/black</item>
<item name="colorOnSurface">@color/black</item>
</style>
<style name="Widget.App.Button.OutlinedButton.IconOnly" parent="Widget.MaterialComponents.Button.OutlinedButton">
<item name="iconPadding">0dp</item>
<item name="android:insetTop">0dp</item>
<item name="android:insetBottom">0dp</item>
<item name="android:paddingLeft">12dp</item>
<item name="android:paddingRight">12dp</item>
<item name="android:minWidth">48dp</item>
<item name="android:minHeight">48dp</item>
</style>
<style name="Widget.App.MaterialButton.IconOnly" parent="Widget.MaterialComponents.Button.OutlinedButton">
<item name="iconGravity">textStart</item>
<item name="iconPadding">0dp</item>
<item name="android:insetTop">0dp</item>
<item name="android:insetBottom">0dp</item>
<item name="android:insetLeft">0dp</item>
<item name="android:insetRight">0dp</item>
</style>
<style name="Widget.App.MaterialButton.IconOnly.BorderlessRipple" parent="Widget.App.MaterialButton.IconOnly">
<item name="android:background">@drawable/background_grey_ripple</item>
</style>
<style name="dialog_window_animation">
<item name="android:windowEnterAnimation">@anim/dialog_anim_in</item>
<item name="android:windowExitAnimation">@anim/dialog_anim_out</item>
</style>
<style name="Widget.AppCompat.ListView.DropDown.Exoplayer" parent="Widget.AppCompat.ListView.DropDown">
<item name="divider">@color/grey_800</item>
</style>
<style name="Widget.MaterialComponents.PopupMenu.Exoplayer" parent="Widget.MaterialComponents.PopupMenu">
<item name="popupMenuBackground">@drawable/popup_background_exoplayer</item>
<item name="divider">@color/grey_700</item>
<item name="dividerHorizontal">@color/grey_700</item>
</style>
<style name="popupMenuStyle">
<item name="popupMenuBackground">@drawable/popup_background_exoplayer</item>
<item name="android:textColor">@color/white</item>
<item name="android:divider">@drawable/pref_list_divider_material</item>
</style>
<style name="TextAppearance.MaterialComponents.Tooltip.Exoplayer" parent="TextAppearance.MaterialComponents.Tooltip">
<item name="android:textColor">@color/white</item>
</style>
<style name="Widget.MaterialComponents.Tooltip.ExoPlayer" parent="Widget.MaterialComponents.Tooltip">
<item name="android:textAppearance">@style/TextAppearance.MaterialComponents.Tooltip.Exoplayer</item>
</style>
</resources>