Add Persona Module (#72)
* Persona Module * Localization Support for Persona * Update the version number for build pipeline & config
This commit is contained in:
Родитель
d514c3d311
Коммит
9e977bcef1
|
@ -15,8 +15,8 @@ android {
|
|||
applicationId 'com.microsoft.fluentuidemo'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
versionCode 16
|
||||
versionName '0.0.16'
|
||||
versionCode 17
|
||||
versionName '0.0.17'
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
@ -63,6 +63,7 @@ dependencies {
|
|||
implementation project(':fluentui_ccb')
|
||||
implementation project(':fluentui_transients')
|
||||
implementation project(':fluentui_menus')
|
||||
implementation project(':fluentui_persona')
|
||||
implementation project(':fluentui_others')
|
||||
implementation 'com.squareup.picasso:picasso:2.71828'
|
||||
implementation 'com.github.bumptech.glide:glide:4.8.0'
|
||||
|
|
|
@ -16,16 +16,18 @@ project.ext.fluentui_listitem_versionid='0.0.5'
|
|||
project.ext.fluentui_tablayout_versionid='0.0.5'
|
||||
project.ext.fluentui_drawer_versionid='0.0.6'
|
||||
project.ext.fluentui_ccb_versionid='0.0.5'
|
||||
project.ext.fluentui_others_versionid='0.0.6'
|
||||
project.ext.fluentui_others_versionid='0.0.7'
|
||||
project.ext.fluentui_transients_versionid='0.0.5'
|
||||
project.ext.fluentui_menus_versionid='0.0.5'
|
||||
project.ext.FluentUI_versionid='0.0.16'
|
||||
project.ext.fluentui_persona_versionid='0.0.5'
|
||||
project.ext.FluentUI_versionid='0.0.17'
|
||||
project.ext.fluentui_core_version_code=5
|
||||
project.ext.fluentui_listitem_version_code=5
|
||||
project.ext.fluentui_tablayout_version_code=5
|
||||
project.ext.fluentui_drawer_version_code=6
|
||||
project.ext.fluentui_ccb_version_code=5
|
||||
project.ext.fluentui_others_version_code=6
|
||||
project.ext.fluentui_others_version_code=7
|
||||
project.ext.fluentui_transients_version_code=5
|
||||
project.ext.fluentui_menus_version_code=5
|
||||
project.ext.FluentUI_version_code=16
|
||||
project.ext.fluentui_persona_version_code=5
|
||||
project.ext.FluentUI_version_code=17
|
|
@ -34,6 +34,6 @@ steps:
|
|||
vstsFeedPublish: 'Office'
|
||||
vstsFeedPackagePublish: 'fluentuiandroid'
|
||||
versionOption: 'custom'
|
||||
versionPublish: '0.0.16'
|
||||
versionPublish: '0.0.17'
|
||||
packagePublishDescription: 'Fluent Universal Package'
|
||||
publishedPackageVar: 'fluent package'
|
|
@ -53,6 +53,7 @@ dependencies {
|
|||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
implementation project(':fluentui_core')
|
||||
implementation project(':fluentui_listitem')
|
||||
implementation project(':fluentui_persona')
|
||||
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
||||
implementation "androidx.exifinterface:exifinterface:$exifInterfaceVersion"
|
||||
implementation "androidx.recyclerview:recyclerview:$recyclerViewVersion"
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s persoon</item>
|
||||
<item quantity="other">%s mense</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Geen naam nie</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Onbepaald</string>
|
||||
<string name="searchbar_clear_search">Maak soektog skoon</string>
|
||||
<string name="searchbar_back">Terug</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s ሰው</item>
|
||||
<item quantity="other">%s ሰዎች</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">ስም የለም</string>
|
||||
<string name="progress_circular_content_description_indeterminate">መታወቅ የማይችል</string>
|
||||
<string name="searchbar_clear_search">ፍለጋን አጽዳ</string>
|
||||
<string name="searchbar_back">ተመለስ</string>
|
||||
|
|
|
@ -91,7 +91,6 @@
|
|||
<item quantity="many">%s شخصاً</item>
|
||||
<item quantity="other">%s من الأشخاص</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">لا يوجد اسم</string>
|
||||
<string name="progress_circular_content_description_indeterminate">غير محدد</string>
|
||||
<string name="searchbar_clear_search">مسح البحث</string>
|
||||
<string name="searchbar_back">رجوع</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s şəxs</item>
|
||||
<item quantity="other">%s nəfər</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Adsız</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Qeyri-müəyyən</string>
|
||||
<string name="searchbar_clear_search">Axtarışı təmizləyin</string>
|
||||
<string name="searchbar_back">Geri</string>
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
<item quantity="few">%s ljudi</item>
|
||||
<item quantity="other">%s ljudi</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Nema imena</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Neodređeno</string>
|
||||
<string name="searchbar_clear_search">Obriši pretragu</string>
|
||||
<string name="searchbar_back">Nazad</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">%s карыстальнікаў</item>
|
||||
<item quantity="other">%s карыстальнікаў</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Без імені</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Не вызначана</string>
|
||||
<string name="searchbar_clear_search">Ачысціць поле пошуку</string>
|
||||
<string name="searchbar_back">Назад</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s човек</item>
|
||||
<item quantity="other">%s души</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Без име</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Неопределен</string>
|
||||
<string name="searchbar_clear_search">Изчисти търсенето</string>
|
||||
<string name="searchbar_back">Назад</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s জন ব্যক্তি</item>
|
||||
<item quantity="other">%s জন লোক</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">নাম নেই</string>
|
||||
<string name="progress_circular_content_description_indeterminate">অনির্দিষ্ট</string>
|
||||
<string name="searchbar_clear_search">সন্ধান সাফ করুন</string>
|
||||
<string name="searchbar_back">ফিরে যান</string>
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
<item quantity="few">%s osobe</item>
|
||||
<item quantity="other">%s osobe</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Bez imena</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Neodređeno</string>
|
||||
<string name="searchbar_clear_search">Obriši pretragu</string>
|
||||
<string name="searchbar_back">Nazad</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s persona</item>
|
||||
<item quantity="other">%s persones</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Sense nom</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminat</string>
|
||||
<string name="searchbar_clear_search">Esborra la cerca</string>
|
||||
<string name="searchbar_back">Enrere</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">%s lidí</item>
|
||||
<item quantity="other">%s lidí</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Beze jména</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Neurčitý</string>
|
||||
<string name="searchbar_clear_search">Vymazat hledání</string>
|
||||
<string name="searchbar_back">Zpět</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s person</item>
|
||||
<item quantity="other">%s personer</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Intet navn</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Ubestemt</string>
|
||||
<string name="searchbar_clear_search">Ryd søgning</string>
|
||||
<string name="searchbar_back">Tilbage</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s Person</item>
|
||||
<item quantity="other">%s Personen</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Kein Name</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Unbestimmt</string>
|
||||
<string name="searchbar_clear_search">Suche löschen</string>
|
||||
<string name="searchbar_back">Zurück</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s άτομο</item>
|
||||
<item quantity="other">%s άτομα</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Χωρίς όνομα</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Ακαθόριστο</string>
|
||||
<string name="searchbar_clear_search">Απαλοιφή αναζήτησης</string>
|
||||
<string name="searchbar_back">Πίσω</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s person</item>
|
||||
<item quantity="other">%s people</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">No name</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminate</string>
|
||||
<string name="searchbar_clear_search">Clear search</string>
|
||||
<string name="searchbar_back">Back</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s persona</item>
|
||||
<item quantity="other">%s personas</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Sin nombre</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminado</string>
|
||||
<string name="searchbar_clear_search">Borrar búsqueda</string>
|
||||
<string name="searchbar_back">Volver</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s persona</item>
|
||||
<item quantity="other">%s personas</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Sin nombre</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminado</string>
|
||||
<string name="searchbar_clear_search">Borrar búsqueda</string>
|
||||
<string name="searchbar_back">Volver</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s inimene</item>
|
||||
<item quantity="other">%s inimest</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Nimetu</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Määramata</string>
|
||||
<string name="searchbar_clear_search">Tühjenda otsing</string>
|
||||
<string name="searchbar_back">Tagasi</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s pertsona</item>
|
||||
<item quantity="other">%s pertsona</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Izengabea</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Zehaztugabea</string>
|
||||
<string name="searchbar_clear_search">Garbitu bilaketa</string>
|
||||
<string name="searchbar_back">Atzera</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s نفر</item>
|
||||
<item quantity="other">%s نفر</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">بدون نام</string>
|
||||
<string name="progress_circular_content_description_indeterminate">نامشخص</string>
|
||||
<string name="searchbar_clear_search">پاک کردن جستجو</string>
|
||||
<string name="searchbar_back">بازگشت</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s henkilö</item>
|
||||
<item quantity="other">%s henkilöä</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Ei nimeä</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Määrittelemätön</string>
|
||||
<string name="searchbar_clear_search">Tyhjennä haku</string>
|
||||
<string name="searchbar_back">Edellinen</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s tao</item>
|
||||
<item quantity="other">%s (na) tao</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Walang pangalan</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Hindi Matukoy</string>
|
||||
<string name="searchbar_clear_search">I-clear ang paghahanap</string>
|
||||
<string name="searchbar_back">Bumalik</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s personne</item>
|
||||
<item quantity="other">%s personnes</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Aucun nom</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indéterminé</string>
|
||||
<string name="searchbar_clear_search">Effacer la recherche</string>
|
||||
<string name="searchbar_back">Précédent</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s personne</item>
|
||||
<item quantity="other">%s personnes</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Aucun nom</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indéterminé</string>
|
||||
<string name="searchbar_clear_search">Effacer la recherche</string>
|
||||
<string name="searchbar_back">Précédent</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s persoa</item>
|
||||
<item quantity="other">%s persoas</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Sen nome</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminado</string>
|
||||
<string name="searchbar_clear_search">Limpar a busca</string>
|
||||
<string name="searchbar_back">Atrás</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">Mutum %s</item>
|
||||
<item quantity="other">Mutane %s</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Babu suna</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminate</string>
|
||||
<string name="searchbar_clear_search">Clear search</string>
|
||||
<string name="searchbar_back">Back</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s व्यक्ति</item>
|
||||
<item quantity="other">%s लोग</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">कोई नाम नहीं</string>
|
||||
<string name="progress_circular_content_description_indeterminate">अस्पष्ट</string>
|
||||
<string name="searchbar_clear_search">खोज साफ़ करें</string>
|
||||
<string name="searchbar_back">वापस जाएँ</string>
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
<item quantity="few">%s osobe</item>
|
||||
<item quantity="other">%s osobe</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Bez imena</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Neodređeno</string>
|
||||
<string name="searchbar_clear_search">Očisti pretraživanje</string>
|
||||
<string name="searchbar_back">Natrag</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s személy</item>
|
||||
<item quantity="other">%s személy</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Névtelen</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Nem meghatározott</string>
|
||||
<string name="searchbar_clear_search">Találatok törlése</string>
|
||||
<string name="searchbar_back">Vissza</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s orang</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Tanpa nama</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Tak tentu</string>
|
||||
<string name="searchbar_clear_search">Hapus pencarian</string>
|
||||
<string name="searchbar_back">Kembali</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s aðili</item>
|
||||
<item quantity="other">%s aðilar</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Ekkert nafn</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Óljóst</string>
|
||||
<string name="searchbar_clear_search">Hreinsa leit</string>
|
||||
<string name="searchbar_back">Til baka</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s persona</item>
|
||||
<item quantity="other">%s persone</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Nessun nome</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminato</string>
|
||||
<string name="searchbar_clear_search">Cancella ricerca</string>
|
||||
<string name="searchbar_back">Indietro</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">%s אנשים</item>
|
||||
<item quantity="other">%s אנשים</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">ללא שם</string>
|
||||
<string name="progress_circular_content_description_indeterminate">לא מוגדר</string>
|
||||
<string name="searchbar_clear_search">נקה חיפוש</string>
|
||||
<string name="searchbar_back">הקודם</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s 人</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">名前なし</string>
|
||||
<string name="progress_circular_content_description_indeterminate">不定</string>
|
||||
<string name="searchbar_clear_search">検索のクリア</string>
|
||||
<string name="searchbar_back">戻る</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s адам</item>
|
||||
<item quantity="other">%s адам</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Аты жоқ</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Анықталмаған</string>
|
||||
<string name="searchbar_clear_search">Іздеу нәтижелерін тазарту</string>
|
||||
<string name="searchbar_back">Артқа</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">មនុស្ស %s នាក់</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">គ្មានឈ្មោះ</string>
|
||||
<string name="progress_circular_content_description_indeterminate">ដែលមិនច្បាស់លាស់</string>
|
||||
<string name="searchbar_clear_search">លុបការស្វែងរក</string>
|
||||
<string name="searchbar_back">ថយក្រោយ</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s ವ್ಯಕ್ತಿ</item>
|
||||
<item quantity="other">%s ಜನರು</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">ಹೆಸರಿಲ್ಲ</string>
|
||||
<string name="progress_circular_content_description_indeterminate">ಅನಿರ್ದಿಷ್ಟ</string>
|
||||
<string name="searchbar_clear_search">ಶೋಧ ತೆರವುಗೊಳಿಸಿ</string>
|
||||
<string name="searchbar_back">ಹಿಂದೆ</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s명</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">이름 없음</string>
|
||||
<string name="progress_circular_content_description_indeterminate">계산 중...</string>
|
||||
<string name="searchbar_clear_search">검색 지우기</string>
|
||||
<string name="searchbar_back">뒤로</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s ຄົນ</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">ບໍ່ມີຊື່</string>
|
||||
<string name="progress_circular_content_description_indeterminate">ບໍ່ຊັດເຈນ</string>
|
||||
<string name="searchbar_clear_search">ລຶບລ້າງການຊອກຫາ</string>
|
||||
<string name="searchbar_back">ກັບຄືນ</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">Žmonių: %s</item>
|
||||
<item quantity="other">Žmonių: %s</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Nėra vardo</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Neapibrėžtas</string>
|
||||
<string name="searchbar_clear_search">Valyti iešką</string>
|
||||
<string name="searchbar_back">Atgal</string>
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
<item quantity="one">%s persona</item>
|
||||
<item quantity="other">%s personas</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Bez vārda</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Nenoteikts</string>
|
||||
<string name="searchbar_clear_search">Notīrīt meklēšanu</string>
|
||||
<string name="searchbar_back">Atpakaļ</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s лице</item>
|
||||
<item quantity="other">%s луѓе</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Без име</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Неодредено</string>
|
||||
<string name="searchbar_clear_search">Исчисти го пребарувањето</string>
|
||||
<string name="searchbar_back">Назад</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s വ്യക്തി</item>
|
||||
<item quantity="other">%s ആളുകൾ</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">പേരില്ല</string>
|
||||
<string name="progress_circular_content_description_indeterminate">അനിശ്ചിതമായ</string>
|
||||
<string name="searchbar_clear_search">തിരയൽ മായ്ക്കുക</string>
|
||||
<string name="searchbar_back">പിന്നിലേക്ക്</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s individu</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Tiada nama</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Tidak dapat ditentukan</string>
|
||||
<string name="searchbar_clear_search">Kosongkan carian</string>
|
||||
<string name="searchbar_back">Ke belakang</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s person</item>
|
||||
<item quantity="other">%s personer</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Uten navn</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Ubestemmelig</string>
|
||||
<string name="searchbar_clear_search">Nullstill søk</string>
|
||||
<string name="searchbar_back">Tilbake</string>
|
||||
|
|
|
@ -5,16 +5,7 @@
|
|||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!--ActionBarLayout-->
|
||||
<color name="fluentui_action_bar_indicator_background">@color/fluentui_gray_300</color>
|
||||
<color name="fluentui_action_bar_carousel_background">@color/fluentui_gray_900</color>
|
||||
|
||||
<!--AvatarView-->
|
||||
<color name="fluentui_avatar_ring_background">@color/fluentui_black</color>
|
||||
<color name="fluentui_avatar_border_background">@color/fluentui_gray_500</color>
|
||||
<color name="fluentui_avatar_overflow_text_color">@color/fluentui_gray_25</color>
|
||||
<color name="fluentui_avatar_overflow_background">@color/fluentui_gray_600</color>
|
||||
|
||||
|
||||
</resources>
|
|
@ -50,14 +50,6 @@
|
|||
<!--NumberPicker-->
|
||||
<item name="fluentuiNumberPickerBackgroundColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
|
||||
<!--Persona Chip-->
|
||||
<!--TODO add hex values to the colors file when they get added to the toolkit-->
|
||||
<item name="fluentuiPersonaChipBackgroundNormalColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
<item name="fluentuiPersonaChipBackgroundErrorColor">#4DFF474C</item>
|
||||
<item name="fluentuiPersonaChipBackgroundErrorActiveColor">#FF474C</item>
|
||||
<item name="fluentuiPersonaChipTextNormalColor">@color/fluentui_gray_100</item>
|
||||
<item name="fluentuiPersonaChipTextErrorColor">#FF474C</item>
|
||||
|
||||
<!--Progress-->
|
||||
<item name="fluentuiProgressBackgroundColor">@color/fluentui_gray_900</item>
|
||||
<!--Searchbar-->
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s persoon</item>
|
||||
<item quantity="other">%s personen</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Geen naam</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Onbepaald</string>
|
||||
<string name="searchbar_clear_search">Zoekopdracht wissen</string>
|
||||
<string name="searchbar_back">Terug</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s person</item>
|
||||
<item quantity="other">%s personar</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Utan namn</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Ubestemmeleg</string>
|
||||
<string name="searchbar_clear_search">Fjern søk</string>
|
||||
<string name="searchbar_back">Tilbake</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">%s osób</item>
|
||||
<item quantity="other">%s osób</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Brak nazwy</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Nieokreślony</string>
|
||||
<string name="searchbar_clear_search">Wyczyść wyszukiwanie</string>
|
||||
<string name="searchbar_back">Wstecz</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s pessoa</item>
|
||||
<item quantity="other">%s pessoas</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Sem nome</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminado</string>
|
||||
<string name="searchbar_clear_search">Limpar pesquisa</string>
|
||||
<string name="searchbar_back">Voltar</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s pessoa</item>
|
||||
<item quantity="other">%s pessoas</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Sem nome</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Indeterminado</string>
|
||||
<string name="searchbar_clear_search">Limpar pesquisa</string>
|
||||
<string name="searchbar_back">Anterior</string>
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
<item quantity="few">%s persoane</item>
|
||||
<item quantity="other">%s persoane</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Fără nume</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Nedeterminat</string>
|
||||
<string name="searchbar_clear_search">Goliți căutarea</string>
|
||||
<string name="searchbar_back">Înapoi</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">%s человек</item>
|
||||
<item quantity="other">%s человек</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Без имени</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Не определено</string>
|
||||
<string name="searchbar_clear_search">Очистить поисковый запрос</string>
|
||||
<string name="searchbar_back">Назад</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">Počet ľudí: %s</item>
|
||||
<item quantity="other">Počet ľudí: %s</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Bez mena</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Neurčené</string>
|
||||
<string name="searchbar_clear_search">Vymazať vyhľadávanie</string>
|
||||
<string name="searchbar_back">Dozadu</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="few">%s ljudi</item>
|
||||
<item quantity="other">%s ljudi</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Brez imena</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Nedoločeno</string>
|
||||
<string name="searchbar_clear_search">Počisti iskanje</string>
|
||||
<string name="searchbar_back">Nazaj</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s person</item>
|
||||
<item quantity="other">%s njerëz</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Pa emër</string>
|
||||
<string name="progress_circular_content_description_indeterminate"> I papërcaktuar</string>
|
||||
<string name="searchbar_clear_search">Pastro kërkimin</string>
|
||||
<string name="searchbar_back">Prapa</string>
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
<item quantity="few">%s људи</item>
|
||||
<item quantity="other">%s људи</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Нема имена</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Неодређено</string>
|
||||
<string name="searchbar_clear_search">Обриши претрагу</string>
|
||||
<string name="searchbar_back">Назад</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s person</item>
|
||||
<item quantity="other">%s personer</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Namnlös</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Obestämd</string>
|
||||
<string name="searchbar_clear_search">Rensa sökning</string>
|
||||
<string name="searchbar_back">Tillbaka</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">Mtu %s</item>
|
||||
<item quantity="other">Watu %s</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Hakuna jina</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Sio bainifu</string>
|
||||
<string name="searchbar_clear_search">Futa utafutaji</string>
|
||||
<string name="searchbar_back">Nyuma</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s நபர்</item>
|
||||
<item quantity="other">%s நபர்கள்</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">பெயர் இல்லை</string>
|
||||
<string name="progress_circular_content_description_indeterminate">தீர்மானிக்கப்படவில்லை</string>
|
||||
<string name="searchbar_clear_search">தேடலை அழிக்கும்</string>
|
||||
<string name="searchbar_back">பின்</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s వ్యక్తి</item>
|
||||
<item quantity="other">%s మంది వ్యక్తులు</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">పేరు లేదు</string>
|
||||
<string name="progress_circular_content_description_indeterminate">మధ్యంతరం</string>
|
||||
<string name="searchbar_clear_search">శోధనను క్లియర్ చేయి</string>
|
||||
<string name="searchbar_back">వెనుకకు</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s คน</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">ไม่มีชื่อ</string>
|
||||
<string name="progress_circular_content_description_indeterminate">ไม่ทราบแน่ชัด</string>
|
||||
<string name="searchbar_clear_search">ล้างการค้นหา</string>
|
||||
<string name="searchbar_back">ย้อนกลับ</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s kişi</item>
|
||||
<item quantity="other">%s kişi</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Adsız</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Belirsiz</string>
|
||||
<string name="searchbar_clear_search">Aramayı temizle</string>
|
||||
<string name="searchbar_back">Geri</string>
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<item quantity="many">%s осіб</item>
|
||||
<item quantity="other">%s осіб</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Без імені</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Не визначено</string>
|
||||
<string name="searchbar_clear_search">Очистити пошук</string>
|
||||
<string name="searchbar_back">Назад</string>
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
<item quantity="one">%s kishi</item>
|
||||
<item quantity="other">%s kishi</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Nomsiz</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Noaniq</string>
|
||||
<string name="searchbar_clear_search">Qidiruvni tozalash</string>
|
||||
<string name="searchbar_back">Orqaga</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s người</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">Không có tên</string>
|
||||
<string name="progress_circular_content_description_indeterminate">Vô hạn định</string>
|
||||
<string name="searchbar_clear_search">Xóa tìm kiếm</string>
|
||||
<string name="searchbar_back">Quay lại</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s 个人</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">无姓名</string>
|
||||
<string name="progress_circular_content_description_indeterminate">不确定</string>
|
||||
<string name="searchbar_clear_search">清除搜索</string>
|
||||
<string name="searchbar_back">返回</string>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<plurals name="people_picker_accessibility_text_view">
|
||||
<item quantity="other">%s 人</item>
|
||||
</plurals>
|
||||
<string name="persona_title_placeholder">沒有名稱</string>
|
||||
<string name="progress_circular_content_description_indeterminate">不確定</string>
|
||||
<string name="searchbar_clear_search">清除搜尋</string>
|
||||
<string name="searchbar_back">返回</string>
|
||||
|
|
|
@ -86,17 +86,6 @@
|
|||
<attr name="fluentuiPeoplePickerLabelTextColor" format="reference|color"/>
|
||||
<attr name="fluentuiPeoplePickerCountSpanTextColor" format="reference|color"/>
|
||||
|
||||
<!--PersonaChip-->
|
||||
<attr name="fluentuiPersonaChipBackgroundNormalColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipBackgroundActiveColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipBackgroundErrorColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipBackgroundErrorActiveColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipBackgroundPressedColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipTextNormalColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipForegroundActiveColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipTextErrorColor" format="reference|color"/>
|
||||
<attr name="fluentuiPersonaChipTextDisabledColor" format="reference|color"/>
|
||||
|
||||
<!--Progress-->
|
||||
<attr name="fluentuiProgressPrimaryColor" format="reference|color"/>
|
||||
<attr name="fluentuiProgressBackgroundColor" format="reference|color"/>
|
||||
|
|
|
@ -7,32 +7,6 @@
|
|||
<resources>
|
||||
<!-- *** Semantic Colors *** -->
|
||||
|
||||
<!--Avatar-->
|
||||
<array name="fluentui_avatar_background_colors">
|
||||
<item>#750B1C</item>
|
||||
<item>#A4262C</item>
|
||||
<item>#D13438</item>
|
||||
<item>#CA5010</item>
|
||||
<item>#986F0B</item>
|
||||
<item>#498205</item>
|
||||
<item>#005E50</item>
|
||||
<item>#038387</item>
|
||||
<item>#0078D4</item>
|
||||
<item>#004E8C</item>
|
||||
<item>#4F6BED</item>
|
||||
<item>#373277</item>
|
||||
<item>#881798</item>
|
||||
<item>#C239B3</item>
|
||||
<item>#E3008C</item>
|
||||
<item>#603D30</item>
|
||||
<item>#567C73</item>
|
||||
<item>#69797E</item>
|
||||
</array>
|
||||
<color name="fluentui_avatar_ring_background">@color/fluentui_white</color>
|
||||
<color name="fluentui_avatar_border_background">@color/fluentui_gray_200</color>
|
||||
<color name="fluentui_avatar_overflow_text_color">@color/fluentui_gray_500</color>
|
||||
<color name="fluentui_avatar_overflow_background">@color/fluentui_gray_25</color>
|
||||
|
||||
<!--ActionBarLayout-->
|
||||
<color name="fluentui_action_bar_indicator_background">@color/fluentui_communication_tint_20</color>
|
||||
<color name="fluentui_action_bar_carousel_background">@color/fluentui_communication_blue</color>
|
||||
|
|
|
@ -13,30 +13,6 @@
|
|||
<dimen name="fluentui_app_bar_layout_elevation">0dp</dimen>
|
||||
<dimen name="fluentui_app_bar_layout_elevation_scroll">4dp</dimen>
|
||||
|
||||
<!--Avatar-->
|
||||
<dimen name="fluentui_avatar_size_xsmall">20dp</dimen>
|
||||
<dimen name="fluentui_avatar_size_small">24dp</dimen>
|
||||
<dimen name="fluentui_avatar_size_medium">32dp</dimen>
|
||||
<dimen name="fluentui_avatar_size_large">40dp</dimen>
|
||||
<dimen name="fluentui_avatar_size_xlarge">52dp</dimen>
|
||||
<dimen name="fluentui_avatar_size_xxlarge">64dp</dimen>
|
||||
<dimen name="fluentui_avatar_square_corner_radius">@dimen/fluentui_corner_radius_4</dimen>
|
||||
<dimen name="fluentui_avatar_border_size">4dp</dimen>
|
||||
<dimen name="fluentui_avatar_border_size_xxlarge">8dp</dimen>
|
||||
<dimen name="fluentui_avatar_pile_space_xsmall">4dp</dimen>
|
||||
<dimen name="fluentui_avatar_pile_space_small">6dp</dimen>
|
||||
<dimen name="fluentui_avatar_pile_space_medium">6dp</dimen>
|
||||
<dimen name="fluentui_avatar_pile_space_large">8dp</dimen>
|
||||
<dimen name="fluentui_avatar_pile_space_xlarge">8dp</dimen>
|
||||
<dimen name="fluentui_avatar_pile_space_xxlarge">10dp</dimen>
|
||||
<dimen name="fluentui_avatar_stack_space_xsmall">6dp</dimen>
|
||||
<dimen name="fluentui_avatar_stack_space_small">8dp</dimen>
|
||||
<dimen name="fluentui_avatar_stack_space_medium">8dp</dimen>
|
||||
<dimen name="fluentui_avatar_stack_space_large">12dp</dimen>
|
||||
<dimen name="fluentui_avatar_stack_space_xlarge">14dp</dimen>
|
||||
<dimen name="fluentui_avatar_stack_space_xxlarge">16dp</dimen>
|
||||
|
||||
|
||||
<!--BottomNavigation-->
|
||||
<dimen name="fluentui_bottom_navigation_icon_labeled">24dp</dimen>
|
||||
<dimen name="fluentui_bottom_navigation_icon_unlabeled">28dp</dimen>
|
||||
|
@ -97,15 +73,6 @@
|
|||
<dimen name="fluentui_people_picker_label_margin_end">8dp</dimen>
|
||||
<dimen name="fluentui_people_picker_vertical_padding">12dp</dimen>
|
||||
|
||||
<!--Persona-->
|
||||
<dimen name="fluentui_persona_horizontal_spacing">@dimen/fluentui_list_item_spacing</dimen>
|
||||
<dimen name="fluentui_persona_horizontal_padding">@dimen/fluentui_list_item_horizontal_margin_regular</dimen>
|
||||
|
||||
<!--PersonaChip-->
|
||||
<dimen name="fluentui_persona_chip_height">32dp</dimen>
|
||||
<dimen name="fluentui_persona_chip_padding">6dp</dimen>
|
||||
<dimen name="fluentui_persona_chip_spacing">6dp</dimen>
|
||||
|
||||
<!--Progress: Circular-->
|
||||
<dimen name="fluentui_progress_circular_xsmall">20dp</dimen>
|
||||
<dimen name="fluentui_progress_circular_small">24dp</dimen>
|
||||
|
|
|
@ -169,11 +169,6 @@
|
|||
<item quantity="other">%s people</item>
|
||||
</plurals>
|
||||
|
||||
<!-- *** Persona *** -->
|
||||
|
||||
<string name="persona_title_placeholder">No name</string>
|
||||
|
||||
|
||||
<!-- *** Calendar *** -->
|
||||
|
||||
<!--accessibility-->
|
||||
|
|
|
@ -98,18 +98,6 @@
|
|||
<item name="fluentuiPeoplePickerLabelTextColor">?attr/fluentuiForegroundSecondaryColor</item>
|
||||
<item name="fluentuiPeoplePickerCountSpanTextColor">?attr/fluentuiForegroundSecondaryColor</item>
|
||||
|
||||
<!--Persona Chip-->
|
||||
<!--TODO add hex values to the colors file when they get added to the toolkit-->
|
||||
<item name="fluentuiPersonaChipBackgroundNormalColor">@color/fluentui_gray_50</item>
|
||||
<item name="fluentuiPersonaChipBackgroundActiveColor">?attr/fluentuiBackgroundPrimaryColor</item>
|
||||
<item name="fluentuiPersonaChipBackgroundErrorColor">#FFF3F4</item>
|
||||
<item name="fluentuiPersonaChipBackgroundErrorActiveColor">#E8484C</item>
|
||||
<item name="fluentuiPersonaChipBackgroundPressedColor">#0D000000</item>
|
||||
<item name="fluentuiPersonaChipTextNormalColor">@color/fluentui_gray_900</item>
|
||||
<item name="fluentuiPersonaChipForegroundActiveColor">?attr/fluentuiForegroundOnPrimaryColor</item>
|
||||
<item name="fluentuiPersonaChipTextErrorColor">#E63237</item>
|
||||
<item name="fluentuiPersonaChipTextDisabledColor">@color/fluentui_gray_400</item>
|
||||
|
||||
<!--Progress-->
|
||||
<item name="fluentuiProgressPrimaryColor">?attr/colorPrimary</item>
|
||||
<item name="fluentuiProgressBackgroundColor">@color/fluentui_gray_100</item>
|
||||
|
|
|
@ -0,0 +1,112 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
|
||||
apply from: '../config.gradle'
|
||||
|
||||
android {
|
||||
compileSdkVersion constants.compileSdkVersion
|
||||
buildFeatures {
|
||||
viewBinding true
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion constants.minSdkVersion
|
||||
targetSdkVersion constants.targetSdkVersion
|
||||
versionCode project.ext.fluentui_persona_version_code
|
||||
versionName project.ext.fluentui_persona_versionid
|
||||
|
||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||
consumerProguardFiles 'consumer-rules.pro'
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation project(':fluentui_core')
|
||||
implementation project(':fluentui_listitem')
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
||||
implementation "com.google.android.material:material:$materialVersion"
|
||||
androidTestImplementation "androidx.test.ext:junit:$extJunitVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
||||
}
|
||||
|
||||
task sourceJar(type: Jar) {
|
||||
from android.sourceSets.main.java.srcDirs
|
||||
classifier "sources"
|
||||
}
|
||||
|
||||
project.afterEvaluate {
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
url 'https://pkgs.dev.azure.com/microsoftdesign/fluentui-native/_packaging/fluentui-android/maven/v1'
|
||||
credentials {
|
||||
username = project.hasProperty("mavenUserName") ? "$mavenUserName" : ""
|
||||
password = project.hasProperty("mavenPassword") ? "$mavenPassword" : ""
|
||||
}
|
||||
}
|
||||
}
|
||||
publications {
|
||||
FluentUI(MavenPublication) {
|
||||
groupId 'com.microsoft.fluentui'
|
||||
artifactId "fluentui_persona"
|
||||
version = android.defaultConfig.versionName
|
||||
artifact(sourceJar)
|
||||
artifact(bundleReleaseAar)
|
||||
pom.withXml {
|
||||
def dependenciesNode = asNode().appendNode('dependencies')
|
||||
// Iterate over the compile dependencies (we don't want the test ones), adding a <dependency> node for each
|
||||
configurations.implementation.allDependencies.each {
|
||||
if (it.group != null && (it.name != null && it.name != "unspecified") && it.version != null) {
|
||||
def dependencyNode = dependenciesNode.appendNode('dependency')
|
||||
if (it instanceof ProjectDependency) {
|
||||
dependencyNode.appendNode('groupId', 'com.microsoft.fluentui')
|
||||
dependencyNode.appendNode('artifactId', it.name)
|
||||
def artifactName = it.name.replaceAll('-', '_') + '_versionid'
|
||||
dependencyNode.appendNode('version', getProperty(artifactName).toString())
|
||||
} else {
|
||||
dependencyNode.appendNode('groupId', it.group)
|
||||
dependencyNode.appendNode('artifactId', it.name)
|
||||
dependencyNode.appendNode('version', it.version)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bintray {
|
||||
user = project.hasProperty('bintrayUser') ? "$bintrayUser" : ""
|
||||
key = project.hasProperty('bintrayKey') ? "$bintrayKey" : ""
|
||||
publications = ['FluentUI']
|
||||
publish = true
|
||||
override = true
|
||||
pkg {
|
||||
repo = 'generic'
|
||||
name = 'fluentui_persona'
|
||||
version {
|
||||
name = android.defaultConfig.versionName
|
||||
vcsTag = android.defaultConfig.versionName
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.microsoft.fluentui.persona">
|
||||
|
||||
</manifest>
|
|
@ -6,7 +6,7 @@ import android.util.AttributeSet
|
|||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.FrameLayout
|
||||
import com.microsoft.fluentui.R
|
||||
import com.microsoft.fluentui.persona.R
|
||||
import com.microsoft.fluentui.theming.FluentUIContextThemeWrapper
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ open class AvatarGroupView : FrameLayout {
|
|||
}
|
||||
|
||||
@JvmOverloads
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext,R.style.Theme_FluentUI_Components), attrs, defStyleAttr) {
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext,R.style.Theme_FluentUI_Persona), attrs, defStyleAttr) {
|
||||
val styledAttrs = context.obtainStyledAttributes(attrs, R.styleable.AvatarGroupView)
|
||||
val avatarSizeOrdinal = styledAttrs.getInt(R.styleable.AvatarGroupView_avatarSize, AvatarView.DEFAULT_AVATAR_SIZE.ordinal)
|
||||
val avatarGroupStyleOrdinal = styledAttrs.getInt(R.styleable.AvatarGroupView_avatarGroupStyle, DEFAULT_AVATAR_GROUP_STYLE.ordinal)
|
|
@ -6,7 +6,7 @@
|
|||
package com.microsoft.fluentui.persona
|
||||
|
||||
import android.content.Context
|
||||
import com.microsoft.fluentui.R
|
||||
import com.microsoft.fluentui.persona.R
|
||||
|
||||
/**
|
||||
* The [id] passed to this enum class references a dimens resource that [getDisplayValue] converts into an int.
|
|
@ -15,7 +15,7 @@ import androidx.annotation.ColorInt
|
|||
import androidx.core.content.ContextCompat
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import android.util.AttributeSet
|
||||
import com.microsoft.fluentui.R
|
||||
import com.microsoft.fluentui.persona.R
|
||||
import com.microsoft.fluentui.theming.FluentUIContextThemeWrapper
|
||||
|
||||
enum class AvatarStyle {
|
||||
|
@ -39,7 +39,7 @@ open class AvatarView : AppCompatImageView {
|
|||
}
|
||||
|
||||
@JvmOverloads
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext,R.style.Theme_FluentUI_Components), attrs, defStyleAttr) {
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext,R.style.Theme_FluentUI_Persona), attrs, defStyleAttr) {
|
||||
val styledAttrs = context.obtainStyledAttributes(attrs, R.styleable.AvatarView)
|
||||
val avatarSizeOrdinal = styledAttrs.getInt(R.styleable.AvatarView_avatarSize, DEFAULT_AVATAR_SIZE.ordinal)
|
||||
val avatarStyleOrdinal = styledAttrs.getInt(R.styleable.AvatarView_avatarStyle, DEFAULT_AVATAR_STYLE.ordinal)
|
|
@ -12,7 +12,7 @@ import androidx.annotation.ColorInt
|
|||
import androidx.annotation.IntRange
|
||||
import androidx.core.content.ContextCompat
|
||||
import android.text.*
|
||||
import com.microsoft.fluentui.R
|
||||
import com.microsoft.fluentui.persona.R
|
||||
import com.microsoft.fluentui.util.ThemeUtil
|
||||
import java.util.*
|
||||
|
|
@ -20,8 +20,8 @@ import android.view.accessibility.AccessibilityNodeInfo
|
|||
import android.widget.CheckBox
|
||||
import android.widget.ImageView
|
||||
import android.widget.TextView
|
||||
import com.microsoft.fluentui.R
|
||||
import com.microsoft.fluentui.databinding.ViewPersonaChipBinding
|
||||
import com.microsoft.fluentui.persona.R
|
||||
import com.microsoft.fluentui.persona.databinding.ViewPersonaChipBinding
|
||||
import com.microsoft.fluentui.theming.FluentUIContextThemeWrapper
|
||||
import com.microsoft.fluentui.util.ThemeUtil
|
||||
import com.microsoft.fluentui.util.isVisible
|
||||
|
@ -93,7 +93,7 @@ class PersonaChipView : TemplateView {
|
|||
var listener: Listener? = null
|
||||
|
||||
@JvmOverloads
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext,R.style.Theme_FluentUI_Components), attrs, defStyleAttr) {
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext,R.style.Theme_FluentUI_Persona), attrs, defStyleAttr) {
|
||||
if (attrs == null)
|
||||
return
|
||||
val styledAttrs = context.obtainStyledAttributes(attrs, R.styleable.PersonaChipView)
|
|
@ -10,7 +10,7 @@ import androidx.recyclerview.widget.DividerItemDecoration
|
|||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import android.util.AttributeSet
|
||||
import com.microsoft.fluentui.R
|
||||
import com.microsoft.fluentui.persona.R
|
||||
import com.microsoft.fluentui.listitem.ListItemDivider
|
||||
import com.microsoft.fluentui.theming.FluentUIContextThemeWrapper
|
||||
import java.util.*
|
||||
|
@ -41,7 +41,7 @@ class PersonaListView : RecyclerView {
|
|||
private val personaListAdapter = PersonaListAdapter(context)
|
||||
|
||||
@JvmOverloads
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext, R.style.Theme_FluentUI_Components), attrs, defStyleAttr) {
|
||||
constructor(appContext: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : super(FluentUIContextThemeWrapper(appContext, R.style.Theme_FluentUI_Persona), attrs, defStyleAttr) {
|
||||
adapter = personaListAdapter
|
||||
layoutManager = LinearLayoutManager(context)
|
||||
addItemDecoration(ListItemDivider(context, DividerItemDecoration.VERTICAL))
|
|
@ -12,7 +12,7 @@ import android.graphics.drawable.Drawable
|
|||
import android.net.Uri
|
||||
import android.util.AttributeSet
|
||||
import android.view.accessibility.AccessibilityEvent
|
||||
import com.microsoft.fluentui.R
|
||||
import com.microsoft.fluentui.persona.R
|
||||
import com.microsoft.fluentui.listitem.ListItemView
|
||||
import com.microsoft.fluentui.util.isVisibleOnScreen
|
||||
|
||||
|
@ -27,9 +27,9 @@ class PersonaView : ListItemView {
|
|||
val personaAvatarSizes = arrayOf(AvatarSize.SMALL, AvatarSize.LARGE, AvatarSize.XXLARGE)
|
||||
const val FOCUS_DELAY = 100L
|
||||
|
||||
internal data class Spacing(val cellPadding: Int, val insetLeft: Int)
|
||||
data class Spacing(val cellPadding: Int, val insetLeft: Int)
|
||||
|
||||
internal fun getSpacing(context: Context, avatarSize: AvatarSize): Spacing {
|
||||
fun getSpacing(context: Context, avatarSize: AvatarSize): Spacing {
|
||||
val avatarDisplaySize = avatarSize.getDisplayValue(context)
|
||||
val spacingRight = context.resources.getDimension(R.dimen.fluentui_persona_horizontal_spacing)
|
||||
val cellPadding = context.resources.getDimension(R.dimen.fluentui_persona_horizontal_padding).toInt()
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="persona_title_placeholder">Geen naam nie</string>
|
||||
</resources>
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="persona_title_placeholder">ስም የለም</string>
|
||||
</resources>
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="persona_title_placeholder">لا يوجد اسم</string>
|
||||
</resources>
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="persona_title_placeholder">Adsız</string>
|
||||
</resources>
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="persona_title_placeholder">Nema imena</string>
|
||||
</resources>
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче