Top "Android-xml" questions

Android projects use XML in several ways: defining the project and components, building layouts, defining animations, creating menus and specifying resources (static and dynamic) for the project.

How can I make make a border for a clicked imagebutton in Android?

I am using Imagebuttons to show some icons in my android project. <ImageButton android:id="@+id/button_one" android:…

android android-layout android-xml imagebutton
Dynamic vs XML layout in Android?

I'm new to Android development and have started creating my own UI. I see that you can either create it …

java android android-layout netbeans-7 android-xml
set Toolbar height programmatically Android

I am trying to set the height of toolbar programmatically by this way: toolbar.setLayoutParams(new Toolbar.LayoutParams(LayoutParams.MATCH_…

android android-layout android-xml android-toolbar android-viewgroup
Android XML: android:elevation vs. app:elevation

When do I use android:elevation and when app:elevation? What's the difference between those two?

android android-layout android-5.0-lollipop android-xml android-5.1.1-lollipop
Adding my custom View into an XML layout throws exception

I'm trying to create my first custom View subclass GraphView and add it to my layout XML file. I found …

android android-layout android-custom-view android-xml
Tint / dim drawable on touch

The app I'm currently working on uses a lot of ImageViews as buttons. The graphics on these buttons use the …

android android-xml
Android: Toolbar text is coming as black instead of white

My Toolbar Text, Back arrow and all is coming as black but I want it to be white How can …

android android-xml android-styles android-toolbar
Why is my Android app name same as the launcher activity name?

I understand that android:label= decides the name of the app. I have done it properly as follows: <?xml …

android android-xml
How to add the gradient color in color . Xml

I am using a library . In which I am showing the activity used by my library I am using a …

android android-xml android-color
Are there any side-effects of using multiple string.xml files?

I am currently creating an application that have some strings (>300 for now) and I have some problems to quickly …

android string android-xml