Using following code <item android:id=”@+id/text” android:title=”@string/mainMenu” android:enabled=”false” android:layout_gravity=”center”> </item> I have a style defined as <style name=”MenuTextStyle” parent=”@android:style/TextAppearance.Medium”> <item name=”android:textColor”>6F6B6B</item> <item name=”android:gravity”>center_horizontal</item> <item name=”android:textStyle”>bold</item> <item name=”android:textSize”>14sp</item> But the menu text still is not in the middle. How to make it center in middle?
My app runs perfectly without proguard enabled but when I enable it the app crashes right away. I have tried many combinations in the configuration to no avail. Is there something that I should be keeping that I’m missing? proguard config: https://gist.github.com/hanleyhansen/99fc07807950bae8e4f5 Unobfuscated log: https://gist.github.com/hanleyhansen/6cba7fc941a79d85802f onSuccess(): https://gist.github.com/hanleyhansen/e7a4916c42d3ca065c99
I receive tons of annoying warnings from my strings.xml. To the left of each declaration I get a warning saying “Message description not found.”. How can I fix it?
While modifying a white label app, I needed to change a logo and found it was located in 2 locations (duplicated): res/drawable and similar folders (for other screen depths) bin/res/crunch/drawable and similar folders (for other screen depths) So I would like to know if I should care about the second folder, or if it’s something […]
I have a project which I have a number of different branded versions, with two different res folders. ie. res-customer1, res-customer2 Using Maven build profiles I can easily build the project using the specified res folder. However when it comes to eclipse its another story. What I want to do is to have a setting […]
I am getting this error when I try to run my App: E/AndroidRuntime(2314): java.lang.RuntimeException: Unable to create application in.mubble.billbytwo.GlobalApp: java.lang.IllegalStateException: Module adapter for class in.mubble.billbytwo.RootModule could not be loaded. Please ensure that code generation was run for this module. I think I am using Ant based build system I am not sure though, this is […]
I’m working on android under eclipse holies environment. but my eclipse not helping me to find detail about class or method while writing code. Ex: Toast android.widget.Toast.makeText(Context context, CharSequence text, int duration) if i mouse hover on makeText() in above statement, getting following information Note: This element has no attached source and the Javadoc could […]
I’m trying to run a Hello World app for Android for the first time, but I keep getting a: Failed to find an AVD compatible with target ‘Android 1.6’ error when I try to create an AVD. I have tried the following solution in order to fix the issue: Checked that I have the right […]
Lately I have been having more and more issues with the content assist in Eclipse. In some of my projects, I get no proposals from the content assist, and in other projects I get some or all of the expected proposals. Typically there is no “error” in Eclipse, but here is an example of one […]
I’ve never spent so much time on initial setup for a development environment before, this is getting kind of ridiculous. I’m trying to run the demo code that comes with cocos2dx. I’m using: the eclipse flavor that comes with the ADK. cocos2d-2.1beta3-x-2.1.0 ndk-r8c Ive tried building an app template using create-android-project.sh which I had the […]