aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-03Rename confidence sort to best (#1177)Sergei Kozelko1-16/+0
* Rename CONFIDENCE comments sort type to BEST and remove old BEST type The Reddit API supports only CONFIDENCE sort type for comments but displays it as BEST. I renamed CONFIDENCE name to Best and added a migration step for loading correct sort type. * Clean up sortType usages in ViewPostDetailFragment Removed unnecessary null checks, object creations and most case conversions
2022-10-22Add view that can lock swipe-to-close gesture (#1140)Sergei Kozelko1-2/+3
Slidr works by adding its own view in the hierarchy and listening to touch events in `onInterceptTouchEvent`. Once it detects movement in the correct direction, it returns `true` and handles all the events itself. Adding scrollable view detection to Slidr would solve the problem, but it is not possible and would probably have performance impact. Fortunately Slidr does not intercept the very first event, which is ACTION_DOWN, and it reaches scrollable view. So the scrollable view itself can decide if it should disallow the swipe. This also has a performance benefit over `OnScrollChangedListener` because the listener is triggered for every scroll of every view even if the child we are interested in did not scroll. On the other hand `on(Intercept)TouchEvent` is triggered only when the view is touched. There is a possibility that swipe won't be unlocked if view never receives ACTION_UP or ACTION_CANCEL. However the docs say nothing about the probability of this happening. Anyways, one possible solution is to post a runnable that will unlock swipe soon after locking.
2022-10-08Ellipsize usernames if they don't fit on one line in a fully collapsed ↵cmp1-0/+1
comment text area. (#1148)
2022-09-25Fix crash in debug build by using fully qualified class name for ↵Sergei Kozelko10-10/+10
layoutmanager (#1130) When the class name is relative, Android tries to resolve it against applicationId. However it does not match the package because of `.debug` suffix so it tries to load the wrong class. This results in ClassNotFoundException and a crash. Using fully qualified class name fixes it as the system can use the class name as is.
2022-09-21Minor bugs fixed.Docile-Alligator1-1/+0
2022-09-21Fix reply markdown (#1098)Sergei Kozelko1-2/+6
* Display comment body the same way as post body when replying There are two views that support markdown, one of them was used to display post titles and comments, the other - post bodies. The views are configured differently even though post and comment bodies should be displayed the same way. Now post and comment bodies are displayed by the same view. * Rename extra keys from TEXT to TITLE Now these extra keys are used only by post title, reflect this in the name. * Remove markdown support from post title view * Fix reply styling Co-authored-by: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>
2022-09-21Allow parallel installation of debug and release versions (#636)sal0max1-2/+2
* Allow parallel installation of debug and release versions ...by adding '.debug' suffix to application id * add separate app name resource for debug build
2022-09-21Start utilizing view binding (#1013)Taco3-24/+24
2022-09-09Fix markdown in rules screen (#1050)Sergei Kozelko1-6/+4
* Display tables in rules screen * Parse spoiler and headings in rules screen
2022-09-09Added a clear search bar text button (#1063)MChen3211-0/+10
2022-09-08Update ExoPlayer.Docile-Alligator2-270/+0
2022-09-04Fix stupid Redgifs API issue.Docile-Alligator2-0/+270
2022-08-15Show urls in ShareLinkBottomSheetFragment.Docile-Alligator1-0/+29
2022-08-15Apply custom theme to settings page.Docile-Alligator6-47/+40
2022-08-14Apply custom theme to the header of the navigation drawer.Docile-Alligator1-4/+2
2022-08-14Fix post content is not parsed in other types of posts.Docile-Alligator6-0/+60
2022-08-13Fix caption shown under the navbar in ViewRedditGalleryImageOrGifFragment.Docile-Alligator1-3/+4
2022-07-28Minor UI tweaks in ViewSubredditDetailActivity, ViewUserDetailActivity and ↵Docile-Alligator3-10/+16
CustomThemePreviewActivity.
2022-07-18Movable FAB in ViewPostDetailActivity.Docile-Alligator1-1/+1
2022-07-15Show the number of subscribers in SubredditListingRecyclerViewAdapter.Docile-Alligator1-16/+34
2022-07-13Read posts history is available.Docile-Alligator2-0/+102
2022-06-18Use Navigation Rail in MainActivity in landscape mode.Docile-Alligator1-0/+4
2022-06-03Add a link handler in SearchActivity.Docile-Alligator1-11/+28
2022-06-01Disable auto correct when creating links.Docile-Alligator1-2/+4
2022-06-01Request incognito keyboard in anonymous mode on Android 8+.Docile-Alligator1-0/+2
2022-06-01Use EditText instead of SimpleSearchView in SearchActivity.Docile-Alligator2-23/+19
2022-05-17Animate the software keyboard in ViewPrivateMessgesActivity.Docile-Alligator1-59/+58
2022-05-14Tweak UI in private messages.Docile-Alligator2-8/+8
2022-05-13Copy priate messages.Docile-Alligator2-7/+26
2022-04-30targetSdkVersion 31. Fix sort type problems in anonymous home page and ↵Docile-Alligator1-0/+1
multireddits.
2022-04-28Submitting crosspost using other accounts is available.Docile-Alligator1-0/+27
2022-04-28Submitting comment using another comment is available.Docile-Alligator1-5/+29
2022-04-25Submitting posts using another account is available in other PostXXXActivity.Docile-Alligator5-0/+135
2022-04-24Submit posts using another account is available in PostTextActivity.Docile-Alligator2-0/+42
2022-04-10Show post karma, comment karma, awarder karma and awardee karma in ↵Docile-Alligator1-0/+105
ViewUserDetailActivity by clicking the karma info text.
2022-04-08Bottom app bar is available in ViewMultiRedditDetailActivity.Docile-Alligator2-2/+7
2022-04-02Removed option: View Full Markdown. Handle jpeg link in LinkResolverActivity.Docile-Alligator1-19/+0
2022-04-02Render full markdown in CommentsRecyclerViewAdapter.Docile-Alligator2-10/+8
2022-03-25Add a FloatingActionButton in ViewMultiRedditDetailActivity.Docile-Alligator1-0/+7
2022-03-11Load image after the AspectRatioGifImageView's height is determined in ↵Docile-Alligator5-9/+4
PostRecyclerViewAdapter to prevent blurry images.
2022-03-05Fix preview issue in PostCompactBaseViewHolder in PostRecyclerViewAdapter.Docile-Alligator1-1/+1
2022-02-21Submitting poll posts is available.Docile-Alligator2-0/+345
2022-02-20Use ConcatAdapter for the navigation drawer.Docile-Alligator1-1/+1
2022-02-05New option: Settings->Interface->Comment->Hide Author Avatar. Fix ↵Alex Ning1-1/+2
Application ClassCastException in MainActivity. Don't show the number of child comments in expanded comments.
2022-01-28Set caption and url when submitting gallery posts.Alex Ning1-0/+75
2022-01-21Show author icon in CommentFullyCollapsedViewHolder.Alex Ning2-4/+14
2022-01-21Show author avatars in comments.Alex Ning1-13/+32
2022-01-21Fix views in comment toolbar overlapping each other.Alex Ning1-25/+50
2022-01-17Show child reply count in comments.Alex Ning2-3/+18
2022-01-16New option: Fixed height preview in card.Alex Ning1-0/+1