Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
77 views

android:screenOrientation="portrait" is deprecated in Android Java and i am trying to use <item name="android:screenOrientation">portrait</item> in app theme and also ...
Gunjesh Kumar's user avatar
1 vote
2 answers
2k views

I want to be an Android developer. As Android Studio is hungry for memory, I don't have enough memory for Android Studio on my computer. But I want to continue android development without Android ...
Ferdous Hasan's user avatar
0 votes
1 answer
39 views

I can`t scroll to the end of the page. Here`s my xml code: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/...
Валерия's user avatar
1 vote
1 answer
403 views

When it comes to inserting data on a RoomDB, what is the best method to handle the conflict strategy? As i have tried. @Insert(onConflict = @Insert(onConflict = OnConflictStrategy.REPLACE)) But it ...
Lloyd Munyai's user avatar
1 vote
1 answer
453 views

I have BottomNavigationView in my app. When I select one item, the text is bold. But I want that text stays normal, not bold. How to achieve this? Here is my code <com.google.android.material....
Kolovrat's user avatar
0 votes
2 answers
590 views

i am trying to use the jetpack compose but it giving so much errors, one of them is that - package com.example.imagecardcompose import android.os.Bundle import androidx.activity.ComponentActivity ...
vishwas babar's user avatar
0 votes
0 answers
86 views

Want to know difference between wrapping EditText with TextInputLayout Vs wrapping TextInputEditText with TextInputLayout ?. I tried using both, they worked same. So which to use when ? Searched on ...
Sourav Karjole's user avatar
1 vote
0 answers
2k views

Switch example Is there a way to customize Material 3's Switch appearance and behavior? I have seen some examples of customized components in the Now in Android Case Study Figma file, I wonder if ...
Hazem's user avatar
  • 41
0 votes
1 answer
44 views

This is my code for main_activity.xml <?xml version="1.0" encoding="utf-8"?> <androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/...
Hideki Namikawa's user avatar
3 votes
2 answers
2k views

I am currently unable to render am activity with just a TabLayout and ViewPager. I am getting this error: Style ResourceReference{namespace=apk/res-auto, type=attr, name=textAppearanceButton} is not ...
Mackenzie Fletcher's user avatar
0 votes
2 answers
46 views

I want to add more options like add product and etc. but i cant because of scroll view not working properly. the following is my design code: <?xml version="1.0" encoding="utf-8"...
Laksh M's user avatar
  • 11
0 votes
1 answer
177 views

does someone know how to make an EditText with the design below (or similar)? I appreciate any help you can provide.
groff07's user avatar
  • 2,510
0 votes
1 answer
47 views

I have tried using ProgressBar or SeekBar but how to add left cut on one side and right side also
Adnan Mahida's user avatar
2 votes
2 answers
763 views

I am trying to create a progress bar using default progress bar given in android , I achieved 80% of that required design but i cannot find a code to finish the required design. this is a required ...
Selva Android's user avatar
2 votes
3 answers
2k views

I checked other questions, but they all are about blank screen(white screen or theme). But in my case, it shows literally nothing. I tried 'Force Refresh Layout'. But It didn't work. And only reboot ...
c-an's user avatar
  • 4,210
3 votes
1 answer
178 views

When I'm giving CardView to app:CardBackgroudColor="@color/black" it's work <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width=&...
Abhi S's user avatar
  • 500
1 vote
1 answer
603 views

I have a little problem with displaying cardCornerRadius in my CardView. Everything works fine on the emulator, but as soon as I test the app on my real device, I no longer see a corner radius around ...
Captai-N's user avatar
  • 1,572
1 vote
2 answers
200 views

i want to display multiple chips may two or more in single line and rest in the subsequent lines. Please see the attached image, i want the same as displayed in the image.enter image description here
Himanshu verma's user avatar
1 vote
0 answers
111 views

Which is the component used to develop the side bar on Gmail Android App ? It seems a Navigation rail but animated like a Navigation drawer. I have tried to put the two component in the same layout, ...
aeroxr1's user avatar
  • 1,084
2 votes
1 answer
2k views

Hi Im developing one video application Here I am using exoplayerview for playing video.In this videoview Im using exoplayer control view.In this control I change custom icon such as Mute/Unmute Icon....
Bharath Kumar's user avatar
2 votes
3 answers
2k views

I have two textViews aligned next to each other as such: My current layout works fine if I try to increase the text for the first text view, it remains within the constraint as it should. and this ...
che10's user avatar
  • 2,368
1 vote
1 answer
614 views

How can I make the last line to work with androidx` implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.3.0' implementation 'com.android....
Isaac Kim's user avatar
0 votes
1 answer
185 views

I'm trying to display a ListView from an ArrayList of strings in my Navigation Menu and its just coming up blank, no data is being passed to the ListView. To access a new layout file other than ...
Paul Campbell's user avatar
1 vote
1 answer
827 views

I have this xml inside a Fragment, which is opened by a NavHostFragment: <com.google.android.material.textfield.TextInputEditText android:id="@+id/content_title_input" ...
Gesit's user avatar
  • 539
5 votes
2 answers
10k views

I want create following customized bottom navigation bar. How I can set custom layout for menu item? or is there exists ready library for creating this type bottom bar easily?
Kamil Ibadov's user avatar
0 votes
1 answer
2k views

Recently i updated my android studio and i am facing lots of problems such as its not showing the particular error. In previous version if did any thing wrong in coding it shows red line under the ...
Nikul Boharwal's user avatar
-1 votes
2 answers
1k views

I have simple Login page with some textview and edittex and i set static text to textview and hint to edittext from string.xml working fine. But Now i am receiving that strings(which i set form stirng....
Arbaz.in's user avatar
  • 1,588
2 votes
3 answers
1k views

How can create layout or view like attached image, shape that can be used for ImageView, Slider etc.
Subin Babu's user avatar
  • 1,555
0 votes
1 answer
922 views

i'm using com.android.support:design:27.0.2 for my old project. now i want to update my project. but i'm not understanding what is the support:design library for androidx? all dependency is updated, ...
Sagor das's user avatar
1 vote
1 answer
112 views

I want to create and view as shown in the image for one of my apps to store the information of each tooth run time. So is there any library available to achieve this or any trick to achieve this. ...
Suhas Bachewar's user avatar
2 votes
1 answer
327 views

I was trying google fonts to use in my android mobile application. I've noticed that when I used custom font, the center alignment to element (EditText, Button) has bigger space at the bottom. Tried ...
Rye's user avatar
  • 495
0 votes
1 answer
149 views

Have observation while working with a simple design for Login Screen with two EditText and a Floating Action Button. Observation: Views rendered incorrectly; take a look at below XML code for layout ...
iSandeep's user avatar
  • 733
0 votes
1 answer
166 views

Please anyone help me in my project this files got entered with large size so how to get rid of this. and in other project this file aren't their
Sarvesh Hon's user avatar
1 vote
1 answer
315 views

I have a constraint app:layout_constraintStart_toStartOf="parent". Runtime I need to change this constraint to app:layout_constraintStart_toEndOf="@+id\myid" . From my research i found only ...
V I J E S H's user avatar
  • 7,614
1 vote
0 answers
128 views

I am developing an android app but problem is, it's design doesn't remain consistent on different devices. I studied about it on internet but finally I am stuck on the same problem. I Created layout ...
Sourav Das's user avatar
1 vote
1 answer
1k views

I am required to pass ARGB color from 1 Activity to other activity as String. Now I am required to convert the same color string in other activity to be converted to int to pass into an argument in ...
Rakshit Sorathiya's user avatar
4 votes
1 answer
2k views

I am trying to implement youtube like experience and allow the user to drag the bottom sheet from anywhere in the screen. I tried many solutions nothing helped.
Ayat Khrisat's user avatar
4 votes
0 answers
1k views

I use ChipGroup in fragment to put entries I picked up from the list <com.google.android.material.chip.ChipGroup android:id="@+id/cgGroup" android:layout_width="...
dandevu's user avatar
  • 281
1 vote
0 answers
126 views

I am stuck with a silly problem. I have created one activity as below: You can see here back arrow and that search icon (below of toolbar) Now some device is not displaying that as below: Here is the ...
Pratik Butani's user avatar
0 votes
1 answer
963 views

how can I do something like this programmatically? There must be one Checkbox and two vertical textview in MaterialCardView.I tried using Linearlayout but I can't solve it. LinearLayout.LayoutParams ...
UgurGul's user avatar
  • 45
0 votes
1 answer
104 views

I wont to implement this design library to my project > https://developer.android.com/topic/libraries/support-library/packages.html#design (com.android.support:design:28.0.0). But when I'm syncing I ...
Adam Szymański's user avatar
0 votes
2 answers
680 views

I have updated my material library from com.google.android.material:material:1.0.0 to com.google.android.material:material:1.1.0 I am getting the following error after the update. The only solution ...
Suneesh Ambatt's user avatar
2 votes
1 answer
3k views

I am not able to open file picker in android 10 and showing toast Failed to create image file...but working fine in android 9.
androidkumar's user avatar
0 votes
2 answers
2k views

I have this layout as <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" ...
Jayan Dev's user avatar
3 votes
4 answers
5k views

I'm looking for a solution to change the color of some Android Material Components layout objects. How can I change the color of text or borders in a Material Button programmatically? All functions ...
spel's user avatar
  • 65
5 votes
2 answers
6k views

I am using BottomNavigationView for the bottom tabs. 1) Tab 1 - Gets data from a server and displays to RecyclerView 2) Tab 2 - Gets a URL from the server and loads Webview 3) Tab 3 - Gets data from ...
Harsh4789's user avatar
  • 697
0 votes
2 answers
573 views

Using appcompat "com.android.support:appcompat-v7:28.0.0" I am not using android.support.v4.widget.DrawerLayout in my activity. Even though i am getting the following error when run application on ...
Sujith's user avatar
  • 7,783
6 votes
2 answers
5k views

I am working on Android app (API level >23). And I have to support Notification. And my notification icon is supported more than two colors. If I use that icon then icon displays in grey in ...
Alok Mishra's user avatar
  • 2,044
1 vote
1 answer
83 views

I want to add the app:layout_behavior attribute in xml file but it not supported. Which library should I add in gradle file? compile 'com.android.support:design:22.2.0 when I add this compile ...
Nageshwor Shah's user avatar
0 votes
2 answers
605 views

I am learning Android and right now I have an issue with the ScrollView. I am using ScrollView as the main container of the layout with a LinearLayout as a child because I would like my screens ...
Josseline Perdomo's user avatar

1
2 3 4 5
24