Community Questions & Answers
Android drawable icon button image
On the View: ~~~ <View> <Button class="folderBtn" /> ... ~~~ On the style: ~~~ ".folderBtn": { backgroundImage: Ti.Android.R.drawable.ic_menu_archive } ~~~ But this does not work, the button come with no image. If I use...
How to access Android's default.png Splash Image from density specific folders at runtime
Titanium Mobile 3.0 SDK Android 4.x Alloy 1.0 Hi, Is it possible to access the density specific version of the splash screen image at runtime? I have several splash images at different densities...
Can't access xml drawable for button
Hello I can't seem to find any documentation for accessing custom ui elements done using xml as per this site http://zrgiu.com/blog/2011/01/making-your-android-app-look-better/ --- <?xml version="1.0" encoding="UTF-8"?> ...
Android Tab Bar Icons
Hello I've implemented some tab bar icons in an app, but they seem to be overlapping the Tab text. Here's a screenshot: http://cl.ly/1432120r2A1Z0W0q2L2a What am I doing wrong? Icons are 48x48, png, as per the Android specifications. Here's some...
Android: Customizing Tab Group Bar & Tabs
Hi, I've built a tab bar on iOS using objective-c and am trying to get the tab bar on Android to look as close as possible using Titanium. I'm wondering: 1. How do you give the tab bar itself a background image? The only thing I've been able to do is...
Using Android system icons from R.drawable
Is there any way to use **Titanium.Android.R.drawable** icons (like *ic_menu_edit*) in the UI, e.g. as icons for the **Titanium.UI.Tab**? Assigning `Titanium.Android.R.drawable.ic_menu_edit` to `Titanium.UI.Tab.icon` generates exception at runtime (since...
android res folders & Mac
Hi Everybody, I'm developing an app for android and i had an issue with the resolution folders (res-long-land-hdpi) it seems that when I am building my application with Titanium studio on a Mac (the test was made with several Mac), my images are not...
Android images
Following the appcel guides, I created 3 image folders, images/.. high/mid/low for android. I use the images/ folder to reference the images in code. For HVGA, everything looks good, but the simulator keeps loading the mid resolution images for...
Drawing images in android
Hi, I'm using Android APIs 2.2 and Ti 1.6.2. I'm getting the following trace: W/TiDrawableReference( 2065): (main) [117,11627] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled. Anyone has any idea why I'm getting this?...
Showing 1-9 of 9