File tree Expand file tree Collapse file tree 6 files changed +30
-7
lines changed
Expand file tree Collapse file tree 6 files changed +30
-7
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ Android library that can be used as quick solution to ImagePicker feature implem
1111- Gallery multiple photo picker
1212- Custom gallery picker, supports multiple selection (for old non-AOSP Android ROMs that does not support multiple selection intent)
1313
14+ ## Translations
15+ - English: 100%
16+ - Ukrainian: 100%
17+
1418## Implementation
1519
16201 . In project-level gradle add new maven repository:
Original file line number Diff line number Diff line change 22 <!-- Base application theme. -->
33 <style name =" Theme.ImagePickerAndroidLibrary" parent =" Theme.MaterialComponents.DayNight.DarkActionBar" >
44 <!-- Primary brand color. -->
5- <item name =" colorPrimary" >@color/purple_200 </item >
6- <item name =" colorPrimaryVariant" >@color/purple_700 </item >
5+ <item name =" colorPrimary" >@color/black </item >
6+ <item name =" colorPrimaryVariant" >@color/black </item >
77 <item name =" colorOnPrimary" >@color/black</item >
88 <!-- Secondary brand color. -->
99 <item name =" colorSecondary" >@color/teal_200</item >
1313 <item name =" android:statusBarColor" tools : targetApi =" l" >?attr/colorPrimaryVariant</item >
1414 <!-- Customize your theme here. -->
1515 </style >
16- </resources >
16+ </resources >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+ <string name =" app_name" >ImagePicker Android Library</string >
4+ <string name =" setting_multiple_selection" >Режим мульти-вибору</string >
5+ <string name =" setting_auto_rotate" >Авто-поворот зображень</string >
6+ <string name =" action_native_camera" >КАМЕРА</string >
7+ <string name =" action_native_gallery" >ГАЛЕРЕЯ</string >
8+ <string name =" action_custom_gallery" >Кастомна Галерея</string >
9+ <string name =" action_launch_interactive_dialog" >UX Діалог</string >
10+ <string name =" action_error" >Помилка</string >
11+ <string name =" action_ok" >Зрозуміло</string >
12+ </resources >
Original file line number Diff line number Diff line change 11<resources >
2- <string name =" app_name" >ImagePicker Android Library</string >
2+ <string name =" app_name" translatable = " false " >ImagePicker Android Library</string >
33 <string name =" setting_multiple_selection" >Multiple selection</string >
44 <string name =" setting_auto_rotate" >Auto rotate images</string >
55 <string name =" action_native_camera" >CAMERA</string >
88 <string name =" action_launch_interactive_dialog" >Interactive dialog</string >
99 <string name =" action_error" >Error</string >
1010 <string name =" action_ok" >OK</string >
11- </resources >
11+ </resources >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+ <string name =" image_picker_dialog_camera" >Камера</string >
4+ <string name =" image_picker_dialog_gallery" >Галерея</string >
5+ <string name =" image_picker_gallery_title_single" >Оберіть зображення</string >
6+ <string name =" image_picker_gallery_title_multiple" >Оберіть зображення</string >
7+ <string name =" image_picker_gallery_action_select" >Обрати</string >
8+ <string name =" image_picker_gallery_title_selected" >Виділено:</string >
9+ </resources >
Original file line number Diff line number Diff line change 11<resources >
22 <string name =" image_picker_dialog_camera" >Camera</string >
33 <string name =" image_picker_dialog_gallery" >Gallery</string >
4-
54 <string name =" image_picker_gallery_title_single" >Select image</string >
65 <string name =" image_picker_gallery_title_multiple" >Select images</string >
7-
86 <string name =" image_picker_gallery_action_select" >Select</string >
97 <string name =" image_picker_gallery_title_selected" >Selected: </string >
108</resources >
You can’t perform that action at this time.
0 commit comments