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.

re-setting a TextView height programmatically

I want to reset a textView height after I have added it to the main window in the xml file. …

android android-xml textview
Ring shape in android

I have the following xml in drawable folder (circle_status.xml) to create a ring: <?xml version="1.0" encoding="utf-8"?&…

android android-xml android-drawable android-shape
How to concatenate multiple strings in android XML?

Problem I would like to be able to do something like that in Android XML code: <string name="title"&…

android android-xml
How can I align an element to the right in the FrameLayout?

I have a FrameLayout which contains 2 views , the second is something like a Close Button (X) and i want to …

android android-xml android-framelayout
BlueStacks Installation failed older sdk error

Hi everyone I'm trying to install an apk that I've designed with minsdk version of 14 and target of 19 onto bluestacks …

android android-xml bluestacks
Vertical content align in Android EditText

I have a multi-line EditText: <EditText android:layout_gravity="center" android:id="@+id/txtMessage" android:layout_height="wrap_content" …

android layout android-edittext android-xml layout-gravity
How can I access a BuildConfig value in my AndroidManifest.xml file?

Is it possible to access a BuildConfig value from AndroidManifest.xml? In my build.gradle file, I have: defaultConfig { applicationId "…

android android-gradle-plugin android-xml android-facebook
Android Studio: Rendering Problems Missing styles-correct theme chosen for this layout, Failed to find style with id

I want to create card item xml layout for CardView and getting this error. Common solutions here not worked (tried …

android android-layout android-studio android-xml android-theme
Set Round Corner image in ImageView

I have searched more on websites and got many suggestions like below Changing background with custom style to set the …

android android-listview android-imageview android-xml
Android getMeasuredHeight returns wrong values !

I'm trying to determine the real dimension in pixels of some UI elements ! Those elements are inflated from a .xml …

android android-layout android-widget android-ui android-xml