git initial commit with version v1.0.0
This commit is contained in:
parent
dcc9b4d8f7
commit
cfc732712b
138 changed files with 14786 additions and 84 deletions
10
app/src/main/res/values/colors.xml
Normal file
10
app/src/main/res/values/colors.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="purple_200">#FFBB86FC</color>
|
||||
<color name="purple_500">#FF6200EE</color>
|
||||
<color name="purple_700">#FF3700B3</color>
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
<color name="close_to_black">#FF0F0F0F</color>
|
||||
<color name="close_to_white">#FFF0F0F0</color>
|
||||
</resources>
|
||||
11
app/src/main/res/values/dimens.xml
Normal file
11
app/src/main/res/values/dimens.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="activity_horizontal_margin">24dp</dimen>
|
||||
<dimen name="default_padding">16dp</dimen>
|
||||
<dimen name="medium_padding">8dp</dimen>
|
||||
<dimen name="card_elevation">2dp</dimen>
|
||||
<dimen name="card_corner_radius">4dp</dimen>
|
||||
<dimen name="default_toolbar_elevation">4dp</dimen>
|
||||
<dimen name="image_indicator">64dp</dimen>
|
||||
<dimen name="fab_padding">88dp</dimen>
|
||||
</resources>
|
||||
45
app/src/main/res/values/strings.xml
Normal file
45
app/src/main/res/values/strings.xml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<resources>
|
||||
<string name="app_name">TikTokDownloader</string>
|
||||
|
||||
<string name="tik_tok_downloader_started">TikTok Downloader Started</string>
|
||||
<string name="tik_tok_downloader_processing">Downloading: %s</string>
|
||||
<string name="tik_tok_downloader_notification_channel">Downloader Progress</string>
|
||||
|
||||
<string name="queue">Queue</string>
|
||||
<string name="help">Help</string>
|
||||
|
||||
<string name="copy_the_link_from_tiktok_here_to_download_it">Copy link here from TikTok to download it</string>
|
||||
<string name="start_download">Start Download</string>
|
||||
<string name="start">Start</string>
|
||||
|
||||
<string name="status_pending">Pending</string>
|
||||
<string name="status_finished">Downloaded</string>
|
||||
|
||||
<string name="network_error">Network Error</string>
|
||||
<string name="parsing_error">Parsing Error</string>
|
||||
<string name="storage_error">Failed to Store Video</string>
|
||||
<string name="unexpected_error">Unexpected Error</string>
|
||||
<string name="permission_request">Permission Needed</string>
|
||||
<string name="permission_rationale">External Storage permission is needed in order to save the video to your device</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cant_operate_without_permission">Can\'t operate without external storage permission</string>
|
||||
<string name="captcha_error">Captcha seems necessary, try later!</string>
|
||||
<string name="tik_tok_link">TikTok Link</string>
|
||||
<string name="how_to_use_in_app">How To Use In App</string>
|
||||
<string name="how_to_use_in_app_description">- Open Queue Screen.
|
||||
\n- Copy the link from TikTok into the input field.
|
||||
\n- Press start.
|
||||
\n- If error happens retry with the refresh button.
|
||||
\n\n<b>Note</b>: Clicking on video will open the Gallery app.</string>
|
||||
<string name="how_to_use_from_tiktok">How To Use From TikTok</string>
|
||||
<string name="how_to_use_from_tiktok_description">- In TikTok press share.
|
||||
\n- Select Other.
|
||||
\n- Select TikTok Downloader.
|
||||
\n- You receive a notification about the state of download.
|
||||
\n- If you need to retry, open the App.
|
||||
</string>
|
||||
<string name="additional_information">Additional Information</string>
|
||||
<string name="error_handling">The download may fail for various reasons. In such case on the Queue screen you will see a refresh icon. Pressing that will retry the download.</string>
|
||||
<string name="captcha_handling">It\'s possible if you try to download too many videos at the same time <b>captcha</b> will be triggered. Since we don\'t want to overload the server, in such case you will need to wait a couple hours to properly retry the download. If that still doesn\'t work you may need to verify a captcha on the same network.</string>
|
||||
<string name="link_to_repository">This is an open source project. You can see the repository clicking <u>here.</u></string>
|
||||
</resources>
|
||||
41
app/src/main/res/values/themes.xml
Normal file
41
app/src/main/res/values/themes.xml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<style name="Theme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<!-- Secondary brand color. -->
|
||||
<item name="colorSecondary">@color/purple_500</item>
|
||||
<item name="colorSecondaryVariant">@color/purple_700</item>
|
||||
<item name="colorOnSecondary">@color/white</item>
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="materialButtonOutlinedStyle">@style/OutlineButtonStyle</item>
|
||||
</style>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.TikTokDownloader">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_500</item>
|
||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||
<item name="colorOnPrimary">@color/white</item>
|
||||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorSurface</item>
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorSurface">@color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="NoDisplayTheme" parent="Theme.TikTokDownloader">
|
||||
<item name="android:windowBackground">@null</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowAnimationStyle">@null</item>
|
||||
<item name="android:windowDisablePreview">true</item>
|
||||
<item name="android:windowNoDisplay">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.TikTokDownloader.TextInputLayout" parent="ThemeOverlay.MaterialComponents">
|
||||
<item name="colorOnSurface">@color/black</item>
|
||||
</style>
|
||||
|
||||
<style name="OutlineButtonStyle" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
||||
<item name="strokeColor">@color/outline_stroke_color</item>
|
||||
<item name="android:textColor">@color/outline_stroke_color</item>
|
||||
</style>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue