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

XML: <com.google.android.material.textfield.TextInputLayout android:id="@+id/name_inputLayout" android:layout_width="match_parent" android:layout_height="...
Sam Chen's user avatar
  • 9,150
1 vote
1 answer
72 views

I was under the impression that the value returned by View.getWidth() includes padding in it. I don't think I'm hallucinating things - a common line of code that Android developers write is something ...
riamse's user avatar
  • 371
0 votes
0 answers
46 views

I have a lottie Animation which i need to overflow outside the view. I have set clipChildren , clipToPadding, clipToOutilne as false for the view and its parents. But the lottie animation is still ...
Vidya Mohanraj's user avatar
0 votes
1 answer
64 views

So where i write Textview or imageview are real items so when i scroll the nested scroll will start scrolling specially all my 3 recycles are there i tried many ways did not really solve my problem so ...
wayne chirwa's user avatar
1 vote
1 answer
62 views

Yet another SO question about ConstraintLayout and positioning. I have been having trouble with a particular layout, so I decided to go back to the basics and see what I'm not understanding. Copied ...
Dan Davis's user avatar
  • 603
Advice
0 votes
0 replies
18 views

I'm new to Android and am making a simple app for personal use. The layout I want to get is a button on the top, followed by a scroll view, followed by 2 other buttons that are always locked at the ...
Aisaax's user avatar
  • 604
1 vote
0 answers
78 views

problem The time it takes to inflate is around 15ms ~ 8ms for a custom view, which is super long. long startTime = System.nanoTime(); LayoutInflater.from(context).inflate(R.layout.view_profile,...
Nor.Z's user avatar
  • 1,605
2 votes
1 answer
74 views

I’m trying to understand how VectorDrawable rendering works in Android in terms of performance. Suppose I have a vector resource defined like this: <vector xmlns:android="http://schemas....
Hussein Yaqoobi's user avatar
0 votes
1 answer
49 views

I'm trying to configure a watch face I am working on. I can't seem to make the condition work. The Condition documentation is hard for me to understand - with lack of examples (online and in-...
3kstc's user avatar
  • 1,984
0 votes
0 answers
53 views

I’m having an issue with a Frame Layout inside a Fragment that also contains a Google Map and a BottomNavigationView. Here’s my setup: A BottomNavigationView is anchored to the bottom of the screen. ...
Mr T's user avatar
  • 123
-1 votes
1 answer
53 views

I want to increase Multiline Text height when user adding new line. Currently I use contraint layout and put 2 Multiline Text in it. The 2 Multiline Text is put on 2 rows with default 3 line size. I ...
rheza 555's user avatar
0 votes
1 answer
87 views

I have a structure with a Toolbar, then an AppbarLayout containing a Tabbar and some additional area and below the AppbarLayout I use a Viewpager. The additional area should collapse when I scroll in ...
Sarah Multitasker's user avatar
0 votes
1 answer
65 views

I have six button in two Linear Layouts, three in each linear layout. But If I hide any button from any Linear layout they are rearranged accordingly in the same linear layout. But I required the If I ...
Asif Hussain's user avatar
0 votes
0 answers
64 views

My Android game (NativeActivity) opens a system dialog with an EditText field for text entry. The dialog opens fine and the text is editable, but when I select some text in order to cut/copy, the ...
Bungles's user avatar
  • 2,319
0 votes
1 answer
25 views

The following is in AndroidManifest.xml: <application android:theme="@style/FooAppThemeStyle" ... > In style.xml: <style name="FooAppThemeStyle&...
Hong's user avatar
  • 18.7k
0 votes
0 answers
11 views

I'm modifying some code (which I didn't write) which uses a MultiSelectListPreference defined with xml (I would have done it with code) like this:- <MultiSelectListPreference ...
Richard Parkins's user avatar
0 votes
0 answers
20 views

I want to create an drawable resource file to set background for view like the image bellow. It has the blur and corner (radius 12dp) at background, the detail information is also at the picture ...
Jin's user avatar
  • 65
0 votes
1 answer
47 views

Data in my widget is disappearing when I place it on the screen. Only the layout is showing. <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:...
Hassaan J.'s user avatar
2 votes
0 answers
110 views

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:...
Samir Alakbarov's user avatar
1 vote
1 answer
22 views

In my layout i display a stream widget (the WidgetFPV one) which contains a surface onto which a camera stream is projected via DJI'S MSDK5 sdk. I also have a card mapCard which hosts a MapBox map ...
Stelios Papamichail's user avatar
1 vote
0 answers
75 views

I have a recyclerView which displays cards with TextViews. Whenever a new textView appears, a line appears after the text, which quickly disappears. I am not sure what it is and looking for a solution ...
Tennis Heal's user avatar
1 vote
1 answer
65 views

I have a Figma design with a frame size of 320dp width × 800dp height that I want to implement in my Android app using XML layouts. However, my target device screen size is 411dp width × 731dp height. ...
Karthick Raja's user avatar
1 vote
0 answers
109 views

There is a MaterialCardView with a checkable state, when clicked to set the isChecked, a ripple effect appears. When clicked to unset the isChecked, it does not appear. How can I disable the ripple in ...
Viewed's user avatar
  • 1,453
0 votes
1 answer
468 views

I have a toolbar designed in Figma with a height of 157px. I tried to set the height in Android XML as android:layout_height="157dp" but it looks much smaller on my Android phone compared to ...
Karthick Raja's user avatar
0 votes
1 answer
55 views

When I change the android:layout_width and android:layout_height attributes of my FloatingActionButton in the XML layout, the srcCompat icon becomes decentered. This is a very basic setup with a ...
Manu campano ortega's user avatar
0 votes
2 answers
69 views

After the app is built into an APK, sometimes the page layout appears messy like this. It doesn’t happen often, but it’s quite annoying because I have to refresh the page. This usually happens when I ...
Alfi Filsafalasafi's user avatar
0 votes
0 answers
53 views

I'm using include layout in my layout resource, but when put it inside, the include layout cannot expend(the include layout view display normally, but the constraint of include layout seems not work, ...
Jeff Lin's user avatar
0 votes
0 answers
21 views

I have the following old XML landscape layout: <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
Stelios Papamichail's user avatar
0 votes
0 answers
38 views

I am trying to create a posting fragment. It basically has a LinearLayout containing a TextInputLayout for text input, posting buttons, etc., and a RecyclerView to display posts. At the top of the ...
talha kaşıkcı's user avatar
0 votes
0 answers
49 views

Before that, I used the standard android buttons, but I needed to make a custom button and I wrote such a class. public class MyButton extends androidx.appcompat.widget.AppCompatButton { private ...
TEILabs's user avatar
0 votes
1 answer
55 views

I created a template app which contains fragment_first.xml and content_main.xml. When I look at fragment_first.xml in the designer, the component tree contains a button, a textview and a listview. I ...
Shaun Ross's user avatar
0 votes
0 answers
30 views

So for a school project we need to create an app with eco-house, and I got a problem its when I open the first time the drawer everything fine because header is "solid" and nothing goes ...
Suta's user avatar
  • 1
0 votes
0 answers
28 views

this is my xml code in main activity for fragment <FrameLayout android:id="@+id/frame" android:layout_width="match_parent" android:layout_height="match_parent&...
Deepsundar Das's user avatar
0 votes
0 answers
44 views

I'm trying to make a TextInputEditText with maxLines = 10 be scollable in a way that when it's done scrolling, the parent should scroll but I can't get it to work. The TextInputEditText behaves as if ...
user17952421's user avatar
  • 1,306
0 votes
0 answers
27 views

This is Home fragment of my app of notes app. I’m making this layout right according to the preview but when I run it on actual device it goes out. I tried many things including fit window screen but ...
HRISHI YADAV's user avatar
1 vote
2 answers
85 views

My Button text is cut off althought layout preview shows it correct way. When I run it on my real phone it is cut off with ... instead of going to new line. I am attaching screenshots: what I want: ...
Jawegiel's user avatar
  • 131
0 votes
0 answers
36 views

Using Android Studio, I want to create an android phone app that presents a field of staggered circles, similar to those in this picture. The important thing is the positions of the circles relative ...
Mike Anderson's user avatar
0 votes
3 answers
81 views

I want to show videoes in recycler view, the problem is when I swap from the first video and back to the first, the first video reloads again, I want to make all videoes loaded at once and when I swap ...
user avatar
1 vote
0 answers
52 views

I have been researching on how to recreate the background effect of Apple music and how it extracts colors and makes this dynamic slow moving fluid like with colors of extracted album art and animate ...
wayne chirwa's user avatar
3 votes
1 answer
197 views

I have a button in xml layout file <Button android:id="@+id/button_heat" android:layout_width="0dp" android:layout_height="0dp" ...
VanessaF's user avatar
  • 717
0 votes
0 answers
72 views

Android provides two ways to implement a bottom sheet: Modal bottom sheet (uses BottomSheetDialogFragment) Standard bottom sheet (uses a CoordinatorLayout and a view with com.google.android.material....
Orbit's user avatar
  • 2,415
0 votes
1 answer
102 views

I've been searching for a good tutorial on creating a custom keyboard using Kotlin and Jetpack Compose, but I haven't found any comprehensive resources. The Android documentation recommends using an ...
Mujeeb's user avatar
  • 1
1 vote
0 answers
112 views

I'm trying to understand what is causing this behaviour in a full-screen dialog. When I test on a pixel6 emulator, it's all good. Also in an Android10. On the pixel7, not so much. Both images are ...
Rafael Moreira's user avatar
0 votes
1 answer
70 views

I'm newbie with flutter anyone can help me How to Reset Layout Page Drawer, After we Change the page and get back ? this my code (update): import 'package:flutter/foundation.dart'; import 'package:...
Dreamer's user avatar
  • 21
0 votes
0 answers
36 views

I'm making an app meant to be navigated with a tv remote (Up, down, left, right, etc...). I have several horizontal recycler views stacked on top of each other which can be properly navigated with ...
Kilometer Bob's user avatar
0 votes
0 answers
44 views

I want to implement a glowing shadow like in the pic. <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:...
Ranoshis Das's user avatar
0 votes
1 answer
49 views

While looking at the screenshots of my app on the Google Play Console Pre-launch Report, I noticed something very strange for 2 devices (Google Pixel 8 & Generic Small Desktop (x86)). Here are ...
Nathan Sokalski's user avatar
0 votes
0 answers
77 views

I'm experiencing inconsistent behavior with Android's BottomSheetBehavior on some devices. My app layout contains a CoordinatorLayout with an AppBarLayout, a main RecyclerView, and an included ...
NiceToMytyuk's user avatar
  • 4,497
1 vote
1 answer
40 views

This issue persists in the JakeWharton/ViewPagerIndicator, specifically in the CirclePageIndicator. <com.viewpagerindicator.CirclePageIndicator android:id="@+id/blogindicator" android:...
Hassaan J.'s user avatar
0 votes
1 answer
44 views

I want to expand my recyclerview on click on it but at the same time with this first click I do not want any recyclerview item to gain focus. Recyclerview item should gain focus on second click. I ...
Jawegiel's user avatar
  • 131

1
2 3 4 5
1181