Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
workflow_dispatch:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
build:
Expand All @@ -16,6 +18,9 @@ jobs:
distribution: temurin
java-version: '17'
- uses: android-actions/setup-android@v3
with:
# Override the default list, which includes the unavailable legacy 'tools' package.
packages: 'platform-tools'
- name: Install Android 35
run: sdkmanager 'platforms;android-35' 'build-tools;35.0.0'
- uses: gradle/actions/setup-gradle@v4
Expand All @@ -27,4 +32,5 @@ jobs:
with:
name: LikeFolder-debug-apk
path: app/build/outputs/apk/debug/app-debug.apk
if-no-files-found: error
retention-days: 30
2 changes: 1 addition & 1 deletion app/src/main/java/com/likefolder/app/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private TextView text(String text, int size, int color, boolean bold) {
}
private Button button(String title, boolean primary) {
Button btn = new Button(this);
btn.setText(title); btn.setTextAllCaps(false); btn.setTextSize(14);
btn.setText(title); btn.setAllCaps(false); btn.setTextSize(14);
btn.setTextColor(primary ? BACKGROUND : Color.WHITE);
btn.setBackground(round(primary ? ACCENT : Color.rgb(46, 54, 72), 12));
btn.setPadding(dp(12), dp(8), dp(12), dp(8));
Expand Down
Loading