android-relativelayout Questions

5

Solved

I'm relatively new to Android development and I'm having a hard time putting together a certain interface. I've looked through many similar questions but none of them give me the answer i'm looking...
Deltoro asked 18/9, 2013 at 10:49

1

is there anyone who can please tell about this error is started after I set splash screen to my react native app. my app was working before I added splash screen, I think there is something wrong i...
Curcuma asked 22/7, 2023 at 5:45

2

Solved

The error message that the debugger gives me: This would be the component that is throwing me the error. Specifically it is the TextInput. I tried to remove it from the component and the error dis...
Unapt asked 26/7, 2023 at 16:0

3

I have an image that I want to place in the center of the screen. Despite of my expectations, it is centered horizontally but not vertically. That is, the image touches the screen top. The same la...
Roorback asked 25/4, 2013 at 8:13

1

I'm using relative layout for building the views/grid dynamically... ex: if there is 1 user then, [grid with users 1]1 if there is 2 user then , [grid with users 2]2 if there is 3 user then, [grid ...

7

Solved

I am trying to create a List Activities Item Layout as follows <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:...
Pother asked 10/12, 2012 at 8:32

10

Solved

how can I overlap images half on one another from layout XML file like this image.
Durston asked 11/1, 2017 at 10:10

8

I wanted to know how to center a View between two other views (or between a view and the parent edge) using RelativeLayout. For example, if I have the following... How do I vertically center t...
Rugg asked 28/8, 2012 at 6:1

4

Solved

I have a RelativeLayout like this: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layo...
Insinuation asked 21/10, 2010 at 8:59

2

Solved

In Android, I want to achieve a scroll view with fixed height on the screen, and the content inside also have a fixed height. The scroll view height is 300dp, the direct child (relative layout) is...

9

Solved

I've a RelativeLayout thus: <RelativeLayout> <TextView1/> <TextView2/> // <-- View.VISIBLE OR View.GONE <TextView3/> <TextView4/> </RelativeLayout> Each Te...
Gusella asked 19/7, 2010 at 7:15

2

Solved

I am getting this type of warning @id/order_row_date can overlap @id/order_row_amout if @id/order_row_date grows due to localized text expansion. If relative layout has text or button items aligne...
Illustration asked 12/10, 2016 at 10:36

11

Solved

I've used a relative layout and I want to set the button at bottom of the screen, However this puts it all the down to the bottom and I would like to have some margin so it there's some space betwe...
Coincident asked 18/11, 2012 at 15:51

5

Solved

I've just edited my XML, I've put slide menu code in my XML, but there is an error. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/...

4

Solved

I've got two TextViews side-by-side. TextView1 has a varying length of text, and TextView2 always says "+#". When TextView1 gets long however, it pushes TextView2 off screen. Any ideas how to fix t...
Hirsute asked 19/6, 2015 at 21:39

3

In my Android application. I have added exoplayer in details activity and it will be reached by clicking a link from the recycler view list item. Now the problem is while loading the details scree...
Umiak asked 18/2, 2018 at 19:56

5

Solved

I have a relative layout which I am creating programmatically: RelativeLayout layout = new RelativeLayout( this ); RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(LayoutPara...
Creationism asked 9/1, 2011 at 11:12

2

Solved

I have a RelativeLayout that contains a few items: An ImageView and a few small TextView's. Functionally I want to have the same on click event fire when anything in the RelativeLayout is clicked. ...
Kleist asked 19/11, 2012 at 20:38

7

Solved

Is it possible to align a view in XML in a RelativeLayout centered horizontal or vertical according another already existing view. For example: lets say there is something like this: The second...
Dedradedric asked 12/5, 2013 at 18:39

5

Solved

I try change layout height programmatically. I have two buttons. In one button I change my layout position and second button I try to receive save position witch I was first time. <RelativeLayo...
Humid asked 26/9, 2014 at 11:2

6

Sorry for my English. My work is based on https://github.com/harism/android_page_curl/ After many hours of research, I have found a few solutions, but not for all the issues what I have in my app...
Endometrium asked 26/5, 2013 at 18:56

4

Solved

In xml you can do the following: <TextView ... android:layout_centerHorizontal="true" ... /> How would I, when I have the instance of TextView, do this programmatically?
Daemon asked 29/8, 2011 at 18:15

6

Solved

While trying to find a solution for the layout that I want, I came across the setScaleX/setScaleY methods, which are members of the View class. View class doc Now looking at the methods of Relati...
Chastity asked 20/4, 2011 at 8:46

17

I have the latest android Studio (2.3 beta 3) and it seems ConstraintLayout is the default when creating a project. How can I make Android Studio use the RelativeLayout as the default layout elemen...

3

Solved

I am using a imageview for animation so that it will look like movement left to right. but my image is displaying front of other views so that user is able to click on image. i am trying to display...
Awhirl asked 25/3, 2014 at 8:7

© 2022 - 2025 — McMap. All rights reserved.