Questions tagged as 'android'

2
answers

Is it possible to use style sheet in an application?

I'm starting a development in Eclipse, however the style is very ugly, borders, letters etc. Is it possible to use CSS on Android?     
asked by 13.02.2015 / 17:41
4
answers

Advantage and disadvantage between onClick and setOnClickListener

I have a certain situation where we see that it is possible to create in the XML file a property called onClick : onClick: XML: <Button android:layout_height="@dimen/edittext_min_height" android:layout_alignParentLeft="true" and...
asked by 26.10.2016 / 14:09
4
answers

Is it possible to build an HTML5 app for Android with Material Design?

I wonder if it is possible to develop an html / css / js app for android using material design. If not, is there any framework that has the visual?     
asked by 16.04.2015 / 15:28
2
answers

Problems with importing libraries

I started developing for Android in my work and they asked me to start by changing some simple things from an already existing project, which works and has already been released (the version I'm trying to test). But I can not run it at all. I...
asked by 22.05.2015 / 22:33
1
answer

Change ActionBar menu icon

I want to change the menu icon of ActionBar , those 3 points that have the default option "Settings". I've already tried Style by creating a custom theme and there putting the new icon but it did not work. <style name="CustomActivit...
asked by 07.05.2015 / 19:13
5
answers

Do not open keyboard automatically when you enter screen with EditText

I have a screen with a EditText ai whenever I enter it already open the keyboard. I wanted to just open the keyboard when I clicked on it. I tried this but the keyboard is not opening at all: mItemDescriptionTextView.setFocusable(fal...
asked by 13.08.2015 / 00:24
1
answer

Android - What's the difference between String and Editable?

When making use of the EditText view, I saw that it returns an Editable data type and not a String. And it has different methods like getEditableText() . What is the main difference between String and this other data type Editable ? I...
asked by 24.02.2018 / 18:49
1
answer

Divide the application screen into two layouts

I want to split the screen in half. I have two LinearLayout of the same size, but it seems that the only way to do this is to place the size in the android:layout_height=<tamanho> property? <LinearLayout xmlns:android...
asked by 19.12.2014 / 13:27
2
answers

Send camera image to server via Retrofit

I learned to send an image of the drawable folder to my server on the network using lib Retrofit, but I am not able to send a ImageView the camera. I create a class that converts the drawable image to bytes , which it will get from...
asked by 10.11.2015 / 12:42
1
answer

Convert date dd / mm / yyyy to yyyy-mm-dd'T'HH: mm: ss

How do I convert a date in the format dd / mm / yyyy to the format supported by sqlite yyyy-MM-dd'T'HH: mm: ss Example: public static String converteStringEmData(String stringData) throws ParseException { SimpleDateFormat sdf = new S...
asked by 11.07.2014 / 20:07