android-theme Questions
4
After implementing the Splash Screen API as indicated by Android documentation (also this and this), the launch activity (which goes right after the splash screen) does not have dynamic color themi...
Overby asked 26/6, 2023 at 21:43
5
My android application uses the following style:
<style name="AppTheme"
parent="android:style/Theme.Holo" ></style>
It is assigned for the whole application in the AndroidManifest.xm...
Ambivalence asked 22/8, 2012 at 15:49
3
Solved
Im currently creating an app, which has a MaterialToolbar widget. I want to set the icons color to white.
I tried following the accepted answer in this question, however, it doesnt work. Adding col...
Luiseluiza asked 30/6, 2020 at 15:31
8
Solved
So I changed the style of the Holo Theme with the Holo Colors Generator and Action Bar Style Generator to my own color. But when I select text inside an edit text, the "markers" at the selected pos...
Pajamas asked 28/2, 2013 at 11:7
5
Solved
I've been trying to implement the Material Design theme, following these instructions.
I'm not using ToolBar (must I?)
ALL my Activities extends ActionBarActivity.
Using getSupportActionBar() all...
Hypocaust asked 17/2, 2015 at 20:45
4
I wanna customize android studio editor background ,So i want to set image to editor,Is it possible ,Is there any option perform that.?
Subsidence asked 21/11, 2016 at 5:38
38
I referred this link. In that if the user clicks on EditText(for ex To: ) at that time keyboard will be popped out and at the same time the user can be able to scroll to see all remaining views(ex:...
Staffman asked 25/3, 2011 at 10:43
4
Solved
This question should be simple, but i didn't find an answer. I have an app with selectable accent, and i'm trying to add an option to use the android system accent (apps like Lawnchair have such an...
Price asked 12/10, 2019 at 9:26
7
I am migrating my app's Material Design theme from V2 (1.4.0) to V3 (1.5.0).
Unlike Theme.MaterialComponents.DayNight, which had a DarkActionBar sub style that used the Primary color for the Action...
Feckless asked 22/11, 2021 at 4:40
8
Solved
Here is how OutlinedTextField code looks like in jetpack-compose:
OutlinedTextField(
value = "",
onValueChange = {},
label = {Text("Input")}
)
The default color of the outli...
Beery asked 3/3, 2021 at 9:0
3
Solved
I am unable to change the selector color and other parts of the TimePicker.
So far, I can change header color and background but I am unable to change the innercircle and the textcolor.
Change cus...
Keven asked 13/9, 2015 at 13:8
6
Solved
While running Android Lint on my Project I came across this warning
Possible overdraw: Root element paints background @drawable/main with
a theme that also paints a background
Where inferred...
Downy asked 16/8, 2012 at 19:51
7
Solved
I have made a few apps that support multiple themes, but I always had to restart the app when user switches theme, because setTheme() needs to be called before setContentView().
I was okay with it...
Frenzy asked 11/5, 2015 at 17:33
3
Solved
I am currently able to update the status bar text color from light to dark using the following inside my base activity:
private fun toggleStatusBarTextColor(light: Boolean) {
// clear any existing...
Fatten asked 13/11, 2020 at 18:54
7
I was able to create a floating activity after following this tutorial http://cases.azoft.com/android-tutorial-floating-activity/
However, to do so, I had to add this line in styles.xml :
<ite...
Corrasion asked 25/7, 2014 at 8:57
15
I'm creating an Android app and I'm using the AndroidX libraries and Material design theme. My app theme on styles.xml is:
<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActi...
Frentz asked 18/11, 2018 at 21:25
4
Solved
When I use resolveAttribute() to find out a color value of ?attr/colorControlNormal, I got 236:
TypedValue typedValue = new TypedValue();
getTheme().resolveAttribute(R.attr.colorControlNormal, typ...
Mikol asked 19/3, 2018 at 11:19
2
Solved
I want to change the cursor (or caret) color, just like in this stack overflow question, but in Material 3.
This is my verion of the material library:
implementation 'com.google.android.material:ma...
Teter asked 13/4, 2023 at 22:26
3
Solved
The buttons created programmatically don't follow the buttonStyle defined in the apptheme, but the buttons created in xml follow it.
Below is my style.xml
<style name="AppTheme" paren...
Earl asked 21/4, 2021 at 14:1
6
In res/font I have defined font-family like this:
<font-family xmlns:app="http://schemas.android.com/apk/res-auto">
<font app:fontStyle="normal" app:fontWeight="4...
Wotton asked 22/10, 2021 at 7:37
41
Solved
I'm trying to figure out the right way to use a custom font for the toolbar title, and center it in the toolbar (client requirement).
At the moment, i'm using the good old ActionBar, and I was set...
Catholicize asked 23/10, 2014 at 17:6
17
Solved
What is the simplest change that I can make to a new Blank Activity, as created by the latest version of Android Studio, to get the app to appear fullscreen?
I want to create a fullscreen Android ...
Duodenal asked 24/10, 2014 at 7:23
3
Solved
I am trying to change the style attributes from the Material Components Theme (like colorPrimaryVariant, colorOnSecondary and so on) but I get the following error:
Android resource linking failed
...
Vocalize asked 4/10, 2018 at 20:23
3
Solved
I am using TextInputLayout wrapped around a EditText for a RecyclerView item. I am using style "Theme.AppCompat.Light.NoActionBar". But still I get the error "Caused by: java.lang.IllegalArgumentEx...
Huonghupeh asked 19/9, 2019 at 9:0
5
Solved
TL;DR change the theme and recompose the app between light and dark themes onClick.
Hello! I have an interesting issue I have been struggling to figure out and would love some help. I am trying to ...
Topo asked 8/12, 2020 at 2:50
1 Next >
© 2022 - 2025 — McMap. All rights reserved.