I try to compile my project but I get these types of errors
"Error: (2) Attribute" titleTextStyle "has already been defined"
this is my gradle
dependencies {
compile 'com.android.support:multidex:1.0.0'
compile project(':library')
co...
I just installed Android Studio , and you're giving me this error all the time:
Failed to resolve: com.android.support.test.espresso:espresso-core:2.2.2
Failed to resolve: com.android.support: appcompat-v7:26
Any suggestions as to w...
I was working with ViewPager and I had a problem.
I have 3 layout created (screen1, main screen, screen2) that I want to show that way, that the application opens showing the main screen and that when I slide to the left it shows the screen1 and...
I have this problem:
Calendar c = Calendar.getInstance();
Log.i("RESULTADO", String.valueOf(c.get(Calendar.HOUR_OF_DAY)));
Log.i("RESULTADO", String.valueOf(c.get(Calendar.MINUTE)));
This gives in the logcat:
I/RESULTADO: 10
I...
I am trying to update a ImageView from a File , but I do not get it. Let me explain:
It is a simple app that just uploads and searches for a specific photo on the card and displays it. That makes it great. When I press the button...
I have a Spinner and as data these hours:
final String[] horasInicio = new String[] {
"09:00",
"09:30",
"10:00",
"10:30",
"11:00",
"11:30",
"12:00",...
I have an EditText where I pick up what was entered in the box and I am trying to verify if it introduced commas, letters where only a format like this is allowed: 123.11
If the user enters the parameter other than a value of type Float the a...
public void onDateSet(DatePicker view, int year, int month,int day){
String date = day+"/"+(month+1)+"/"+year;
Activity1 act1 = new Activity1();
act1.MostrarDatos(date);
}
As you can see I want to run a method of the first activi...
I have this TextView :
<TextView
android:id="@+id/textView17"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="Lorem ipsum dolor sit amet,...