appcompat

  1. Livio F

    Android Question Exception Resource ID # 0x7f030016 when using the adaptive icon x appcompat [Solved]

    The project is with APPCOMPAT. After including the icon adaptive to the project in the manifest, it stopped working. I searched the forum, but I found nothing. java.lang.RuntimeException: Unable to start activity ComponentInfo{b4a.example.second/b4a.example.second.main}...
  2. T8ET8TWE

    Android Question Error with AppCompat (Version: 4.00)

    After upgrading AppCompat to Version 4.00. I got this error! B4A Version: 9.80 Java Version: 11 Parsing code. (0.00s) Building folders structure. (0.53s) Compiling code. (0.10s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) (AndroidX SDK) Generating R file...
  3. Dave O

    Android Question [solved] setting navigationBarColor in manifest: need AppCompat?

    Hi all, I've added support for dark mode in one of my apps, but when I try to specify a black navigationBarColor for the dark theme, nothing happens (it stays white). Here's my manifest code: CreateResource(values-v20, theme.xml, <resources> <style name="MyDarkTheme"...
  4. M

    Android Question AC ToolBar change menu button color

    Hi everyone! How do I change the color of this three dots?
  5. M

    Android Question CRASH using AppCompat object

    Hi everyone, i recently opened up a project that i stopped some time ago, before all the updates. In the project i used AppCompat Checkboxes and switches and as soon as the layout loads up the app crashes. I tried to remove the checkboxes, switches ans library, and it doens't crash anymore...
  6. Yeskay

    Android Question How to use FirebaseAds in my app

    anyone help me how to integrate firebase admob in my application. i tried several options described in the internet but i can't. my application always getting crash even after i added firebaseadmob lib 1.60 in my app. my application getting crashed after i added the following 1. in manifest i...
  7. R

    Android Question Droppy library

    Came across this library and it looks very nice indeed: https://www.b4x.com/android/forum/threads/droppy-dropdown-menu.81918/ I am thinking I could use this to replace the regular 3-dot overflow menu. Main reason to do this is to do with the fact that there is no simple way (via an event...
  8. M

    Android Question Strict Mode policy violation AppCompat

    An app I am submitting has a series of Strict mode policy warning in the Google Pre-Launch report. 'StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V' The make 'makeOptionalFitsSystemWindows' call shows in...
  9. K

    Android Question Unfortunately application has stop

    Unfortunately application has stopped. I get this error on samsung tablet SM-T116NY Android Version : 4.4.4 Android security patch level 2017-08-01 I am using AppCompat lib ver 3.52 and #Extends: android.support.v7.app.AppCompatActivity Error occured on all mode : debug,release Application...
  10. Brandsum

    Android Question How to attach SuggestionsAdapter to the ACSearchView

    Hi, How can I attach an array of strings as a SuggestionsAdapter to the ACSearchView?
  11. Brandsum

    Android Question [SOLVED] How to change width of AppCompat ACSearchView

    Hi, @corwin42 I have an issue. ACSearchView width is not 100%. Here is my code: Sub Activity_CreateMenu(Menu As ACMenu) SearchBar.Initialize2("Search", SearchBar.THEME_DARK) SearchBar.QueryHint = "Search for stores" SearchBar.IconifiedByDefault = True Menu.Clear...
  12. A

    Android Question Badger on Toolbar Item

    Can you use the XUI Badger with the AppCompat ACToolBarLight menu item? Yes, there's a badging example in that AppCompat example but I'd like to use the new XUI Badger to do this, if possible. I've tried … Dim Item As ACMenuItem = ACToolBarLight1.Menu.GetItem(0) ' 0 = The menu item I'm...
  13. Sgdva

    Android Question SecondDrawer ScrollTo Selected Item

    Background: I need to scroll in a fragment view to an element in a quick way. I am using the Design support library with the second drawer option, however, whenever I scroll on it and click, it only scrolls to the first tab, and not to the one selected. Problem: I have not found a way on how to...
  14. R

    Android Question Login Activity call

    Hi, I am devoloping a project from the this example https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/ In this case, my app nedd a login activity, this is the code of main activity: Sub Activity_Create(FirstTime As Boolean) If (FirstTime) Then...
  15. sktanmoy

    Android Question Is there any way to reuse AppCompat Actionbar code appwide?

    Is there any way to use AppCompact Actionbar in all Activity without writing the same code again and again. I tried to integrate the code into a class (I'm not using XUI). But failed.
  16. D

    Android Question Need help with corwin42’s example “Material Design 4 - Modifyable and advanced Menu”

    I have added Menu.AddSubMenu(4,4,6,"SubMenu") to the Activity_CreateMenu sub in corwin42’s example and want clicking “SubMenu” to redisplay the menu with submenu items. How can this be achieved? Any help would be greatly appreciated.
  17. FERNANDO SILVEIRA

    Android Question AppCompat Sliding Menu - Disable Menu options

    Hello guys, I'm using AppCompat Sliding Menu example and would like to know if is there a way to enable/disable a menu option from the options list? Also, how can I implement line separators by subject, like below (here I forced "-------------") Regards, Fernando
  18. peacemaker

    Android Question Splash screen on AppCompat activity with ACToolBar

    Hi, All Anyone tried to make a splash screen, if ACToolBar is used on AppCompat activity ? Toolbar is topmost :-( Test project for debug is attached. Any solution ?
  19. Y

    Android Question ACPopupMenu black border on API level 22

    I'm using appcompat to create a popup menu using ACPopupMenu, with Theme.AppCompat.Light.NoActionBar as the base theme I've then modified. On android 5.0.1 (API 22) however there is a strange black border around the popup menu when it's shown. The same thing does not happen on 7.1 (API 25) and...
Top