appcompat

  1. tripleA57

    Android Question cannot access AppCompatTextView

    Hello buddies. I got this error while compiling: B4A line: 63 Panel1.AddView(intro, 20dip, 45%y, 90%x, 30%y) src\farmandehan\ilam\abasi.java:465: error: cannot access AppCompatTextView...
  2. Rasoull

    Android Question de.amberhome.objects.appcompat.ACActionBar is defined multiple times

    hello, i have the Following Error when run my project And My Libraries is : Does anyone know which library has the problem? thank you.
  3. P

    Android Question Sliding Drawer unresponsive after a screen snapshot with B4XView?

    My App uses the sliding drawer as per AppCompat and a Screen snapshot - all works exactly as expected with the sliding drawer, until I do a PrtSc (activity snapshot). The items on the sliding drawer then fail to respond for a period - I cant decide if it is for a time (propbably not) or until I...
  4. B

    Android Question AppCompat: ACSwitch color problem?

    Hi all! In the app I am developing the ACSwitches seem to behave a little strange. As you can see in the example project attached, I load a layout that has some switches in it. The problem is that the first switch always starts with a white color, while the others get their colors from the...
  5. sadeq.hitex

    Android Question problem with Appcompat library

    Hi there , i have a problem with Appcompat library V.4 ! Do you have any solution for it? B4A Version: 10.2 Java Version: 8 Parsing code. (0.01s) Building folders structure. (0.12s) Compiling code. (0.17s) Compiling layouts code. (0.02s) Organizing libraries. (0.00s)...
  6. Michael2150

    Android Question [Solved] Is there any appcompat background property?

    Hi so i've been using this piece of code in my manifest: SetApplicationAttribute(android:theme, "@style/Theme.AppCompat") SetApplicationAttribute(android:theme, "@style/my_blue_theme") '================= Appcompat library App colors can be set here ============= CreateResource(values...
  7. 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}...
  8. 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...
  9. 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"...
  10. M

    Android Question AC ToolBar change menu button color

    Hi everyone! How do I change the color of this three dots?
  11. 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...
  12. sentechnologies

    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...
  13. 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...
  14. 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...
  15. 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...
  16. 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?
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Top