Add Activity to view the Git commit log #1056
Previously, some of the inputs in the PasswordCreationActivity would be off-screen and inaccessible, when the screen height was reduced by rotating the device from portrait to landscape orientation or opening the on-screen keyboard, for example. The visible portion of the inputs could not be changed. To fix this, make the PasswordCreationActivity's layout scrollable. This way, inputs that are off-screen can be brought into view by scrolling. Especially the 'Extra content' input is way more accessible now, as it would also be off-screen previously, even when it was being focused for editing. Now, it will be automatically brought into view again after the on-screen keyboard opens.
The GitLogActivity is accessible via the action bar menu ("View commit log") if the password repo is a git repository. The activity displays basic information about the commits in the repository using a RecyclerView, after internally performing a git-log command. This information is 1. the short commit hash, 2. the commit's short message, 3. the commit date and time. Other information is omitted from the UI as of this commit.
The commit log is accessible via a button in thte GitConfigActivity. The GitConfigActivity now gives info about the state of HEAD as in git-status. Additionally, rename the "Hackish tools" and "Git utils" labels to fit the funtionality better.
I have now made the commit log accessible via the GitConfigActivity, changed the HEAD info there to use git-status wording and changed the "Hackish tools" label to "Utilities" as well as the "Git utils" label to "Local Git config & utilities". I am sure the last label is not ideal, but then again, I could not think of a shorter label that would give enough information about the GitConfigActivity for someone who is searching for specific functionality and is unfamiliar with the app.
I tested the HEAD info once with HEAD pointing to master and once with HEAD pointing to a specific commit directly.
I also added the two extensions to RevCommit you asked for, @FabianHenneke .
* develop: Add Activity to view the Git commit log (#1056)