Questions tagged [android-appcompat]
The App Compat Support Library package contains several libraries that can be included in your application. Each of these libraries supports a specific range of Android platform versions and set of features.
android-appcompat
2,676
questions
0
votes
0
answers
20
views
I want to build androidx's appcompat and integrate in AOSP build
I want to build androidx's Appcompat(done some changes) and integrate in AOSP.
When I use the below command, it generates debug and release aar.
android_xsource_code/androidx/frameworks/support$ ./...
0
votes
2
answers
26
views
Rtl support for drawableEnd of AppCompatEditText Android
I am using this AppCompatEditText like this
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilCountry"
style="...
0
votes
0
answers
27
views
Main Activity doesn't extend AppCompatActivity
once I open android studio and I found an error in main activty in some functions like "startActivity(intent) it gives an error: (cannot resolve method 'startActivity' in 'mainActivity')" ...
0
votes
0
answers
20
views
AppCompat Views don't scale drawable correctly
I'm building an android app on java using AppCompat for UI. My app has to show names and icons of apps installed on a phone in a grid, for this I use a RecycleView (VerticalGridView).
I get icons ...
2
votes
1
answer
208
views
Does AppCompat now require minSdKVersion >= 21?
My app has a minSdkVersion of 19 and uses AppCompat. This has worked fine through AppCompat version 1.6.1, but with 1.7.0, the app does not build (in Android Studio):
Manifest merger failed : uses-sdk:...
1
vote
1
answer
1k
views
Execution failed for task ':app:mergeExtDexDebug' As A Result of A Null Pointer Exception
I’m making an app that displays PDF's in android studio it loads the files and then displays them via an external library I haven't fully implemented the display feature as of yet mainly due to the ...
1
vote
0
answers
24
views
Android WebView saveState and restroreState are not working properly
private var savedStateMap = ConcurrentHashMap<String, Bundle>()
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
loadUrl("some url")
}
private fun loadUrl(...
0
votes
0
answers
35
views
Need to add support for API Level 25
So I am working on an SDK , one of our users has an android app which runs in API Level 25. Now as soon as he adds our sdk as a dependency, the build fails with the following error
../../.gradle/...
0
votes
0
answers
46
views
Getting resource not found error ( error: resource android:attr/fontStyle not found. )
So I am working on an app which supports API Level 25 till date and we cannot upgrade the API Level as of now. I want to integrate a new dependency but when I try to build the app I am getting these ...
0
votes
1
answer
16
views
Image not loading in the custom view class that extends AppCompatImageView
I have designed a custom class named PaintView. My objective is to load an image that user selects and allow the user to draw like paint brush or put different shapes on it.
Here's how I implemented ...
0
votes
0
answers
44
views
AppCompatDelegate.setApplicationLocales(LocaleListCompat.forLanguageTags("es")) looks like crash
After setting application locale inside android app, it looks like crashed and restarted. Seems, it is not a good user experience.
Is there any way to get it as smooth transition after application ...
0
votes
0
answers
16
views
Integrate .model file with android studio
I have a .model file from Weka and I want to integrate it with my Android studio. I am using Kotlin for building my app. I have no idea how to begin and what steps to follow.
I have googled and ...
0
votes
2
answers
320
views
How can I programmatically set the language in Jetpack Compose without AppCompatDelegate?
I'm trying to implement language selection functionality in my Jetpack Compose app. However, I encountered a roadblock when attempting to use AppCompactDelegate to achieve this. It seems that ...
0
votes
1
answer
187
views
Android Studio build.gradle errors
When I create a new project, I get these errors:
ERROR: Failed to resolve: androidx.appcompat:appcompat:1.6.1
Add Google Maven repository and sync project
Show in Project Structure dialog
Affected ...
1
vote
1
answer
322
views
Android Google Pay API PayButton becomes invisible after couple of seconds
I'm trying to integrate Google Pay API's native PayButton with my React Native app, and I thought everything was fine with this Android React Native bridge:
public class GooglePayButtonManager extends ...