Questions tagged android-layout

Explore the latest questions and answers asked by our top developers.

Android-how to check data download finished or not in second activity?

I am downloading product information (it takes some time to download) in mainactivity that i am going to display in secondactivity. if user goes to secondactivity before the downloading the data.it should show progressbar then check the download has been finished or not then it should show the products in secondactivity. how should i check […]

By user3597223
Published
Categorized as android, android-layout

Scrollview hides text when I click on it – Android

I am developing an application and I came across this error. I have a NestedScrollview with a LinearLayout and two TextInputLayout. The problem is the following: If a text is long, when I click on the beginning of it, the Scrollview centers and the text is hidden. Here is an image to understand better: behavior […]

By Bill Blackhat
Published
Categorized as android, android-layout

Suggestions on approaches on achieving a specific layout on Android

I am trying to replicate the below layout (Boxes with Text and a line going outwards on a dedicated section) on Android As evident, these boxes can be implemented as individual views (or drawable) to have the shape as . It is apparent that these boxes need to have some flexibility for the "wires" going […]

By Rahul Shukla
Published
Categorized as android, android-layout

Add another Layout (on bottom of screen and only on 1 screen) under the RecyclerView and my RecyclerView is on multiple screen

Above is my RecyclerView which displays list on multiple screen.(One layout displays on multiple screens) this is my other View(which contains button) which i have to add at the bottom of RecyclerView not inside.(Only on particular screen not on multiple screen display) ****what can be done so that i can set the view (Containing buttons) […]

Android Button color [used shape]

res/drawable/circle.xml <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <gradient android:angle="90" android:startColor="#024ee6" android:endColor="#0292e6"/> <stroke android:width="10dip" android:color="#1161b8" /> <corners android:radius="1000dp" /> <padding android:bottom="4dp" android:left="4dp" android:right="4dp" android:top="4dp" /> </shape> In my layout xml there are 2 buttons that use this shape: <Button android:layout_width="120dp" android:layout_height="120dp" android:layout_gravity="center" android:drawableTop="@android:drawable/ic_menu_send" android:background="@drawable/circle" android:text="btn 1" /> <Button android:layout_width="120dp" android:layout_height="120dp" android:layout_gravity="center" android:background="@drawable/circle" android:drawableTop="@android:drawable/ic_menu_manage" android:text="btn 2" /> Instead of the […]

By
Published
Categorized as android, android-layout

Android Studio Design editor is not appear. (Apply almost all the solutions in google. but not appear. please help me…)

I’m a beginner developer who is developing an Android studio. While I was working on the xml file, the design editor suddenly doesn’t look black like the picture below. enter image description here So I found several solutions through googling and applied nine solutions, but the design editor still doesn’t appear black. Similarly, there was […]

By BYEONGJUN KANG
Published
Categorized as android-layout, android-studio, build.gradle, sdk, xml

Android Studio Design editor does not appear

I’m a beginner developer who is developing an Android app. While I was working on the xml file, the design editor suddenly doesn’t look black like the picture below: So I found several solutions through googling and applied nine solutions, but the design editor still doesn’t appear black. Similarly, there was an invisible error in […]

By BYEONGJUN KANG
Published
Categorized as android-layout, android-studio, build.gradle, sdk, xml

How to add a private ssh key to my android app?

I have implemented an android application which uploads files to a sftp server. Actually, I have added the private ssh key as a resources file. This seems very insecure. What can I do to make the private key not accessible for other users? Source: Android Questions

Android Studio how can i add to Menuitem matginStart

how can i add to Menuitem matginStart i dont want to move all of the items but some of them like this image: [what i have and what im tring to do][1]: https://i.stack.imgur.com/4EOMJ.png im trying to make 1 into 2. make matginStart to structural and mechanical engineering. this is my menu.xml: <?xml version="1.0" encoding="utf-8"?> <menu […]

By omer
Published
Categorized as android-layout, android-navigation, android-studio, icons, menuitem

Custom Slider in android [closed]

how can I make this kind of slider Source: Android Questions

By Muhammad Hashir uddin
Published
Categorized as android, android-layout, slider
1 2 3 619

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq