B4A Library ParsBottomSheetBuilder

Discussion in 'Additional libraries, classes and official updates' started by mshafiee110, Apr 20, 2019.

Tags:
  1. mshafiee110

    mshafiee110 Member Licensed User

    Attached Files:

    Last edited: May 1, 2019
  2. HAH

    HAH Active Member Licensed User

    I got this error on compiling ..
    B4A Version: 9.00
    Parsing code. (0.01s)
    Building folders structure. (0.03s)
    Compiling code. (0.02s)

    ObfuscatorMap.txt file created in Objects folder.
    Compiling layouts code. (0.00s)
    Organizing libraries. (0.00s)
    Generating R file. Error
    C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.BottomSheet.Modal'.
    C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:26: error: Error: No resource found that matches the given name: attr 'behavior_hideable'.
    C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:27: error: Error: No resource found that matches the given name: attr 'behavior_skipCollapsed'.
    C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Design.BottomSheetDialog'.
    C:\Android\tools\..\extras\b4a_local\unpacked-parsbottomsheetbuilder-63691106938000\res\values\values.xml:30: error: Error: No resource found that matches the given name: attr 'bottomSheetStyle'.
    res\values\theme.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light.DarkActionBar'.
    res\values\theme.xml:6: error: Error: No resource found that matches the given name: attr 'colorAccent'.
    res\values\theme.xml:4: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
    res\values\theme.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.
    res\values\theme.xml:10: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Design.Light.BottomSheetDialog'.
    res\values\theme.xml:11: error: Error: No resource found that matches the given name: attr 'bottomSheetStyle'.
    res\values\theme.xml:14: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.BottomSheet.Modal'.
    res\values\theme.xml:15: error: Error: No resource found that matches the given name: attr 'behavior_hideable'.
    res\values\theme.xml:16: error: Error: No resource found that matches the given name: attr 'behavior_skipCollapsed'.
     
    mshafiee110 likes this.
  3. jimmyF

    jimmyF Active Member Licensed User

    You need to reference the DesignSupport library.
    It's weird that the IDE says it is not used but compilation definitely depends on it.
     
    mshafiee110, HAH and DonManfred like this.
  4. DonManfred

    DonManfred Expert Licensed User

    true

    Code:
    dependencies {
      implementation 
    'com.github.rubensousa:bottomsheetbuilder:1.6.1'
      implementation 'com.android.support:design:27.1.1'
    }
     
    mshafiee110, HAH and jimmyF like this.
  5. jimmyF

    jimmyF Active Member Licensed User

    Where can I find this information @DonManfred ?

    -j
     
    mshafiee110 likes this.
  6. DonManfred

    DonManfred Expert Licensed User

    mshafiee110 and jimmyF like this.
  7. jimmyF

    jimmyF Active Member Licensed User

    mshafiee110 and DonManfred like this.
  8. mshafiee110

    mshafiee110 Member Licensed User

    https://www.b4x.com/android/forum/t...nal-material-design-components.58893/#content
    you must use this lib ...
     
  9. HAH

    HAH Active Member Licensed User

    done
    thank you
     
    mshafiee110 likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice