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

(Note, if you remove the gone, you’ll get the first image view). Why is this so? How could I fix it where when my First is gone, I could the Elastic Body stretch out correctly? p/s: I know how to do it in LinearLayout and RelativeLayout… ...

  • 0

I have a form which has around 12/13 fields. I used a Scrollview inside a constraint layout. Below is the hierarchy of the XML layout. The problem is, it doesn’t scroll to the bottom instead scrolls only to the first initial 10 ...

  • 0

After updating Android Studio to version 2.3. Every time I swipe my ViewPager I keep getting this error and the app crashes: 03-23 17:19:19.437 28523-28523/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.irokotv.plus, PID: 28523 java.lang.NoClassDefFoundError: Failed resolution of: ...

  • 0

Here is a main activity.kt package com.hussein.startup import android.content.Context import android.content.Intent import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.BaseAdapter import kotlinx.android.synthetic.main.activity_food_details.view.* import kotlinx.android.synthetic.main.activity_main.* import kotlinx.android.synthetic.main.food_ticket.view.*class MainActivity : AppCompatActivity() {var adapter:FoodAdapter?=null var listOfFoods =ArrayList<Food>() override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main)...

  • 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">...

close