skip to Main Content

Android Studio – Android NestedScrollView with ConstraintLayout Layouting

I need some help. I dont know what's wrong with my code. So I have XML file like this <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.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:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background_bottom_sheet_radius_16" tools:context=".FilterActiveIpdDialog"> <ImageView android:id="@+id/ic_filter_close_active_ipd" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginVertical="@dimen/medium_fit" android:layout_marginStart="@dimen/medium" android:src="@drawable/ic_close_grey" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" tools:ignore="ContentDescription,ImageContrastCheck"…

VIEW QUESTION

Android Studio – How do I change the color texts in a listview android studio using JAVA?

I need using JAVA, change colors of all textviews from LISTVIEW. MainActivity.java: public class MainActivity extends AppCompatActivity { String[] programName = {"ex1", "ex2", "ex3"} protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lvProgram = findViewById(R.id.listView); ProgramAdapter programAdapter = new ProgramAdapter(this, programName);…

VIEW QUESTION
Back To Top
Search