Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I am using the Android SDK 2.2.3. I am following a book on programming Android. The code is: <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" ...

  • 0

I make some simple app for test using ConstraintLayout. But I have some problem. Here is my code activity_main.xml <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"><android.support.constraint.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.example.user.myapplication.activity.MainActivity">...

  • 0

Error Details AGPBI: {"kind":"error","text":"error: u003citemu003e inner element must either be a resource reference or empty.","sources":[{"file":"...\app\src\main\res\values\ids.xml","position":{"startLine":2,"startColumn":4,"startOffset":57,"endColumn":61,"endOffset":114}}],"original":"","tool":"AAPT"} :app:mergeDebugResources Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details :app:mergeDebugResources FAILEDFAILURE: Build failed with an exception.* What went wrong: Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: ...

  • 0

I’m using constraintLyout v 1.0.1. I would like to include in my xml a sub ConstraintLayout corresponding to a part of my global layout (which itself is a ConstraintLayout). I split the layout in two xmls in order to use this ...

  • 0

I have to hide bottom navigation view on up scroll and show on down scroll .how to implement this? my layout is like this <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent">...

  • 0

I have added BottomNavigationView in my application like. main.xml <android.support.design.widget.BottomNavigationView android:id="@+id/bottom_navigation" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" ...

  • 0

I’m using the latest version of android studio (3.0), along with latest build tools (27) and similar API level. The layout does not get rendered in the design tab and it’s causing a lot of trouble especially that I’m using coordinator ...

  • 0

I’m using the latest version of android studio (3.0), along with latest build tools (27) and similar API level. The layout does not get rendered in the design tab and it’s causing a lot of trouble especially that I’m using coordinator ...

close